.about {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  margin: 10px auto; /* Changed to auto to center and prevent overflow */
  background: black;
  background-repeat: no-repeat;
  background-image: url('folder-img/kiki1.jpg');
  background-position: right bottom;
  filter: drop-shadow(10px 14px 14px rgba(0, 0, 0, 0.3)); /* Corrected the alpha value format */
  background-size: 200px;
  background-attachment: fixed;
  border-radius: 90px;
  margin-bottom: 20px;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

.about h2 {
  font-size: 70px;
  text-align: center;
  text-shadow: 2px 2px 1px #F7D358;
  max-width: 100%; /* Changed from 400px to 100% to fit the container */
  margin: 0 auto; /* Center the text horizontally */
}

.about .im1, .about .im2, .about .im3 {
  width: 30%;
  padding: 10px;
  border-radius: 90px;
  filter: drop-shadow(10px 14px 14px rgba(0, 0, 0, 0.3));
  margin: 0 auto; /* Center images to prevent overflow */
}

.about .containBx {
  width: 100%;
  padding: 20px;
  height: auto;
  margin: 30px 0 100px 0; /* Combined top and bottom margins */
  background: black;
}

.about .containBx p {
  font-size: 30px;
  margin: 5px 0;
  color: white;
  text-align: center;
}

.content h2 span {
  font-size: 30px;
  filter: drop-shadow(10px 14px 14px rgba(0, 0, 0, 0.3));
  text-transform: uppercase;
  margin-left: 10px;
  margin-top: 160px;
  font-family: lemon;
  -webkit-text-stroke: 1px black;
  -webkit-text-fill-color: #A9F5D0;
}

.about .im4 {
  animation: ana1 8s linear infinite;
  border-radius: 150px;
}

@keyframes ana1 {
  0% { transform-origin: 100px 50%; transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform-origin: 100px 50%; transform: translate(-50%, -50%) rotate(360deg); }
  50.00000000001% { transform-origin: -120px 50%; transform: translate(-80%, -80%) rotate(360deg); }
  100% { transform-origin: -120px 50%; transform: translate(-50%, -50%) rotate(0deg); }
}

.about.container {
  border: 5px solid #F5A9F2;
  margin-top: 30px;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

.about .teamBx {
  border: 4px solid #E2A9F3;
  padding: 10px;
  display: flex;
  margin-top: 30px;
  justify-content: center;
  border-radius: 20px;
}

.team {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: black;
}

.team .heading {
  font-size: 60px;
  text-align: center;
}

.about .heading {
  color: white;
  text-shadow: 2px 2px 2px black;
  font-family: 'Angkor';
  font-size: 40px;
  max-width: 100%; /* Changed from 700px to 100% to fit the container */
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}

.about .teamBx .box {
  border: 4px double #FF00BF;
  margin: 30px;
  width: 100%; /* Changed from 360px to 100% to fit the container */
  max-width: 360px; /* Set a maximum width */
  padding: 25px;
  background: white;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 10px;
}

.about .teamBx .box .imgBx {
  position: relative;
  width: 80%;
  height: 300px;
}

.about .teamBx .box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid #F5A9F2;
  padding: 10px;
  border-radius: 20px;
}

.containBx .text {
  color: white;
}

.about .teamBx .box .content h2 span {
  position: relative;
  font-size: 30px;
  font-family: lemon;
  text-transform: uppercase;
}


@media (max-width: 498px) {
	.about .containBx p{
		font-size: 25px;
	}
}