/* Animaciones principales (pelota y texto) */
@keyframes movimientoPelota{
  from { 
  transform: translateX(0);
  }
  to{
  transform: translateX(220px);
  }
  } 
  /* Transformamos con estas funciones la pelota de un lado a otro en eje X*/
  @keyframes movimientoTexto{
  from {
  transform: translateX(0);
  }
  to{
  transform: translateX(-80px);
  }
  }
  /*Transformamos la posicion del texto*/

/*Estilos generales*/
body, html{
  width:100% ;
  background-color: #DB6612;
  margin: 0; 
  padding: 0;
  font-family: Arial, sans-serif;
  }
/* Estilos del "header" */
.header {
  align-items: center;
  margin-left: 0px;
  position: fixed;
  display: flex;
  color: rgb(0, 0, 0);
  width: 101%;
  height: 14%;
  top: 0;
  left:0;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 100;
}
.header a{
  margin: 0px 300px 100px 0px;
  color: black;
  }
  .header h1{
    font-family: "Bebas Neue", sans-serif;
    display: block;
    font-size: 50px;
    position: fixed;
    margin-top: 10px;
    animation: movimientoTexto 3s forwards infinite alternate ;
  }
.header img{
  margin-bottom: 20px;
  image-orientation: initial  ;
  animation: movimientoPelota 3s forwards infinite alternate; /*Vinculamos con variables de movimiento de arriba*/
  max-width: 80px;
}
/* Estilos del MAIN */
main {
  background-color: #e49a2b;
  padding: 5px; /* PADDING DENTRO DEL MAIN*/
}
.mainbotones ul {
  list-style: none;
  display: flex;/*Centra los elementos horizontalmente */
  margin:220px 0px 150px 63vh;
  padding: 0px;
}

.mainbotones ul li {
  margin: 0px 10px 20px 10px ;
  padding: 0px 0px 50px 40px;
}

.mainbotones ul li a {
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2em; 
  border-radius: 15px;
  margin: 0px 50px 0px -100px;
  padding: 15px 20px 15px 20px;
  border: 2px solid #0d0049;/*Aplicamos bordes de los botones (negros)*/
  color: aliceblue;
  cursor: pointer;/*DETENCCIÓN DEL MOUSE*/
  box-shadow: inset 0 0 0 0 #ff9e30; /*Color de transicion*/
  /*ANIMACIONES CHECKEAR DETECCION DE RATON*/
  -webkit-transition: ease-out 0.4s;
  -moz-transition: ease-out 0.4s;
  transition: ease-out 0.4s;
}

.mainbotones ul li a:hover {
  box-shadow: inset 0 0 0 50px #db6612cc; /*color final (hovered)*/
}


/* Separacion entre el header,  */
.portada {
  padding: 100px 0px;
  text-align: center;
  margin-top: 100px;
  border-radius: 50px;
  height: 1400px;
  z-index: 10;
}
.portada img{
  border-radius: 500px;
}

      /* FIN DEL MAIN */


/* Estilos de los botones: ("rodeados de rectangulo naranja y este, definido")"" */
a {
  font-family: "Exo 2", sans-serif;
  font-size: 17px;
  margin-left: 5px;
  margin-right: 10px;
}

/*A partir de aqui añadimos informacion adicional de los css de paginas ajenas a 
la principal*/

.nivel {
  text-align: justify;
  position: relative;
  display: flex;
  margin-top: 850px;
  height: 700px;
  border-radius: 30px;

}
img {
  border-radius: 30px;
}
.nivel1 { 
  text-align: center;
  padding-right: 10%;
  margin-top: 10%;
  margin-left: 60px;
}
.images1 {
  display: flex;
  margin-right: 30%;
  width: 100px;
  height: 400px;
  margin-left: 20px;
}
.nivel2 {
  text-align: center;
  margin-top: 7%;
  margin-left: 200px;;
  width: 450px;
}
.images2 {
  margin-top: 30px;
  display: flex;
  margin-left: 150px;
  width: 80px;
  height: 400px;
}
.imagen_pelota {
  display: flex;
  margin-left: 10%;
  width: 4000px;
  height: 400px;
  border-radius: 30px;
}
.nivel3 {
  text-align: center;
  margin-top: 55%;
  margin-left: 200px;
  margin-right: -600px;
  border-radius: 30px;
  height: 150px;

}
.images3 {
  display: flex;
  margin-left: 230%;
  width: 80px;
  height: 400px;
}

.animated {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  color: #fff; /* Color del texto */
  position: relative;
  display: inline-block;
  animation: slideIn 2s forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/*estilos para bolitas */
.contenedor_bolitas {
  position: relative;
  width: 100%;
  height: 165vh;
  overflow: hidden;
  margin-top: -1600px;
  z-index: 9;
}
.bolitas {
  position: relative;
  display: flex;
}
.bolitas span {
  position: relative;
  width: 30px;
  height: 30px;
  background: #000000;
  margin: 0 4px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px #b9dce463,
  0 0 50px #000000,
  0 0 100px #000000;
  animation: animate 15s linear infinite;
  animation-duration: calc(125s / var(--i));
}

.bolitas span:nth-child(even) {
  background: #ff4800;
  box-shadow: 0 0 0 10px #ff480044,
  0 0 50px #ff4800,
  0 0 100px #ff4800;
}

@keyframes animate {
  0% {
    transform: translateY(165vh) scale(0);
  }
  100% {
    transform: translateY(-10vh) scale(1);
  }
}



.no-gif, .images1:hover .gif{
  display: flex;
}
.gif, .images1:hover .no-gif{
  display: none;
}
.no-gif, .images2:hover .gif{
  display: flex;
}
.gif, .images2:hover .no-gif{
  display: none;
}
.no-gif, .images3:hover .gif{
  display: flex;
}
.gif, .images3:hover .no-gif{
  display: none;
}
/* FOOTER */
footer {
  color: #fff;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.3);
}

.container {
  width: 80%;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-section-contacto {
  margin-left: -140%;
}
.footer-section-redes {
  margin-right: 30px;
}
.footer-section-menu {
  margin-left: 20%;
  text-align: center;
}
.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

ul.footer-menu {
  padding: 8px 16px;
  list-style: none;
  color: #fff;
}
ul.footer-menu li {display: inline;}
ul.footer-menu li+li:before {
  padding: 8px;
  color: rgb(255, 255, 255);
  content: "/\00a0";
}
ul.footer-menu a:link, ul.footer-menu a:visited {
  text-decoration:none;
  color: rgb(255, 255, 255);
}

ul.footer-menu li a.active {
  color: #ffffff;
  font-weight: bold;
}
ul.footer-menu li a.active:hover {
  color: #ff9100;
  font-weight: bold;
}

.footer-section p {
  margin: 10px 0;
}

.social-icons img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  transition: transform 0.5s ease-in-out;
  border-radius: 50%;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.social-icons a:last-child img {
  margin-right: 0;
}
