@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans&display=swap');


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


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


.header {
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 15vh;
    justify-content: space-between;
    background-color: white;
    padding: 0% 7%;
    align-items: center;
    transition: all 0.25s ease-in-out;
    z-index: 9;
}

.headerLogo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.headerLogo {
transition: all 0.35s ease-in-out;
    position: relative;
    width: 160px;
}

.headerMenu {
    width: 35px;
    height: auto;
    cursor: pointer;
}
.headerLogo p {
    position: absolute;
    top: 90%;
    left: 11%;
    white-space: nowrap;
    z-index: 0;
    transition: all 0.35s ease-in-out;
    color: black;
    font-weight: 200;
    margin: 0;
    font-family: 'Lexend';
    letter-spacing: 0.2em;
    font-weight: 200;
}

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

.headerNav {
    width: 50%;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-around;
    position: relative;
    overflow: clip;
}

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

.header:has(.headerMenu.open) .headerNav::after {
    transform: translateX(-99.5%);
}

.open svg {
    transform: rotate(-135deg)!important;
}

.headerMenu:hover svg{
    transform: rotate(-10deg);
}

.headerMenu svg {
    transition: all 0.35s cubic-bezier(.44,.46,0,.98);
}

#content {
    padding-top: 15vh;
}

.header.sticky {
    position: fixed;
    height: 10vh;
}

.header.sticky .headerLogo{
    width:130px
}

.header.sticky .headerLogo p {
    font-size: 0.8em;
}

.phoneNavigation {
    display: none;
}

@media only screen and (max-width:1600px){
    .header.sticky .headerLogo {
    width: 110px;
}
.header.sticky .headerLogo p {
    font-size: 0.7em;
}

}
    
@media only screen and (max-width:1200px){
    .headerNav{
        display:none;
    }
    .phoneNavigation>a:last-child {
    padding-bottom: unset;
}
    
.phoneNavigation {
    display: flex;
    flex-direction: column;
    width: fit-content;
    padding: 5% 7%;
    background-color: #868686;
    position: absolute;
    top: 75%;
    left: 93.8%;
    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;
    font-size: 0.9em;
}

.phoneNavigation::after {
    content: '';
    top: 0;
    left: 100%;
    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%)translateX(-130%);
}

.header:has(.headerMenu.open) .phoneNavigation{
    transform: translateX(-100%)scaleY(1);
}

}

@media only screen and (max-width:600px){

    
    .headerLogo {
    width: 110px;
}
.headerLogo p{
    font-size: 0.7em;
}
.headerMenu {
    width: 30px;
}

.phoneNavigation::after {
    transform: translateY(-100%)translateX(-140%);
}
}

@media only screen and (max-width:390px){
    .header.sticky .headerLogo {
    width: 90px;
}
.header.sticky .headerLogo p {
    font-size: 0.6em;
}
}