::-webkit-scrollbar {
  display: none;
}
/*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;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
}

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;
}


/**/

.container2{
    width: 100%;
    height: 40vh;
    background-image: url(/media/img/ofertas.jpeg);
    position: relative;
    top: 10vh;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    background-position:center;
    background-size:cover;
}

.container2 h2 {
    font-size: 50px;
    text-align: center;
    color: #ffffff;
    padding: 10vh 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    border-radius: 10px;
    text-transform: uppercase;
}
.container2 h3 {
    font-size: 40px;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    margin-top: -20vh;
    padding: 10vh 0;
    text-transform: uppercase;
}

/* Estilos generales */
.container {
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container h1 {
    font-size: 32px;
    user-select: none;
    text-align: left;
    color: #0c47a8;
    line-height: 26px;
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: 20px;
    border-bottom: 1.5px solid #0c47a8;
    padding-bottom: 5px;
    width: 100%;
}


.container h2 {
    font-size: 32px;
    text-align: center;
    color: #0c47a8;
    border-radius: 10px;
}

.container section {
    padding: 20px;
}

.container section {
    padding-bottom: 20px; /* Ajusta según sea necesario */
}

.img-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
}

.img {
    text-align: center;
    padding: 10px;
    width: calc(33.33% - 40px);
    box-sizing: border-box;
}

.img img {
    max-width: 100%;
    height: 50vh;
    transition: transform 0.3s ease-in-out; /* Agrega una transición suave */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Sombreado suave */
}

.img img:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño al pasar el ratón */
}


/* Media queries para hacer el diseño responsive */
@media screen and (max-width: 768px) {
    .img {
        width: calc(50% - 40px); /* 2 columnas en pantallas medianas */
    }
}

@media screen and (max-width: 480px) {
    .img {
        width: calc(100% - 40px); /* 1 columna en pantallas pequeñas */
    }
}


body {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    color: #fff;
    margin: 0;
    padding: 0;
}

 /*Footer*/
  
 footer {
    position: absolute;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url(../media/img/camara.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;
  }
  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: 40vh;
      }
      footer .imagen-footer {
        position:absolute;
        bottom: 0;
        left: 0;
        top: 35vh;
        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 .imagen-footer {
        position:absolute;
        bottom: 0;
        left: 5%;
        top: 38vh;
        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 */
      }

  }
  @media (max-width: 425px) {

    .container2 h2{
        font-size: 2.5em;
    }

    .container2 h3{
        font-size: 1.5em;
    }

}