/* 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*/
  
  body, html{
  width:100% ;
  margin: 0; 
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
  }
  
/* Estilos header */
.header {
  align-items: center;
  margin-left: 0px;
  position: fixed;
  display: flex;
  color: white;
  width: 100%; /*100% de altura*/
  height: 14%;
  top: 0;
  background-color: rgba(6, 98, 184, 0.596); /*Color del "nav" donde se encuentran los botones*/
  z-index: 100;
  }
  .header a{
    text-decoration: none;
    margin: 30px 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{
    image-orientation: initial  ;
    animation: movimientoPelota 3s forwards infinite alternate; /*Vinculamos con variables de movimiento de arriba*/
    max-width: 80px;
    }
  
  /* Estilos del MAIN */
  main {
    background-image: linear-gradient(135deg, #000000, #332929, #ff2507, #ff8633, #ff4800, #ff5207, #daff07);
    background-size: 500%;
    animation: degradado 10s infinite;
    padding-top: 0px;
    text-align: center;     
    border-radius: 0px;
    max-width: 100%;
    z-index: -1;
  }
  @keyframes degradado{
    0%{
      background-position: 0% 50%;
    }
    50%{
      background-position: 100% 50%;
    }
    100%{
      background-position: 0% 50%;
    }
  }
  
  .mainbotones ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Centra los elementos horizontalmente */
    margin:200px 0px 150px 63vh;
    padding: 0px;
  }
  .mainbotones ul li {
    margin: 0px 10px 0px 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 #000000;/*Aplicamos bordes de los botones (negros)*/
    color: aliceblue;
    cursor: pointer;/*DETENCCIÓN DEL MOUSE*/
    box-shadow: inset 0 0 0 0 #db630c; /*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 #ee853a; /*color final (hovered)*/
      }
/* 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;
}

/*BASE*/

/*########################################################################################################### */

.cuerpo {
  font-family: "Bebas Neue", sans-serif;
  background-color: transparent;
  text-align: center;
  color: rgb(255, 255, 255);
  display: flex;
  padding: 30px;
}

.contenidos {
  font-family: "Exo 2", sans-serif;
  max-width: 770px;
  font-size: 17px;
  margin: 0 auto;
}

.base {
  font-family: "Exo 2", sans-serif;
  max-width: 770px;
  font-size: 17px;
  margin: 0 auto;
}

.base h2 {
  color: #DB6612;
  font-family: "Bebas Neue", sans-serif;
  font-size: 70px;
}

.imagenes1 {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  display: flex;
  gap: 20px;
}

.imagenes1 img {
  max-width: 150px;
}

.pelota_canata {
  max-width: 100%;
}

h2 {
  text-align: left;
  margin-left: 0;
  z-index: 2;
}

.animated-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 5s;
  position: relative;
}

.show {
  opacity: 1;
  transform: translateY(0);
}
/* FOOTER */
footer {
  background-color: rgb(0, 132, 255);
  color: #fff;
  padding: 20px 0;
}

.container {
  width: 80%;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-section-contacto {
  margin-left: -150%;
  text-align: left;
}
.footer-section-redes {
  margin-right: -5%;
}
.footer-section-menu {
  margin-left: 25%;
}
.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: #00357a;
  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;
}
