/* Importações de fontes */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;700&display=swap');

/* Estilos Globais */
body {
    font-family: 'Titillium Web', sans-serif;
    color: #666666;
    text-align: center;
    margin: 0; /* Remove margens padrão do body */
    padding: 0;
    background-color: #ffffff; /* Adiciona um fundo claro */
}

a {
    text-decoration: none;
    color: inherit; /* Mantém a cor do texto pai */
}

/* Contêineres principais */
.header-container,
.social-media-nav,
.donations-section {
    max-width: 1024px; /* Limita a largura máxima */
    margin: 3px auto;
    display: flex; /* Habilita Flexbox */
    justify-content: space-around; /* Distribui os itens uniformemente */
    align-items: center;
    padding: 22px;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total */
    background-color: #FFF; /* Fundo branco para os contêineres */
    flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha em telas pequenas */
}

.social-media-nav {
    max-width: 600px;
}

/* Logos e imagens com efeito hover */
.logo-area,
.img-container {
    width: 260px; /* Ajuste para melhor visualização do logo */
    height: 260px;
    overflow: hidden;
    border: 0px solid #000; /* Remova ou ajuste esta borda se necessário */
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-container {
    width: 80px;
    height: 80px;
}

.logo-img,
.img-container img {
    width: 80%;
    height: 80%;
    object-fit: contain; /* Garante que a imagem se ajuste sem cortar */
    transition: transform .5s ease;
}

.logo-link:hover .logo-img,
.img-container:hover img {
    transform: scale(1.1);
}

/* Seções de texto e títulos */
.info-area {
    flex-grow: 1; /* Permite que a área de informação ocupe o espaço disponível */
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-size: 1.5em; /* Equivalente a 18px, mas mais flexível */
    margin-top: 12px;
    margin-bottom: 5px;
    font-weight: bold;
}

.green-title {
    color: #206400;
    text-align: left; /* Alinha o título PIX à esquerda */
}

.description {
    font-size: 0.9em; /* Equivalente a 15px, mas mais flexível */
    margin: 11px auto;
    line-height: 1.5; /* Espaçamento entre linhas para melhor legibilidade */
}

.contact-info, .address, .pix-details {
    margin-top: 15px;
    margin-bottom: 15px;
}

.address a {
    font-weight: bold;
    color: #666; /* Cor do texto do endereço */
}

/* Redes Sociais */
.social-list {
    list-style: none; /* Remove marcadores de lista */
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaço entre os ícones */
    flex-wrap: wrap; /* Permite que os ícones quebrem a linha */
}

/* Seção de Doações */
.qr-code-area {
    width: 300px;
    height: 300px; /* Ajuste para o tamanho do QR Code */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.qr-code-img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove espaço extra abaixo da imagem */
}

.pix-info-area {
    flex-grow: 1;
    padding-left: 20px;
    text-align: left;
}

.pix-details {
    line-height: 1.8; /* Aumenta o espaçamento para PIX */
}

/* Separadores */
.separator {
    width: 1024px;
    border: none;
    border-top: 1.5px solid #6149a7;
    margin: 20px auto;
}

/* Vídeo */
.video-container {
    max-width: 750px;
    margin: 40px auto;
    background-color: #FFF;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Sombra suave */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}


footer {
    background-color: #fff;
    padding: 15px;
    border: 1px;

}

#footer_items {
    display: flex;
    justify-content:  center;
    padding: 0px 8% 24px 8%;
    align-items: center;
}

#copyright {
    color: #000;
    font-weight: 500;
    align-items: center;
    justify-content: center;
}

#endereco {
    color: #000;
    font-weight: 500;
    align-items: center;
    justify-content: center;

}






/* Responsividade */
@media (max-width: 1024px) {
    .header-container,
    .separator {
        width: 95%; /* Ajusta a largura para telas menores */
    }

    .donations-section {
        flex-direction: column; /* Empilha as seções em telas menores */
    }

    .qr-code-area,
    .pix-info-area {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .pix-info-area .section-title,
    .pix-info-area .description {
        text-align: center; /* Centraliza o texto do PIX em telas menores */
    }
}

@media (max-width: 768px) {

    #footer_items {
    flex-direction: column-reverse;
    gap: 25px;
    font-size: 1.2rem;
    justify-content: center;
    }




    .header-container {
        flex-direction: column; /* Empilha o cabeçalho em telas menores */
    }

    .logo-area {
        width: 200px; /* Reduz o tamanho do logo em telas menores */
        height: 200px;
        margin-bottom: 20px;
    }

    .social-media-nav {
        width: 95%;
    }

    .video-container {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.2em;
    }

    .description {
        font-size: 0.8em;
    }

    .social-list {
        gap: 10px;
    }

    .img-container {
        width: 60px;
        height: 60px;
    }
}