/* 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: 50px;
  height: 50px;
  margin-right: 10px;
}

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

.pfae {
  color: #E15DAA;
  font-weight: 600;
  font-size: 30px;
}

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


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;
}

.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);
}

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

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

.panelImg img {
  background-color: gray;
  height: 175px;
  border-radius: 20px;
  padding: 25px;
}

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

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

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

.panelButton {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: fit-content;
  background-color: #E15DAA;
  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 {
    background-color: gray;
    height: 175px;
    border-radius: 20px;
    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: #E15DAA;
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
  }
}