/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
}

/* Estilo do Header */
header {
    width: 100%;
    background-color: #00bf63;
    display: flex;
    justify-content: space-between; /* Espaço entre logo e navegação */
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo img {
    width: 90px;
    height: auto;
}

/* Estilo da Barra de Pesquisa */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.search-bar input {
    width: 100%;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: #00bf63;
    box-shadow: 0 0 8px rgba(0, 191, 99, 0.3);
}

/* Estilo da Navegação */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    padding: 0;
}

nav ul li {
    margin-right: 20px;
}

nav ul li .botao-aluno {
    background-color: #00bf63;
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap; /* Impede a quebra de linha */
    display: inline-block; /* Garante que o botão se comporte como um bloco */
    min-width: 120px; /* Define uma largura mínima para o botão */
    text-align: center; /* Centraliza o texto dentro do botão */
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap; /* Impede a quebra de linha nas palavras do menu */
}

nav ul li a:hover {
    color: #000;
}

/* Estilos da Página da Equipe */
body {
    padding-top: 120px; /* Espaço para o header */
}

.team-section {
    width: 80%;
    margin: auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-intro h2 {
    font-size: 2em;
    color: #000;
}

.team-members {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.member-card {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    width: calc(50% - 20px);
    margin-bottom: 20px;
    border: 1px solid #230044;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.member-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.role {
    color: #007BFF;
    font-weight: bold;
    margin-bottom: 15px;
}

.member-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9em;
}

/* Seção Perguntas */
.question-box {
    margin-top: 40px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.ask-and-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 30px;
}

.ask-section,
.user-question {
    width: 48%;
}

.ask-section {
    padding-right: 20px;
}

.ask-section h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #230044;
}

.ask-section p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.user-question .question-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

video {
    width: 100%;
    max-width: 700px;
    height: auto;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    padding: 20px 50px;
    background-color: #00bf63;
    color: white;
    margin-top: 50px;
    flex-wrap: wrap;
}

.footer-section {
    width: 20%;
    margin: 10px 0;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: white;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.social-icons img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.app-icons img {
    width: 100px;
    height: auto;
    margin-top: 10px;
}

.language-selector {
    margin-top: 10px;
}

/* Easter Egg - Elemento com animação */
.character {
    position: fixed;
    left: -300px;
    top: 50%;
    width: auto;
    height: auto;
    z-index: 1000;
}

.character img {
    width: 105px;
    height: 200px;
}

.character.move {
    animation: moveRight 3s linear forwards;
}

@keyframes moveRight {
    from {
        left: -300px;
    }
    to {
        left: 100%;
    }
}

/* Ajustes no Modo Responsivo */
@media screen and (max-width: 768px) {
    body {
        padding-top: 160px; /* Ajuste este valor conforme a altura real do header */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
        margin-right: 0;
    }

    nav ul li .botao-aluno {
        width: 100%;
        max-width: 300px; /* Limite máximo de largura para os botões */
    }

    /* Oculta barra de pesquisa no modo responsivo */
    .search-bar {
        display: none;
    }

    /* Centraliza o logo e os itens do menu no modo mobile */
    header {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    header .logo {
        margin-bottom: 20px;
    }

    .team-members {
        flex-direction: column;
    }

    .member-card {
        width: 100%;
    }

    .footer-section {
        width: 100%;
    }

    .ask-and-question {
        flex-direction: column;
        align-items: center;
    }

    .ask-section,
    .user-question {
        width: 100%;
        margin: 10px 0;
    }

    .question-content {
        width: 100%;
    }
}
