/**Base**/

.header {
  background-color: #5474fc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 105px;
  padding-right: 90px;
  color: white;
  font-size: 30.5px;
  flex-wrap: wrap;
  height: 100px;
}

.header #horizontal-menu {
  display: flex;
  gap: 95px;
}

.header a, .header a:hover, .button:hover {
  color: white;
  text-decoration: none !important;
}

.btn-daftar {
  --bw: 4px;  /* border-width */
  width: 170px;
  height: 50px;
  font-size: 30px;
  font-weight: 700;
  color: white;
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  font-family: 'OpenSauceOne', sans-serif;

  background:
    linear-gradient(to bottom, #ffb174 0%, #d67a4c 100%) border-box,
    linear-gradient(to bottom, #ffb174 0%, #f99859 100%) padding-box;

  border: var(--bw) solid transparent;  

  /* inset shadows for the sunken look */
  box-shadow:
    inset 2px 2px 3px rgba(153, 74, 36, 0.6),    /* dark inner bottom-right */
    inset -2px -2px 3px rgba(255, 224, 190, 0.6), /* warm highlight top-left */
    0 2px 4px rgba(0, 0, 0, 0.2);                /* gentle outer lift */
  transition: all 0.3s ease;
}

.btn-daftar:hover {
  box-shadow:
    inset 2px 2px 3px rgba(153, 74, 36, 0.65),
    inset -2px -2px 2px rgba(255, 224, 250, 0.6),
    0 4px 8px rgba(0, 0, 0, 0.25);
}
 
/**Responsive CSS**/

/* === ≤ 1700px === */
@media (max-width: 1700px) {
  .header {
    padding-left: 80px;
    padding-right: 70px;
    font-size: 28px;
  }

  .header div:first-child {
    gap: 80px;
  }
}


/* === ≤ 1500px === */
@media (max-width: 1500px) {
  .header {
    padding-left: 70px;
    padding-right: 60px;
    font-size: 26px;
  }

  .header div:first-child {
    gap: 65px;
  }
}


/* === ≤ 1366px === */
@media (max-width: 1366px) {
  .header {
    padding-left: 60px;
    padding-right: 50px;
    font-size: 24px;
  }

  .header div:first-child {
    gap: 55px;
  }
}


/* === ≤ 1280px === */
@media (max-width: 1280px) {
  .header {
    padding-left: 40px;
    padding-right: 40px;
    font-size: 22px;
  }

  .header div:first-child {
    gap: 40px;
  }
}


/* === ≤ 992px === */
@media (max-width: 992px) {
  .header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 30px;
    gap: 15px;
    font-size: 20px;
    text-align: center;
  }

  .header div {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn-daftar {
    margin-top: 10px;
    font-size: 22px;
    width: 160px;
    height: 45px;
  }
}


/* === ≤ 768px === */
@media (max-width: 768px) {
  .header {
    font-size: 18px;
  }

  .btn-daftar {
    font-size: 20px;
    width: 150px;
    height: 42px;
  }
}


/* === ≤ 360px === */
@media (max-width: 360px) {
  .header {
    font-size: 16px;
    padding: 15px 20px;
    gap: 12px;
  }

  .header div {
    gap: 8px;
  }

  .btn-daftar {
    font-size: 18px;
    width: 140px;
    height: 40px;
  }
}


/* Default: hide hamburger */
.menu-toggle {
  display: none;
  font-size: 36px;
  cursor: pointer;
  color: white;
}

.menu-items {
    display: none;
}

/* Hide menu items on small screen initially */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .menu-items {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background-color: #5474fc;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    width: 25%;
  }

  .menu-items.show {
    display: flex;
  }
  
  #horizontal-menu {
    display: none !important;
  }

  .header {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    gap: 10px;
  }

  .btn-container {
    margin-left: auto;
    margin-top: 0;
    align-self: flex-end;
  }
}

@media (max-width: 640px) {
    .menu-items{
        width: 35%;
    }
}


/* Max-width: 1700px */
@media (max-width: 1700px) {
  .btn-daftar {
    width: 160px;
  }
}

/* Max-width: 1500px */
@media (max-width: 1500px) {
  .btn-daftar {
    width: 150px;
  }
}

/* Max-width: 1366px */
@media (max-width: 1366px) {
  .btn-daftar {
    width: 140px;
  }
}

/* Max-width: 1280px */
@media (max-width: 1280px) {
  .btn-daftar {
    width: 130px;
  }
}

/* Max-width: 992px */
@media (max-width: 992px) {
  .btn-daftar {
    width: 120px;
  }
}

/* Max-width: 768px */
@media (max-width: 768px) {
  .btn-daftar {
    width: 110px;
  }
}

/* Max-width: 500px */
@media (max-width: 500px) {
  .btn-daftar {
    width: 100px;
  }
}

/* Max-width: 360px */
@media (max-width: 360px) {
  .btn-daftar {
    width: 90px;
  }
}

/* Max-width: 1700px */
@media (max-width: 1700px) {
  .btn-daftar {
    font-size: 28px;
  }
}

/* Max-width: 1500px */
@media (max-width: 1500px) {
  .btn-daftar {
    font-size: 26px;
  }
}

/* Max-width: 1366px */
@media (max-width: 1366px) {
  .btn-daftar {
    font-size: 24px;
  }
}

/* Max-width: 1280px */
@media (max-width: 1280px) {
  .btn-daftar {
    font-size: 22px;
  }
}

/* Max-width: 992px */
@media (max-width: 992px) {
  .btn-daftar {
    font-size: 20px;
  }
}

/* Max-width: 768px */
@media (max-width: 768px) {
  .btn-daftar {
    font-size: 18px;
  }
}

/* Max-width: 500px */
@media (max-width: 500px) {
  .btn-daftar {
    font-size: 16px;
  }
}
