/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      display: flex;
      flex-direction: column;
      height: 100vh;
    }

    header {
      background: linear-gradient(to left, #001f3f, #3d0066); /*background:  #444*/
      color: white;
      text-align: center;
      padding: 40px;
    }

    /* Menu horizontal principal */
    .menu-horizontal {
      background: #9370DB;
    }

    .menu-horizontal ul {
      display: flex;
      list-style: none;
      width: 100%;
    }

    .menu-horizontal li {
      flex: 1;
      text-align: center;
    }

    .menu-horizontal a {
      display: block;
      padding: 15px;
      text-decoration: none;
      color: white;
      transition: background 0.3s, color 0.3s;
    }

    .menu-horizontal a:hover {
      background: #7B68EE;
      color: yellow;
    }

    /* Conteúdo principal: nav lateral + article */
    main {
      flex: 1;
      display: flex;
    }

    .menu-lateral {
      width: 350px;
      background: #ddd;
      padding: 10px;
      
    }

    article {
      flex: 1;
      padding: 20px;
      background: #f4f4f4;
    }

    footer {
      background: #222;
      color: white;
      text-align: center;
      padding: 10px;
    }

    .bloco {
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
  

  overflow: hidden;
}

.bloco img {
  width: 250px;
  object-fit: cover;
}

.conteudo {
  flex: 1;
  padding: 15px;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
}

.pdf-links {
  margin-top: 15px;
  display: flex;
  gap: 10px; /* espaço entre os botões */
  margin-top: auto;
}

.pdf-links a {
  flex: 1;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  color: white;
  border-radius: 6px;
  transition: background 0.3s;
  margin-top: auto;
}

.pdf-links .abrir {
  background: #007bff;
}

.pdf-links .abrir:hover {
  background: #0056b3;
}

.pdf-links .baixar {
  background: #28a745;
}

.pdf-links .baixar:hover {
  background: #1e7e34;
}