@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,,500,600,700,800,900&display=swap');
::-webkit-scrollbar {
  display: none;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    min-height: 100vh;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    color: #fff;
}
/*Header*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(252, 252, 252);
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

header img {
    height: 85px;
    width: 85%;
    margin-left: 50px;
}

/* Barra de navegación */

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin-right: 40px;
    position: relative;
}

nav ul li:hover ul {
    display: block;
}

nav a {
    color: #0B3D91;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #0477BF;
}

/*Sobre nosotros*/

#legal h2 {
  margin-top: 110px;
  font-size: 100px;
  text-align: center;
  color: #ffffff;
  padding: 30px 0;
  border-radius: 10px;
}

#legal h3 {
  font-size: 50px;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
  padding: 30px 0;
  border-radius: 10px;
}

#legal p {
  font-size: 20px;
  line-height: 1.5;
  margin: 20px 80px;
  text-align: justify;
  color: black;
}

.container {
  position: relative;
  width: 100%;
}

.container1{
  background-image: url(/media/img/bg_nosotros.jpg);
  position: relative;
  width: 100%;
  height: 50vh;
  left: 0;
  right: 0;
  background-position: center;
  background-size: cover;
}

/*Boton de subida*/
.scroll-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 9999;
    background-color: #0B3D91;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    line-height: 50px;
    transition: all 0.3s ease-in-out;
  }
  
  .scroll-top-btn:hover {
    background-color: #2c2c2c;
  }
  
  .scroll-top-btn.active {
    display: block;
  }
  
  .scroll-top-btn i {
    font-size: 24px;
  }
  
  /*Footer*/
  
  footer {
    position: absolute;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url(../media/img/eeuu.jpg) ;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 10vh;
  }
  
  footer .redes-sociales,
  footer .menu-footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
  }
  
  footer .redes-sociales li,
  footer .menu-footer li {
    list-style: none;
  }
  
  footer .redes-sociales li a,
  footer .menu-footer li a {
    font-size: 2em;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
  }
  
  footer .redes-sociales li a:hover {
    transform: translateY(-10px);
    opacity: 1;
  }
  
  footer .menu-footer li a{
  font-size: 2em;
  color:#fff;
  margin: 0 20px;
  display: inline-block;
  text-decoration: none;
  opacity: 0.8;
  }
  
  footer .menu-footer li a:hover{
    opacity: 1;
    transform: scale(1.2);
  }
  
  footer p{
    color: #fff;
    transition: all 0.3s ease-in-out;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1em;
  }

  
  @media (max-width: 425px) {

    #legal h2 {
      font-size: 4em;
    }

    #legal p {
      font-size: 20px;
      line-height: 1.5;
      margin: 20px 80px;
      text-align: left;
      color: black;
    }

  }
  footer .imagen-footer {
    position:absolute;
    bottom: 0;
    left: 0;
    width: auto; /* Ajusta el tamaño según tus necesidades */
    height: auto;
    z-index: 100; /* Asegura que la imagen esté por encima de otros elementos */
  }
  @media (max-width: 768px) {
    footer {
        height: 50vh;
      }
      footer .imagen-footer {
        position:absolute;
        bottom: 0;
        left: 0;
        top: 40vh;
        width: auto; /* Ajusta el tamaño según tus necesidades */
        height: auto;
        z-index: 100; /* Asegura que la imagen esté por encima de otros elementos */
      }
  }
  @media (max-width: 480px) {
    footer {
      height: 50vh;
    }
    footer .imagen-footer {
        position:absolute;
        bottom: 0;
        left: 5%;
        top: 42vh;
        width: 90%; /* Ajusta el tamaño según tus necesidades */
        height: auto;
        z-index: 100; /* Asegura que la imagen esté por encima de otros elementos */
      }

  }