.nav-header{
    height: min-content;
    width:1440px;

    margin:auto;
    border: 1px gray solid;

    position: sticky;
    top:0px;

    display: inline-flex;
    justify-content: flex-start;
    align-items: center;

    background: black;

    z-index: 108;
}

.nav-links{
    display: flex;
    gap: 1rem;
    margin:27px 60px;

    .nav-item{
        text-decoration: none;

        p{
            margin:0;
        }
    }

    .nav-item.active>p, .nav-item:hover>p{
        color:#E95151
    }
}

.nav-button, #nav-checkbox{display:none;}

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

@media only screen and (max-width: 1440px){
    .nav-header{
        width:100%;
        border:none;
        border-bottom:solid 1px gray;
    }
}

@media only screen and (max-width: 1280px){
    .nav-links{
        margin: 2.1vw 9vh;
    }
}

@media only screen and (max-width: 1280px){
    .nav-links{
        margin:16px;
    }
}


#nav-column{
    position:fixed;
    justify-self:right;
    height:100vh;
    width:40%;
    z-index:202;
    overflow:hidden;

    background: black;
    border-left: 1px #2C2C2C solid;

    translate:100%;
    transition:1s;
}

#nav-column.shown{
    translate:none;
}

#nav-column .frame{
    padding:0;
}

#nav-column div.frame#nav-frame1 {
    width: 70%;
    height: 17%;
    left: -2rem;
    bottom: -2rem;
    position: absolute;
}
#nav-column div.frame#nav-frame2 {
    width: 22%;
    height: 50%;
    right: -2rem;
    top: -2rem;
    position: absolute;
}

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

    .nav-button{
        display:block;
        position:relative;
        width:48px;
        height:48px;
        margin:16px 2rem;
        border:solid 2px white;
        border-radius:10px;
        align-self: flex-start;
    }

    .nav-button>.nav-dash{
        border: solid 1px white;
        position: absolute;
        margin-inline: 35%;
        width: 30%;
        transition: 0.5s;
    }

    .nav-dash-1{top:37%;}
    .nav-dash-2{top:50%;}
    .nav-dash-3{top:63%;}

    #nav-checkbox~.nav-links{
        position: relative;
        display: flex;
        flex-direction: column;
        transition: 1s;
        margin-top: -100%;
    }
    #nav-checkbox:checked~.nav-links{
        margin-top:16px;
    }

    #nav-checkbox:checked~.nav-button{
        .nav-dash-1{
            width: 56%;
            transform-origin: left;
            transform: rotate(45deg);
            top: 30%;
            margin-inline: 28%;
        }
        .nav-dash-2{
            rotate: 45deg;
            border:0px;
        }
        .nav-dash-3{
            width: 56%;
            transform-origin: left;
            transform: rotate(-45deg);
            top: 70%;
            margin-inline: 28%;
        }
    }

    .nav-item>p{font-size: 2rem !important; line-height: 2rem;}

}

@media only screen and (max-width: 768px){
    #nav-column-cross{
        width:15%;
    }

    .nav-header .socials-container .hide-in-footer{
        display:none;
    }
}

@media only screen and (max-width: 576px){
    #nav-column-cross{
        width:18%;
    }

    .nav-header .go-back{
        min-width:fit-content;
        padding-left: 0;

        .back-arrow{
            padding-inline:0.2rem;
        }
        a .subscription{
            width:fit-content;
        }
    }

    .nav-header .socials-container{
        height:80%;

        a{
            margin-inline:0.2rem;
        }
    }
}

@media only screen and (max-width: 425px){
    .nav-button{
        margin:16px 1rem;
    }
    .nav-item>p{font-size: 1.5rem !important; line-height:2rem!important;}
}

@media only screen and (max-width: 375px){
    #nav-column-cross{
        width:20%;
    }
}

@media only screen and (max-width: 320px){
    #nav-column div.frame#nav-frame2{
        width: 33%;
    }
}

#nav-column-cross{
    position:absolute;
    right:0;
    background: none;
    border: none;
    margin: 1rem;
    width:8%;
    padding:0;
}

#nav-column-cross>img{
    width:100%;
}