body {
  /* margin: 0;
  padding: 0; */
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #000000, #1f3a93);
  height: 100vh;
  color: white;
}

.logo {
  width: 100px;
  margin-bottom: 20px;
}

h1 {
  font-size: 24px;
  margin-bottom: 30px;
}

.hex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px; /* Set equal margin between containers */
}

.hex-row {
  display: flex;
  justify-content: center; /* Center the icons horizontally */
}

.hex-row:nth-child(1) .hexagon,
.hex-row:nth-child(2) .hexagon {
  margin-left: 2.5px;
  margin-right: 2.5px;
}

.hex-row:nth-child(2) {
  max-width: 450px; /* Width for the row with 3 icons */
}

.hexagon {
  width: 100px;
  height: 100px;
  background-color: #f1c40f;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin: 5px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  transition: box-shadow 0.3s, background-color 0.3s;
  align-items: center;
  justify-content: center;
  justify-items: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: rgb(1, 0, 0);
}

.hexagon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px 10px rgba(255, 255, 255, 1); /* Perbaikan bayangan */
  background-color: chartreuse;
  transition: background-color 0.3s, box-shadow 0.3s; /* Pastikan transisi juga mencakup box-shadow */
}

.hexagon::before {
  content: "";
  display: block;
  padding-top: 86.6%;
}

.hexagon::after {
  content: "";
  /* background: url("Judul.png") center/cover; */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Slightly transparent background */
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-content h2 {
  color: black;
  margin-bottom: 20px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content label {
  color: black;
  align-self: flex-start;
  margin-bottom: 5px;
}

.modal-content input {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.modal-content button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-content button:hover {
  background-color: #0056b3;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.back-link:hover {
  background-color: #0056b3;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #007bff;
  color: white;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-container input[type="text"] {
  padding: 5px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
}

.search-container button {
  padding: 6px 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.search-container button:hover {
  background-color: #218838;
}

login-button {
  display: inline-block;
  padding: 10px 20px; /* Ukuran padding untuk membuat tombol lebih besar */
  background-color: white;
  color: black;
  border: 2px solid #007bff; /* Warna border */
  border-radius: 12px; /* Membuat sudut tombol bulat */
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

/* Efek hover untuk tombol */
.login-button:hover {
  background-color: #28a745; /* Warna hijau saat di-hover */
  color: white; /* Warna teks saat di-hover */
  box-shadow: 0 0 15px 5px rgba(255, 255, 0, 0.75); /* Bayangan warna kuning untuk efek berpendar */
}
