@font-face {
  font-family: Nimbus Bold;
  src: url("../Font/NimbusSanNov-Bol.otf");
}

@font-face {
  font-family: Nimbus;
  src: url("../Font/NimbusSanNov-Reg.otf");
}

@font-face {
  font-family: Nimbus Light;
  src: url("../Font/NimbusSanNov-Lig.otf");
}

:root {
  --orange: #f09b00;
  --lightBlue: #2579cc;
  --lightGrey: #bebebe;
  --darkBlue: #006f95;
  --darkGrey: #4d4d4d;
  --darkBlueOpacity: #00465eb7;
  --lightBlueOpacity: #075f7596;
}

body {
  position: relative;
}

.apertura {
  position: relative;
  background-image: url("../Img/Landing/4.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: -3rem;
}

.divisionFilas {
  position: relative; /* Necesario para que el overlay se posicione correctamente */
}

.filas {
  padding: 3rem 3rem;
  width: 80%;
  margin: 0 auto;
}

.overlay {
  position: absolute; /* Se posiciona sobre el contenedor */
  top: 0;
  left: 0;
  width: 100%; /* Cubre todo el ancho */
  height: 100%; /* Cubre todo el alto */
  background-color: #075f75d9; /* Color negro con transparencia */
  z-index: 1; /* Se asegura de estar encima del contenido */
}

.fila1,
.fila2 {
  position: relative; /* Asegura que el contenido esté por debajo del overlay */
  z-index: 2;
}

.fila1 img {
  max-width: 20rem;
}

h1,
h2,
h3 {
  font-family: Nimbus Bold;
}

.columna1 h2 {
  font-family: Nimbus !important;
  color: white;
}

.columna1 h1 {
  font-size: 43px !important;
}

.listado ul {
  margin-top: 4rem;
}

h1 {
  color: white;
}
h2,
h3 {
  color: var(--lightBlue);
}

.first h3,
.second h3 {
  font-size: 30px;
  margin-top: 4rem;
}

.columna1 h3 {
  background-color: white;
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--lightBlue);
  width: fit-content;
  text-align: center;
  font-size: 22px;
  margin-top: 4rem;
}

.columnas {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: space-between;
}

.fila2 ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0rem;
}

.fila2 ul li {
  color: white;
  font-family: Nimbus;
  font-size: 19px;
  list-style: none;
  position: relative;
  padding-left: 25px;
}

.fila2 ul li::before {
  content: "\2713"; /* Código Unicode del tick ✓ */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  color: white; /* Color del tick */
  font-weight: bold;
  background-color: var(--lightBlue);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
}

.columnas .columna1,
.columnas .columna2 {
  width: fit-content;
}

.columnas .columna2 {
  background-color: white;
  padding: 2rem;
  max-width: 50%;
}

.columnas .columna2 .formulario p {
  font-family: Nimbus;
  font-size: 17px;
}

.columnas .columna2 .formulario form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.columnas .columna2 .formulario form .campo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.columnas .columna2 .formulario form label {
  font-family: Nimbus Bold;
  font-size: 18px;
}

.columnas .columna2 .formulario form label b {
  color: var(--lightBlue);
  font-size: 20px;
}

.columnas .columna2 .formulario form input[type="text"],
.columnas .columna2 .formulario form textarea {
  font-family: Nimbus;
  font-size: 17px;
  color: rgb(92, 92, 92);
  padding: 7px 5px;
  border: none;
  border: 2px solid #c4c4c4;
  border-radius: 10px;
}

.columnas .columna2 .formulario form input[type="submit"] {
  font-family: Nimbus Bold;
  font-size: 19px;
  color: white;
  background-color: var(--lightBlue);
  width: fit-content;
  border-radius: 10px;
  border: none;
  padding: 10px 20px;
}

.columnas .columna2 .formulario form input[type="submit"]:hover {
  scale: 1.1;
  -webkit-box-shadow: 0px 0px 9px 0px #000000;
  box-shadow: 0px 0px 9px 0px #000000;
  cursor: pointer;
}

.columnas .formulario i {
  color: var(--lightBlue);
  font-size: 15px;
}

.rrss {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translate(-50%, 0%);
  z-index: 9;
  gap: 0.3rem;
}

.rrss a {
  text-decoration: none;
}

.rrss a svg {
  -webkit-box-shadow: 0px 0px 9px 0px #000000;
  box-shadow: 0px 0px 9px 0px #000000;
  border-radius: 50%;
}

.rrss a:hover {
  scale: 1.1;
}

.conactoMystery {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 9;
  background-color: white;
}

.contactoMystery {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9;
  background-color: white;
  border-radius: 50%;
  height: 60px;
  -webkit-box-shadow: 0px 0px 9px 0px #000000;
  box-shadow: 0px 0px 9px 0px #000000;
  padding: 5px 13px;
}

.contactoMystery .contactoFull {
  max-width: 0; /* Inicialmente colapsado */
  overflow: hidden; /* Evita que el contenido se desborde */
  /* background-color: #00acd6; /* Color de fondo opcional */
  padding: 0; /* Sin padding inicialmente */
  transition: max-width 0.5s ease-in-out, padding 0.5s ease-in-out;
  white-space: nowrap; /* Evita que el texto haga saltos de línea */
}

.contactoMystery.expanded {
  border-radius: 10px;
  height: auto;
}

