
#menu-toggle {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #92003d;
    color: white;
    padding: 0vw 2vw;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
}

.hamburger-icon {
    font-size: 10vw;
    color: #ffffff;
}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 0.5%;
    transition: 0.5s;
}

nav ul{
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li{
 list-style: none;
 font-size: 1.1em;
 text-decoration: none;
}

nav ul li a{
    padding: 0 20px;
}

.navbar-navbar-top{
    background-color: #ffffff;
    flex-wrap: wrap;
    width: 100%;
    display: flex;
    align-items: center;
    height: 30px;
    justify-content: center;
    align-items: center;
    border-bottom: 0.1px solid #92003d;
    transition: 0.5s;
}


.navbar {
    flex-wrap: wrap;
    background-color: #ffffff;
    display: flex;
    z-index: 100000;
    left: 0;
    /* font-size: 1.5vw; */
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 2vw;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    /* position: relative; */
}


.navbar li {
    display: inline-block;
    justify-content: flex-end;
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 50px;
    transition: 0.6s;
}

#logo-link {
    position: relative;
    padding: 0.5vw;
    margin: 0;
    transition: 0.6s;
}

#logo-link img {
    display: block;
}

.navbar-bottom-top li a:hover {

    transition: background-color 1s;
    color: #4f0323;
}

.navbar-bottom-top a {
    display: block;
    color: #92003d;
    border-radius: 5px;
    text-align: left;
    padding: 5px 16px;
    text-decoration: none;
}


.navbar-bottom li a:hover {
    background-color: #92003d;
    transition: background-color 1s;
    color: white;
}

.navbar-bottom a {
    display: block;
    color: #92003d;
    border-radius: 5px;
    text-align: left;
    padding: 14px 16px;
    text-decoration: none;
}


.logo-container{
    width: auto;
    max-width: 200px;
    height: auto;
    text-align: right;
    overflow: hidden;
    display: flex;
}

.logo-container-mobile{
    width: auto;
    max-width: 200px;
    height: auto;
    text-align: right;
    overflow: hidden;
    display: flex;
}

.line-between-login{
    background-color:#92003d;
    height: 30px;
    width: 2px;
}

.logo-container img {
    width: auto;
    max-width: 125px;
    height: auto;
    padding-left: 10px;
}

/* Estilização da search bar */
.search-bar-container {
    position: relative; /* Para posicionar os resultados em relação a ela */
}

.search-bar input {
    border: 1px solid #92003d;
    border-radius: 10px;
    height: 40px;
    color: #92003d;
    padding-left: 30px;
    padding-right: 30px;
}

/* Icone da lupa */
.search-bar i {
    color: #92003d;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

/* Estilização da lista de resultados */
.items {
    position: absolute;
    z-index: 9999;
    top: 100%; /* Exibe logo abaixo da barra de pesquisa */
    left: 0;
    width: 100%;
    margin-top: 8px;
    background-color: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Sombra para destaque */
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    overflow-y: auto;
    max-height: 300px; /* Limite de altura com rolagem */
    pointer-events: all; /* Garante que a lista seja clicável */
}

/* Itens dentro da lista de resultados */
.item {
    display: flex;
    gap: 12px;
}

.item-image {
    width: 60px;
    height: 80px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-title {
    font-size: 14px;
    color: #333;
}

.item-subtitle {
    font-size: 12px;
    color: #666;
}

.item-description {
    font-size: 12px;
    color: #666;
}

#no_results {
    display: none;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.login-container{
    align-items: center; 
    text-align: end;
    display: flex;
    color: #ffffff;
    justify-content: flex-end;
    z-index: 1000;
    margin-right: 3vw;
    white-space: nowrap;
    padding-top: 1;
}

.login-container a{
    font-size: 19px;
    color:  #92003d;
    padding: 14px 20px;
}

.login-container a:hover{
    transition: background-color 1s;
    color: #4f0323;
}

input[type="text"] {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

#search {
    background-color: transparent; /* Torna o fundo do campo de pesquisa transparente */
    border: none; /* Remove a borda */
    box-shadow: none; /* Remove sombras */
}

#sign-in {
    display: flex;
    align-items: center;
}

#sign-in i {
    margin-right: 1vw;
}

#sign-up {
    display: flex;
    align-items: center;
}

#sign-up i {
    margin-right: 1vw;
}

.navbar.show {
    display: flex;
}

.navbar.hide {
    display: none;
}

