* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: "Raleway", sans-serif;
}

.wrapper {
  position: relative;
  background-image: url(img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover; /* Asegura que la imagen cubra toda la pantalla */
  background-position: center; /* Centra la imagen */
  height: 100%; /* Hace que el contenedor tenga al menos el 100% de la altura de la pantalla */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.opacity {
  background: rgba(48, 43, 38, 0.5);
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.gravity {
  width: 100%;
  text-align: center;
  padding: 70px 0;
  z-index: 1;
}

.gravity .logo {
  max-width: 100%;
  height: auto;
}

.gravity p {
  color: #f3eded;
  font-size: 5rem; /* Ajusta el tamaño de la fuente */
  font-weight: 600;
  padding-top: 30px;
  margin: 20px 0;
}

#countdown {
  margin-top: 20px;
}

.countdown .back-text h4 {
  color: red;
  background: red;
}

.email {
  text-align: center;
  padding-top: 120px;
  z-index: 100;
}

.email p {
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  margin: 20px 0 50px;
}

.email input[type="email"] {
  background: #403c3b;
  text-transform: uppercase;
  border: none;
  color: #fff;
  width: 100%;
  max-width: 390px;
  padding: 20px;
  font-size: 15px;
  border: 2px solid #eadada;
  margin-bottom: 10px;
}

.email input[type="submit"] {
  background: #188588;
  border: medium none;
  color: #fff;
  font-size: 15px;
  padding: 10px;
  width: 100px;
}

.email input[placeholder] {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-transform: capitalize;
}

.social-icon {
  margin-top: 160px;
  padding: 25px 0;
}

.icon {
  width: 165px;
  margin: 0 auto;
}

.icon i {
  color: #fff;
  font-size: 21px;
  padding: 9px;
  color: #13a3a7;
}

.countDays {
  position: relative;
}

.countDays::after {
  position: absolute;
  content: 'days';
  color: #fff;
  top: 0px;
  left: 10px;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 200;
}

.countHours {
  position: relative;
}

.countHours::after {
  color: #fff;
  content: "hours";
  font-size: 20px;
  font-weight: 200;
  left: 2px;
  letter-spacing: 1px;
  position: absolute;
  top: 0;
}

.countMinutes {
  position: relative;
}

.countMinutes::after {
  position: absolute;
  content: 'minutes';
  color: #fff;
  top: 0px;
  left: -10px;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 200;
}

.countSeconds {
  position: relative;
}

.countSeconds::after {
  position: absolute;
  content: 'seconds';
  color: #fff;
  top: 0px;
  left: -10px;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 200;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gravity p {
      font-size: 1.5rem; /* Reduce el tamaño de la fuente en pantallas más pequeñas */
  }

  .email input[type="email"],
  .email input[type="submit"] {
      width: calc(100% - 20px); /* Ajusta el ancho para pantallas más pequeñas */
      margin: 10px 10px;
  }

  .social-icon {
      margin-top: 80px;
      padding: 10px 0;
  }

  .icon {
      width: 100px;
  }

  .icon i {
      font-size: 18px;
  }

  .countDays::after,
  .countHours::after,
  .countMinutes::after,
  .countSeconds::after {
      font-size: 15px; /* Reduce el tamaño de la fuente para pantallas más pequeñas */
  }
}