* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
  scroll-behavior: smooth;
}

header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
  width: 80%;
  margin-inline: auto;
}

.navbar {
  padding: 20px 0 20px 0;
  position: fixed;
  width: 100%;
  transition: all 0.3s ease;
}

.navbar.scrolling-active {
  background-color: #f6640f;
  padding: 30px 0px 30px 0px;
}
.navbar .box-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .box-navbar .logo h1 {
  color: white;
  font-size: 24px;
}
.navbar .box-navbar .menu {
  display: flex;
  column-gap: 20px;
}

.navbar .box-navbar .menu li {
  list-style-type: none;
}

.navbar .box-navbar .menu li a {
  text-decoration: none;
  color: white;
  padding: 10px 15px 10px 15px;
}

.navbar .box-navbar .menu .active a {
  background-color: #f6640f;
}

.navbar .box-navbar .menu li a:hover {
  background-color: #f6640f;
  text-replace: all 0.3s ease;
}

.navbar {
  background-color: #f15800;
  transition: background-color 0.3s ease;
}

.menu-bar {
  color: blue;
  font-size: 24px;
  display: none;
}

/* navbar sembunyi saat discroll */
.hide-navbar {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.flipbook .hard {
  background: hsl(6, 63%, 46%) !important;
  color: #fff;
  font-weight: bold;
  border: none;
}

.flipbook .hard small {
  font-style: italic;
  font-weight: lighter;
  opacity: 0.7;
  font-size: 14px;
}

.flipbook .page {
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 0px solid rgba(0, 0, 0, 0.11);
}

.page img {
  width: 100%;
  object-fit: fill;
}

.flipbook {
  margin: 0 auto;
  width: 1050px;
  height: 740px;
}

.hero {
  padding-top: 120px; /* jarak dari navbar fixed */
  display: flex;
  justify-content: center; /* posisi tengah horizontal */
}

.box-hero {
  display: flex;
  justify-content: center;
}

.box-hero .box {
  display: flex;
  justify-content: center;
}

.footer {
  background-color: #f15800;
  color: white;
  margin-top: 60px;
  padding: 40px 0 20px 0;
}

.footer-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-credit {
  text-align: center;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}

.footer-credit p {
  font-size: 13px;
  opacity: 0.8;
}

@media screen and (max-width: 990px) {
  .menu-bar {
    display: block;
  }

  .navbar .box-navbar .menu {
    position: absolute;
    flex-direction: column;
    width: 100%;
    height: 200px;
    row-gap: 20px;
    justify-content: center;
    align-items: center;
    top: 70px;
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    transition: all 0.3s ease;
    background-color: #f6640f;
  }
  .navbar .box-navbar .menu.menu-active {
    top: 80px;
    opacity: 1;
    border-top: 1px solid white;
  }
}
