header {
    width: 100%;
    margin: auto;
    display: flex;
    position: fixed;
    top: 0;
    background-color: #fafafa;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: box-shadow 0.3s ease;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 1000;
}

header li:hover {
    transform: scale(1.03);
    transition: 0.3s;
}

header p:hover {
    transform: scale(1.03);
    transition: 0.3s;
}

@media (min-width: 801px) {
    #header {
        display: none;
    }

    #header_desktop {
        display: flex;
    }
}

@media(max-width: 880px) {
    #header_desktop {
        display: none;
    }

    #header {
        display: flex;
    }
}

#header_desktop #esquerda {
    width: 70%;
}

#header_desktop img {
    margin-left: 40px;
}

#header_desktop ul {
    width: 70%;
    display: flex;
    gap: 40px;
}

#header_desktop #logout {
    cursor: pointer;
    margin-right: 40px;
    border: 1px solid #DC3545;
    background-color: #DC3545;
    color: #fff;
    height: 40px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border-radius: 8px;
}

#header_desktop #logout:hover {
    opacity: 0.7;
    transition: 0.3s;
}

#header_desktop ul li{
    cursor: pointer;
    list-style: none;
    opacity: 0.7;
}

#header_desktop ul li#selecionado{
    opacity: 1;
}

#header_desktop ul li:hover {
    opacity: 1;
    transition: 0.3s;
}

header img {
    width: 30px;
}

#logo_header {
    width: 150px;
    cursor: pointer;
}

#logo_header:hover {
    opacity: 0.7;
    transition: 0.3s;
}

header #esquerda {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}


#menu-icon {
    cursor: pointer;
}

#menu-icon:hover {
    opacity: 0.7;
    transition: 0.3s;
}