@import url("https://fonts.googleapis.com/css?family=Montserrat:700");
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    text-align: center;
}

h1 {
  position: absolute; /* Posición absoluta para controlar la ubicación */
  top: 50%; /* Alinear desde la mitad superior del contenedor */
  left: 50%; /* Alinear desde la mitad izquierda del contenedor */
  transform: translate(-50%, -300px); /* Centrar horizontal y verticalmente */
  z-index: 10; /* Colocar adelante de otros elementos */
  color:white;
  font-size: 20px;
  font-family: "Comic Neue", cursive;
    font-weight: 200;
    font-style: italic;
    text-shadow: 
        -2px -2px 0 #000000,  
         2px -2px 0 #000000,
        -2px  2px 0 #000000,
         2px  2px 0 #000000,
        -2px  0px 0 #000000,
         2px  0px 0 #000000,
         0px -2px 0 #000000,
         0px  2px 0 #000000;
}


.container {
    margin-top: 10px;
    position: relative; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; 
}

.logo {
    width: 800px;
    margin-bottom: 50px;
    position: relative; 
    z-index: 3;
    border-radius: 30px;
}

.buttons {
    margin-top: 20px;
}

/* button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #f2d45c;
    color: #333333;
    border: none;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
} */

.button {
  display: inline-flex;
  height: 50px; /* Aumenta la altura del botón */
  width: 200px; /* Aumenta el ancho del botón */
  border: 2px solid #003365; /* Cambia el color del borde */
  margin: 20px; /* Simplifica el margen */
  color: #BFC0C0;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(to bottom, #4caff3, #005ab9); /* Agrega el fondo degradado */
  
}
  
  .a {
    color: #ffffff;
    letter-spacing: .5px;
    font-size: 18px;
    
    text-decoration: none;
    background: none; 
    border: none; 
    
    font-family: "Comic Neue", cursive;
    font-weight: 700;
    font-style: italic;
    text-shadow: 
        -2px -2px 0 #000000,  
         2px -2px 0 #000000,
        -2px  2px 0 #000000,
         2px  2px 0 #000000,
        -2px  0px 0 #000000,
         2px  0px 0 #000000,
         0px -2px 0 #000000,
         0px  2px 0 #000000;
  }

/* First Button */

#button-1 {
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  
  #button-1 .a {
    position: relative;
    transition: all .45s ease-Out;
  }
  
  #spin {
    width: 0;
    height: 0;
    opacity: 0;
    left: 70px;
    top: 20px;
    transform: rotate(0deg);
    background: none;
    position: absolute;
    transition: all .5s ease-Out;
  }
  
  #button-1:hover #spin {
    width: 200%;
    height: 500%;
    opacity: 1;
    left: -70px;
    top: -70px;
    background: #0052af;
    transform: rotate(80deg);
  }
  
  #button-1:hover .a {
    color: #ffffff;
  }
  
  
  /* Second Button */
  
  #button-2 {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 5;
  }
  
  #button-2 .a {
    position: relative;
    left: 0;
    transition: all .35s ease-Out;
  }
  
  #dub-arrow {
    color: white;
    width: 100%;
    height: 100%;
    background: #0052af;
    left: -200px;
    position: absolute;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease-Out;
    bottom: 0;
  }
  
  #button-2 img {
    width: 20px;
    height: auto;
  }
  
  #button-2:hover #dub-arrow {
    left: 0;
  }
  
  #button-2:hover .a {
    left: 150px;
  }

/*Background*/
body {
  background-color: #22a4f3;
  position: relative;
  height: 100vh;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}

.title {
  color: #fff;
  text-align: center;
  font-size: 50px;
  z-index: 3; 
  position: relative;

  font-family: "Montserrat", sans-serif;
}

.cube {
  position: absolute;
  top: 80vh;
  left: 45vw;
  width: 10px;
  height: 10px;
  border: solid 1px #003298;
  transform-origin: top left;
  transform: scale(0) rotate(0deg) translate(-50%, -50%);
  -webkit-animation: cube 10s ease-in forwards infinite;
          animation: cube 10s ease-in forwards infinite;
}
.cube:nth-child(2n) {
  border-color: #0051f4;
}
.cube:nth-child(2) {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  left: 25vw;
  top: 40vh;
}
.cube:nth-child(3) {
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
  left: 75vw;
  top: 50vh;
}
.cube:nth-child(4) {
  -webkit-animation-delay: 6s;
          animation-delay: 6s;
  left: 90vw;
  top: 10vh;
}
.cube:nth-child(5) {
  -webkit-animation-delay: 8s;
          animation-delay: 8s;
  left: 10vw;
  top: 85vh;
}
.cube:nth-child(6) {
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
  left: 50vw;
  top: 10vh;
}

@-webkit-keyframes cube {
  from {
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    opacity: 1;
  }
  to {
    transform: scale(20) rotate(960deg) translate(-50%, -50%);
    opacity: 0;
  }
}

@keyframes cube {
  from {
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    opacity: 1;
  }
  to {
    transform: scale(20) rotate(960deg) translate(-50%, -50%);
    opacity: 0;
  }
}

.container {
  background-color: #015098; /* Color de fondo */
    padding: 20px; /* Espacio interno */
    max-width: 1000px; /* Ancho máximo del contenedor */
    max-height: 600px;
}

.container2 {
  position: relative;
}

.button-container {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 820px; /* Ancho fijo de 500px */
  background-color: #2488ce;
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
  z-index: 4;
  border-radius: 20px; /* Borde redondeado */
  border: 2px solid #0172c4; /* Marco interior de 2px de color 0172c4 */
  box-shadow: 
      0 0 0 6px #0061b9, /* Marco de 6px de color 0061b9 */
      0 0 0 1px #005dac, /* Marco de 10px de color 005dac */
      0 0 20px rgba(0, 0, 0, 0.5); /* Sombra */
}



.image-bottom {
  background-color: #2488ce;
  border-radius: 20px 20px 20px 20px;
  width: 200px;
  position: absolute;
  bottom: 20%; /* Coloca la imagen 100% del contenedor hacia arriba */
  left: 50%; /* Centra la imagen horizontalmente */
  transform: translateX(-50%); /* Corrige la posición horizontal */
  z-index: 5; /* Asegura que la imagen esté sobre el rectángulo */
}

.left-section,
.right-section {
    display: flex;
    align-items: center;
}

.button-image {
    width: 100px; /* Ancho de las imágenes */
    height: 100px; /* Alto de las imágenes */
    margin-right: -50px; /* Espaciado entre la imagen y el botón */
    z-index: 6;
}

.button-image2 {
  pointer-events: none; /* Evitar que la imagen reciba clics */
  position: absolute;
  width: 180px; /* Ancho de las imágenes */
  height: 100px; /* Alto de las imágenes */
  padding-bottom: 30px;
  padding-left: 140px;
}

