.popup {
    z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    position: fixed; top: 50%; left: 50%;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .7);
    transform: translate(-50%, -50%);
  }

  .popup-content {
    position: relative;
  }

  .close-popup {
    z-index: 1;
    position: absolute;
    top: calc(50% - 260px);
    right: calc(50% - 430px);
    padding: .2em;
    border-radius: 50%;
    cursor: pointer;
    transform: translateX(-50%) translateY(-50%);
    background-color: purple;
  }
   /* Aplica la animación a la imagen */
   #bannerImage img{
    width: 100%;
    height: auto;
   }
   #bannerImage {
    width: 800px;
    height: auto;
    border-radius: .5em;
    animation: fade-in 1s forwards;
  }

  .banner_container{
    position: relative;
      display: flex; justify-content: center; align-items: center;
      width: 100vw;
      height: 100vh;
      cursor: pointer;
  }


  /* Define la animación de entrada */
  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @media (max-width: 768px) {
    #bannerImage {
      margin: 5% auto; /* Agrega un margen del 5% en cada lado */
      max-width: 90%;  /* Asegura que la imagen no se desborde de la pantalla */
      height: auto;    /* Ajusta la altura automáticamente */
    }

    .close-popup {
      top: calc(50% - 110px);
      right: -15px;
    }

  }

 