body {
  margin: 30px auto 0 auto;
  max-width: 720px;
  font-family: "Archivo", sans-serif;
  font-weight: 500;
}

p {
  padding: 0;
  margin: 0;
}

.hamburger {
  width: 32px;
  display: none;
  transition: transform 0.3s ease;
}

.hamburger.active {
  transform: rotate(90deg);
}

.container-logo {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-family: "Archivo", sans-serif;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.st-name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.nd-name {
  font-family: "Libre Baskerville", serif;
}

.container-main-head {
  position: relative;
  overflow: hidden;
  width: 250px;
  border: 4px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  background-image: url("/assets/sejarah-crb.jpg");
  object-fit: cover;
}

.container-main-head .inner-items {
  position: absolute;
  bottom: 20px;
  left: 10px;
  z-index: 2;
  color: white;
}

.container-main-head .inner-items h1 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
}

.container-main-head .inner-items p {
  font-size: 12px;
  margin: 5px 0;
  font-family: "Libre Baskerville", serif;
}

.head-section {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 60px;
}

.head-section-text p {
  color: grey;
  font-size: 14px;
  font-weight: 600;
}

.head-section-text p span {
  margin-left: 200px;
}

.gradient-blur {
  z-index: 5;
  inset: auto 0 0 0;
  height: 100%;
  pointer-events: none;
  position: absolute;
  z-index: 2;
  bottom: -100px;
  left: 0;
}
.gradient-blur > div,
.gradient-blur::before,
.gradient-blur::after {
  position: absolute;
  inset: 0;
}
.gradient-blur::before {
  content: "";
  z-index: 1;
  backdrop-filter: blur(0.5px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 12.5%,
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 0) 37.5%
  );
}
.gradient-blur > div:nth-of-type(1) {
  z-index: 2;
  backdrop-filter: blur(1px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 12.5%,
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 1) 37.5%,
    rgba(0, 0, 0, 0) 50%
  );
}
.gradient-blur > div:nth-of-type(2) {
  z-index: 3;
  backdrop-filter: blur(8px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 1) 37.5%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 62.5%
  );
}
.gradient-blur > div:nth-of-type(3) {
  z-index: 4;
  backdrop-filter: blur(12px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 37.5%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 1) 62.5%,
    rgba(0, 0, 0, 0) 75%
  );
}

.gradient-blur::after {
  content: "";
  z-index: 8;
  backdrop-filter: blur(64px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 87.5%,
    rgba(0, 0, 0, 1) 100%
  );
}

.container-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}
.head-kingdom-section {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 100px;
  margin-bottom: 20px;
}

.head-kingdom-section img {
  border-radius: 20px;
  border: white 4px solid;
  height: 120px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.head-kingdom-section > .head-text > h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 20px;
  padding: 0;
  color: #002251;
}

.head-kingdom-section > .head-text > p {
  font-size: 16px;
  color: rgb(57, 57, 57);
  margin: 0;
}

.item-kingdom {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
  margin-bottom: -20px;
}

.timeline {
  width: 6px;
  padding-bottom: 10px;
  border-radius: 2px;
  background-color: grey;
}

.timeline-dot {
  margin-top: 20px;
  position: sticky;
  top: 10px;
  background-color: #ffe97d;
  height: fit-content;
  padding: 5px 15px;
  border-radius: 20px;
  border: 5px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  margin-left: 10px;
  color: #002251;
  font-weight: 700;
  margin-bottom: 40px;
}

.timeline-dot::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 0;
  height: 16px;
  width: 16px;
  display: flex;
  padding: 0;
  justify-content: center;
  border: 5px solid gray;
  background-color: #373737;
  border-radius: 100%;
}

.item-text {
  display: flex;
  flex-direction: row;
  padding-bottom: 40px;
  gap: 10px;
  margin-left: 20px;
  margin-top: 30px;
  max-width: 80%;
  font-size: 14px;
  line-height: 20px;
  color: #373737;
  font-weight: 500;
}

.container-situs-box {
  margin-top: 100px;
}

.container-situs-box div {
  font-weight: 600;
  font-family: "Archivo", sans-serif;
}

.container-situs-box div h3 {
  font-size: 18px;
  text-align: center;
}

