.container {
  width: 100%;
  max-width: 124.6rem;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.overflow {
  overflow-x: hidden;
}

.underline {
  text-decoration: underline;
  /* border-bottom: 1px solid var(--branco); */
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 4rem;
  gap: 1rem;
  color: var(--branco);
  font: 400 2rem / normal "Mulish", sans-serif;
  background-color: transparent;
  border: 1px solid var(--branco);
  width: 100%;
  max-width: max-content;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 2;
}

.btn-ter {
  background-color: transparent;
  border-color: var(--azul);
  color: var(--azul);
}

.btn-qua {
  background-color: var(--azul);
  border-color: var(--azul);
  color: var(--branco);
}

.btn:hover {
  background-color: var(--azul);
  border-color: var(--azul);
  color: var(--branco);
}

.btn-sec:hover {
  background-color: var(--branco);
  border-color: var(--branco);
  color: var(--azul);
}

.btn-qua:hover {
  background-color: transparent;
  border-color: var(--azul);
  color: var(--azul);
}

@media (max-width: 1346px) {
  .container {
    width: 90%;
    padding: 0;
  }
}

@media (max-width: 991px) {
  .btn {
    font: 400 1.4rem / normal "Mulish", sans-serif;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translatey(0);
  }

  50% {
    transform: translatey(-1.5rem);
  }
}

@keyframes floatseta {
  0%,
  100% {
    transform: translatey(0);
  }

  50% {
    transform: translatey(1rem);
  }
}

/* Paginação Diego */

.paginas {
  display: block;
  clear: both;
}

.wp-paginate {
  padding: 0;
  margin: 0 auto;
  max-width: max-content;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.wp-paginate .gap {
  font-size: 2rem;
}

.wp-paginate li {
  display: inline;
  list-style: none;
}

.wp-paginate a,
.wp-paginate .current {
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-family: "Mulish", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: transparent;
  border: 1px solid var(--azul);
  color: var(--azul);
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.wp-paginate a:hover,
.wp-paginate a:active {
  background: var(--azul);
  color: var(--branco);
}

.wp-paginate .current {
  color: var(--branco);
  border: 2px solid var(--azul);
  background: var(--azul);
}

@media (max-width: 600px) {
  .wp-paginate .gap {
    font-size: inherit;
  }

  .wp-paginate a,
  .wp-paginate .current {
    width: 4rem;
    height: 4rem;
  }
}

/* Visualizador de imagens (Lightbox2): fixo na tela, acima do menu e sem rolar junto */
#lightboxOverlay {
  position: fixed !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 2147483647;
}

#lightbox {
  position: fixed !important;
  inset: 0;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
}

/* Só vira flex quando está aberto, para centralizar a foto na altura da tela */
#lightbox:not([style*="display: none"]) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* A legenda e o X ficam fora do fluxo e o espaço delas é reservado, assim a foto não pula quando elas entram */
#lightbox:not([style*="display: none"])::after {
  content: "";
  flex: none;
  height: 3.5rem;
}

#lightbox .lb-dataContainer {
  height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

#lightbox .lb-data {
  position: relative;
  top: 5px;
}
