header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    z-index: 1000;
    display: flex;
    height: 70px;
    background : linear-gradient(90deg, #941C80 0%, #E62564, #EE8068);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: space-between;
    align-items: center;
    .logo{
        margin-left: 25px;
        img{
            min-width: 170px;
            max-width: 170px;
            height: auto;
        }
    }
    nav{
        width: 100%;
        height: 100%;
        max-width: 1000px;
        ul{
            display: flex;
            gap: 20px;
            height: 100%;
            li{
                width: 100%;
                height: 100%;
                padding: 0 10px;
                a{
                    text-decoration: none;
                    color: white;
                    text-transform: uppercase;
                    font-weight: 700;
                    width: 100%;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background-color: transparent;
                    transition: background-color 0.3s ease;
                    &:hover{
                        background-color: #EE8068;
                    }
                }
            }
        }
    }
    .phone-container{
        display: flex;
        height: 100%;
        .triangle {
            width: 70px;
            height: 100%;
            border-style: solid;
            border-width: 0 0 70px 30px;
            border-color: transparent transparent white transparent;
        }
        .phone{
            background-color: white;
            min-width: 250px;
            height: 100%;
            display: flex;
            justify-content: start;
            align-items: center;
            .button{
                display: flex;
                border-radius: 8px;
                background-color: var(--button-color);
                padding: 10px 20px;
                color: white;
                text-decoration: none;
                font-weight: 700;
                align-items: center;
                justify-content: center;
                transition: all 0.3s;
                img{
                    width: 25px;
                    height: 25px;
                    margin-right: 10px;
                }
                &:hover{
                    background-color: var(--button-color-hover);
                }
            }
        }
    }
}
 #burger-box {
    cursor: pointer;
    display: none;
}

&.open {
    #burger-btn {
        display: none;
    }

    #main-nav {
        height: 100vh;
    }

    #top-bar {
        height: 0;
    }
}

&:not(.open) {
    .social,
    #burger-close {
        display: none;
    }
}

#burger-close {
    position: fixed;
    top: 18px;
    right: 3vw;
}
#burger {
    width: 32px;
    height: 32px;
    position: relative;
    margin: 15px 3vw;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;

    span {
        display: block;
        position: absolute;
        height: 5px;
        width: 100%;
        background: #fff;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: 0.25s ease-in-out;

        &:nth-child(1) {
            top: 0px;
        }

        &:nth-child(2) {
            top: 12px;
        }

        &:nth-child(3) {
            top: 24px;
        }
    }

    &.open span {
        &:nth-child(1) {
            top: 12px;
            transform: rotate(135deg);
        }

        &:nth-child(2) {
            opacity: 0;
            left: -60px;
        }

        &:nth-child(3) {
            top: 12px;
            transform: rotate(-135deg);
        }
    }
}

@media (width<1200px){
    header .phone-container{
        display: none;   
    }
}
@media (width<900px){
    #burger-box {
        display: block;
    }
    header{
        nav{
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            background-color: #941C80;
            background-repeat: no-repeat;
            background-position: center;
            background-size: 150%;
            text-align: center;
            overflow-y: scroll;
            height: 0;
            transition: height 0.3s ease-in-out 0.2s;
            ul{
                flex-direction: column;
                justify-content: center;
                li{
                    margin: 10px 0;
                    height: auto;
                    a{
                        min-height: 60px;
                        max-height: 60px;
                    }
                }
            }
        }
        &.open{
            nav{
                height: 100vh;
            }
        }
    }
}