@import url("config.css");

header {
    margin-bottom: 25px;
    position: fixed;
    z-index: 1;
    width: 100%;
    background-color: rgba(217, 206, 186, 0.959);
}

header > .flex {
    flex-direction: column;
}

header .h-top {
    padding: 15px 0px;
}

header .h-top > .flex {
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
}

.h-right {
    font-size: 18px;
}

.h-right > .flex {
    gap: 56px;
}

.h-right .menu {
    overflow: hidden;
}

.h-right .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a:hover {
    background-color: #dfdfdf;
}

.h-right .dropdown-content a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
}

.h-right .menu:hover .dropdown-content {
    display: block;
}

.h-right .menu .flex {
    gap: 4px;
}

.h-right a,
.whatsapp a {
    text-decoration: none;
    gap: 8px;
    color: black;
}

.whatsapp a {
    transition: 0.4s ease;
}

.whatsapp a:hover {
    transform: scale(1.1);
}

.h-middle .search {
    align-items: center;
}

.h-middle input {
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 8px 0px 0px 8px;
    background-color: #fff;
    border: none;
    outline: none;
}

.h-middle .search-icon {
    background-color: #fff;
    padding: 7.4px;
    border-radius: 0px 8px 8px 0px;
}

.h-bottom {
    background-color: var(--cor1);
    padding: 12px 0px;
    font-size: 17px;
}

.h-bottom nav ul a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.h-bottom nav ul a:hover {
    text-decoration: underline;
}

.h-bottom nav ul {
    justify-content: space-evenly;
    list-style-type: none;
    list-style-position: inside;
}

/* MENU PARA MOBILE */

.h-mobile {
    display: none;
}

.h-mobile nav ul {
    gap: 15px;
}

.h-mobile ul li {
    list-style-type: none;
}

.h-mobile ul li a {
    text-decoration: underline;
    color: black;
    font-size: 15px;
}

@media screen and (max-width: 1080px) {
    
    .h-desktop {
        display: none;
    }

    .h-mobile {
        display: block;
    }

    header {
        position: static;
        box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.377);
        padding-bottom: 10px;
    }

    header .h-top > .flex {
        flex-direction: column;
    }

    .h-mobile > .flex {
        gap: 20px;
    }

    header input {
        width: 260px;
    }
}