@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f4f4f4;
}

 /* barra de navegação */
 .navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 30px;
    background-color: #ffffff;
    color: #0B4E9A;
    border-bottom: 6px solid #0b4e9a;
  }

  .navbar-left{
    display: flex;
  }

  .navbar-center{
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  .navbar-center h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
  }
  .navbar-center p {
    color: #333333;
    margin: 0;
    font-size: 20px;
  }
  
  .navbar-right .contact-link {
    color: #0B4E9A;
    text-decoration: none;
    font-size: 1em;
  }
  
  .navbar-right .contact-link:hover {
    text-decoration: underline;
  }

  .navbar img{
    width: 17rem;
    height: auto;
  }

  .navbar-right p{
    font-size: 1.3rem;
    margin: 4px;
  }

  .fone{
    font-size: 1.4rem;
    text-align: center;
  }

.whatsapp a {
    background: #2717bb;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.whatsapp a:hover {
    background-color: #0e0185;
}

.conteudo {
    display: flex;
    justify-content: space-between;
    padding: 0;
    flex-wrap: wrap; /* Isso ajuda quando a tela for pequena */
}

.materia {
    flex: 2;
}

.materia img {
    width: 100%;
    height: auto;
}

.imagem-materia img {
    width: 100%;           /* Faz a imagem ocupar 100% da largura da tela */
    height: 60vh;         /* Faz a imagem ocupar toda a altura da tela */
    object-fit: cover;     /* Garante que a imagem cubra completamente a área, mantendo a proporção */
    object-position: center; /* Alinha a imagem ao centro da tela */
    display: block;        /* Remove o espaço em branco abaixo da imagem */
}

.texto-materia {
    background: white;
    padding: 50px;
    line-height: 1.5;
}

.texto-materia h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #004F70;
}
.texto-materia h2,h3,h4 {
    font-size: 20px;
    margin-top: 10px;
    color: #004F70;
}

.texto-materia p {
    text-align: justify;
    margin-bottom: 0px;
    color: #000000;
    letter-spacing: 1.3px;
}

ul, ol {
    padding-left: 40px; /* Faz com que os itens da lista não ultrapassem a div */
    margin: 0; /* Remove a margem padrão */
}

li{
    padding: 0 5px;
}

.texto-materia .fonte {
    font-size: 14px;
    color: #666;
}

.texto-materia .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.texto-materia .btn:hover {
    background: #0056b3;
}

.autor {
    flex: 0.5;
    padding: 20px;
    background: white;
    position: -webkit-sticky; /* Suporte para navegadores mais antigos */
    position: sticky;
    top: 0px; /* Isso mantém o autor fixo no topo, mas você pode ajustá-lo */
    height: auto; /* Ajuste para o conteúdo não ultrapassar a tela */
    max-height: 100vh; /* Impede que ultrapasse a altura da tela */
    border-left: solid 1px #b9b9b9;
}

.autor-info{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.autor .autor-imagem {
    width: 60px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

.autor h1{
    margin-bottom: 25px;
    color: #004F70;
}
.autor h2 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #004F70;
}
.autor p {
    font-size: 13px;
}

.autor .postagens-recentes ul {
    list-style: none;
    padding: 0;
}

.autor .postagens-recentes ul li a {
    color: #007bff;
    text-decoration: none;
}

.autor .postagens-recentes ul li a:hover {
    text-decoration: underline;
}

.autor .btn-compartilhar {
    background-color: #ff5722;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.autor .btn-compartilhar:hover {
    background-color: #e64a19;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
  footer {
      background-color: #064081;
      text-align: center;
      padding: 30px;
      font-size: 15px;
      color: #ffffff;
  }

@media (max-width: 768px) {
    .conteudo {
        flex-direction: column;
    }

    .navbar {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 30px 30px;
        background-color: #ffffff;
        color: #0B4E9A;
        border-bottom: 6px solid #0b4e9a;
        flex-direction: column;
    }
    .navbar-center h1 {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
    }
    .navbar-right p {
        font-size: 0rem;
        margin: 4px;
    }
    .texto-materia {
    background: white;
    padding: 20px;
    line-height: 1.5;
    }
    .texto-materia h1 {
    font-size: 25px;
    margin-bottom: 40px;
    color: #004F70;
    }
    .texto-materia p {
    text-align: left;
    margin-bottom: 0px;
    color: #000000;
    letter-spacing: 1.3px;
    }
    .imagem-materia img {
    width: 100%;
    height: auto;
}

iframe{
    width: 100%; 
    height: auto;
}
}
