@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Lugrasimo&family=Michroma&family=Prosto+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Akronim&family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Lugrasimo&family=Michroma&family=Prosto+One&display=swap');

*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    opacity: 1;
    animation: entrada .4s ease-in forwards;
    background: linear-gradient(90deg,#250055,#5200a3,#6600ff,#3e00b3,#070055);
}





.puerta-contenedor {
      position: fixed;
      width: 100vw;
      height: 100vh;
      top: 0;
      left: 0;
      z-index: 2;
      overflow: hidden;
      display: flex;
    }


    .puerta {
      width: 50%;
      height: 100%;
      background-image: linear-gradient(rgba(0, 0, 0, 0.623), rgba(255, 255, 255, 0), rgb(0, 0, 0)), url(imagenes/inicioL.webp);
      background-size: cover;
      transition: transform 3s ease;
    }

    .puerta.right {
      background-image:linear-gradient(rgba(0, 0, 0, 0.623), rgba(255, 255, 255, 0), rgb(0, 0, 0)), url(imagenes/inicioR.webp);
      background-size: cover;
    }

    .puerta-contenedor.abierto .left {
      transform: translateX(-100%);
    }

    .puerta-contenedor.abierto .right {
      transform: translateX(100%);
    }

    .puerta-contenedor.abierto ~ .contenido {
      opacity: 1;
    }




.nav{
    display: flex;
    align-items: center;
    justify-content: right;
    background-color: rgb(2, 8, 94);
    height: 48px;
    z-index: 2;
    animation: entrada 7s ease-in forwards;
}

