@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

body {
    margin: 0;
}

.menu {
    background-color: rgba(19, 20, 20, 1);
    padding: 5px;
    position: relative;
    font-size: 1.2em;
}

.menu ul {
    text-align: center;
}

.menu ul li {
    display: inline;
    margin: 0 15px;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu ul li a:hover {
    background-color: #000;
    color: #fff;
}

.menu li a.active {
    background-color: #000;
    color: #fff;
}

#one-section {
    height: 500px;
    background-image: url(/members/styles/fundosite.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

#one-section .titulo-central {
    width: 100%;
    position: absolute;
    text-align: center;
    z-index: 1;
}

#one-section h1 {
    color: aliceblue;
    font-size: 5.5em;
    margin-top: 80px;
    margin-bottom: 10px;
}

#one-section h2 {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    color: aliceblue;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#one-section::before {
    content: '';
    position: absolute;
    background-color: black;
    top: 0;
    left: 0;
    opacity: 0.3;
    width: 100%;
    height: 500px;
}

#three-section {
    display: flex;
    justify-content: center; /* Centraliza o conteúdo horizontalmente */
    flex-wrap: wrap; /* Permite que as colunas se movam para a próxima linha, se necessário */
    margin: 0px 0; /* Adiciona espaço superior e inferior */
}

.container {
    width: 80%; /* Ou o que você preferir */
    text-align: center; /* Centraliza o texto dentro da container */
}

.title-article {
    margin-bottom: 5px; /* Espaçamento abaixo do título */
    font-size: 2.5em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.container {
    width: 80%;
    margin: 0 auto;
    min-height: 300px;
    overflow: hidden;
}

h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
}

h2 {
    color: black;
    font-size: 38px;
    font-family: "Oswald", sans-serif;
}

#two-section {
    margin-top: 20px;
    padding: 50px;
}

.titlle-about-main {
    text-align: center;
}

.text-about-main {
    width: 65%;
    float: left;
    font-weight: 300;
}

.titlle-about-main h3 {
    font-size: 2.2em;
    padding: 15px 10px 0 10px;
    font-weight: 600;
    font-family: "Playpen Sans", cursive;
}

.titlle-about-main h3::after {
    content: '';
    display: block;
    width: 600px;
    height: 3px;
    margin: 0 auto;
    background-color: #141313;
    background: linear-gradient(5deg, #4446441f, #131414, #4446441f);
}

.text-about-main .text-1 {
    font-weight: 400;
}

.text-about-main .text-2 {
    font-size: 1.5em;
    font-weight: 500;
    text-align: justify;
}

.photo-xp-main {
    width: 35%;
    float: left;
    text-align: center;
}

.photo-xp-main img {
    max-width: 70%;
    padding: 5px;
    margin-top: 20px;
    border-radius: 10%;
}

.photo-xp-main span {
    display: inline-block;
    font-weight: 600;
    margin: 4px;
}

#three-section {
    display: flex;
    justify-content: space-between; /* ou 'space-around', dependendo do espaçamento desejado */
    flex-wrap: wrap; /* permite que as colunas se movam para a próxima linha, se necessário */
}

#three-section .col-3 {
    flex: 1; /* Faz com que todas as colunas tenham o mesmo tamanho */
    min-width: 30%; /* Define um tamanho mínimo para as colunas */
    margin: 1%; /* Espaçamento entre as colunas */
    padding: 0.5%;
    background-color: rgba(150, 143, 136, 0.596);
    box-sizing: border-box; /* Inclui padding e margin no cálculo da largura total */
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s; /* Animação suave */
}

#three-section .col-3:hover {
    background-color: rgba(150, 143, 136, 0.8); /* Cor de fundo mais escura */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra */
    transform: scale(1.05); /* Aumenta a caixa em 5% */
}

#three-section .bx-img-article {
    max-width: 100%;
}

#three-section .bx-title-article {
    min-height: 30px;
    text-align: center;
    font-family: "Oswald", sans-serif;
}

#three-section .bx-text-article {
    min-height: 30px;
    text-align: justify;
}

#three-section .ver-mais {
    text-decoration: none;
    display: block;
    text-align: right;
    font-family: "Josefin Sans", sans-serif;
    transition: color 0.3s, transform 0.3s;
}

#three-section .ver-mais:hover {
    color: #1b599b; /* Muda a cor do texto ao passar o mouse */
    transform: scale(1); /* Aumenta o tamanho do texto ao passar o mouse */
}

#three-section .line::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    margin: -10px auto 10px auto;
    background-color: #000;
    background: linear-gradient(5deg, #4446441f, #131414, #4446441f);
}

#three-section .title-article::after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    margin: 0 auto;
    background-color: #141313;
    background: linear-gradient(5deg, #4446441f, #131414, #4446441f);
}

#footer {
    background-color: #131414;
    padding: 2px;
    margin-top: 10%;
}

#footer p {
    color: aliceblue;
    text-align: center;
    font-size: 1.2em;
}

/* Responsividade */
@media only screen and (max-width: 768px) {
    #one-section h1 {
        font-size: 3em;
    }

    #one-section h2 {
        font-size: 1em;
        width: 90%;
    }

    #two-section {
        padding: 20px;
    }

    .text-about-main {
        width: 100%;
    }

    .photo-xp-main {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .photo-xp-main img {
        max-width: 60%;
    }

    #three-section .col-3 {
        width: 45%;
    }

    #one-section h2 span {
        display: inline-block;
        font-size: 1.5em; /* Tamanho de fonte ajustado para telas maiores */
        font-family: 'Oswald', sans-serif;
        color: aliceblue;
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 5px;
        box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.2);
        width: auto;
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    #one-section h1 {
        font-size: 2em;
    }

    #one-section h2 {
        font-size: 0.8em;
        width: 100%;
        padding: 0 10px;
    }

    #two-section {
        padding: 10px;
    }

    .photo-xp-main img {
        max-width: 80%;
    }

    #three-section .col-3 {
        width: 100%;
    }
}

.language-selector {
    position: flex; /* Fixa a posição da caixa */
    right: 30px; /* Distância da direita */
    top: 10px; /* Distância do topo */
    background-color: rgba(255, 255, 255, 0.9); /* Fundo semi-transparente */
    border-radius: 5px; /* Bordas arredondadas */
    padding: 10px; /* Espaçamento interno */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra suave */
    z-index: 100; /* Garante que fique acima de outros elementos */
}

.language-selector label {
    margin-right: 5px; 
}
