@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap");

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #c2ffc7;
  margin: 0;
  font-family: "Titillium Web", sans-serif;
}

.container {
  text-align: center;
  max-width: 500px;
  padding: 0 15px; /* tambahkan padding agar tidak mepet di layar kecil */
  width: 100%;
  box-sizing: border-box;
}

.container p strong {
  font-size: 20px;
}

img {
  width: 100%;
  max-width: 500px; /* atau sesuai ukuran maksimal yang kamu mau */
  height: auto;
  margin-bottom: 20px;
}

h1,
h2 {
  color: #333;
  font-size: 1.8em;
}

.button-container {
  text-align: center;
  /* display: flex; */
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  width: 150px;
  padding: 10px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: white;
  border-radius: 5px;
}

.btn-success {
  background-color: #4caf50;
  color: white;
  border: none;
}

.btn-warning {
  background-color: #ff9800;
  color: white;
  border: none;
}

.btn-secondary {
  background-color: #9e9e9e;
  color: white;
  font-size: 21px;
}

.status-btn {
  width: 100%;
  padding: 10px 0;
  font-weight: bold;
  font-size: 2em;
  margin-top: 15px;
  color: white;
  /* border: none; */
  /* border-radius: 0px; */
  display: block;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}

.status-btn.green {
  background-color: #8bc34a;
}

.status-btn.red {
  background-color: #f44336;
}

.responsive-text {
  font-size: clamp(1.8em, 2.5vw, 1.5em); /* ukuran minimum 1em, maksimum 1.5em */
  color: #1e88e5; /* warna teks, sesuaikan jika perlu */
  font-weight: 600; /* gunakan tebal font untuk penekanan */
  margin: 10px 0;
  padding: 0 10px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

video {
  width: 100%;
  height: auto;
}

.btn-cancel {
  margin-top: 10px;
  background: red;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
}

@media (max-width: 600px) {
  .container p strong {
    font-size: 16px;
  }

  h1,
  h2 {
    font-size: 1.5em;
  }

  .btn,
  .status-btn {
    font-size: 1em;
    width: 100%;
  }

  img {
    max-width: 50%;
  }
}
