.parallax {
  height: auto;
  position: relative;
}

/* Inicialmente sin fondo */
.parallax::before {
  content: "";
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: -2;
  top: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image 0.0s ease-in-out;
}

.parallax.visible::before {
  background-image: url("../img/avida/PLAYA_LIFE GOES ON-c.jpg");
}

.bg-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.content {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.content .btn {
  border-radius: 25px;
  cursor: pointer;
  border: 2px solid #ffffff;
  transition: transform 0.3s;
  backdrop-filter: blur(30px);
}

.content .btn:hover {
  transform: scale(1.1);
}

.content .btn:active {
  transform: scale(0.9);
}

.content img.img-fluid {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.content img.img-fluid:hover {
  transform: scale(1.1);
}

.content img.img-fluid:active {
  transform: scale(0.9);
}

.content p {
  transition: transform 0.3s;
  color: #ffffff;
  text-align: center;
}

.content p:hover {
  transform: scale(1.1);
}

.content p:active {
  transform: scale(0.9);
}




  @media (max-height: 2621px) {
  .parallax {
    min-height: auto;
    height: 100vh;
  }
    .content {
      max-width: 90%;
      padding: 2px;
    }
  
    .content img.img-fluid {
      max-height: 55vh;
      width: auto;
    }



  }

  @media (min-height: 1801px) and (max-height: 2160px) {

    .parallax {
    min-height: auto;
    height: 100vh;
  }

  
    .content img.img-fluid {
      max-height: 55vh;
      width: auto;
    }
  


  }

  @media (min-height: 1501px) and (max-height: 1800px) {

    .parallax {
    min-height: auto;
    height: 100vh;
  }

  
    .content img.img-fluid {
      max-height: 50vh;
      width: auto;
    }
  


  }
  

  @media (min-height: 1201px) and (max-height: 1500px) {

    .parallax {
    min-height: auto;
    height: 100vh;
  }

  
    .content img.img-fluid {
      max-height: 45vh;
      width: auto;
    }
  


  }

  @media (min-height: 901px) and (max-height: 1200px) {

    .parallax {
    min-height: auto;
    height: 100vh;
  }

  
    .content img.img-fluid {
      max-height: 40vh;
      width: auto;
    }
  

  }

  @media (min-height: 601px) and (max-height: 900px) {

      .parallax {
    min-height: auto;
    height: 100vh;
  }
  
    .content img.img-fluid {
      max-height: 35vh;
      width: auto;
    }
  


  }

@media (max-height: 600px) {

  .parallax {
    min-height: auto;
    height: 100vh;
  }


  .content img.img-fluid {
    max-height: 30vh;
    width: auto;
  }




}

@media (max-height: 550px) {

  .parallax {
    min-height: auto;
    height: 100vh;
  }


  .content img.img-fluid {
    max-height: 30vh;
    width: auto;
  }



}

@media (max-height: 480px) {

  .parallax {
    min-height: auto;
    height: 100vh;
  }


  .content img.img-fluid {
    max-height: 30vh;
    width: auto;
  }




}

@media (max-height: 450px) {

  .parallax {
    min-height: auto;
    height: 100vh;
  }

  .content img.img-fluid {
    max-height: 30vh;
    width: auto;
  }



}

@media (max-height: 400px) {

  .parallax {
    min-height: auto;
    height: 100vh;
  }

  .content img.img-fluid {
    max-height: 20vh;
    width: auto;
  }




}

@media (max-height: 360px) {


  .parallax {
    min-height: auto;
    height: 100vh;
  }

  .content img.img-fluid {
    max-height: 15vh;
    width: auto;
  }




}

@media (max-height: 320px) {

  .parallax {
    min-height: auto;
    height: 100vh;
  }


  .content img.img-fluid {
    max-height: 10vh;
    width: auto;
  }




}