/*--Passar paginas--*/

/* Container para a paginação */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  position: relative; /* Torna o container o ponto de referência */
}

/* Estilo para os botões de página */
.page-button {
  padding: 8px 15px; /* Aumenta a largura (valor maior no segundo número) */
  border-radius: 4px; /* Mantém bordas ligeiramente arredondadas */
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

/* Estilo para o botão ativo */
.active {
  background: #004E97;
  color: white;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

/* Estilo para o botão inativo */
.inactive {
  background: transparent;
  color: gray;
}

.inactive:hover {
  background: lightgray;
}


/* Estilo para o botão "Anterior" */
.prev-button {
  background: none;
  border: none;
  color: #004E97;
  cursor: pointer;
  position: absolute; /* Posiciona o botão dentro do container */
  top: 50%; /* Centraliza verticalmente dentro do container */
  left: 10%; /* Afastar 10% da borda esquerda */
  transform: translateY(-50%); /* Ajusta para o centro exato */
}

/* Estilo quando o botão "Anterior" estiver desabilitado */
.prev-button:disabled {
  color: gray;
  cursor: not-allowed;
}

/* Estilo para o botão "Próximo" */
.next-button {
  background: none;
  border: none;
  color: #004E97;
  cursor: pointer;
  position: absolute; /* Posiciona o botão dentro do container */
  top: 50%; /* Centraliza verticalmente dentro do container */
  right: 10%; /* Afastar 10% da borda direita */
  transform: translateY(-50%); /* Ajusta para o centro exato */
}

/* Estilo quando o botão "Próximo" estiver desabilitado */
.next-button:disabled {
  color: gray;
  cursor: not-allowed;
}



    
  /*--Outros--*/

      .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #eeeeee;
    margin: 5% auto; /* Valor padrão para desktops */
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    height: 90%;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cl0se {
    color: #000000;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.cl0se:hover,
.cl0se:focus {
    color: rgb(0, 0, 0);
    text-decoration: none;
    cursor: pointer;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .modal-content {
        margin-top: calc(80px + 10px); /* 60px para a navbar + 10px de espaçamento */
        height: calc(100% - (60px + 20px)); /* Ajuste altura para compensar navbar e margem */
    }
}

/* Estilos gerais */
.content-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 129px;
    gap: 20px;
}

.section {
    margin-bottom: 20px;
}

.section h2 {
    margin: 0 0 10px 0;
    color: #333;
}


.interactive-sections {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}


.button {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    outline: none;
}


.button:hover {
    background-color: #333;
    color: #fff;
}

.image-info {
    position: relative;
    text-align: center;
    color: white;
    flex: 2;
    transition: height 0.3s;
}

.image-info img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-overlay h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.text-below {
    transform: translate(0, -10%);
    font-size: 16px;
    color: #333;
    text-align: left;
}

.buttons-container {
    flex: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .content-info {
        flex-direction: column;
        align-items: center;
    }

    .image-info {
        order: 2;
    }

    .text-below {
        text-align: center;
        color: #fff;
    }

    .buttons-container {
        width: 100%;
        color: #fff;
    }

    .button {
        width: 100%;
        max-width: 300px;
        color: #161616;
    }
}

/* Carrossel */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    color: #fff;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
    flex: 1;
    scroll-behavior: smooth;
    color: #fff;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 auto;
    width: 80%;
    max-width: 600px;
    scroll-snap-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    color: #fff;
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 16px;
    box-sizing: border-box;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: rgba(46, 46, 46, 0.5);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}


.card-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #fff;
}

.card-content p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}


.carousel-button.left {
    left: 10px;
}

.carousel-button.right {
    right: 10px;
}

.carousel-button:disabled {
    background-color: #424242b0;
    cursor: not-allowed;
}


/*--Topicos--*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
.topi {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

    padding: 20px;
}
.topi .container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    text-align: center;
}
.image-section {
    width: 100%;
    height: 80vh; /* Definindo altura da imagem */
    overflow: hidden;
    border-radius: 15px;
}
.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.content {
    padding: 20px;
}
.content h3 {
    color: red;
    text-transform: uppercase;
    font-size: 14px;
}
.content h1 {
    font-size: 28px;
    margin: 10px 0;
}
.content p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}
.topics {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Para garantir que os tópicos se ajustem em telas menores */
    margin-top: 20px;
}
.topic {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    box-shadow: none;
    margin-bottom: 15px;
}
.topic h2 {
    font-size: 22px;
    color: #333;
    font-weight: bold;
}
.topic p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .content-info {
        flex-direction: column; /* Altera a direção para coluna em dispositivos móveis */
        align-items: center; /* Centraliza os itens */
    }

    .image-section {
        height: 40vh; /* Ajusta a altura da imagem para dispositivos móveis */
    }

    .topic {
        min-width: 100%; /* Faz com que os tópicos ocupem toda a largura disponível */
    }
}
@media (max-width: 480px) {
    .content h1 {
        font-size: 20px; /* Tamanho de fonte menor em telas muito pequenas */
    }
}