.projectbody {
  font-family: Arial, sans-serif;
  background: linear-gradient(
      to top,
      rgba(0, 128, 0, 0.7) 0%,
      rgba(0, 128, 0, 0.2) 30%,
      rgba(0, 128, 0, 0.2) 80%,
      rgba(0, 128, 0, 0.7) 100%
    ),
    url("img/Projects/aiimage.jpg") center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center vertically and horizontally */
}

.overlay {
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 128, 0, 0.5),
    rgba(0, 128, 0, 0.5)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.main-heading {
  font-size: 3em; /* Adjust as needed */
  font-weight: bold; /* Make it bold */
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.text-box {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.inner-box {
  background-color: rgba(0, 128, 0, 0.8);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
}

.inner-box h2 {
  color: darkgreen;
}

.divider {
  background-color: white;
  height: 2px;
  width: 50%;
  margin: 15px auto;
}

.inner-box p {
  color: black;
  font-size: 1.2em;
}

.video-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

video {
  width: 100vw; /* 100% of the viewport width */
  height: 100vh; /* 100% of the viewport height */
  object-fit: cover; /* Maintain video aspect ratio and cover entire viewport */
}

body {
  margin: 0;
  padding: 0;
}

.animation-container {
  display: flex;
  flex-direction: column; /* Align videos from top to bottom */
}

.video-wrapper {
  width: 100%;
  overflow: hidden;
}

.animation-video {
  width: 100%;
  height: auto; /* Adjusts the height according to the aspect ratio */
  display: block; /* Removes extra space below inline-block elements */
}
