:root {

  --RetosEnergeticosHEX: #1D4E89;
  --RetosEnergeticosLigthHEX: #47b2e4;
  --RetosEnergeticosSuperLigthHEX: #c5daf2;
}

section {
  padding: 100px 100px; 
}

.home {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home:before {
  z-index: 777;
  content: '';
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.home .content {
  z-index: 888;
  color: var(--white-color);
  width: 100%;
  margin-top: 250px;
}

h1.bienvenida {
  font-size: 3em;
  font-weight: 100;
}

span.nombre-empresa {
  font-size: 4em;
  font-weight: 600;
}

span.lema {
  font-size: 1.5em;
  margin-left: 800px;
  font-style: italic;
}

.home .content a {
  color: var(--white-color);
  margin-top: 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
}

.home .media-icons {
  z-index: 888;
  position: absolute;
  right: 30px;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease;
}

.home .media-icons a {
  color: white;
  font-size: 1.6em;
  transition: 0.3s ease;
  text-decoration: none;
}

.home .media-icons a:not(:last-child) {
  margin-bottom: 20px;
}

.home .media-icons a:hover {
  transform: scale(1.3);
}

.home video {
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  height: 100vh; /* La imagen ocupará toda la pantalla */
  width: 100%;
}

.imagen {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen para que cubra su contenedor sin deformarse */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.informacion-izquierda {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%); /* Centra el texto */
  color: white;
  z-index: 2; /* El texto está por encima de la imagen */
  text-align: left; /* Alinea el texto a la derecha */
}

.informacion-izquierda p {
  font-size: 1.5em;
  width: 50%;
}

.informacion-derecha {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%); /* Centra el texto */
  color: white;
  z-index: 2; /* El texto está por encima de la imagen */
  text-align: right; /* Alinea el texto a la derecha */
}

.informacion-derecha p {
  font-size: 1.5em;
  width: 700px;
}

p.segunda {
  margin-top: 320px;
}


/* TAJETAS DE CONTACTO */

.container__cards{
  max-width: 1200px;
  margin: auto;
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card{
  width: 300px;
  margin: 10px;
}



.card .cover{
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.card .cover img{
  width: 250px;
  display: block;
  margin: auto;
  position: relative;
  top: 40px;
  z-index: 1;
  filter: drop-shadow(5px 5px 4px rgba(0,0,0,0.5));
}



.card .img__back{
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: -80px;
  left: 0;
  background-size: cover;
  border-radius: 20px;
}

.card:nth-of-type(1) .img__back{
  background-image: url(../imagenes/suj.png);
}

.card:nth-of-type(2) .img__back{
  background-image: url(../imagenes/suj.png);
}

.card:nth-of-type(3) .img__back{
  background-image: url(../imagenes/suj.png);
}


.card .description{
  background: white;
  margin-top: -10px;
  padding: 20px;
  border-radius: 0px 0px 20px 20px;
}

.card:hover .description{
  padding: 40px;
}

.card .description h2{
  margin-top: 10px;
}

.card .description p{
  margin-top: 10px;
}

/* FROMULARIO DE CONTACTO */

