/* ==========================
   GRID SERVICIOS
=========================== */
.grid_servicios {
  margin-top: 12vh;
  display: grid;
  grid-template-columns: repeat(4, 20%);
  justify-content: space-around;
  margin-bottom: 30px;
}

/* ==========================
   CUADRÍCULAS (TARJETAS)
=========================== */
.cuadricula {
  width: 100%;
  height: 50vh;
  border-radius: 2px;
  display: inline;
  margin: auto;
  text-align: center;
  margin-bottom: 5vh;
  padding-top: 10vh;
  padding-bottom: 20vh;
}

.cuadricula img {
  width: 95%;
  border-radius: 0.5px;
  height: 100%;
  object-fit: cover;
  border: 2px solid #f09f07;
  margin: auto;
}

/* Cuadrículas especiales para accesorios info */
.acc {
  width: 100%;
  height: auto;
  min-height: 30vh;
  background-color: white;
  border-radius: 3px;
  padding: 2vh 1vw;
  margin-bottom: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.acc img {
  width: 90%;
  max-height: 15vh;
  object-fit: scale-down;
  background-color: white;
  border: 0 solid #f09f07;
  flex-shrink: 0;
  margin-bottom: 1vh;
}

.s {
  height: 20vh;
  grid-template-rows: 150%;
}

/* ==========================
   VIDEO CONTAINER
=========================== */
.video_container {
  width: 100%;
  overflow: hidden;
  height: 100%;
  margin: auto;
  border: 2px solid #f09f07;
}

.cuadricula video {
  width: 200%;
  height: 100%;
  margin-left: -100px;
  object-fit: cover;
}

/* ==========================
   TEXTOS Y ENLACES
=========================== */
.cuadricula_texto {
  font-family: 'Libre Franklin';
  font-size: 1.1em;
  text-align: center;
  margin-top: 10%;
  color: #e3e3e3;
  width: 90%;
  margin: 2vh auto;
  margin-bottom: 8%;
}

.acc>.cuadricula_texto {
  margin-top: 5%;
  color: black;
  font-size: 1em;
}

.cuadricula a {
  text-decoration: none;
  color: black;
  background-color: #f09f07;
  padding: 1.2vh 1.2vw;
  font-size: 0.8em;
  margin-bottom: 3vh;
  font-weight: 600;
  border-radius: 7px;
  width: 5vw;
  margin: auto;
}

.acc a {
  text-decoration: none;
  color: black;
  background-color: #f09f07;
  padding: 1vh 2vw;
  font-size: 0.8em;
  font-weight: 600;
  border-radius: 7px;
  margin-top: 1vh;
  display: inline-block;
}

.cuadricula a:hover {
  background-color: #999999;
  transition: 0.8s;
}

/* ==========================
   MEDIA QUERIES
=========================== */
@media screen and (max-width: 1100px) {
  .grid_servicios {
    padding-top: 10vh;
    grid-template-columns: repeat(3, 30%);
    margin-top: 10vh;
  }

  .cuadricula {
    width: 90%;
    margin-bottom: 1vh;
  }

  .cuadricula_texto {
    font-size: 1.2em;
  }

  .cuadricula a {
    font-size: 0.8em;
  }

  .acc {
    grid-template-rows: 50%;
    height: auto;
    margin-bottom: 4vh;
  }

  .acc a {
    width: 15vw;
  }

  .s {
    height: 15vh;
    grid-template-rows: 100%;
  }
}

@media screen and (max-width: 650px) {
  .grid_servicios {
    grid-template-columns: repeat(2, 50%);
  }

  .cuadricula {
    width: 80%;
    height: 20vh;
    margin: 0 auto;
    padding: 0 auto;
  }

  .cuadricula_texto {
    font-size: 0.8em;
  }

  .cuadricula a {
    font-size: 0.7em;
    padding: 1vh 3vw;
  }

  .acc {
    grid-template-rows: 50%;
    height: 10vh;
    margin-top: 5vh;
    margin-bottom: 0vh;
    font-size: 0.8em;
  }

  .acc img {
    height: 100%;
  }
}

@media screen and (max-width: 350px) {
  .grid_servicios {
    grid-template-columns: repeat(2, 52%);
    margin-top: 5vh;
  }

  .cuadricula {
    font-size: 0.9em;
  }

  .cuadricula_texto {
    font-size: 0.8em;
  }

  .cuadricula a {
    font-size: 0.7em;
    padding: 1vh 3vw;
  }

  .acc {
    grid-template-rows: 50%;
    height: 13vh;
    margin-top: 5vh;
    margin-bottom: 0vh;
    font-size: 0.55em;
  }

  .acc img {
    height: 100%;
  }

  h1 {
    font-size: 1em;
  }

  h2 {
    font-size: 1em;
  }
}