/* Reset de estilo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Corpo da página */
body {
    background-color: #f0f8ff;
    color: #333;
    line-height: 1.6;
}

/* Barra de Navegação */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #3e3277;
    padding: 10px 0;
    z-index: 100;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    color: #6958c9;
}

/* Seção de Introdução */
.intro {
    background: linear-gradient(135deg, #c3bbe9, #6958c9);
    color: white;
    padding: 150px 0;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.intro h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    padding: 10px 30px;
    background-color: #3e3277;
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #6958c9;
    color: white;
}

/* Seção Sobre */
.about {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
    animation: fadeIn 1.5s ease-out;
}

h2{
    color:#3e3277;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

article a {
    color: #3e3277;
    text-decoration: none;
    font-weight: bold;
}

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

.about img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

/* Seção Artigos */
.articles {
    background-color: #f4f4f4;
    padding: 60px 0; 
}

.articles h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.article-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.article-list article {
    background-color: #c3bbe9;
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-list article:hover {
    transform: scale(1.05);
}

.article-list h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.article-list p {
    font-size: 1em;
}

/* Rodapé */
footer {
    background-color: #3e3277;
    color: white;
    text-align: center;
    padding: 20px;
}

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

/* Centralizando os botões na seção Artigos */
.articles .cta-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}
/* Estilizando a seção de artigos */
.articles {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}


.articles h2 {
    font-size: 2.2em;
    color: #3e3277;
    margin-bottom: 20px;
}

#article-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.article {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 45%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.article h3 a {
    text-decoration: none;
    color: #009688;
    transition: color 0.3s ease;
}

.article h3 a:hover {
    color: #00796b;
}

.article .article-date {
    color: #777;
    font-size: 0.9em;
}

.imagem-pequena {
    width: 100px;  /* Define a largura */
    height: auto;  /* Mantém a proporção original */
}

/*Vídeo*/
video {
    width: 100%;              /* Ocupar toda a largura do contêiner */
    max-width: 800px;         /* Limite máximo de largura */
    border-radius: 10px;      /* Bordas arredondadas */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Sombra suave */
    height: auto;
    border: none;
    outline: none;
    display: block;
}
/* ========== RESPONSIVIDADE - Telas até 1100px ========== */
@media (max-width: 1100px) {
    /* Menu navegação */
    header nav ul {
      flex-direction: column;
      gap: 10px;
      background-color: #3e3277; /* Mantém o menu bonito */
      padding: 10px 0;
    }
  
    /* Artigos */
    .article-list article, 
    .article {
      width: 100%;
      margin: 10px 0;
    }
  
    /* Seção Sobre */
    .about .row {
      flex-direction: column;
      width: 100%;
      padding: 2rem;
    }
  
    /* Textos principais */
    .content h3 {
      font-size: 3rem;
      text-align: center;
    }
  
    .content p {
      font-size: 1.6rem;
      text-align: justify;
    }
  
    /* Vídeos */
    video {
      max-width: 100%;
      height: auto;
    }
  
    /* Rodapé adaptado */
    footer .line-footer2 {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    footer .line-footer2 .box-line-footer {
      max-width: 100%;
      margin-bottom: 20px;
    }
  }
  /* ========== MENU HAMBURGUER PARA MOBILE ========== */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: #3e3277; /* roxo escuro */
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    background-color: #c3bbe9; /* roxo claro */
    padding: 10px 14px;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: #b0a5de; /* hover mais escuro */
}

/* Modo normal: menu visível */
#menu {
    display: flex;
}

/* Quando for tela menor */
@media (max-width: 1100px) {
    .menu-toggle {
        display: block;
    }

    #menu {
        display: none;
        flex-direction: column;
        background-color: #3e3277;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 10px;
        border-radius: 0 0 0 10px;
    }

    #menu.active {
        display: flex;
    }

    #menu li {
        margin: 10px 0;
        text-align: center;
    }
}



