/* Seção 'Sobre nós' */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Faz com que a seção ocupe toda a altura da tela */
    padding: 60px 20px;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Container principal da seção */
.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center; /* Garante que o texto fique centralizado */
}

/* Conteúdo da seção */
.about-content {
    flex: 1;
    padding-right: 30px;
    text-align: left; /* Garante que o texto dentro do conteúdo não fique centralizado */
}

/* Título */
.about-content h1 {
    font-size: 36px;
    color: #0066cc;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Parágrafo */
.about-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Imagem ao lado do conteúdo */
.about-image {
    flex: 1;
    text-align: center;
}

/* Imagem */
.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo do scroll-top */
.scrolltop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0066cc;
    color: white;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    cursor: pointer;
}

.scrolltop__icon {
    font-size: 20px;
}

/* Mostrar o botão scroll-top quando rolar para baixo */
body.scrolled .scrolltop {
    display: block;
}

/* Estilo de alternância de tema (para o ícone de tema) */
.change-theme {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {

    /* Seção 'Sobre nós' */
    .about-section {
        padding: 20px;
        padding-top: 10em;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    /* Reduz o tamanho da fonte em dispositivos menores */
    .about-content h1 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 16px;
    }
}

/* Carregador simples */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9) url('loader.gif') no-repeat center center;
    z-index: 9999;
    display: none; /* Inicialmente invisível */
}

/* Mostrar o carregador quando a página carregar */
body.loading .loader {
    display: block;
}

/* Remover o carregador após a carga da página */
body.loading .content {
    visibility: visible;
    opacity: 1;
}
