* {
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.bener {
  background-color: #3b5997;
  height: 550px;
  text-align: center;
  color: white;
}

.bener img {
  border-radius: 100px;
  height: 150px;
  margin-top: 80px;
}

.bener h1 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h1 span::before {
  content: "";
  animation: gerak infinite 8s ease;
  transform: translateY(-50%);
  color: lightblue;
  font-size: 70px;
}

@keyframes gerak {
  0% {
    content: "Selamat Datang Di";
  }
  50% {
    content: "Capstone Project";
  }
  100% {
    content: "Section Medan - Team 6";
  }
}

.bener button {
  margin-top: 40px;
  padding: 10px;
  width: 400px;
  border-radius: 50px;
  border: none;
}

.bener button:hover {
  background-color: #3b5997;
  border: 1px solid white;
  color: white;
}

.box-team6 {
  text-align: center;
  color: #4d4d4d;
  margin-top: -110px; /* Menggeser kotak-team ke atas */
  align-content: center;
  transform: scale(0.8); /* Menyusutkan ukuran seluruh bagian */
  position: relative; /* Menentukan posisi relatif */
  top: -20px; /* Menggeser ke atas sejauh 20px */
}


.team-section {
  margin: 20px 0;
}

.team-section h2 {
  margin-bottom: 10px;
}

.team-captain {
  width: 200px;
  height: 200px;
  text-align: center;
  padding: 20px 10px;
  margin: 0 auto 20px auto;
  border-radius: 30%; 
}

.team-captain img {
  border-radius: 50%; /* Make the image round */
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 10px;
}

.box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.box {
  width: 200px;
  height: 200px; /* Ensure the height is equal to the width for a perfect circle */
  background-color: #f0f0f0;
  text-align: center;
  padding: 20px 10px;
  border-radius: 30%; /* Make the boxes round */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box img {
  border-radius: 50%; /* Make the images round */
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 10px; /* Add some spacing below the image */
}

.box:hover {
  background-color: #3b5999;
  color: white;
}

.box-team6 h3,
p {
  margin-top: 5px;
  margin-bottom: 2px;
  padding: 0px 10px;
}
