.dif_icon img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}
.lens-container {
  position: relative;
  width: 300px;  
  height: 300px;
  margin: 2rem auto;
}

.lens-img {
  width: 100%;
  height: 100%;
  display: block;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;    
  height: 50px;
  background-color: white;
  border-radius: 50%;  
  transform: translate(-50%, -50%);
  pointer-events: none; 
}

.slider-container {
  width: 300px;
  margin: 1rem auto;
  text-align: center;
  font-family:"Mogra";
  font-size:2rem;
}

input[type="range"] {
  width: 100%;
}


.image-container {
  position: relative;
  width: 400px;  
  height: 300px;
  margin: 2rem auto;
  overflow: hidden; 
}

.background-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 

}

.cat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;   
  height: auto;
  transform: translate(-50%, 0%);
  z-index: 1;   
  pointer-events: none; 
}

.slider-container {
  width: 350px;
  margin: 1rem auto;
  text-align: center;
}

input[type="range"] {
  width: 100%;
}

.aperture-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20%;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.demo {
  flex: 1;
  min-width: 350px;
}


.aperture-text {
  flex: 1;
  font-family: "Edu AU VIC WA NT Hand";
  font-size: 1.2rem;
  line-height: 1.6;
}


@media (max-width: 740px) {

.image-container {
  position: relative;
  width: 320px; 
  height: 270px;
  margin: 2rem auto;
  overflow: hidden;
}
.gallery-container img { 
  width: 100%;
  height: auto;
  object-fit: cover;  
  border-radius: 8px;  
  transition: transform 0.3s;
}

header .title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Potta One' ;
  font-size: 7vw;   
  color: black;
}

.dif_icon img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}



.header-subtitle {
  font-family: 'Mogra', cursive;
  font-size: 2rem;   
  text-align: center;  
  margin-top: 2rem;   
  color: black;    
}

.gallery-container img:hover {
  transform: scale(1vw); 
  
}


  .aperture-layout {
    flex-direction: column;
    align-items: center;
  }

  .aperture-text {
    margin-top: 2rem;
    text-align: center;
  }

} 
  
}
