.header{
    display:none!important;
}

body, html {
    margin: 0;
    overflow-x: clip;
}

.menu svg {
    width: auto;
    height: auto;
    object-fit: contain;
}

.intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro::before {
    content: '';
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: white;
    position: absolute;
    transition: all 0.75s cubic-bezier(.62,.94,.67,.98);
}

.animationEnd.intro::before{
    height:15vh;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.menu {
    position: absolute;
    top: 50%;
    left: 50%;
    width: fit-content;
    transform: translate(-50%,-50%);
    height: auto;
    width:7%;
}
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26%;
    transform: translate(-50%,-50%);
    background-color: white;
    z-index: 2;
}

.menu, .logo {
  transition: left 1s cubic-bezier(1, .84, .36, .95), width 1s ease-in-out, top 1s cubic-bezier(1, .84, .36, .95);
  cursor: pointer;
  pointer-events: none;
}


.animationStart .menu{
    left:92%;
    width:35px;
}

.animationStart .logo{
    left:11%;
    width:160px;
}

.animationStart .logo{
    top:7.5vh;
}

.animationStart .menu{
top:7.5vh;
}

.projects.active{
    position: relative;
    z-index: 10;
}

.projectImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projectImage {
    width: 100%;
    height: 100%;
}

.projects {
    padding: 0 14%;
    padding-top: 9vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: -1;
}
.project {
    width: 29%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    margin-bottom: 9vh;
}

.projectTitle h2 {
    color: black;
    font-family: 'Lexend';
    font-size: 1.3em;
    text-align: center;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    text-align: center;
    font-weight: 300;
    margin-bottom: 1em;
    margin-left: 1em;
    text-align: left;
    padding-right: 5%;
}


.projectTitle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    transition: all 0.35s ease-in-out;
    opacity: 0;
    background-color: rgba(255,255,255,0.5);
    backdrop-filter: grayscale(1);
}

.project:hover .projectTitle {
    opacity: 1;
}

body:has(.animationEnd), html:has(.animationEnd) {
    overflow-y: auto!important;
    cursor: default;
}
.intro:has(.logoNames.active) {
    height: 15vh;
}


.animationEnd :is(.menu,.logo){
  z-index:11;
  pointer-events: all;
}

body,html{
    overflow-y:clip;
    cursor: pointer;
}

.menu svg{
    transition: all 0.35s cubic-bezier(.44,.46,0,.98);
}
.open svg{
    transform: rotate(-135deg)!important;
}
.menu:hover svg{
    transform: rotate(-10deg);
}
.logo a{
    display:block;
    width:100%;
    height:100%;
}

.desktopNavigation {
    display: none;
    position:fixed!important;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    z-index: 22;
    height: 15vh;
    justify-content: space-around;
    align-items: center;
    position: relative;
    overflow:clip;
    transition: all;
}




.desktopNavigation a {
    font-family: 'Work Sans';
    color: #808080;
    text-decoration: none;
    font-size: 1em;
    transition: all 0.25s ease-in-out;
    text-transform: lowercase;
}

.desktopNavigation a:hover{
    color:black;
    font-weight: 700;
}

.animationEnd+.desktopNavigation{
    display:flex;
}

.desktopNavigation::after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
    transform-origin: top;
    transition: transform 0.55s cubic-bezier(.44,.46,0,.98);
}

.intro:has(.menu.open)+.desktopNavigation::after {
    transform: translateX(-99.5%);
}


.logoNames {
    display: none;
    position: absolute;
    top: 50%;
    left: 10%;
    white-space: nowrap;
    z-index: 0;
    transition: all 0.35s ease-in-out;
    color:black;
    font-weight:200;
    letter-spacing: 0em;
    margin:0;
    font-family: 'Lexend';
}

.logo {
    position: relative;
}

.animationEnd .logo img{
    background-color:white;
}

.animationEnd .logoNames{
    display: block;
}
.active.logoNames {
    transform: translateY(140%);
    letter-spacing:0.2em;
}

.phoneNavigation{
display:none;    
}

.intro.animationStart.animationEnd.sticky {
    position: fixed;
    z-index: 20;
}


@media only screen and (max-width:1600px){
    .projectTitle h2{
        font-size:1em;
    }
}

@media only screen and (max-width:900px){
.project {
    width: 44%;
}
.desktopNavigation{
    display:none!important;
}

.phoneNavigation {
    display: flex;
    flex-direction: column;
    width: fit-content;
    padding: 2% 4%;
    background-color: #868686;
    position: absolute;
    top: 75%;
    left: 98%;
    transform: translateX(-100%)scaleY(0);
    z-index: 22;
    transform-origin: top;
    transition: all 0.2s ease-in-out;

}

.phoneNavigation a {
    text-decoration: unset;
    color: white;
    font-family: 'Lexend';
    padding-bottom: 0.5em;
}

.phoneNavigation::after {
    content: '';
    top: 0;
    left: 59%;
    border: 1px solid;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #868686;
    border-top: unset;
    transform: translateY(-100%);
}
.intro:has(.menu.open) .phoneNavigation{
    transform: translateX(-100%)scaleY(1);
}

}

@media only screen and (max-width:550px){
.project {
    width: 90%;
}
.projects {
    justify-content: center;
}
.logo{
    width:160px;
}
.animationStart .logo {
    left: 21%;
    width: 110px!important;
}
.animationEnd .menu {
    left: 89%;
    width: 30px;
}
p.logoNames {
    font-size: 0.7em;
}
}

