:root {
  --color1: rgb(255, 255, 255);
  --color2: rgba(23, 180, 83, 0.877);
  --color3: rgba(11, 194, 211, 0.623);
  --fondo: #f2f2f2;
  --titulos: 33px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido: 45px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "open sans";

  background:
    linear-gradient(
      to bottom,
      rgba(114, 71, 7, 0.096),
      rgba(84, 148, 209, 0.137),
      rgba(2, 27, 37, 0.514)
    ),
    url(img/FONDO.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

img {
  vertical-align: top;
}

/* Preloader */
.hidden {
  overflow: hidden;
}

.centrado {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lds-facebook {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 13px;
  background: #cef;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 6px;
    height: 51px;
  }

  50%,
  100% {
    top: 19px;
    height: 26px;
  }
}

/* Header */

header {
  width: 100%;
  height: 900px;
  background:
    linear-gradient(
      to bottom,
      rgba(114, 71, 7, 0.096),
      rgba(84, 148, 209, 0.137),
      rgba(2, 27, 37, 0.514)
    ),
    url(img/FONDO.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

nav {
  width: 100%;
  position: fixed;
  box-shadow: 0 0 10px 0 rgb(255, 255, 255);
}

.nav1 {
  background: transparent;
  height: 80px;
  color: #1c6ae069;
}

.nav2 {
  background-color: #5e5e5e9d;
  height: 100px;
  color: #ffffff;
}

.contenedor-nav {
  display: flex;
  margin: auto;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  height: inherit;
  overflow: hidden;
}

nav .enlaces a {
  display: inline-block;
  color: #fff;
  padding: 5px 0;
  margin-right: 17px;
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

nav .enlaces a:hover {
  border-bottom: 3px solid #1498a4;
  transition: 0.6s;
}

.logo,
.logo img {
  height: 80px;
}

/* Estilo para el nuevo logo derecho */
.logo-derecho img {
  height: 80px; /* Mantén la misma altura para que se vean simétricos */
  display: block;
}

.icono {
  display: none;
  font-size: 24px;
  padding: 23.5px 20px;
}

.textos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #fff;

  /* Esto empuja el contenido hacia abajo respetando tu menú */
  padding-top: 350px;
  box-sizing: border-box;
}
.textos > h1 {
  font-size: 80px;
}

.textos > h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
}
#cuenta {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
  flex-wrap: wrap; /* Permite acomodar elementos en diferentes líneas */
  gap: 20px; /* Espacio entre elementos */
}

.simply-section {
  background: transparent;
  width: 180px;
  height: 180px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.simply-amount {
  display: block;
  font-size: 50px;
  font-weight: 700;
}

.simply-word {
  font-weight: 300;
  font-size: 30px;
}
/* Main */

.contenedor {
  margin: auto;
  padding: var(--margenes) 0;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  overflow: hidden;
}

.contenedor h3 {
  font-size: var(--titulos);
  color: var(--color1);
  margin-bottom: var(--espacios);
}

.contenedor p {
  font-size: var(--subtitulos);
  font-weight: 300;
  color: var(--color1);
}

.after::after {
  content: "";
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 100px;
  height: 2px;
  background: var(--color1);
  margin-bottom: var(--espacios-contenido);
}
/* PONENTES  */

.team {
  text-align: center;
  padding: 20px;
}

.card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* Espacio entre tarjetas */
}

.content-card {
  width: 300px;

  border-radius: 15px;
  overflow: hidden;

  text-align: center;
}

.people {
  width: 100%;
  height: 250px;
  height: auto;
  display: block;
}

.people img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 10px;

  display: block;
}

.texto-team {
  padding: 25px;

  border-radius: 0 0 15px 15px;
}

.texto-team h4 {
  margin: 0;
  font-size: 25px;
  color: #ffffff;
}

.texto-team p {
  margin: 5px 0 0;
  font-size: 20px;
  color: #ffffff;
}

#title_ponentes {
  font-size: 18px;
  color: #ffffff;
}

.biografia-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: #f4f4f4;
}

.bio-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

/* Contenedores para las imágenes */
.bio-item {
  flex: 1;
  padding: 20px;
  text-align: center;
}

