.circle-container {
  position: relative;
  width: 100%;
  height: 600px; 
}

.circle1 {
  position: absolute;
  left: 30%;
  top: 0;
  background-color: #d5c9be;
  height: 15vw;
  width: 15vw;
  border-radius: 50%;
  z-index: 2;
  box-shadow: inset 0 -3em 3em rgba(255, 255, 255, 0.3), 
  -0.5em 0.5em 0.2em #a38d7d; /* left/right, thickness, blur effect*/
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.circle3 {
  position: absolute;
  left: 13%;
  bottom: 8%;
  background-color: #d5c9be;
  height: 18vw;
  width: 18vw;
  border-radius: 50%;
  z-index: 3;
  box-shadow: inset 0 -3em 3em rgba(255, 255, 255, 0.3), 
  -0.5em 0.5em 0.2em #a38d7d; /* left/right, thickness, blur effect*/
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.circle2 {
  position: absolute;
  left: 45%;
  top: 5%;
  background-color: #f1ab60;
  height: 30vw;
  width: 30vw;
  border-radius: 50%;
  z-index: 1;
  box-shadow: inset 0 -3em 3em rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: bubbleFloat 6s ease-in-out infinite;
}

@keyframes bubbleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* .speech-bubble-ins {
	position: relative;
  width: 60%;
  padding:20px;
	background: #d5c9be;
	border-radius: 40px;
}

.speech-bubble-ins:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 0;
	border: 60px solid transparent;
	border-top-color: #d5c9be;
	border-bottom: 0;
	border-right: 0;
	margin-left: -30px;
	margin-bottom: -60px;
} */

.circle-text {
  color: #ffffff; 
  font-size: 1.2vw;
  text-align: center;
  padding: 30px; 
  max-width: 80%; 
}

.circle-text-dark {
  color: #000000; 
  font-size: 1vw; 
  text-align: center;
  padding: 10px;
  max-width: 80%; 
}

.home-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0px;
  margin: 20px auto;
  max-width: 1200px; 
  width: 100%;
}

.home-image-top {
  display: flex;
  justify-content: flex-start; 
  position: relative;
  top: 0px; 
}

.home-image {
  position: relative;
}

.text-bubble {
  width: 40vw; 
  height: auto; 
  background-color: #4f9b9e;
  border-radius: 20px;
  padding: 45px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 30px auto;
}

.text-bubble h3 {
  color: #f5c19e;
}

.text-bubble p {
  margin: 0;
  color: rgb(255, 255, 255);
  font-size: 18px;
}

.button-container {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
}

.button-home {
  width: 100%;
  display: inline-block;
  border-radius: 50%;
  background-color: #acbd8a;
  border: none;
  color: #ffffff;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  height: 300px;
  transition: all 0.5s;
  box-shadow: inset 0 -3em 3em #b8c2a2;
  cursor: pointer;
  flex: 1 0 calc(25% - 10px); 
  margin: 5px; 
}


.button-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.button-link {
  width: 300px;
  height: 300px;
}

.button-home span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button-home span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button-link:nth-child(1) .button-home:hover {
  background-image: url('https://static.igem.wiki/teams/5149/social/pipette.gif');
}

.button-link:nth-child(2) .button-home:hover {
  background-image: url('https://static.igem.wiki/teams/5149/social/swirl.gif');
}

.button-link:nth-child(3) .button-home:hover {
  background-image: url('https://static.igem.wiki/teams/5149/social/weigh.gif');
}

.button-link:nth-child(4) .button-home:hover {
  background-image: url('https://static.igem.wiki/teams/5149/social/centi-human.gif');
}

.button-home:hover {
  background-size: cover;
  background-position: center;
}

.button-home:hover span {
  padding-right: 25px;
}

.button-home:hover span:after {
  opacity: 1;
  right: 0;
}

.video-container {
  display: flex;
  justify-content: center; 
  align-items: center; 
  margin: 40px 0; 
}

.speech-bubble-h {
  position: relative;
  background-color: #acbd8a;
  border-radius: 50%;
  padding: 10%;
  min-height: 100px;
}

.speech-bubble-h::before {
  content: "";
  position: absolute;
  bottom: -35px;  /* Increased to accommodate larger pointer */
  left: 50%;     
  transform: translateX(-80%);  
  border-width: 30px 30px 0;  /* Increased width and height */
  border-style: solid;
  border-color: #acbd8a transparent transparent;
}