#gallery {
  padding: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;  
  gap: 0.5rem; 
  justify-content: center; 
}

.gallery-container img {
  height: 250px; 
  width: auto;    
  object-fit: cover;  
  border-radius: 8px;  
  transition: transform 0.3s;
}

.gallery-container img:hover { 
  transform: scale(2); 
  }
  
.dif_icon img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}


.toggle{
  text-align: center;
  margin-top: 40px;
    font-size: 1.2rem;
  font-family: "Mogra";
}

.toggle img{
  width: 120%;
  max-width: 500px;
  display: block;
  margin: auto;
}

.toggle button{
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: "Mogra";
  cursor: pointer;

  background-color: yellow; 
  border-radius: 12px;  
  border: 2px solid black; 
}
.toggle button:hover{
  background-color: red;
  transform: scale(1.1);
}
.iso-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;
}

.isotext{
  flex: 1;
  font-family: "Edu AU VIC WA NT Hand";
  font-size: 1.2rem;
  line-height: 1.6;
}
@media (max-width: 740px) {

.gallery-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.dif_icon img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

header .title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Potta One';
  font-size: 7vw;
  color: black;
}

/* MOBILE LAYOUT */
.iso-layout{
  flex-direction: column;
  align-items: center;
}

.isotext{
  margin-top: 2rem;
  text-align: center;
}
.toggle img{
  width: 100%;
  max-width: 500px;
  display: block;
  margin: auto;
}
}