.contactoMystery.expanded .contactoFull {
  max-width: 30rem; /* Define el ancho al expandirse */
  padding: 10px 15px; /* Agrega padding en expansión */
}

.contactoMystery svg {
  cursor: pointer;
}

.contactoMystery.expanded svg {
  margin-right: 10px;
}

.contactoMystery .contactoFull a,
.contactoMystery .contactoFull p {
  font-family: Nimbus;
  color: #000000;
  text-decoration: none;
}

.contactoMystery .contactoFull a {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.contactoMystery .contactoFull a svg {
  margin-right: 2px;
}

.contenidoInformacion {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contenidoInformacion h3,
h2 {
  text-align: center;
}

.contenidoInformacion h2.black {
  color: #5c5b5b;
}

.contenidoInformacion ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  font-family: Nimbus;
}

.contenidoInformacion li {
  list-style: none;
  position: relative;
  padding-left: 25px;
  font-size: 18px;
}

.linea {
  background: linear-gradient(
    90deg,
    rgba(89, 91, 97, 0) 0%,
    var(--lightBlue) 50%,
    rgba(89, 91, 97, 0) 100%
  );
  height: 1px;
  margin-right: auto;
  margin-left: auto;
  float: none;
  width: 75%;
  opacity: 1;
  display: block;
}

.contenidoInformacion li::before {
  content: "\2713"; /* Código Unicode del tick ✓ */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  color: white; /* Color del tick */
  font-weight: bold;
  background-color: var(--lightBlue);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
}

.contenidoInformacion .division {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contenidoInformacion .division > div {
  display: flex;
  flex-direction: column;
  max-width: 45%;
}

.contenidoInformacion .imagenes {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
}

.contenidoInformacion .imagen {
  width: 25%;
  height: 20rem;
  background-size: cover;
  position: relative;
}

.contenidoInformacion .imagen:hover {
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 15px 0px #000000;
  box-shadow: 0px 0px 15px 0px #000000;
}

.contenidoInformacion .imagen .tit {
  display: none;
}

.contenidoInformacion .imagen .tit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fdfdfd;
  font-family: Nimbus Bold;
  font-size: 30px;
  text-align: center;
  max-width: 91%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.columna1 h2 {
  text-align: left;
}

span {
  color: var(--lightBlue);
}

.mensajePopUp {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 99999999999999999999999999999999999999999999999999999999;
  background-color: white;
  padding: 10px 20px;
  border-radius: 10px;
  animation: parpadeo 10s 1 forwards; /* Parpadea 3 veces y se queda invisible */
  animation-delay: 2s;
}

.mensajePopUp p {
  font-family: Nimbus;
  font-style: italic;
}

/* Animación de parpadeo */
@keyframes parpadeo {
  0% {
    opacity: 1; /* Comienza visible */
  }
  50% {
    opacity: 0; /* Invisible durante el parpadeo */
  }
  100% {
    opacity: 0; /* Termina invisible */
  }
}

.second {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.enlace {
  background-color: var(--lightBlue);
  color: white;
  text-decoration: none;
  font-family: Nimbus Bold;
  padding: 10px 20px;
  border-radius: 10px;
  width: fit-content;
  margin: 0 auto;
  margin-top: 2rem;
  font-size: 20px;
}

.enlace:hover {
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.83);
  box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.83);
}

.footer {
  margin-top: 4rem;
  background-color: #007095d4;
  padding: 1rem 3rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: start;
  justify-content: space-around;
}

.footer .contenido img {
  max-width: 15rem;
}

.footer .contenido {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer .contenido p,
.footer .contenido a {
  margin: 0;
  color: white;
  text-decoration: none;
  font-family: Nimbus;
}

.footer .contenido .neg {
  font-family: Nimbus Bold;
  margin-top: 1rem;
  font-size: 24px;
}

.footer .contenido .ita {
  font-style: italic;
  font-size: 17px;
}

.copy {
  color: white;
  font-family: Nimbus light;
  background-color: #007095d4;
  padding: 1rem 3rem;
  text-align: center;
}

iframe {
  margin-top: 2rem;
}

.formulario h3 {
  font-size: 18px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .contenidoInformacion .imagen {
    width: 100%;
  }
  .contenidoInformacion ul {
    padding-left: 0.3rem;
  }
}

@media (max-width: 1190px) {
  .columnas {
    flex-direction: column;
  }
  .columnas .columna2 {
    max-width: initial;
  }
  .imagenes {
    flex-wrap: wrap;
  }
  .contenidoInformacion .division {
    flex-direction: column;
  }
  .contenidoInformacion .division > div {
    max-width: initial;
  }
}

@media (max-width: 900px) {
  .columnas {
    flex-direction: column;
  }
  .columnas .columna2 {
    max-width: 100%;
  }
  .mensajePopUp {
    top: 1%;
    left: initial;
    right: 0%;
    transform: translate(0%, 0%);
  }
  .filas {
    padding: 3rem 0rem;
  }
}

@media (max-width: 800px) {
  .contenidoInformacion .division {
    flex-direction: column;
  }
  .contenidoInformacion .division > div {
    max-width: 100%;
  }
  .contenidoInformacion {
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  .imagenes {
    grid-template-columns: repeat(1, 100%);
  }
  .columna1 h1 {
    font-size: 25px !important;
    text-align: center;
  }
  .fila1 img {
    max-width: 18rem;
  }
  .filas {
    width: 90%;
  }
  .apertura {
    background-size: cover;
  }
}
