@charset "UTF-8";

/* =====================================
   SPEAKERS
===================================== */

.speakers-section {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

/* =====================================
   ENCABEZADO
===================================== */

.speakers-section .section-header {
  position: relative;
  z-index: 10;

  display: block;
  width: 100%;
  max-width: 700px;

  margin: 0 auto 60px;
  padding: 0;

  text-align: center;
}

.speakers-section .section-header span {
  display: block;

  color: #00A4E4;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 1rem;
}

.speakers-section .section-header h2 {
  margin: 15px 0 0;
  padding: 0;

  color: #1D2D5C;
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1.15;
}

/* =====================================
   GRID
===================================== */

.speakers-section .speakers-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  width: 100%;
  margin: 0;
  padding: 0;

  gap: 35px;
}

/* =====================================
   TARJETA
===================================== */

.speakers-section .speaker-card {
  position: relative;

  width: 100%;
  height: 520px;
  min-width: 0;

  overflow: hidden;

  border-radius: 30px;

  background: #1D2D5C;

  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);

  transition: transform .4s ease;
}

.speakers-section .speaker-card:hover {
  transform: translateY(-10px);
}

/* =====================================
   FONDO
===================================== */

.speakers-section .speaker-background {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent,
      #1D2D5C
    ),
    url("../img/backgrounds/speaker-tech.jpg");

  background-size: cover;
  background-position: center;
}

/* =====================================
   FOTO
===================================== */

.speakers-section .speaker-photo {
  position: absolute;

  top: 40px;
  left: 50%;

  width: 220px;
  height: 220px;

  transform: translateX(-50%);

  border-radius: 50%;
  overflow: hidden;

  border: 5px solid #00A4E4;
}

.speakers-section .speaker-photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =====================================
   INFORMACIÓN
===================================== */

.speakers-section .speaker-info {
  position: absolute;

  left: 30px;
  right: 30px;
  bottom: 30px;

  color: #ffffff;
}

.speakers-section .speaker-country {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 15px;

  font-size: .85rem;
}

.speakers-section .speaker-country img {
  display: block;

  width: 25px;
  height: 18px;

  object-fit: cover;
}

.speakers-section .speaker-info h3 {
  margin: 10px 0;

  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.2;
}

.speakers-section .speaker-info p {
  margin: 0;

  color: rgba(255, 255, 255, .75);
}

/* =====================================
   LINKEDIN
===================================== */

.speakers-section .linkedin-btn {
  display: inline-block;

  margin-top: 15px;
  padding: 10px 25px;

  border-radius: 50px;

  background: #00A4E4;

  color: #ffffff;
  text-decoration: none;
  font-weight: 600;

  transition: .3s ease;
}

.speakers-section .linkedin-btn:hover {
  background: #6558B1;
}


/* =====================================
   TABLET
   601px - 992px
===================================== */

@media (max-width: 992px) {

  .speakers-section {
    padding: 90px 0;
  }

  .speakers-section .section-header {
    margin-bottom: 55px;
  }

  .speakers-section .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }

  .speakers-section .speaker-card {
    height: 500px;
  }

  .speakers-section .speaker-photo {
    width: 200px;
    height: 200px;
  }

}


/* =====================================
   MOVIL
   600px o menos
===================================== */

@media (max-width: 600px) {

  .speakers-section {
    padding: 70px 0 60px;
  }

  /* IMPORTANTE:
     el container conserva el margen
     lateral de Bootstrap */
  .speakers-section > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ENCABEZADO */
  .speakers-section .section-header {
    width: 100%;
    max-width: 100%;

    margin: 0 0 50px;
    padding: 0;

    text-align: center;
  }

  .speakers-section .section-header span {
    font-size: .8rem;
    letter-spacing: 2px;
  }

  .speakers-section .section-header h2 {
    margin: 15px 0 0;

    font-size: 2.5rem;
    line-height: 1.15;
  }

  /* GRID */
  .speakers-section .speakers-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr);

    width: 100%;
    margin: 0;
    padding: 0;

    gap: 25px;
  }

  /* TARJETA */
  .speakers-section .speaker-card {
    width: 100%;
    height: 500px;
    min-width: 0;

    border-radius: 25px;

    transform: none;
  }

  .speakers-section .speaker-card:hover {
    transform: none;
  }

  /* FOTO */
  .speakers-section .speaker-photo {
    top: 35px;

    width: 190px;
    height: 190px;
  }

  /* INFORMACIÓN */
  .speakers-section .speaker-info {
    left: 23px;
    right: 23px;
    bottom: 25px;
  }

}


/* =====================================
   TELEFONOS MUY PEQUEÑOS
===================================== */

@media (max-width: 380px) {

  .speakers-section {
    padding-top: 60px;
  }

  .speakers-section > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .speakers-section .section-header {
    margin-bottom: 45px;
  }

  .speakers-section .section-header h2 {
    font-size: 2.2rem;
  }

  .speakers-section .speaker-card {
    height: 480px;
  }

  .speakers-section .speaker-photo {
    width: 175px;
    height: 175px;
  }

  .speakers-section .speaker-info {
    left: 20px;
    right: 20px;
  }

}