.nav a{
    text-decoration: none;
    color: #fff;
    z-index: 3;
    cursor: pointer;
    background:linear-gradient(45deg,rgb(49, 85, 245), rgba(1, 1, 119, 0.671), rgba(1, 1, 119, 0));
    border-radius: 20px 0px 0px 0px;
    width: 320px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 15px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.fa-location-dot{
    margin-right: 10px;
    color: rgb(247, 231, 14);
}

.fa-phone{
    color: rgb(236, 241, 241);
    margin-right: 10px;
}

.fa-envelope{
    margin-right: 10px;
    color: #ffffff;
}

.fa-clock{
    margin-right: 10px;
    color: #ffffff;
}

li{
    list-style: none;
    font-size: 1.1rem;
    color: #ffffff;
}

.correo:hover{
    color: rgb(255, 196, 0);
}

.telefono:hover{
    color: rgb(255, 196, 0);
}

.direccion:hover{
   color: rgb(255, 196, 0);
}

.reloj:hover{
  color: rgb(255, 196, 0);
}







.inicio{
  transition: top 1s ease;
  position: fixed;
  z-index: 1;
  width: 100%;
}

.navbar{
  position: relative;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: rgb(34, 12, 94);
    z-index: 1;
    opacity: 0;
    animation: entrada 3s ease-in forwards;
    border-top: 1px solid rgba(167, 167, 167, 0.192);
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 7px; 
  width: 100%;
  background: linear-gradient(to right, #00d5ff,rgb(23, 23, 241), #c4021b, #e23307);
  margin-top: 20px;
}

.primero{
  width: 75%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}


.primero img{
  width: 16rem;
  margin-top: -20px;
}


.segundo{
  width: 20rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}








.logos{
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.logos i{
  color: rgb(255, 196, 0);
  font-size: 1.5rem;
  transition: .3s ease;
}

.logos i:hover{
  color: #fff;

}




.menu{
    display: flex;
    width: 600px;
    align-items: center;
    justify-content: space-between;
}

.menu-list{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.menu-list a{
  text-transform: uppercase;
    font-size: 1.3rem;
    font-family: "Alegreya SC";
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.5s;
}

.menu a:hover{
  text-decoration: 3px underline rgb(255, 196, 0);
}


.menu-list:hover a:not(:hover){
    opacity: .5;
}





.cabeza{
    width: 100%;
    height: 80vh;
    background: linear-gradient( rgb(0, 0, 0), rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.671)), url(imagenes/contacto.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: entrada 2s ease-in forwards;
    z-index: 3;
}


.titulo{
    width: 100%;
    height: 300px;
    color: #00d5ff;
    opacity: 0;
    animation: entrada 4s ease-in forwards;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.titulo h1{
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 30px;
    font-family: "Michroma";
}

.titulo h3{
    color: #fff;
    font-size: 2rem;
}


@keyframes entrada{
    to{
        opacity: 1;
    }
}

.formulario{
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.datos{
    width: 500px;
    height: 70vh;
    margin-top: -200px;
    position: relative;
    background: #cdcecf;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 30px 0px 0px 30px;
    box-shadow: -5px 20px 30px;
    h1{
       text-align: left;
       width: 100%;
       font-family: "Michroma";
    }

    p{
        font-family: Arial, Helvetica, sans-serif;
}
}



.info{
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    height: 11vh;

    h4{
        color: #0754e2;
    }

    a{
        all: unset;
        cursor: pointer;
    }

    a:hover{
        color: #0754e2;
        transition: .2s all;
    }
}


.icon{
    font-size: 2rem;
    margin-right: 15px;
    background-color: #0754e2;
    border-radius: 5px;
}

.logos-form{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 100%;
    border-top: 2px solid #0754e23b;
    justify-content: space-evenly;
    h4{
        font-size: 1.1rem;
        font-family: "Michroma";
    }
}


.loguitos{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 200px;
}

.loguitos a{
    color: #0754e2;
    transition: .3s ease;
    font-size: 2rem;
}

.loguitos a:hover{
    transform: scale(1.2);
    color: #e23307;
}



.contact-form{
    width: 700px;
    height: 70vh;
    margin-top: -200px;
    position: relative;
    background-color: #e9e5e5;
    padding: 25px;
    border-radius: 0px 30px 30px 0px;
    box-shadow: 20px 20px 30px;
}


.contact-form h1{
   text-align: left;
   width: 100%;
   font-family: "Michroma";
   margin-bottom: 20px;
}
.contact-form form .row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 100px;
    resize: none;
    margin-bottom: 15px;
}

.contact-form button {
    background: #0066ff;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #004bcc;
}


.mapa{
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

iframe{
  width: 90%;
  height: 60vh;
  border-radius: 40px;
  box-shadow: 0px 10px 50px;
}





  footer{
    width: 100%;
    height: 60vh;
    background-color: rgba(0, 0, 0, 0.329);
    display: flex;
    justify-content: center;
    color: #fff;
    font-family: "Prosto One";
    flex-wrap: wrap;
    box-sizing: border-box;
  }



  .lista{
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .lista a{
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
    transition: 1s ease-in-out;
  }

  .lista a:hover{
    color: #ffd000;
    text-decoration:underline;
  }


  .centro{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .centro p{
    color: #d8d8d8;
    margin: 10px;
  }

  .mail:hover{
    color: #fff;
    cursor: pointer;
  }

  .age:hover{
    color: #fff;
    cursor: pointer;
  }


  .centro img{
    width: 150px;
    margin-bottom: 20px;
  }

  .centro a{
    text-decoration: none;
  }

  .centro span{
    color: #ffd000;
    font-family: "Akronim";
    font-size: 1.5rem;
  }

  .centro span:hover{
    color: #f01616;
    cursor: pointer;
  }

  .redess{
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }


  .redess a{
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
    transition: 1s ease-in-out;
  }

  .redess a:hover{
    color: #ffd000;
    text-decoration:underline;
  }

  h2 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}


.abrir-menu{
  display: none;
}

.cerrar-menu{
  display: none;
}

.redes-menu{
  display: none;
}


@media  (min-width: 0px) and (max-width: 500px){

  body{
    width: 100%;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);
  }
  .puerta-contenedor{
    width: 100%;
    height: 100%;
  }

  .puerta.left{
    background-position: right;
  }

  .puerta.right{
    background-position: left;
  }

  .nav a{
    display: none;
  }

  .inicio{
    width: 100%;
  }

  .navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .primero{
    width: 100%;
    display: flex;
    justify-content: space-between;
    img{
      width: 60%;
    }
  }

  

  .segundo{
    display: none;
  }

  .abrir-menu, .cerrar-menu, .redes-menu{
    display: block;
    border: 0;
    font-size: 3.5rem;
    background-color: transparent;
    cursor: pointer;
    color: #fff;
  }

  .redes-menu i{
    font-size: 3rem;
    color: #ffd000;
  }

  .cerrar-menu{
    font-size: 2rem;
    
  }


  .menu{
    opacity: 0;
    visibility: hidden;

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 0 100vmax rgba(2, 8, 94, 0.685);
    padding: 2rem;
  }

  .menu.visible{
    opacity: 1;
    visibility: visible;
  }

  .menu-list{
    width: 100%;
    margin-top: 50px;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    color: #fff;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);

div{
      display: flex;
      width: 100%;
      justify-content: space-evenly;
    }
  }



  .menu-list li a{
    color: #fff;
    font-size: 2rem;
  }


  .logos{
    display: none;    
  }



  .cabeza{
    min-width: 100%;
    height: 400px;
    background-attachment: scroll;
    
  }

  .titulo{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    h1{
      font-size: 2rem;
    }

    h3{
      font-size: 1rem;
    }
  }

  .formulario{
    width: 100%;
    height: 1000px;
    flex-direction: column;
    gap: 15px;
    
  }

  .datos{
    width: 90%;
    border-radius: 20px;
    margin-top: -100px;
    gap: 10px;
    box-shadow: 0px 20px 30px;
    h1, p{
      width: 100%;
      text-align: center;
    }
  }

  .info p{
    text-align: left;
    font-size: 1.1rem;
  }

  .logos-form{
    align-items: center;
  }

  .contact-form{
    width: 90%;
    border-radius: 20px;
    margin-top: 0px;
    box-shadow: 0px 20px 30px;
    h1{
      text-align: center;
    }

    form{
      button{
        width: 100%;
      }  
    }
  }

  .mapa{
    width: 100%;
    margin-top: 0px;
    height: 570px;
  }

  iframe{
    width: 90%;
  }

  .footer{
    flex-direction: column;
    align-items: center;
    min-height: auto;
    width: 100%;
    height: 100%;
  }

  .lista{
    width: 100%;
    margin-top: 10px;
  }

  .centro{
    width: 100%;
    order: 3;
  }


  .redess{
    width: 100%;
    margin-top: 10px;
  }
  
}


/* para tablets */


@media (min-width: 501px) and (max-width: 1024px) {
  body{
    width: 100%;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);
  }

  .puerta-contenedor{
    width: 100%;
    height: 100%;
  }

  .puerta.left{
    background-position: right;
  }

  .puerta.right{
    background-position: left;
  }

  .nav a{
    display: none;
  }

  .inicio{
    position: absolute;
    width: 100%;
  }

  .navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
  }

  .primero{
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: space-evenly;

    img{
      width: 20rem;
    }
  }

  .segundo{
    display: none;
  }

  .abrir-menu, .cerrar-menu, .redes-menu{
    display: block;
    border: 0;
    font-size: 3.5rem;
    background-color: transparent;
    cursor: pointer;
    color: #fff;
  }

  .redes-menu i{
    font-size: 3rem;
    color: #ffd000;
  }

  .cerrar-menu{
    font-size: 2rem;
  }


  .menu{
    opacity: 0;
    visibility: hidden;

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 0 100vmax rgba(2, 8, 94, 0.685);
    padding: 2rem;
  }

  .menu.visible{
    opacity: 1;
    visibility: visible;
  }

  .menu-list{
    width: 100%;
    margin-top: 50px;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    color: #fff;
    background: linear-gradient(#250055,#5200a3,#6600ff,#3e00b3,#070055);

    div{
      display: flex;
      width: 50%;
      justify-content: space-evenly;
    }
  }


  .menu-list li a{
    color: #fff;
    font-size: 2rem;
  }

  .logos{
    display: none;    
  }

  .cabeza{
    width: 100%;
    height: 60vh;
    background-attachment: scroll;
    background-position: center;
  }

  .titulo{
    width: 100%;
    text-align: center;

    h3{
      font-size: 1.5rem;
    }
  }

  .formulario{
    width: 100%;
    height: 100%;
    padding: 20px;
    margin: 0;
  }

  .datos{
    width: 100%;
    height: 100%;
    border-radius: 30px;

    h1, p{
      text-align: center;
    }
  }

  .info p{
    text-align: left;
  }

  .contact-form{
    width: 100%;
    height: 100%;
  }

  form{
    button{
      width: 100%;
    }
  }

  .footer{
    flex-direction: column;
    align-items: center;
    min-height: auto;
    width: 100%;
    height: 100%;
  }

  .lista{
    width: 100%;
    margin-top: 10px;
  }

  .centro{
    order: 3;
  }


  .redess{
    width: 100%;
    margin-top: 10px;
  }
}