.img1{
    /* border: 1px solid black; */
    transition:all .5s ease-in-out;
    position: relative;
}

.img2, 
.img3,
.img4,
.img5,
.img6,
.img7 {
  /* border: 1px solid black; */
  transition:all .5s ease-in-out;
  position: absolute;
}

.img1 {
  left: 25%;
 top: -40px;
  height: 80vh;
  cursor: pointer;
  width: 28%;
  z-index: 1;
  background-image: url('./assets/amenities/img02.png');
  background-position: bottom;
  background-size: cover;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: end;
}
.block_txt{
  background-color: #466a00;
  padding: 22px 0px;
  width: 100%;
  border-bottom-left-radius: 12px ;
  border-bottom-right-radius: 12px ;
}

.spaceTopAmenites{
  margin-top: 152px;
}
/* .img4 {
  left: 61%;
  bottom: 0;
  height: 500px;
  cursor: pointer;
  width: 28%;
  z-index: 4;
  background-image: url(./assets/Clubhouse/clubhouse_lightShade.svg);
} */

.img4, .img5 {
  right: 25%;
  width: 28%;
  height: 80vh;
  bottom: 90px;
  cursor: pointer;
  background-image: url('./assets/amenities/library.png');
  background-position: bottom;
  background-size: cover;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.img6, .img7 {
  right: 5%;
  width: 28%;
  height: 80vh;
  bottom: 0;
  cursor: pointer;
  background-position: bottom;
  background-image: url('./assets/amenities/acres.png');
  background-size: cover;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: end;

}



.img2,
.img3 {
  left: 5%;
  width: 28%;
  height: 80vh;
  bottom: 0;
  background-position: bottom;
  background-image: url('./assets/amenities/pool.png');
  background-size: cover;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: end;

}

.img2 {
z-index: 2;
}

.img3 {
z-index: 0;
}

.img4 {
z-index: 2;
}

.img5 {
z-index: 0;
}

.img6 {
z-index: 3;
}

.img7 {
z-index: 0;
}

.img1:hover ~ .img2, .img1:hover ~ .img4 {
  animation: fronte 0.3s linear forwards; 
}

.img4:hover ~ .img6{
  animation: fronte 0.3s linear forwards; 

} 

.amenitiesHead{
  font-family: 'Adamina', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 62px;
  letter-spacing: -0.02em;
  text-align: left;
}
.amenitiesPara{
  font-size: 18px;
  color: #000;
  font-family: 'Plus Jakarta Sans';
  font-weight: 400;
}
@keyframes fronte {
  from{opacity: 1; visibility: visible;}
  to{opacity: 0; visibility: hidden; }
}

.filled_btn1{
  background-color: #7BB40A;
  padding: 16px 42px;
  border-radius: 6px;
  color: #fff;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  text-decoration: none;
  font-weight: 500;
}
.filled_btn1:hover{
  background-color: #000;
  transition: .4s all ease-in;
  color: #fff;
}

.amenties_img {
  height: 230px;
  width: 83%;
  object-fit: cover;
  border-radius: 10px;
  transform-origin: left;
  margin-left: 0 !important;
}