* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

header {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    position: fixed;
    height: 50px;
    background: #262a32;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

header img {
    height: 35px;
    width: 176px;
}


#btn-menu {
    display: none;
}

header label {
    font-size: 30px;
    cursor: pointer;
    display: none;
}

.menu ul {
    background: #262a32;
    display: flex;
    list-style: none;
    
}

.menu ul ul {
    display: none;
}

.menu a {
    display: block;
    padding: 10px 25px;
    color: white;
    text-decoration: none;
}

.menu a:hover {
    background: #4a4b4d;
}

.menu a span {
    margin-left: 10px;
}

.menu ul li:hover ul{
    display: block;
    position: absolute;
}



@media (max-width:1100px) {
    header label {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        transition: all 0.3s;
    }
    
    .menu ul {
        flex-direction: column;
    }
    
    .menu ul ul {
        background: #1b1b1b;
    }
    
    .menu ul li:hover ul {
        display: none;
        position: static;
    }
    
    .menu a span {
        position: absolute;
        right: 5px;
    }
    
    #btn-menu:checked ~ .menu {
        transform: translateX(0%);
    }
}