/* Estilo de fuente */

@font-face {
  font-family: Inter;
  src: url(fonts/Inter.ttf);
}

/* Texto justificado */

body {
  text-align: justify;
  text-justify: inter-word;
}

/* Espaciado adicional entre ítems de lista */

li {
  margin: 10px 0;  
}


/* Estilo para galeria */
.miniaturas {
  display: flex;
  align-items: flex-end;
}

.pies {
  text-align: center;
  vertical-align: top;
  margin-top: 5px;
  margin-bottom: 15px;
}

.modal-image {
  width: 100%;
}

/* Estilo para el calendario de los pfae */

#calendar {
  max-width: 100%;
  padding: 40px;
  margin: 0 auto;
  width: 87%;
  height: 525px;
  border-radius: 2%;
  color: #008A97;
}

:root {
  --fc-today-bg-color: pink;
}

.bloqueSuperior {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
}

.bloqueSuperior img {
  max-width: 100%;
  height: auto;
}

.foto {
  padding: 0;
  width: 75%;
}

.miniatura {
  width: 110px;
  height: 110px;
  margin-right: 10px;
}

.icono_titulo {
  display: flex;
  align-items: center;
  margin-top: 25px;
  /* margin-bottom: auto; */
}

.pfae {
  color: #915d2a;
  font-weight: 600;
  font-size: 40px;
}

.texto {
  width: 85%;
  max-width: 1500px;
  text-align: justify;
  text-justify: inter-word;
  font-size: 20px;
  margin-top: 40px;
}

.actividades {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.5;
  font-size: 20px;
  width: 65%;
}

.actividades p {
  margin: 15px 0;
}

.actividades ul li {
  margin-left: 20px;
}

@media (max-width:600px) {
  .actividades {
    font-size: 16px;
  }
}

main {
  display: block;
  margin-top: 50px;
  margin-bottom: 50px;
}


section {
  width: 100%;
}

.bgHeading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 25px;
  background-color: #008996C0;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.headingTitle {
  display: inherit;
  justify-content: center;
  align-items: center;
  background-color: #008996;
  width: 50%;
  padding: 1.5%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  font-size: 30px;
}

.bgHeading,
.headingTitle {
  margin: 100px 0;
}

/* Paneles de información */
.infoPanel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.logo-galeria img{
  width: 100%;
  height: 300px;
}

.imagen-galeria{
  background-color: #915d2a;
}
.panelImg img {
  /* background-color: gray; */
  height: 250px;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 50px;

}

.panelText {
  position: relative;
  height: fit-content;
  margin: 0 0px 0 25px;
  width: 30%;
}

.panelText p {
  margin: 0 0 75px 0;
  font-size: 20px;
}

.panelText p::-webkit-scrollbar {
  display: none;
}

.panelButton {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: fit-content;
  /* background-color: #E15DAA; */
  background-color: #915d2a;
  padding: 10px;
  border-radius: 10px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* Medias */


@media (max-width: 768px) {

  .foto {

    width: 100%;
  }



}

@media screen and (max-width: 480px) {
  .card {
    width: 90%;
  }

  .pfae {
    font-size: 20px;
    /* Tamaño del título más pequeño en pantallas pequeñas */
  }

  .foto {
    padding: 0;
    width: 100%;
  }

  .icono_titulo {

    margin-left: 20px;
  }
}

@media screen and (max-width: 400px) {

  /* Paneles de información */
  .infoPanel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  .panelImg img {
    height: 175px;
    padding: 20px;
  }

  .panelText {
    position: relative;
    height: fit-content;
    margin: 0 0px 0 25px;
    width: 80%;
  }

  .panelText p {
    margin: 0 0 95px 0;
  }

  .panelText p::-webkit-scrollbar {
    display: none;
  }

  .panelButton {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: fit-content;
    background-color: #915d2a;
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
  }
}

/* Esto es el responsive de las paginas de cada PFAE (año 24-25) */
@media (max-width:600px) {
  .infoPanel{
    flex-direction: column;
  }
  .panelText{
    margin: 0 !important;
    width: 85% !important; 
  }
.icono_titulo{
  flex-direction: column;
}

  .icono_titulo .miniatura, .icono_titulo h1{
    display: block !important;
  }
  .icono_titulo h1{
    text-align: center;
    text-transform: uppercase;
     order: -10; /* Intercambia el orden de la imagen y el texto */
  }
}