.container--sectionCajas {
  max-width: 1200px;
  margin: 0 auto;
}

.container--sectionCajas .container--text {
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.container--cajasSection {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin: 30px 0 30px;
}

.caja--cajasSection {
  width: 210px;
  background: white;
  border-radius: 10px;
  /* padding: 15px; */
  position: relative; /* Añadido para posicionar los elementos hijos de forma relativa */
  -webkit-box-shadow: 0px 0px 10px 0px rgba(153, 153, 153, 1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(153, 153, 153, 1);
  box-shadow: 0px 0px 10px 0px rgba(153, 153, 153, 1);
  cursor: pointer;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caja--cajasSection .content-front,
.caja--cajasSection .content-back {
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.caja--cajasSection .content-back {
  transform: rotateY(180deg);
  display: none; /* Inicialmente oculto */
}

.caja--cajasSection.flipped .content-front {
  display: none; /* Oculta la cara frontal cuando está volteada */
}

.caja--cajasSection.flipped .content-back {
  transform: rotateY(360deg);
  display: flex;
  font-size: 13px;
  height: -webkit-fill-available;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 8px;
  padding: 15px;
  color: #fff;
}

.content-back.energia{
  background-color: #F28D15;
}

.content-back.agua{
  background-color: #019DF4;
}

.content-back.emisiones{
  background-color: #A13EA1;
}

.content-back.economia{
  background-color: #5CB615;
}

.container--videoSection {
  display: flex;
  justify-content: center;
  margin: 20px auto 40px;
}

.caja--cajasSection {
  transition: transform 0.5s;
}

@media screen and (max-width: 768px) {
  .container--sectionCajas .container--text {
    font-size: 16px;
    margin: 0 25px;
  }

  .container--cajasSection {
    flex-direction: column;
  }
}
