nav{
    width: 100%;
    height: 110px;
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
    border-bottom: solid 1px #e4e4e4;
}

.nav-holder{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: var(--site-padding);
}

.logo-holder{
    height: 65%;
    z-index: 102;
}
.logo-holder a{
    display: block;
    height: 100%;
}
.logo-holder img{
    height: 100%;
    width: auto;
}


.nav-right{
    display: flex;
    flex-direction: column;
    height: 65%;
    justify-content: space-between;
    align-items: end;
}

.nav-contacts{
    display: flex;
    height: max-content;
    gap: 20px;
}
.nav-contact{
    display: flex;
    gap: 5px;
    cursor: pointer;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
.nav-contact:hover > p{
    color: var(--color-text);
}
.nav-contact:last-of-type{
    gap: 0;
}
.nav-contact img{
    height: 18px;
    width: auto;
}
.nav-contact p{
    transition: color .2s ease;
}

.nav-list{
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-list li a{
    color: var(--color-text-soft);
    transition: color 0.3s;
    padding: 10px 12px;
}
.nav-list li:hover > a,
.nav-list li a:hover,
.nav-list li a:focus-visible{
    color: var(--color-brand);
    text-decoration: underline;
    text-decoration-color: var(--color-brand);
    text-underline-offset: 4px;
}
.nav-list li.nav-list__cta{
    margin-left: 10px;
}
.nav-list li.nav-list__cta a.btn{
    color: var(--color-surface);
    padding: 10px 20px;
}
.nav-list li.nav-list__cta:hover > a.btn,
.nav-list li.nav-list__cta a.btn:hover,
.nav-list li.nav-list__cta a.btn:focus-visible{
    color: var(--color-surface);
    text-decoration-color: var(--color-surface);
}
.burger{
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
    z-index: 102;
}
.burger .bar{
    width: 100%;
    height: 4px;
    background-color: var(--color-text);
    transition: all .4s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.burger .bar:nth-of-type(1){
    top: 10%;
}
.burger .bar:nth-of-type(3){
    top: 90%;
}

@media (max-width: 1000px){
    .burger{
        display: block;
    }
    .burger.active .bar:nth-of-type(1){
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .burger.active .bar:nth-of-type(2){
        transform: scale(0);
        transition: .2s;
    }
    .burger.active .bar:nth-of-type(3){
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }



    nav{
        height: 80px;
    }

    .nav-right{
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }
    .nav-contact p{
        display: none;
    }
    .nav-contact img{
        height: 25px;
    }

    .nav-list{
        display: flex;
        flex-direction: column;
        transform: translateX(110%);
        transition: transform .5s ease;
        height: 100dvh;
        position: absolute;
        top: 0;
        right: 0;
        width: 320px;
        background-color: var(--color-surface);
        box-shadow: 0 0 20px var(--color-text-soft);
    }
    .nav-list.active{
        transform: translateX(0);
    }
    .nav-list li:first-of-type{
        margin-top: 80px;
        border-top: 1px solid var(--color-text-faint);
    }
    .nav-list li{
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid var(--color-text-faint);
    }
    .nav-list li a{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        font-size: 1.2rem !important;
        padding: 10px 20px;
    }
    .nav-list li.nav-list__cta{
        border-bottom: 0;
        height: auto;
        justify-content: center;
        margin-left: 0;
        margin-top: 30px;
    }
    .nav-list li.nav-list__cta a.btn{
        font-size: 1rem !important;
        height: auto;
        width: max-content;
        transform: scale(1.2);
    }
}

@media(max-width: 550px){
    .nav-list{
        width: 100%;
    }
}

@media(max-width: 400px){
    .logo-holder{
        height: 45%;
    }
}
