@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
html, body{
    height: 100%;
    margin: 0;
}
body {
    
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;

    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1;
}



/* Camada Superior */


.bg-primary {
    background-color: #ebab3d !important;
}
.header-top .social-icons a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.header-top .social-icons a:hover {
    color: #aedd57;
}


.header-main {
    border-top: 2px solid #9bba3f;
}

.ms-2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #95c74d;

}
.header-main .logo img {
    max-height: 50px;
}

.header-main .nav {
    display: flex;
    align-items: center;
}

.header-main .nav-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-main .nav-link:hover {
    color: #aedd57; 
}


.header-main .btn-primary {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.header-main .btn-primary:hover {
    background-color: #95c74d;
}
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centraliza vertical se pouco conteúdo */
    margin-bottom: 30px; /* espaço extra antes do footer */
}


form {
    margin-top: 70px;
    margin-bottom: 30px; /* reduzido para evitar espaço duplo */
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input{
    width: 66%;
}


label {
    font-weight: bold;
    margin-right: 132px;
}


button {
    background-color: #007bff;
    border: none;
    width: 50%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Campos Dinâmicos */
#campos_dinamicos {
    margin-left: 17%;
    width: 64%;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animação para os campos dinâmicos */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo dos inputs */
input, select {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 0.5rem;
    transition: border-color 0.3s;
    width: 98%;
}

input:focus, select:focus {
    border-color: #007bff;
    outline: none;
}


footer {
    color: #fff; 
    border-top: solid 1px #95c74d;
}

footer .footer-top {
    background-color: rgb(174, 216, 87);
    padding: 15px 0;
}

footer .container5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    
    
}

footer .info3 {
    margin-left: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .info3 i {
    margin-right: 5px;
}

footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: rgb(167, 247, 129); 
}

footer .info3 span {
    margin: 0 10px;
    color: #fff;
}

@media (max-width: 768px) {
    footer .container5 {
        flex-direction: column;
        text-align: center;
    }

    footer .info3, 
    footer .social-icons {
        margin: 10px 0;
    }
}


.alerta-personalizada {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: opacity 0.5s ease-out;
    max-width: 700px;
    margin: 20px auto;
}