*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  background-color: #f1f1f1 !important;
  height: 100%
}

html {
  font-size: 16px;
}


.layout {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
  min-height: 100vh
}

h1 {
  font-size: clamp(2.5rem, 3.5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
}

h4 {
  font-size: clamp(1.2rem, 2.1vw, 2.2rem);
}

#sub-title {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  color: rgb(226, 11, 11);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  text-align: center;
}

p {
  font-size: clamp(1.3rem, 1.5vw, 1.8rem);
}

.cursive-title {
  font-family: "Playfair Display", serif;
  /* o la font que elijas */
  font-style: italic;
  /* si deseas cursiva */
  color: rgb(226, 11, 11);
  text-align: center;
  font-weight: 800;
  border-bottom: 1px solid #f60000;
  /* línea fina */
}

.cursive-title2 {
  font-family: "Playfair Display", serif;
  /* o la font que elijas */
  font-style: italic;
  /* si deseas cursiva */
  color: rgb(31, 31, 31);
  text-align: center;
  font-weight: 700;
  border-bottom: 1px solid #000000;

}

.cursive-title.animate {
  animation: moveFromRight 0.8s ease-out;
}

.hero-section {
  margin-bottom: 5vh
}

.flex-ali-center {
  display: flex;
  align-items: center;
}

.flex-col-ali-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-col-jus-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-jus-center {
  display: flex;
  justify-content: center
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center
}

table th {
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-family: 'Lobster';
  color: white;
  background-color: #CC0000;
  border: 1px solid rgb(255, 255, 255);
  text-decoration: underline;

}

table a {

  /* Bordes para las celdas */
  padding: 5px;
  /* Añadir relleno a las celdas */
  color: rgb(252, 99, 93);

}

table td {
  border: 1px solid rgb(255, 255, 255);
  /* Bordes para las celdas */
  padding: 5px;
  /* Añadir relleno a las celdas */
  color: white;
  font-size: clamp(1.3rem, 1.5vw, 1.8rem);

}

.gray-background {
  background-color: rgb(97, 94, 94);
  border-radius: 25px;
  padding: 20px;

}

.gray-background p {
  text-indent: 2em;
  margin: 10px 25px;
  font-family: "Teko", sans-serif;
  font-weight: 400;
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: white;
  gap: 10px;

}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;

  font-size: clamp(10px, 3vw, 30px)
}

.pagination a.active {
  background-color: #CC0000;
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: rgb(40, 35, 35);
  color: white;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
}

#galleryDropdown {
  padding: 2px 8px !important;
  /* menos espacio */
  font-size: 0.85rem !important;
  /* letra más pequeña */
  text-align: center;
}

.disabled-link {
    pointer-events: none;
    cursor: default;
    color: gray;
    /* Optional: change color to look disabled */
    text-decoration: none;
    /* Optional: remove underline */
}






@media (max-width: 576px) {

  table td {
    padding: 20px
  }

  table th {
    font-size: 15px;



  }
}

@media (max-width: 700px) {
  .gray-background p {
    font-size: 15px;
    text-indent: 1em;
    padding: 5px;
  }
}