* {
    padding: 0;
    margin: 0;
    box-sizing: border-box; 
}

header a {
    text-decoration: none;
    color: white;
}

header{
    font-family: 'Roboto', sans-serif;
    z-index: 99999;
    font-size: 22px;
    padding: 0 20px;
    background-color: #181A1B;
    height: 50px;
    display: flex;
    justify-content: space-between;
}


#logo{
    font-weight: bold;
    font-size: 22px;
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
}

#logo a{
    color: white;
    
}

#logo a:hover{
    transform: scale(1.1);
    transition: 0.3s;
}

ul{
    list-style: none;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul li{
    padding: 5px;
    margin-left: 10px;
}

ul li:hover{
    transform: scale(1.1);
    transition: 0.3s;
}

#hamburger-menu{
    z-index: 99999;
    margin: auto 0;
    display: none;
    cursor: pointer;
}

#hamburger-menu div{
    width: 35px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2{
    opacity: 0;
}
.open .bar3{
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}

.open .m-menu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.m-menu{
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    height: calc(100vh - 50px);
    width: 100%;
    background-color: #202020;
}

.m-menu li{
    margin-bottom: 10px;
}

@media only screen and (hover: none){
    header nav {
        display: none;
    }

    #hamburger-menu{
        display: block;

    }

    header{
        font-size: 100px;
        height: 200px; 
    }

    #logo{
        font-size: 75%;
    }
}


