/* Root variable */
:root {
  --box-height: 250px;
  --box-width: 180px;
  --box-radius: 8px;
  --padding: 1rem;
  --font-size-title: 1.2rem;
  --font-size-text: 0.9rem;
  --btn-height: 40px;
  --btn-padding: 0.5rem 1rem;
}

/* Header utama */
.header {
  background: url("home.png") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.header h1,
.header p {
  position: relative;
  z-index: 1;
}

.header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.header p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.header p span {
  display: inline-block;
}

.header p span::after {
  content: " ";
  white-space: pre;
}

/* Event box di dalam header */
.header .event-box {
  position: absolute;
  top: 100px;
  right: 20px;
  background-color: #b3e0f2;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  color: #062c49;
  text-align: center;
  width: 150px;
  z-index: 2;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header .event-box img {
  width: 50%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.header .event-box:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.header .event-box h3 {
  font-size: 12px;
  margin-bottom: 0.3rem;
}

.header .event-box p {
  font-size: 10px;
  margin-bottom: 0.5rem;
}

.header .event-box .btn-event {
  height: 25px;
  padding: 4px 8px;
  background-color: #00aaff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 10px;
  cursor: pointer;
  text-transform: uppercase;
}

.header .event-box .btn-event:hover {
  background-color: #008ecc;
}
@media (max-width: 1200px) {
  .header .event-box {
    top: 120px;
    right: 30px;
    width: 200px;
  }
}

@media (max-width: 991px) {
  .header .event-box {
    top: 110px;
    right: 20px;
    width: 190px;
  }
}

@media (max-width: 786px) {
  .header .event-box {
    top: 90px;
    right: 15px;
    width: 180px;
  }
}

@media (max-width: 617px) {
  .header .event-box {
    top: 80px;
    right: 10px;
    width: 170px;
  }

  .header .event-box h3 {
    font-size: 1rem;
  }

  .header .event-box p {
    font-size: 0.8rem;
  }

  .header .event-box .btn-event {
    font-size: 0.8rem;
    height: 35px;
  }
}

@media (max-width: 450px) {
  .header .event-box {
    top: 70px;
    right: 5px;
    width: 160px;
  }

  .header .event-box img {
    width: 70%;
  }

  .header .event-box h3 {
    font-size: 0.9rem;
  }

  .header .event-box p {
    font-size: 0.75rem;
  }

  .header .event-box .btn-event {
    font-size: 0.75rem;
    height: 32px;
  }
}
