* {
    margin:0px;
    padding:0px;
}

body{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container{
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4),
     rgba(148, 48, 48, 0.2),
     rgba(167, 67, 67, 0.4)), 
     url(./bg.jpg) center no-repeat;
     background-size: cover;
}

.navbar{
    width: 182px;
    height: 100%;
    background-color: #262626;
    position: fixed;
    top: 0px;
    right: -350px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 23% 0px 0px 60%;
    transition: right 1s ease-out;
}

.change{
    right: 0px; 
}

.hamburger-menu{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 29px;
    height: 28px;
    position: fixed;
    top: 20px;
    right: 19px;
    cursor: pointer;
}

.line{
    width: 100%;
    height: 5.2px;
    border-radius: 4.3px;
    background-color: chocolate;
    transition: all 0.8s;

}

.change .line-1{
    transform: rotateZ(-405deg) translate(-7px, -2px);
}

.change .line-2{
    opacity: 0;
}

.change .line-3{
    transform: rotateZ(405deg) translate(-15px, -6.4px);
}

.nav-list{
    text-align: right;
}

.nav-items{
    list-style: none;
    margin: 8px;
}

.nav-link{
    text-decoration: none;
    font-size: 11.7px;
    color: #eee;
    font-weight: 300;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position:relative;
    padding: 1.4px 0px;
}

.nav-link::before,
.nav-link::after{
    content: "";
    width: 100%;
    height: 2px;
    background-color: chocolate;
    position: absolute;
    left :0px;
    transform: scaleX(0);
    transition: transform 0.45s ease-out;
}

.nav-link::after{
    bottom: 0px;
    transform-origin: right;
}

.nav-link::before{
    top:0px;
    transform-origin: left;
}

.nav-link:hover::after,
.nav-link:hover::before{
    transform: scaleX(1);
    
}
