/* Estilos base */
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden; /* Para evitar el desplazamiento horizontal */
}

/* Eliminar márgenes y rellenos en body */
body {
  margin: 0;
  padding: 0;
  background-color: #263238;
}
a {
  text-decoration: none;
  color: white;
}

/* Asegurarse de que #container ocupe toda la pantalla */
#container {
  min-height: 100vh; /* Al menos el 100% de la altura de la ventana */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  min-height: 100vh; /* Asegurarse de que ocupe al menos la altura de la ventana */
  width: 100%; /* Ancho completo */
}

#constructionImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.geobyte-logo {
  text-align: center;
  margin-top: 2.5rem;
}

.geobyte-logo img {
  max-width: 100%;
  height: auto;
  max-height: 12rem;
}

.div-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-direction: row;
}
.but-action-solution {
  padding: 10px 20px;
  background-color: transparent;
  border: 3px solid white;
  color: white;
  border-radius: 50px;
  margin: 20px;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s;
  text-align: center;
  align-items: center;
  flex-direction: row;
  display: flex;
  font-weight: bold;
}

/* hover */

.but-action-solution:hover {
  background-color: transparent;
  color: white;
  border: 3px solid transparent;
  box-shadow: rgb(255, 255, 255) 0px 0px 15px 0px;
  transition: 1s;
}
.but-action-phone {
  padding: 10px 20px;
  background-color: #ff0016;
  color: white;
  border: none;
  border-radius: 50px;
  margin: 10px;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s;
  display: flex; /* Usamos flexbox para alinear los elementos */
  align-items: center; /* Alineamos los elementos verticalmente */
  font-weight: bold;
}

.but-action-phone img {
  width: 25px;
  height: 25px;
  margin-right: 10px; /* Agregamos un margen a la derecha para separar la imagen del texto */
}
/* hover */

.but-action-phone:hover {
  background-color: #fa3646;
  color: #ffffff;
  /* box-shadow: rgb(224, 114, 114) 0px 0px 10px 0px; */
}

/* Fondo predeterminado para dispositivos no móviles */
/* body {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} */

#leyenda {
  color: white;
  width: 52%;
}

#leyenda h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.email {
  display: flex;
  margin-top: auto;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-direction: row;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.email img {
  width: 25px;
  height: auto;
  padding: 10px;
}

.email :hover {
  color: #a1a1a1;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.heading {
  color: rgb(255, 255, 255);
  letter-spacing: 0.2em;
  margin-bottom: 1em;
}

.loading {
  display: flex;
  width: 5em;
  align-items: center;
  justify-content: center;
}

.load {
  width: 23px;
  height: 3px;
  background-color: #ff0016;
  animation: 1s move_5011 infinite;
  border-radius: 5px;
  margin: 0.1em;
}

.load:nth-child(1) {
  animation-delay: 0.2s;
}

.load:nth-child(2) {
  animation-delay: 0.4s;
}

.load:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes move_5011 {
  0% {
    width: 0.2em;
  }

  25% {
    width: 0.7em;
  }

  50% {
    width: 1.5em;
  }

  100% {
    width: 0.2em;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  #leyenda {
    width: 80%; /* Ajustar el ancho en dispositivos móviles */
  }

  #leyenda h1 {
    font-size: 2rem; /* Reducir el tamaño del título */
  }

  .but-action-solution,
  .but-action-phone {
    font-size: 1rem; /* Reducir el tamaño de los botones */
  }

  .geobyte-logo img {
    max-height: 8rem; /* Ajustar la altura máxima */
  }

  .email {
    font-size: 0.8rem; /* Reducir el tamaño del texto */
  }

  .email img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  #leyenda {
    width: 90%; /* Ajustar el ancho en pantallas más pequeñas */
  }

  #leyenda h1 {
    font-size: 1.5rem; /* Reducir aún más el tamaño del título */
  }

  .geobyte-logo img {
    max-height: 6rem; /* Ajustar la altura máxima */
  }

  .email {
    font-size: 0.7rem; /* Reducir aún más el tamaño del texto */
    margin-top: 2rem;
  }

  .email img {
    width: 16px;
    height: 16px;
  }
}
/* Media Query para 1024x600 */
@media (max-width: 1024px) and (max-height: 600px) {
  .geobyte-logo {
    margin-top: 2.5rem; /* Reduce el margen superior para que el logo no quede tan arriba */
  }

  .geobyte-logo img {
    max-height: 9rem; /* Reduce el tamaño máximo del logo */
  }
  .email {
    margin-top: 2rem; /* Reduce el margen inferior del texto */
  }
  #leyenda {
    width: 90%; /* Ajustar el ancho en pantallas más pequeñas */
  }
}

@media (max-width: 1600px) and (max-height: 900px) {
  .geobyte-logo {
    margin-top: 2rem;
  }

  .geobyte-logo img {
    max-height: 10rem;
  }
  .email {
    margin-top: 3.5rem;
  }
  #leyenda {
    width: 90%;
  }
}