  /* Estilo básico para el Slider*/
  #gallery {
    width: 100%;
    margin: none;
    overflow: hidden;
  }
  
  .gallery-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .gallery-item {
    min-width: 100%;
    box-sizing: border-box;
  }
  
  .gallery-item img {
    width: 100%;
    display: block;
  }
  
  /* Estilo básico para la galería */
  figure {
    margin:0;
  }
  #gallery {
      max-width: 900px;
      margin: auto;
      overflow: hidden;
      position: absolute;
  }
  
  .gallery-container {
      display: flex;
      transition: transform 0.5s ease-in-out;
  }
  
  .gallery-item {
      min-width: 100%;
      box-sizing: border-box;
  }
  
  .gallery-item img {
      width: 100%;
      display: block;
  }
  /* Estilo básico para la galería */
  figure {
    margin:0;
  }
  #gallery-responsive{
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    position: absolute;
    visibility: hidden;
  }
  .gallery-item2 {
    min-width: 100%;
    box-sizing: border-box;
  }
  .gallery-item2 video {
    width: 100%;
    display: block;
  }
  #gallery {
      max-width: 100%;
      margin: auto;
      overflow: hidden;
      position: absolute;
      visibility: visible;
  }
  
  .gallery-container {
      display: flex;
      transition: transform 0.5s ease-in-out;
  }
  
  .gallery-item {
      min-width: 100%;
      box-sizing: border-box;
  }
  
  .gallery-item img {
      width: 100%;
      display: block;
  }
  .gallery-item video {
    width: 100%;
    display: block;
  }
  /* Navegación de la galería */
  .gallery-navigation {
      display: flex;
      justify-content: space-between;
      width: calc(100% - 40px);
      margin: 0 20px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%)
  }
  
  .nav-button {
    background-color: transparent;
      color: white;
      border: none;
      padding: 10px 20px;
      cursor: pointer;
      border-radius: 5px;
  }
  .nav-button > span {
    font-size: 30px;
  }
  .nav-button:hover {
      color: rgba(255, 255, 255, 0.63);
  }
  @media (max-width:992px) {
    #gallery{
      visibility: hidden;
    }
    #gallery-responsive{
      visibility: visible;
    }
  }
  
  /*HOME*/
  /* TRAYECTORIA */
  .sec1{
    height: 45rem;
    width: 100%;
    background-image: url("../img/home/Z_H_BACKGROUND.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    margin-top: 550px;
  }
  .trayectoria{
    background-image: url("../img/home/zanper_H_TRAYECTORIA-2_TRAYECTORIA.png");
    background-size: contain;
    background-repeat: no-repeat;
  
    height: 85%;
  }
  .trayectoria .trayectoria-text{
    position: absolute;
    width: 40%;
    margin-top: 10em;
    margin-left: 35em;
  }
  
  .trayectoria-text-mobile{
    visibility: hidden;
    background-color: #0F73B9;
    padding: 2%;
    border-radius: 5%;
  }
  @media (min-width:1500px) {
    .sec1{
      width: 100%;
      background-image: url("../img/home/Z_H_BACKGROUND.jpg");
      background-size: cover;
      background-repeat: no-repeat;
      color: white;
      margin-top: 700px;
    }
    .trayectoria{
      background-image: url("../img/home/zanper_H_TRAYECTORIA-2_TRAYECTORIA.png");
      background-size: fill;
      background-repeat: no-repeat;
  
      height: 90%;
    }
    .trayectoria .trayectoria-text{
      position: absolute;
      width: 40%;
      margin-top: 11em;
      margin-left: 37em;
    }
  }
  @media (max-width:1250px) {
    .sec1{
      width: 100%;
      background-image: url("../img/home/Z_H_BACKGROUND.jpg");
      background-size: contain;
      background-repeat: no-repeat;
      color: white;
      margin-top: 425px;
    }
    .trayectoria{
      background-image: url("../img/home/zanper_H_TRAYECTORIA-26.png");
      background-size: fill;
      background-repeat: no-repeat;
  
      height: 80%;
    }
    .trayectoria .trayectoria-text{
      visibility: hidden;
      display: none;
      
    }
    .trayectoria-text-mobile{
      position: relative;
      visibility: visible;
      background-color: #0F73B9;
      padding: 2%;
      border-radius: 5%;
      margin: 2%;
    }
  }
  
  @media (max-width:992px) {
    .sec1{
      width: 100%;
      background-image: url("../img/home/Z_H_BACKGROUND.jpg");
      background-size: contain;
      background-repeat: no-repeat;
      color: white;
      margin-top: 600px;
    }
    .trayectoria{
      background-image: url("../img/home/zanper_H_TRAYECTORIA-26.png");
      background-size: contain;
      background-repeat: no-repeat;
  
      height: 60%;
    }
    .trayectoria .trayectoria-text{
      visibility: hidden;
      
    }
    .trayectoria-text-mobile{
      position: relative;
      visibility: visible;
      background-color: #0F73B9;
      padding: 2%;
      border-radius: 5%;
      margin: 2%;
    }
  }
  @media (max-width:500px) {
    .sec1{
      width: 100%;
      background-image: url("../img/home/Z_H_BACKGROUND.jpg");
      background-size: contain;
      background-repeat: no-repeat;
      color: white;
      margin-top: 300px;
    }
    .trayectoria{
      background-image: url("../img/home/zanper_H_TRAYECTORIA-26.png");
      background-size: contain;
      background-repeat: no-repeat;
  
      height: 60%;
    }
    .trayectoria .trayectoria-text{
      visibility: hidden;
      
    }
    .trayectoria-text-mobile{
      position: relative;
      visibility: visible;
      background-color: #0F73B9;
      padding: 2%;
      border-radius: 5%;
      margin: 2%;
    }
  }
  /* MARCAS */
  .marcas{
    margin-top: 2%;
    margin-left: 25%;
    height: 30%;
    width: 50%;
    text-align: center;
    border-radius: 10px;
    background-color: #8AC33E;
    color: #fff;
    font-weight: 900;
  }
  .contenedor {
    margin-left: 5%;
    width: 90%;
    height: 150px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s, visibility .25s ease-in;
  
  }
  .contenedor:hover{
    transform: scale(105%);
  
  }
  @media(max-width:1250px) {
    .marcas{
    margin-top: 400px;
  }
  }
  
  @media(max-width:992px) {
    .marcas{
      margin: 2%;
      margin-top: 70%;
      margin-bottom: 5%;
      width: 95%;
    }
    .contenedor {
       width: 80%;
       margin-bottom: -25%;
    }
  }
  #productoshome{
    visibility: visible;
  }
  .productoshome{
    margin: 0;
    padding-left: 10%;
    margin-top: 5%;
  }
  .productoshome a img{
    height: 20%;
    width: 22%;
    transition: transform .25s, visibility .25s ease-in;
  }
  .productoshome a img:hover{
    transform: scale(120%);
  }
  #productoshome-responsive{
    display: none;
  }
  .productoshome2 a img{
    height: 40%;
    width: 90%;
    transition: transform .25s, visibility .25s ease-in;
  }
  .productoshome2 a img:hover{
    transform: scale(120%);
  }
  @media (max-width:992px) {
    #productoshome{
      visibility: hidden;
    }
    #productoshome-responsive{
      display: block;
    }
  }
  .MFOOT{
    visibility: hidden;
  }
  @media (max-width:992px) {
    .MFOOT{
      visibility: visible;
    }
  }