.container-situs-box div p {
  font-size: 14px;
  text-align: center;
  color: #373737;
  margin-top: -10px;
}

.container-content-situs {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 30px 0;
}

.container-content-situs > div {
  min-width: 200px;
  border-radius: 32px;
  border: 4px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  padding: 10px;
  overflow: hidden;
  min-height: 260px;
  position: relative;
}

.situs-box-item > .cont-text {
  position: absolute;
  bottom: 20px;
  left: 16px;
  color: white;
  z-index: 4;
}

.situs-box-item > .cont-text h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  margin: 10px 0px;
}

.situs-box-item > .cont-text p {
  font-size: 14px;
  font-weight: 300;
  color: white;
  margin: 0;
  text-align: left;
}

.container-content-situs > div:nth-of-type(1) {
  background-image: url("/assets/situs-masjid.jpg");
  background-size: cover;
  background-position: center;
}

.container-content-situs > div:nth-of-type(2) {
  background-image: url("/assets/situs-keraton.jpg");
  background-size: cover;
  background-position: center;
}

.container-content-situs > div:nth-of-type(3) {
  background-image: url("/assets/situs-pelabuhan.jpg");
  background-size: cover;
  background-position: center;
}

footer {
  margin-top: 100px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 100%;
  justify-content: space-between;
  padding-bottom: 40px;
}

.logo-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  font-size: 16px;
}

.logo-container img {
  width: 20px;
}

.st-name-footer,
.nd-name-footer {
  font-size: 16px;
  font-weight: 800;
}

.nd-name-footer {
  font-family: "Libre Baskerville", serif;
}

.desc-footer {
  font-size: 16px;
  font-family: "Archivo", sans-serif;
  color: gray;
  margin-top: 10px;
}

footer .container-1 {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.container-2 {
  width: 60%;
}

.container-2 h3 {
  font-weight: 600;
  font-size: 16px;
}

.container-2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container-2 ul li {
  margin-bottom: 10px;
}

.container-2 ul li a {
  text-decoration: none;
  color: rgb(84, 84, 84);
}

.container-3 {
  width: 30%;
}
.container-3 > p {
  font-size: 16px;
  font-family: "Archivo", sans-serif;
  color: rgb(39, 39, 39);
}

.container-3 h3 {
  font-weight: 600;
  font-size: 16px;
}

@media (max-width: 600px) {
  body {
    margin: 20px auto 0 auto;
    padding: 0 30px;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
  }

  .hamburger:hover {
    transform: scale(1.1);
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 8px;
    margin: 10px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9;
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
    margin: 0;
  }

  .nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
  }

  .nav-menu a:hover {
    color: #666;
  }

  .container-logo {
    flex-direction: row;
    align-items: center;
  }

  .head-section {
    flex-direction: column;
  }

  .container-kingdom .head-kingdom-section .head-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .container-kingdom .head-kingdom-section .head-text p {
    font-size: 14px;
    margin-left: 0;
  }

  .head-section-text h1 {
    font-size: 20px;
  }

  .head-section-text p {
    font-size: 14px;
    margin-left: 0;
  }

  .head-kingdom-section {
    flex-direction: column;
    align-items: center;
  }

  .item-kingdom {
    flex-direction: column;
    height: fit-content;
    gap: 0px;
    margin: 0px;
    padding: 0px;
  }

  .timeline-dot {
    width: fit-content;
    position: inherit;
    margin: 0px;
  }
  .timeline {
    display: none;
  }

  .item-kingdom .item-text {
    display: inline-block;
    margin: 0;
    margin-left: 0px;
    margin-top: 0px;
    max-width: 100%;
    padding: 20px 20px;
  }

  .item-text {
    font-size: 14px;
    line-height: 20px;
    color: #373737;
    font-weight: 500;
  }

  .container-main-head {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .container-content-situs {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .container-situs-box {
    margin-top: 20px;
  }

  .container-situs-box div h3 {
    font-size: 16px;
  }
  .container-situs-box div p {
    font-size: 14px;
  }

  footer {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .container-2 ul {
    margin-top: 20px;
  }

  footer .container-3 {
    width: 100%;
  }

  .container-3 h3 {
    margin-bottom: 20px;
  }
}
