html {
  height:100%;
  width:100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Prevent scrolling */
}
body {
  background-color: #87CEFA; /* Light blue background like an aquarium */
  font-family: 'Comic Sans MS', cursive, sans-serif;
  color: #FF1493;
  text-align: center;
  margin: 0;
  /* padding: 5% 5% 5%; */
  padding: 0;
  height:100%;
  width:100%;
  overflow: hidden;

  /* To avoid unexpected scroll behavior on mobile devices */
  touch-action: none; /* Prevent touch-driven scrolling */
  -webkit-overflow-scrolling: none; /* Disable momentum scrolling for WebKit */
}

#topRightContainer{
  position:absolute;
  right: 2%;
  width: 15%;
  height: 20%;
  z-index: 2;
}

#h1ContainerDiv{
  position: relative;
  margin: 0 auto;
}

#h3ContainerDiv{
  position: relative;
  margin: 0 auto;
}

h1 {
  margin-bottom: 20px;
}

#aquariumContainerDiv{
  position: relative;
  width: 100%; /* Make aquarium width responsive */
  height: 100%;
  margin: 0 auto; /* Center the aquarium horizontally */
}

.wavyswavyBackgroundContainer {
  /* background-image: url("wavyswavynewbackgroundRecut.png"); */
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-size: 100% 100%; 

 
}

.aquarium {



  /* position: absolute; 
  width: 100%; 
  height: 66%;
  top: 33%; 
  margin: 0 auto; */

  /*new attempt*/
  position: fixed; /* Ensures the element stays in place */
  /* top: 0; */
  bottom: 0;
  left: 0;
  width: 100%; /* Full width */
  height: 67%; /* Full height */
  /* set to white for now to make meself consider drawing water in p5 instead //Light blue for water */
  background-color: #ffffff;
  opacity: 39%;

  
  /* background-image: url("wavyswavynewbackgroundRecut.png"); */
  /* background-size: cover; */
  /* background-size: 100% auto;  was better */
  /* max-width: 600px;
  height: 400px; */
  /* max-width: 2080px;
  max-height: 1261px; */
  
  /* background-color: rgba(0, 191, 255, 0.5); */
  
  /* border - seems overkill when the background image has a border drawn as well, 
  but useful to see size when modifying code */
  /* border: 5px solid #000;
  border-radius: 15px; */

  /* Ensure particles stay inside */
  /* overflow: hidden; 
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); */
}
/* .aquariumContainer {
  height: 50%;
  top: 50%;
} */


.fishContainerDiv {
  position: absolute;
  width: 100%;
  height: 100%;
}

.swimmingFish {
  position: absolute;
  top: 50%;
  left: 0;
  width: 50px; /* Smaller fish size */
  transform: translate(-50%, -50%);
  animation: swimAround 8s linear infinite; /* Updated animation */
}

@keyframes swimAround {
  0% {
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%) scaleX(1);
  }
  25% {
    left: 75%;
    top: 20%;
    transform: translate(-50%, -50%) scaleX(1);
  }
  50% {
    left: 90%;
    top: 80%;
    transform: translate(-50%, -50%) scaleX(-1);
  }
  75% {
    left: 30%;
    top: 70%;
    transform: translate(-50%, -50%) scaleX(-1);
  }
  100% {
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%) scaleX(1);
  }
}

.seaweed {
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 100px;
  background-color: green;
  border-radius: 20px 20px 0 0;
  animation: sway 3s ease-in-out infinite;
}

.seaweed1 {
  left: 10%;
}

.seaweed2 {
  left: 30%;
  height: 150px; /* Different height for variety */
  animation-duration: 2.5s; /* Different animation speed */
}

.seaweed3 {
  left: 70%;
  height: 120px; /* Different height for variety */
  animation-duration: 3.5s; /* Different animation speed */
}

@keyframes sway {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

/* 
css for p5 thingy
 */
/* styles.css */
/* html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
} */

/* this is set directly in js for canvas {
  position: relative;
  margin: 0 auto;
  top: 0;
  left: 0;
  z-index: -1;  
} */
 
/* .content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  margin-top: 30vh;
} */