/* RESET */
*{
    margin: 10;
    padding: 10;
    font-family: sans-serif;
    background: black;
}

/* HEADER */
header{
    height: 100px;
    background: black;
    padding: 0 50px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    color: white;
    font-family: sans-serif;
}

.menu a{
    color: white;
    text-decoration: none;
    padding: 0 10px;
    transition: 0.4s;
}

.mostrar-menu,
.esconder-menu{
    font-size: 50px;
    cursor: pointer;
    display: none;
    transition: 0.4s;
}

.mostrar-menu{
    order:1;
}

.menu a:hover,
.mostrar-menu:hover,
.esconder-menu:hover{
    color: gray
}

#check{
    display: none;
}


/* RESPONSIVE */
@media(max-width: 800px){
    /* HEADER */
    .mostrar-menu,
    .esconder-menu{
        display: block;
        color: white;
    }
    
    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: black;
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0px;
        z-index: 100;
        transition: 0.8s;
    }
    .menu a{
        display: block;
        padding: 20px;  
    }
    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }
    #check:checked ~ .menu{
        right: 0;
    }
    
}