/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
/*===== VARIABLES CSS =====*/
:root{
  --header-height: 3rem;
  --font-semi: 600;
}

/* .front, .back, .container {
  width: 320px;
  height: 480px;
} */

.front, .back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.video-wrapper {
  position: relative;
  display: inline-block;
}

.video-content {
  cursor: pointer;
  display: block;
}

.video-button {
  position: absolute;
  top: 8%; /* Ajusta la posición vertical */
  left: 10%; /* Centra el botón horizontalmente */
  transform: translate(-50%, -50%); /* Para centrar completamente */
  z-index: 1;
  background-color: #ff5a5f; /* Color de fondo del botón */
  color: white; /* Color del texto del botón */
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
}
.front {
  z-index: 2;
  transform: rotateY(0deg);
  transition: all 0.3s linear;
}

.back {
  transition: all 0.3s linear;
  transform: rotateY(180deg);
}

/*===== Colores =====*/
:root{
  --first-color: #3158c8;
  /*--first-color: #4070F4;*/
  --second-color: #0E2431;
}
strong{
  color: var(--first-color);
}

/*===== Fuente y tipografia =====*/
:root{
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: 0.938rem;
}

.bd-grid{
  max-width: 1024px;
  display: grid;
  grid-template-columns: 100%;
  grid-column-gap: 2rem;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}


/* ===== ABOUT =====*/
.about__container{
  padding-left: 50px;
  padding-right: 10px;
  row-gap: 2rem;
  font-family: var(--body-font);
}
.about__subtitle{
  text-align: center;
  margin-bottom: var(--mb-2);
}
.about__text{
  text-align: justify;
  margin-bottom: var(--mb-2);
}

.about__img{
  justify-self: center;
}
.about__img img{
  width: 100%;
  justify-self: center;
  border-radius: .5rem;
}

/* ===== MEDIA QUERIES=====*/
@media screen and (min-width: 768px){
  :root{
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
  }

  .bd-grid{
    max-width: 1024px;
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 2rem;
    width: calc(100% - 1rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
  }


  .about__container{
    grid-template-columns: repeat(1,1fr);
    align-items: center;
    text-align: initial;
  }
  .about__container1{
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    text-align: initial;
  }
  .about__img img{
    justify-self: center;
    width: 100%;
  }

}

@media screen and (min-width: 1024px){
  .bd-grid{
    margin-left: auto;
    margin-right: auto;
  }
}


