* {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

/* Inicio Definição de variáveis */
    :root {
        --marrom_muito_escuro:#332414;
        --marrom_escuro:#572E0E;
        --marrom:#74522E;
        --marrom-claro: #91663A; 
        --amarelo_queimado: #BA8E4F;
        --verde_claro: #46B954;
        --verde: #005301;
        --verde_escuro: #053105;
        --verde_dark: #042504;
        --verde_pantano: #162716;
        --preto_transparente: #00000030;
        --cinza:#EFE8E1;
        --branco: #ffffff
    }
/* Fim da definição de variáveis*/

/* Inicio do CSS do header */

header {
    background-color: var(--preto_transparente);
    display: flex;
    flex-direction: column;
    position: absolute;
    padding: 0px 20px;
    height: 132px;
    width: 100%;
    top: 0%;
    font-family: 'Raleway', sans-serif; /* Fonte usada no resto do projeto */
}

.topoHeader {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 100px;
    padding-left: 10px;
    padding-top: 10px;

}

.logo_header {
    width: fit-content;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: left;
}

.logo_style {
    color: var(--branco);
    font-family: 'Raleway', sans-serif; /* Fonte usada no resto do projeto */
    font-weight: 800;
    font-size: 54px;
}

.header_nav  {
    display: flex;
    justify-content: center;
    align-items: center;

}

header nav ul {
    display: flex;
    gap: 50px;
    list-style: none;
}

.ancoras_padrao {
    color: var(--branco);
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Raleway', sans-serif; /* Fonte usada no resto do projeto */
    font-weight: 600;
    font-size: 20px;
}

.buscar {
    display: flex;
    align-items: center;
    justify-content: right;
    height: 100%;
}

.divisor {
    border: none;
    width: 100%;
    height: 3px;
    background-color: var(--branco);
    margin-top: 10px;
}

/* Fim do CSS do Header */
/* */

body {
    background-image: url('./imagensc/background.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px; /* Reduz o espaço para mover o formulário um pouco para cima */
    font-family: 'Raleway', sans-serif; /* Fonte usada no resto do projeto */
}

.formulario {
    background: var(--marrom_muito_escuro);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    width: 721px;
    height: 599px;
    text-align: center;
    margin-top: 20px; /* Adiciona margem superior para evitar sobreposição */
}

.icone-central {
    margin-bottom: 20px;

}

.icone-central img {
    width: 149px;
    background: #EFE8E1;
    border-radius: 50%;
}

.input-group img{
    width: 63px; 
    height: 63px; 
  
}

.input-group {
    display: flex;
    flex-direction: column; /* Label acima do campo */
    margin-bottom: 15px;
    gap: 5px; /* Espaço entre label e campo */
    align-items: flex-start; /* Alinha as labels à esquerda */
}

label {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: var(--branco);
    opacity: 90%;
    margin-left: 42px; /* Adiciona margem para alinhar a label com a input */
    font-family: 'Raleway', sans-serif; /* Fonte usada no resto do projeto */
}

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre ícone e input */
}

.input-with-icon img {
    width: 32px; /* Ajuste para o tamanho do ícone */
    height: 32px;
}

.input-with-icon input {
    background: var(--cinza);
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    flex: 1;
    font-size: 16px; /* Tamanho da fonte do input */
    color: var(--marrom_muito_escuro);
    outline: none;
    height: 50px; /* Altura das inputs */
    width: 550px; /* Largura das inputs */
    font-family: 'Raleway', sans-serif; /* Fonte usada no resto do projeto */
}

.botao {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0; /* Remove espaço entre o formulário e o botão */
}

button {
    background-color: var(--marrom);
    color: var(--branco);
    border: none;
    font-size: 20px; /* Tamanho maior do texto */
    font-weight: bold;
    border-radius: 0 0 50px 50px; /* Bordas superiores com radius 0 */
    cursor: pointer;
    transition: background-color 0.3s ease;
    opacity: 80%;
    width: 300px; /* Reduz a largura do botão */
    height: 50px; /* Reduz a altura do botão */
    text-align: center;
    display: flex; /* Usando flexbox para alinhamento */
    justify-content: center;
    align-items: center;
    font-family: 'Raleway', sans-serif; /* Fonte usada no resto do projeto */
}

button:hover {
    background-color: var(--branco);
    color: var(--marrom_escuro);
}

.buscar {
    position: relative;
    width: 100%;
    max-width: 500px;
}


.buscar img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    z-index: 2; 
    margin-left: 10px; 
}


.search-box {
    display: none;
    position: relative;
    background-color: var(--branco);
    border: none; 
    border-radius: 25px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
}


.buscar.lupa-ativa img {
    transform: translateX(-20px); 
}

.buscar.lupa-ativa .search-box {
    display: block;
    margin-left: 10px; 
}

#searchInput {
    width: 100%;
    padding: 10px;
    padding-left: 50px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    
    -webkit-appearance: none; 
    -moz-appearance: none;    
    appearance: none;
}

#suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 25px;
    border-top: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: calc(100% + 5px); 
    left: 0;
    width: 100%; 
    z-index: 1;
    background-color: var(--branco); 
    overflow-y: auto; 
    max-height: 250px; 
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}


#suggestions li {
    padding: 10px;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

#suggestions li:hover {
    background-color: var(--verde_claro);
    color: var(--branco);
}


#searchInput {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}