.titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(to right, #11315F, #0087C7);
  color: white;
  font-size: 1.5em;
  margin-block-start: 0.5em;
  margin-block-end: 1em;
  padding: 12px;
  width: 100%;
}
.explicacao{
  margin-top: 20px;
  
}
.container-fluik{
width: 176%;
margin-top: 20px;

 }
.escondido {
  display: none;
}


.tabs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.botoes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 2px solid #ccc;
}

.tab {
  padding: 10px 20px;
  margin: 0 5px -2px 5px; 
  cursor: pointer;
  background-color: #f5f5f5;
  border: 2px solid #ccc;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: #333;
}

.tab:hover {
  background-color: #e0e0e0;
}



.conteudo-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.conteudo {
  display: none;
  padding: 20px;
  background-color: #F5F3E7;
  border: none; /* Remove the border from the main divs */
  border-top: none;
  border-radius: 0 0 10px 10px;
  text-align: center;
}

.conteudo h3 {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.conteudo p {
  font-size: 0.9em;
  color: #666;
  margin: 0;
}

.conteudo:not(.escondido) {
  display: block;
}

.escondido {
  display: none;
}



.titulo h1 {
  margin: 0;
  
}
.titulo-dois {
  font-size: 24px;
  font-weight: bold;
  color: #444;
  margin-bottom: 20px;
  text-align: center;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Remover borda dos cards e ajustar estilos */
.card-custom {
    width: 300px;
    padding: 20px;
    border: none; /* Remove the border */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card-custom h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.card-custom p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.select-container {
    position: relative; /* Position for custom arrow */
    display: inline-block;
    width: 100%; /* Ensure proper alignment */
    max-width: 250px; /* Match the width of the select box */
}

#anos-select {
    width: 100%; /* Full width inside the container */
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border: 2px solid #a5171f;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: center;
    text-align-last: center;
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center; /* Position the arrow inside */
    background-size: 12px 12px; /* Adjust arrow size */
}

#anos-select:hover {
    background-color: #fff;
    border-color: #444;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

#convocacoes {
     color: #007bff; /* Bright blue color for visibility */

}

#anos-select:focus {
    outline: none;
    border-color: #a5171f;
    box-shadow: 0 0 10px rgba(165, 23, 31, 0.5);
}

.modal-body .d-flex a {
    flex: 1; /* Ensure all buttons have equal width */
    text-align: center; /* Center-align text inside buttons */
    margin-right: 10px; /* Add spacing between buttons */
    padding: 10px; /* Ensure consistent padding */
    font-size: 1em; /* Set a consistent font size */
    min-width: 100px; /* Ensure a minimum width for smaller screens */
}

.modal-body .d-flex a:last-child {
    margin-right: 0; /* Remove margin from the last button */
}

.modal-body a {

    text-decoration: underline; /* Add underline for better visibility */
    font-weight: bold; /* Make the link text bold */
}

.modal-body a:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: none; /* Remove underline on hover */
}

/* Media Queries para telas menores */
@media (max-width: 768px) {
  .card-custom {
      padding: 12px;
  }

  .card-custom h3 {
      font-size: 1em;
  }

  .card-custom p {
      font-size: 0.8em;
  }

  .select-container {
      max-width: 350px;
  }

  #anos-select {
      padding: 8px;
      font-size: 0.9em;
  }

  .titulo,
  .titulo-dois {
      font-size: 1em;
      padding: 4px;
  }

  .titulo-dois {
      font-size: 1.2em;
  }

  .modal-body .d-flex a {
      font-size: 0.9em; /* Adjust font size for smaller screens */
      padding: 8px; /* Adjust padding for smaller screens */
  }
}

@media (max-width: 576px) {
  .card-custom {
      padding: 10px;
      
  }

  .card-custom h3 {
      font-size: 0.9em;
  }

  .card-custom p {
      font-size: 0.75em;
  }

  .select-container {
      max-width: 270px;
  }

  #anos-select {
      padding: 10px;
      
  }

  .titulo,
  .titulo-dois {
      font-size: 0.9em;
  }

  .titulo-dois {
      font-size: 1em;
  }

  .modal-body .d-flex {
      flex-direction: column; /* Stack buttons vertically on very small screens */
      gap: 10px; /* Add spacing between stacked buttons */
  }

  .modal-body .d-flex a {
      width: 100%; /* Ensure buttons take full width */
      margin-right: 0; /* Remove right margin for stacked buttons */
  }

  .modal-body .d-flex a {
      font-size: 0.9em; /* Adjust font size for smaller screens */
      padding: 10px; /* Ensure consistent padding */
  }

  .modal-dialog {
      max-width: 100%; /* Ensure the modal does not exceed the screen width */
      margin: 0 auto; /* Center horizontally */
      top: 5%; /* Adjust vertical position */
      transform: none; /* Remove vertical centering */
  }

  .modal-content {
      border-radius: 10px; /* Add slight rounding for aesthetics */
      max-height: 90vh; /* Limit the modal height to 90% of the viewport */
      overflow-y: auto; /* Enable scrolling if content overflows */
  }

  .modal-body {
      max-height: calc(90vh - 60px); /* Adjust body height to fit within the modal */
      overflow-y: auto; /* Enable scrolling for the body if needed */
  }
}