header{
    position: fixed;
    top: 0px;
    left: 0px;
    width:100%;
    height:87px;
    z-index: 1000;
}

nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    padding-right:4.166666666666667vw;
    transition: background-color 1s;
}

nav.active_nav{
    background-color: rgba(128,0,0,0.4)
}

nav i {
    font-size: 25px;
    color: #f2f2f2;
    transition: 0.3s;
}

nav i:hover {
    font-size: 25px;
    color: darkorange;
}


nav ul{
    list-style-type: none;
    padding:0px;
    margin: 30px 0 0 0;
}

nav ul li{
    display: inline-block;
}

nav ul li:last-of-type{
    display: none;
}

nav ul li a{
    color:white;
    font-size: 16px;
    border-radius: 3px;
    text-transform: uppercase;
    padding: 10px;
}

nav ul li a:hover{
    background-color: rgba(0,0,0,0.3);
}

nav button{
    background-color: transparent;
    border: none;
    outline: none;
}

.logo{
    display:flex;
    width: 400px;
    overflow: hidden;
}

.logo::before{
    content: "SS";
    position: relative;
    top:0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 5%;
    width:30%;
    height: 87px;
    text-shadow: 0 0 20px black;
    letter-spacing: -18px;
    background-color: rgba(192,192,192,0.4);
    color:white;
    font-size: 100px;
}

.logo div{
    position: relative;
    height: 87px;
    width:70%;
}

.logo h2{
    position: absolute;
    top:16px;
    width: 100%;
    text-align: center;
    color:white;
}

.logo hr{
    position: absolute;
    top:40px;
    width: 100%;
}


.logo label{
    position: absolute;
    right:5px;
    bottom:12px;
    font-size: 16px;
    color:white;
    cursor: pointer;
}

nav a{
    display: inline-block;
    cursor: pointer;
    color: white;
}


/*for smart phones*/
.mobile-menu{
    position: fixed;
    top:0;
    left:0;
    padding: 0;
    width:0;
    height:0;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    background-color: rgba(0,0,0,0.8);
    z-index: 1001;
}

.mobile-menu.active {
    width:100%;
    height:100%;
}

.mobile-list{
    list-style-type: none;
    padding: 15px;
    margin: 0;
    width: 0;
    background-color: rgba(0,0,0,0.8);
    height: 100%;
    transition: width 0.5s ease;
}

.mobile-menu.active .mobile-list{
    width:200px;
}

.mobile-list li{
    display: block;
    text-align: center;
}

.mobile-list li:last-of-type{
    display: block;
}

.mobile-list a{
    font-size: 20px;
}

/*for resonsive*/
@media (max-width:500px){
    .logo{
        width: 137px;
    }
    
    .logo::before{
        width:100%;
    }
    
    .logo div{
        display: none;
    }
}

@media (max-width:800px){
    nav ul li{
        display: none;
    }
    
    nav ul li:last-of-type{
        display: inline-block;
    }
}

