
body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: black;
  font-family: sans-serif;
}

.box {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 15px;
  margin: 0 auto;
}

.box h1 {
  color: white;
  text-align: left;
  border-bottom: 1px solid white;
  padding-bottom: 3px;
  margin-bottom: 20px;
  font-size: 15px;
  width: 35%;
}

.box p {
  color: white;
  text-align: center;
  margin-top: 90px;
  font-size: 16px;
}

.card {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 250px;
  background: #fff;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.card:before,
.card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #fff;
  transition: 0.5s;
  z-index: -1;
}

.card:hover:before {
  transform: rotate(20deg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.card:hover:after {
  transform: rotate(10deg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.card .imgBx {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  right: 10px;
  background: #222;
  transition: 0.5s;
  z-index: 1;
}

.card:hover .imgBx {
  bottom: 80px;
}

.card .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .details {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 60px;
  text-align: center;
}

.card .details h2 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 16px;
  color: #777;
  text-transform: uppercase;
}

.card .details h2 span {
  font-weight: 500;
  font-size: 12px;
  color: #f38695;
  display: block;
  margin-top: 5px;
}

/* deskripsi*/
.deskripsi {
  color: black;
  text-align: justify;
  margin-top: 310px;
  font-size: 13px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  background: #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  height: 140px; /* Mengatur tinggi menjadi lebih kecil */
}

.judul {
  font-size: 24px;
  color: white;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid white;
  padding-bottom: 3px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}




.container {
  display: left;
  justify-content: left; /* Posisikan ke kanan */
  align-items: center;
  height: 100vh;
}

.flex-container {
  display: flex;
  align-items: center;
  background-color: gray;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  margin-bottom: 8px;
  padding: 8px;
  width: 250px; /* Ukuran lebar card disesuaikan */
  position: relative; /* Menambahkan posisi relatif untuk kontainer */
}

.icon-container {
  width: 60px; /* Ukuran foto profil diperbesar */
  height: 60px; /* Ukuran foto profil diperbesar */
  border-radius: 50%;
  overflow: hidden;
  margin-right: 8px;
}

.icon-container img {
  width: 100%;
  height: auto;
}

.content-container {
  flex-grow: 1;
  padding-left: 8px; /* Jarak antara foto profil dan teks disesuaikan */
}

.name {
  font-size: 0.9rem; /* Ukuran font disesuaikan */
  font-weight: bold;
  color: #333;
}

.title {
  font-size: 0.8rem; /* Ukuran font disesuaikan */
  color: #666;
}

.follow-link {
  position: absolute;
  bottom: 8px;
  right: 8px;
  text-decoration: none;
  background-color: #007bff;
  color: white;
  padding: 4px 8px;
  font-size: 0.75rem; /* Ukuran font disesuaikan */
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
