.layout {
  width: 100%;
  height: 100vh; /* full screen height */

  display: grid;
  grid:
    "header header header" auto
    "leftSide body rightSide" 1fr
    "footer footer footer" auto
    / 200px 1fr 200px;
  gap: 8px;

  background: #d58e1a;
  padding: 8px;
  box-sizing: border-box;
}

.header {
  grid-area: header;
  background: #a200ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 6px;
 
background-image: url('http://dl3.glitter-graphics.net/pub/2967/2967293phl2upl9ek.jpg');
background-attachment: fixed;
background-repeat: repeat;

 


}


/* Rainbow text effect */
.rainbow-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(
    to right,
    #ff0000,
    #f2260c,
    #e54b19,
    #d86e26,
    #cc8f33,
    #b2c74c,
    #99ed66,
    #8cf872,
    #7ffe8f,
    #72fe8c,
    #59eca5,
    #4cdcb2,
    #33accc,
    #268ed8,
    #196ce5,
    #0c49f2
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.leftSide {
  grid-area: leftSide;
  background: #d41243;
  padding: 12px;
  border-radius: 6px;
  

background-image: url('http://dl10.glitter-graphics.net/pub/1643/1643240hp724d90q6.jpg');
background-attachment: fixed;
background-repeat: repeat;





}

.body {
  grid-area: body;
  background: #f39a6a;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgb(226, 114, 54);

background-image: url('http://dl8.glitter-graphics.net/pub/510/510988qvd6ongtv3.jpg');
background-size: cover;
background-attachment: scroll;
background-repeat: repeat;

   



}
  





.rightSide {
  grid-area: rightSide;
  background: #8ec127;
  padding: 12px;
  border-radius: 6px;
  
background-image: url('http://dl.glitter-graphics.net/pub/3500/3500701j7wcqy0g44.gif');
background-attachment: fixed;
background-repeat: repeat;

}

.footer {
  grid-area: footer;
  background: #b3baf8;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 6px;
  background-image: url('http://dl3.glitter-graphics.net/pub/2725/2725413buoul6giov.gif');
background-attachment: fixed;
background-repeat: repeat;



}

.image-container img{

  position: relative; /* enables moving */
  top: -450px;   /* move down 20px */
  
  left: 600px;  /* move right 30px */
  
   margin-left: 50px; /* move right */
  margin-top: 20px;  /* move down */
  transform: translate(50px, 20px); /* move right 50px, down 20px */
   transform: translate(30px, 0); /* move right when hovered */
  transition: 5s; /* smooth movement */
  z-index: 10;
  width: 280px;
  height: 200px;
flex: auto;


}

.image-container2 img{

  position: relative; /* enables moving */
  top: -295px;
  left: 530px;  /* move right 30px */
  
   margin-left: 50px; /* move right */
  margin-top: 20px;  /* move down */
  transform: translate(50px, 20px); /* move right 50px, down 20px */
   transform: translate(30px, 0); /* move right when hovered */
  transition: 5s; /* smooth movement */
  width: 280px;
  height: 200px;
   animation: simple-ripple 0.5s ease-out;
            pointer-events: none;

}
@keyframes simple-ripple {
            0% {
                transform: scale(0);
                opacity: 1;
            }
            100% {
                transform: scale(2);
                opacity: 0;
            }
        }

.image-container3 img{
    position: relative; /* enables moving */
  top: -300px;
  left: -122px;  /* move right 30px */
  
   margin-left: -600px; /* move right */
  margin-top: 2px;  /* move down */
  margin-bottom: 10px;
  transform: translate(50px, 20px); /* move right 50px, down 20px */
   transform: translate(30px, 0); /* move right when hovered */
  transition: 5s; /* smooth movement */
  width: 200px;
  height: 200px;



}

.click{
  position: relative; /* enables moving */
  top: -570px;
  left: 428px;

}



/* Responsive: sidebars stack below content on small screens */
@media (max-width: 768px) {
  .layout {
    grid:
      "header" auto
      "body" 1fr
      "leftSide" auto
      "rightSide" auto
      "footer" auto
      / 1fr;
  }

  .rainbow-text {
    font-size: 1.5rem;
    text-align: center;
  }
}
