/* Estilo geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, hsl(236, 41%, 92%));
}

main {
    padding: 80px 2em 2em; /* Ajuste o padding-top para a altura do cabeçalho */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
footer {
    position: relative; /* Torna o cabeçalho e rodapé fixos */
    width: 100%;
    left: 0;
    z-index: 1000;
    background: linear-gradient(90deg, hsl(236, 81%, 75%), hsl(180, 91%, 39%));
    padding: 1em 0;
    color: black;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header{
    position: fixed; /* Torna o cabeçalho e rodapé fixos */
    height: 100px; /* Defina a altura fixa do cabeçalho */
    width: 100%;
    left: 0;
    z-index: 1000;
    background: linear-gradient(90deg, hsl(236, 81%, 75%), hsl(180, 91%, 39%));
    padding: 1em 0;
    color: white;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header {
    top: 0;
}

footer {
    position: relative; /* Torna o rodapé fixo na parte inferior */
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1000;
    background: linear-gradient(90deg, hsl(236, 81%, 75%), hsl(180, 91%, 39%));
    padding: 1em 0;
    color: black;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: auto; /* Garante que o rodapé fique no final da página */
}

.header-container, .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* Navegação padrão */
.nav-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-buttons button {
    flex: 1 1 auto;
    padding: 10px;
    margin: 5px;
    min-width: 100px;
    text-align: center;
    box-sizing: border-box;
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-buttons button:hover {
    background-color: rgb(8, 11, 184);
    color: #f2f4f7;
}

.nav-buttons button.disabled {
    background-color: white;
    color: #0066cc;
    cursor: not-allowed;
    pointer-events: none;
}

/* Menu hambúrguer (oculto por padrão em telas grandes) */
.menu-hamburguer {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Menu suspenso oculto por padrão */
.menu-suspenso {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: right;
}

.menu-suspenso button {
    display: block;
    padding: 10px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    font-size: 1em;
    border-bottom: 1px solid #ddd;
}

.menu-suspenso button:last-child {
    border-bottom: none;
}

.menu-suspenso button:hover {
    background-color: #f1f1f1;
}

h1 {
    text-align: center;
    margin-top: 0;
    font-size: 2em; /* Aumenta o tamanho do título */
}

.intro-section, .image-left-text-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}

.intro-text, .text-right {
    font-family: 'Open Sans', sans-serif;
    color: black;
    flex: 3;
    padding: 0 10px; /* Reduz o espaçamento interno */
    font-size: 1.2em; /* Aumenta o tamanho do texto */
}

.intro-image, .image-left {
    flex: 1;
    text-align: right;
    margin: 0 10px; /* Reduz o espaçamento entre a imagem e o texto */
}

.intro-image img, .image-left img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    font-family: 'Open Sans', sans-serif;
    color:black;
}

p {
    font-family: 'Open Sans', sans-serif;
    margin: 1em 0;
    color: black;
    font-size: 1.2em; /* Aumenta o tamanho do texto */
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #ffd700;
    color: #007BFF;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

form button:hover {
    background-color: #ffcc00;
    color: #0056b3;
}

/* Barra de Cookies */
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8); /* Ajuste a cor do fundo */
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1000;
}

#cookieConsent button {
    background: #4CAF50; /* Cor do botão */
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

#cookieConsent button:hover {
    background: #45a049;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .intro-section, .image-left-text-right {
        font-family: 'Open Sans', sans-serif;
        flex-direction: column;
        text-align: center;
    }

    .intro-image img, .image-left img {
        width: 100%;
    }

    .intro-text, .text-right {
        font-family: 'Open Sans', sans-serif;
        padding: 10px 0;
    }

    main {
        padding-top: 120px; /* Aumenta o padding-top em telas pequenas para garantir que o conteúdo não seja coberto pelo cabeçalho */
    }

    /* Esconder os botões de navegação */
    .nav-buttons {
        display: none;
    }

    /* Mostrar o menu hambúrguer */
    .menu-hamburguer {
        display: block;
    }
}


.social-icon:hover {
    color: #007BFF; /* Cor ao passar o mouse por cima (hover) */
}

.small-font {
    font-size: 12px;
}

/* Estilo para os links no rodapé */
.footer-links p {
    margin: 5px 0;
}