h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.bio-title {
  font-size: 20px;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

.biography {
  font-size: 16px;
  font-weight: normal;
  color: #555;
  line-height: 1.5;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

* Footer */

/* Estilos base del footer */
.footer {
  background-color: #000; /* Negro transparente */
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer__container {
  background: rgba(0, 0, 0, 0.8); /* Negro transparente */
  max-width: 100%;
  margin: auto;
  padding: 20px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__texts {
  margin-bottom: 20px;
}

.title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer__location img {
  width: 24px;
  margin: 10px;
}

.footer__social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.footer__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s;
}

.footer__link:hover {
  background: rgba(255, 255, 255, 0.3);
}
.description {
  font-size: 16px;
  color: #ffffff;
}

.footer__icon {
  width: 30px;
  height: 30px;
}

.footer__picture img {
  width: 100px;
  margin-top: 20px;
}

.footer__copyright {
  font-size: 14px;
  margin-top: 20px;
}

/* Media Queries */

@media (max-width: 900px) {
  .footer__container {
    padding: 15px;
  }

  .title {
    font-size: 18px;
  }

  .footer__social {
    gap: 10px;
  }

  .footer__link {
    width: 45px;
    height: 45px;
  }

  .footer__picture img {
    width: 90px;
  }
}

@media (max-width: 500px) {
  .footer__container {
    padding: 10px;
  }

  .title {
    font-size: 16px;
  }

  .footer__social {
    gap: 8px;
  }

  .footer__link {
    width: 40px;
    height: 40px;
  }

  .footer__picture img {
    width: 80px;
  }

  .description {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .footer__container {
    padding: 10px;
  }

  .title {
    font-size: 14px;
  }

  .footer__social {
    gap: 5px;
  }

  .footer__link {
    width: 35px;
    height: 35px;
  }

  .footer__picture img {
    width: 70px;
  }

  .description {
    font-size: 12px;
  }
}

@media (max-width: 300px) {
  .footer__container {
    padding: 8px;
  }

  .title {
    font-size: 12px;
  }

  .footer__social {
    gap: 4px;
  }

  .footer__link {
    width: 30px;
    height: 30px;
  }

  .footer__picture img {
    width: 60px;
  }

  .description {
    font-size: 10px;
  }
}

@media (max-width: 200px) {
  .footer__container {
    padding: 5px;
  }

  .title {
    font-size: 10px;
  }

  .footer__social {
    gap: 3px;
  }

  .footer__link {
    width: 25px;
    height: 25px;
  }

  .footer__picture img {
    width: 50px;
  }

  .description {
    font-size: 8px;
  }
}

@media screen and (max-width: 700px) {
  .nav2 {
    color: #00000088;
  }

  .icono {
    display: block;
    cursor: pointer;
  }

  .enlaces {
    position: fixed;
    top: 80px;
    background: #00000071;
    left: 0;
    height: 100%;
    transition: 1s;
    width: 0;
    overflow: hidden;
  }

  .enlaces a {
    display: block;
    width: 100%;
    height: 50px;
    padding: 20px;
    text-align: center;
    background: #00000071;
    color: #ffffff;
  }

  .textos > h1 {
    font-size: 70px;
  }
  .textos > h2 {
    font-size: 35px;
  }

  .content-card {
    width: 48%;
    margin-bottom: var(--margenes);
  }

  :root {
    --margenes: 30px;
  }
}

/* Media Queries Responsivos */

@media (max-width: 900px) {
  .bio-item {
    flex: 1 0 48%; /* Dos elementos por fila en pantallas medianas */
    margin-bottom: 20px;
  }
}

@media (max-width: 700px) {
  .bio-item {
    flex: 1 0 100%; /* Un solo elemento por fila en pantallas pequeñas */
  }
}

@media (max-width: 500px) {
  .bio-title {
    font-size: 18px; /* Reducir el tamaño del título */
  }

  .biography {
    font-size: 14px; /* Reducir el tamaño de la descripción */
  }
}

@media (max-width: 400px) {
  .bio-container {
    padding: 10px; /* Reducir el padding en pantallas muy pequeñas */
  }

  .bio-item {
    padding: 10px; /* Reducir el padding en los contenedores */
  }
}

@media (max-width: 200px) {
  .bio-container {
    padding: 5px; /* Minimizar el padding en pantallas extremadamente pequeñas */
  }
}

/* 🌟 RESPONSIVE DESIGN 🌟 */

/* 900px */
@media (max-width: 900px) {
  .textos > h1 {
    font-size: 65px;
  }

  .textos > h2 {
    font-size: 25px;
  }

  .simply-section {
    width: 160px;
    height: 160px;
  }

  .simply-amount {
    font-size: 45px;
  }

  .simply-word {
    font-size: 25px;
  }
}

/* 700px */
@media (max-width: 700px) {
  .textos > h1 {
    font-size: 55px;
  }

  .textos > h2 {
    font-size: 22px;
  }

  .simply-section {
    width: 140px;
    height: 140px;
  }

  .simply-amount {
    font-size: 40px;
  }

  .simply-word {
    font-size: 22px;
  }
}

/* 500px */
@media (max-width: 500px) {
  .textos > h1 {
    font-size: 45px;
  }

  .textos > h2 {
    font-size: 20px;
  }

  #cuenta {
    flex-direction: column; /* Apila los elementos */
    align-items: center;
  }

  .simply-section {
    width: 120px;
    height: 120px;
    margin: 10px 0;
  }

  .simply-amount {
    font-size: 35px;
  }

  .simply-word {
    font-size: 20px;
  }
}

/* 300px */
@media (max-width: 300px) {
  .textos > h1 {
    font-size: 35px;
  }

  .textos > h2 {
    font-size: 18px;
  }

  .simply-section {
    width: 100px;
    height: 100px;
  }

  .simply-amount {
    font-size: 30px;
  }

  .simply-word {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .texto-team h4 {
    font-size: 16px;
  }
  .texto-team p {
    font-size: 13px;
  }
}

/* Para pantallas de 700px o menos */
@media (max-width: 700px) {
  .texto-team h4 {
    font-size: 14px;
  }
  .texto-team p {
    font-size: 12px;
  }
}

/* Para pantallas de 500px o menos */
@media (max-width: 500px) {
  .texto-team h4 {
    font-size: 12px;
  }
  .texto-team p {
    font-size: 11px;
  }
}

/* Para pantallas de 300px o menos */
@media (max-width: 300px) {
  .texto-team h4 {
    font-size: 10px;
  }
  .texto-team p {
    font-size: 9px;
  }
}

/* Media Queries Responsivos */

/* Para pantallas de 900px o menos */
@media (max-width: 900px) {
  .content-card {
    width: 45%; /* Ajusta el ancho de las tarjetas */
  }
}

/* Para pantallas de 700px o menos */
@media (max-width: 700px) {
  .content-card {
    width: 48%; /* Ajuste para pantallas de 700px */
  }
}

/* Para pantallas de 500px o menos */
@media (max-width: 500px) {
  .content-card {
    width: 100%; /* Las tarjetas ocupan todo el ancho disponible */
  }

  .people {
    height: 250px; /* Ajustar la altura de la imagen en pantallas pequeñas */
  }
}

/* Para pantallas de 400px o menos */
@media (max-width: 400px) {
  .content-card {
    width: 100%; /* Las tarjetas ocupan todo el ancho disponible */
  }

  .people {
    height: 200px; /* Ajustar la altura de la imagen en pantallas muy pequeñas */
  }

  .texto-team h4 {
    font-size: 18px; /* Reducir el tamaño de la fuente */
  }

  .texto-team p {
    font-size: 16px; /* Reducir el tamaño de la fuente */
  }

  #title_ponentes {
    font-size: 16px; /* Reducir el tamaño de la fuente */
  }
}

/* Para pantallas de 300px o menos */
@media (max-width: 300px) {
  .content-card {
    width: 100%; /* Las tarjetas ocupan todo el ancho disponible */
  }

  .people {
    height: 190px; /* Ajustar aún más la altura de la imagen */
  }

  .texto-team h4 {
    font-size: 16px; /* Reducir más el tamaño de la fuente */
  }

  .texto-team p {
    font-size: 14px; /* Reducir más el tamaño de la fuente */
  }

  #title_ponentes {
    font-size: 14px; /* Reducir más el tamaño de la fuente */
  }
}

/* Para pantallas de 200px o menos */
@media (max-width: 200px) {
  .content-card {
    width: 100%; /* Las tarjetas ocupan todo el ancho disponible */
  }

  .people {
    height: 120px; /* Ajustar la altura de la imagen en pantallas extremadamente pequeñas */
  }

  .texto-team h4 {
    font-size: 14px; /* Reducir aún más el tamaño de la fuente */
  }

  .texto-team p {
    font-size: 12px; /* Reducir más el tamaño de la fuente */
  }

  #title_ponentes {
    font-size: 12px; /* Reducir más el tamaño de la fuente */
  }
}