.mobile-only {
    display: none;
}
/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Conteúdo da dropdown (inicialmente escondido) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links dentro da dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Mudar a cor do link ao passar o mouse */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Mostrar a dropdown ao passar o mouse */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Mudar a cor do botão da dropdown ao passar o mouse */
.dropdown:hover .dropbtn {
 
}

/*Parte referente ao mobile*/

@media (max-width: 768px) {
    .logo-container {
        display: none;
    }
    
    #label-image-main {
        max-width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .search-bar {
        position: relative;
        margin-left: 0px;
    }
    
    .search-bar input {
        border: 1px solid #92003d;
        border-radius: 10px;
        height: 30px;
        width: auto;
        color: #92003d;
        padding: 2vw;
        font-size: 3.5vw;
        text-align: center;
    }
    
    .mobile-only {
        display: block;
    }

    /* Isso aqui faz a função da navbar sobrepor a pagina no modo mobile
    e tambem adiciona um botão de fechar no a navbar
    alem disso desfoca a parte de fundo quando a navbar abre*/

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        width: 70%;
        height: 100vh;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        transform: translateX(-101%);
        transition: transform 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    }

    .navbar.show {
        transform: translateX(0);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .navbar a {
        display: block;
        color: black;
        border-radius: 5px;
        text-align: center;
        padding: 15px 16px;
        text-decoration: none;
    }

    .login-container {
        background-color: white;
        border: 2px solid #ffffff;
        border-radius: 10px;
        justify-content: center;
        align-items: end;

        margin-top: auto;
    }

    .login-container a {
        font-size: 5vw;
        color: #92003d;
        text-decoration: none;
    }

    .login-container a:hover {
        transition: background-color 1s;
        color: #4f0323;
    }

    /* #sign-up {
        display: flex;
        align-items: center;
        padding: 1vw 3vw;
    }
    
    #sign-up i {
        margin-right: 5vw;
    } */

    #sign-in {
        display: flex;
        align-items: center;
        padding: 1vw 3vw;
    }
    
    #sign-in i {
        margin-right: 5vw;
    }
    
    .line-between-login {
        border-left: 2px solid #92003d;
        margin: 0 3vw;
    }

     /* Isso aqui controla a parte dos forms da navbar na navbar no modo mobile */
    .navbar ul {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        margin: 5vw 0;
        font-size: 6vw; /* aumenta ou ajusta o tamanho da fonte conforme necessário */
        padding: 0;
        font-weight: bolder;
        font-size: 5vw;
    }

    .navbar li {
        display: flex;
        margin-left: 10px;
        margin-bottom: 10px;
        padding: 5px;
    }
    
    .navbar .sign-up {
        text-align: end;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 1000;
        display: none;
    }
    
    .overlay.show {
        display: block;
    }

    .close-button {
        position: absolute;
        top: 1vw;
        right: 3vw;
        background: none;
        border: none;
        font-size: 2em;
        cursor: pointer;
        color: #000000;
        z-index: 1002;
        display: flex;
        align-items: center;
    }

    .no-scroll {
        overflow: hidden;
    }

    /* .search-bar i {
        position: absolute;
        top: -5vw;
        right: 15vw;
        color: #92003d;
        margin-right: 4vw;
    }
    
    .search-bar i::after {
        content: "Buscar";
        display: inline-block;
        align-items: center;
    } 

        .info-container a {
        margin-right: 21vw;
    }

    .info-container i {
        display: block;
        color: black;
        text-align: left;
        text-decoration: none;
        margin-left: 6vw;
        margin-bottom: 5vw;
    } */

    .fixed-navbar {
        top: 0;
        left: 0;
        width: 100%;
        /*height: 25vw;*/
        background-color: #ffffff;
        z-index: 1000;
        box-shadow:rgba(0, 0, 0, 0.8);
        padding: 0;
    }

    .fixed-navbar .logo-fixed-navbar {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 70px;
        display: flex;
        width: 160px;
        justify-content: center; /* Centraliza horizontalmente */
        align-items: center; /* Centraliza verticalmente */
        height: 50%; /* Ajuste a altura conforme necessário */
        background-color: #ffffff; /* Cor de fundo opcional */
    }

    
    .navbar-navbar-top{
        background-color: #ffffff;
        flex-wrap: wrap;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        align-items: center;
        border-bottom: 0.1px solid #ffffff;
        transition: 0.5s;
    }



}


@media (min-width: 769px) {
    .navbar {
        display: flex;
    }

    .mobile-only {
        display: none;
    }

    .close-button {
        display: none;
    }
}
