:root {
    color-scheme: dark;
}

body {
    font-family: 'Roboto Slab', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #000, #333);
    color: #fff;
    animation: fadeIn 1s ease-in-out;
    position: relative;
}

header {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 1.2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

header .logo {
    width: 220px;
    height: auto;
    border: 3px solid rgba(204, 204, 204, 0.3);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

header .logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.3);
}
header h1 {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.3);
    font-size: 2em;
    margin: 10px 0 0 0;
    font-weight: 700;
    letter-spacing: 1px;
    animation: shineText 6s infinite, float 5s ease-in-out infinite;
    background: linear-gradient(90deg, #ffd700 0%, #f0c400 50%, #ffd700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Animações necessárias */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes shineText {
    0% {
        background-position: 0% center;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        background-position: 100% center;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    }
    100% {
        background-position: 0% center;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.3);
    }
}

#sobre {
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#sobre .descricao-container {
    display: flex;
    flex-direction: row; /* Padrão: os itens ficam lado a lado */
    align-items: center;
    margin: 60px auto;
    max-width: 1000px;
    animation: fadeInUp 1.5s ease-in-out;
    border: 2px solid rgba(204, 204, 204, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sobre .descricao-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

#sobre h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: yellow;
    background: none; 
    -webkit-text-fill-color: yellow;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px yellow;
    text-align: center; /* Centraliza o título */
    width: 100%; /* Garante que o título ocupe toda a largura disponível */
}

#sobre p.descricao {
    max-width: 100%;
    font-size: 26px;
    color: #fffbfc;
    animation: shine 4s infinite;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #sobre .descricao-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin: 40px 20px;
    }

    #sobre h2 {
        font-size: 30px;
        text-align: center;
        margin-bottom: 15px;
    }

    #sobre p.descricao {
        font-size: 24px;
    }
}


#equipe {
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#equipe .descricao-container {
    display: flex;
    align-items: center;
    margin: 60px auto;
    max-width: 1000px;
    animation: fadeInUp 1.5s ease-in-out;
    border: 2px solid rgba(204, 204, 204, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#equipe .descricao-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

#equipe h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: yellow; /* Cor amarela */
    background: none; /* Remove o gradiente */
    -webkit-text-fill-color: yellow; /* Cor amarela */
    animation: pulse 2s infinite; /* Animação de pulsar */
    text-shadow: 0 0 10px yellow; /* Adiciona brilho */
}

.membro {
    display: flex;
    align-items: center;
    margin: 60px auto;
    max-width: 1000px;
    animation: fadeInUp 1.5s ease-in-out;
    border: 2px solid rgba(204, 204, 204, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

.membro img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    border: 2px solid #453f3f;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-right: 20px;
}

.membro img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
}

.membro .descricao {
    max-width: 100%;
    font-size: 26px;
    color: #fffbfc;
    animation: shine 4s infinite;
    line-height: 1.6;
}

.membro .descricao {
    max-width: 500px;
    text-align: center;
}

.membro h3 {
    font-size: 28px;
    color: yellow;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: pulse 2s infinite;
}
.nossaequipe {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    max-width: 1000px;
    animation: fadeInUp 1.5s ease-in-out;
    border: 2px solid rgba(204, 204, 204, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    text-align: center;
}

.nossaequipe:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

.nossaequipe p.descricao {
    max-width: 100%;
    font-size: 20px;
    color: #fffbfc;
    animation: shine 4s infinite;
    line-height: 1.6;
}

.nossaequipe img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    border: 2px solid #453f3f;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-right: 20px;
}

.nossaequipe img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
}

@media (max-width: 768px) {
    .nossaequipe {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin: 0 auto;
        max-width: calc(100% - 30px);
        box-sizing: border-box;
    }

    .nossaequipe img {
        margin: 0 0 20px 0;
        max-width: 100%;
        height: auto;
    }

    .nossaequipe p.descricao {
        padding: 0 15px;
        text-align: center;
        width: 100%;
    }
}


footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(to right, #333, #000);
    color: yellow;
    animation: fadeIn 1s ease-in-out;
}

footer p {
    font-size: 16px;
    margin: 0;
}

footer a {
    color: yellow;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    animation: slideUp 1s ease-in-out;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    border-top: 3px solid yellow;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    font-size: 14px;
}

.cookie-banner a {
    color: yellow;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 5px;
    margin-left: 20px;
    font-size: 14px;
}

.cookie-banner button:hover {
    background-color: #45a049;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Additional styles to enhance the visual appeal */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/background.webp') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

h1, h2, h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

a {
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

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

button {
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    transform: scale(1.1);
}

img {
    transition: transform 0.3s, box-shadow 0.3s;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsividade para tablets */
@media (max-width: 768px) {
    .membro {
        flex-direction: column;
    }

    .membro img {
        margin: 0 0 20px 0;
    }

    #sobre .descricao-container, #equipe .descricao-container, .membro {
        flex-direction: column;
    }
}

/* Responsividade para celulares */
@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    .membro h3 {
        font-size: 24px;
    }

    .membro p, #sobre p.descricao {
        font-size: 18px;
    }
}
/* Adicionando estilos para o drawer */
/* Sidebar oculta por padrão */
.drawer {
    position: fixed;
    top: 0;
    right: 0; /* Changed from left: 0 to right: 0 */
    left: auto; /* Ensuring left isn't set */
    width: 250px;
    height: 100%;
    background: rgba(51, 51, 51, 0.8);
    color: white;
    transform: translateX(100%); /* Changed from translateX(-100%) to translateX(100%) */
    transition: transform 0.3s ease;
    z-index: 1000;
    padding-top: 60px;
}

/* Links da sidebar */
.drawer .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drawer .nav-links a {
    color: yellow;
    text-decoration: none;
    margin: 10px 0;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

.drawer .nav-links a:hover {
    color: #333;
    background-color: yellow;
    transform: scale(1.1);
}

/* Ocultando checkbox */
#menu-toggle {
    display: none;
}

/* Ícone do menu hambúrguer */
/* Estilizando o botão do menu */
#menu-toggle {
    display: none;
}

/* Ícone do menu hambúrguer */
.drawer-toggle {
    position: fixed;
    top: 15px;
    right: 15px; /* Changed from left: 15px to right: 15px */
    left: auto; 
    cursor: pointer;
    z-index: 1001;
}

/* Fundo redondo para o ícone */
.drawer-toggle label {
    width: 50px; 
    height: 50px;
    background: yellow;
    border-radius: 25%;
    border-color: black; 
    border-style: solid;
    border-width: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
    box-shadow: 0 4px 10px rgba(255, 255, 0, 0.5);
}

/* Animação no hover */
.drawer-toggle label:hover {
    background: #ffcc00;
    transform: scale(1.1);
}

/* Linhas do ícone hambúrguer */
.drawer-toggle span {
    display: block;
    width: 35px;
    height: 5px;  
    background: #333;
    border-radius: 5px;
    transition: 0.3s;
    margin: 3px 0;  /* Espaçamento entre as barras */
}


/* Quando ativar o checkbox, mostrar o menu */
#menu-toggle:checked ~ .drawer {
    transform: translateX(0);
}

/* Animação: Ícone vira "X" */
#menu-toggle:checked ~ .drawer-toggle span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked ~ .drawer-toggle span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .drawer-toggle span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@keyframes shine {
    0% {
        text-shadow: 0 0 2px rgba(255, 255, 0, 0.5), 0 0 5px rgba(255, 255, 0, 0.4), 0 0 8px rgba(255, 255, 0, 0.3); /* Amarelo */
    }
    50% {
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 0, 0, 0.3); /* Preto */
    }
    100% {
        text-shadow: 0 0 2px rgba(255, 255, 0, 0.5), 0 0 5px rgba(255, 255, 0, 0.4), 0 0 8px rgba(255, 255, 0, 0.3); /* Amarelo */
    }
}