/* contenedor principal */
.contenedor-mateo {
  /* background-image: url(../img/mateo/fondo-tesoro-2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center; */
  min-height: 100vh;
}

/* 
-----------------------
seccion hero 
-----------------------
*/
.contenedor-hero {
  margin-top: 80px;
  width: 100%;
  background: var(--color-celeste);
}
.contenido-hero {
  /* margin-top: 80px; */
  padding: 20px;
  display: flex;
  flex-direction: row;
  gap: 50px;
  /* justify-content: space-between; */
  align-items: center;
}
.contenido-hero img {
  width: 360px;
  height: auto;
}
.texto-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.titulo-mateo-hero {
  font-family: var(--font-principal-regular);
  color: var(--color-azul-navy);
}
.cont-text-hero {
  width: 615px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.texto {
  font-family: var(--font-secundario-regular);
  color: var(--color-azul-navy);
  font-size: var(--font-size-paragraph);
}
.texto-red {
  color: var(--color-rojo);
  font-size: var(--font-size-paragraph);
  font-family: var(--font-secundario-regular);
}

/* 
-----------------------
seccion hero 
-----------------------
*/

/* 
-----------------------
seccion historia 
-----------------------
*/

/* .contenedor-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.contenedor-titulo h2 {
  font-family: var(--font-principal-regular);
  color: var(--color-cyan);
  font-size: var(--font-size-title);
  text-align: center;
}
.contenedor-titulo img {
  width: 60px;
  height: auto;
} */
.contenedor-texto-historia > * {
  width: 50%;
}
.contenedor-texto-historia {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 100px;
  justify-content: center;
}
.contenedor-texto-historia p {
  font-family: var(--font-secundario-regular);
  font-size: var(--font-size-paragraph);
  color: var(--color-azul-navy);
}
.contenedor-texto-historia br {
  line-height: 2.5; /* Ajusta el valor según necesites */
}

/* 
-----------------------
fin seccion historia 
-----------------------
*/

/* 
-----------------------
estilo de la tripulacion 
-----------------------

*/
.mi-tripulacion {
  padding: 20px;
}
.contenedor-tripulacion {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
}

/* cards de tripulacion */
.card-container {
  width: 300px;
  height: 300px;
  position: relative;
  border-radius: 10px;
}

.card-container::before {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  /* background: linear-gradient(-45deg, #f89b29 0%, #ff0f7b 100% ); */
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.card {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.card .img-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(-45deg, #f89b29 0%, #ff0f7b 100% ); */
  transition:
    scale 0.6s,
    rotate 0.6s,
    filter 1s;
}

.card .img-content img {
  width: 300px;
  /* height: 50px; */
  fill: #e8e8e8;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  color: #e8e8e8;
  padding: 20px;
  line-height: 1.5;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  background: var(--color-azul-navy);
}

.card .content .heading {
  font-size: 32px;
  font-weight: 700;
}

.card:hover .content {
  opacity: 1;
  transform: translateY(0);
}

.card:hover .img-content {
  scale: 2.5;
  rotate: 30deg;
  filter: blur(7px);
}

.card:hover .img-content img {
  fill: transparent;
}
.content p {
  font-family: var(--font-secundario-regular);
  font-size: 14px;
}
/* 
-----------------------
estilo de la tripulacion 
-----------------------

*/

@media (max-width: 768px) {
  .contenido-hero {
    flex-direction: column;
    text-align: center;
  }
  .cont-text-hero {
    width: 100%;
  }
  .contenedor-texto-historia {
    flex-direction: column;
    gap: 30px;
    padding: 10px;
  }
  .titulo {
    font-size: 24px;
  }
  .contenedor-texto-historia > * {
    width: 100%;
  }
  .contenedor-tripulacion {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
}