:root {
  --main-bg-color: #ffffff;
  --side-bg-color: #a61f1f;
  --bg: #3a4156;
  --font-gs: "Google Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Inter", "Google Sans", sans-serif;
  background-color: var(--main-bg-color);
  color: #000000;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2%;
  background-color: rgba(255, 255, 255, 0);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 9vh;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: fill-nav linear both;
  animation-timeline: scroll();
  animation-range: 0 70vh;
}

@keyframes fill-nav {
  to {
    background-color: var(--bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(100px);
  }
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .navbar {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0);
  }
}

.navbar .nav-left {
  display: flex;
  align-items: left;
  gap: 1rem;
}

.navbar .logo-dasa-img {
  width: 3rem;
  height: auto;
}

.navbar .nav-name {
  flex-direction: column;
  padding-top: 0.6rem;
}

.navbar .nav-name .nav-logo {
  font-size: 1rem;
  font-weight: 900;
  color: #a61f1f;
}

.navbar .nav-name .nav-tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

.navbar .nav-center {
  display: flex;
  gap: 10rem;
  align-items: center;
}

.navbar .nav-center li {
  position: relative;
  transition-duration: 500ms;
}

.navbar .nav-center a {
  color: #adadad;
  font-size: 1rem;
  font-weight: 500;
  transition-duration: 300ms;
}

.navbar .nav-center a:hover {
  color: var(--main-bg-color);
}

.navbar .nav-right {
  display: none;
  color: #ffffff;
  cursor: pointer;
}

.navbar .nav-center .mega_box {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 50vw;
  background-color: hsla(224, 21%, 21%, 0.884);
  padding: 3rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 9998;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .mega_box {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: hsla(224, 21%, 21%, 0.623);
  }
}

.navbar .nav-center .mega_box::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #2a3042 transparent;
}

.navbar .nav-center li:hover .mega_box {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navbar .nav-center .mega_box .content {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.navbar .nav-center .mega_box .content ul {
  width: 30%;
}

.navbar .nav-center .content .mega_links li img {
  width: 40%;
  height: 7vh;
  padding: 1rem;
}

.navbar .nav-center .content .mega_links li {
  width: 100%;
  margin: 1rem 0;
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #666666;
}

.navbar .nav-center .content .mega_links li .text {
  display: flex;
  flex-direction: column;
}

.navbar .nav-center .content .mega_links li a {
  display: block;
  font-size: 1.2rem;
  color: #adadad;
}

.navbar .nav-center .content .mega_links li p {
  font-family: var(--font-gs);
  font-size: 0.9rem;
  width: 80%;
  color: #adadad;
  text-align: justify;
  padding-bottom: 1rem;
}

.navbar .nav-center .content .mega_links a:hover {
  color: #ffffff;
}

.navbar .nav-right span {
  color: white;
  display: inline-block;
  cursor: pointer;
  transition-duration: 300ms;
}

.beranda .banner-page {
  min-height: 100vh;
  display: flex;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../../Asset/24.webp);
  justify-content: center;
  align-items: center;
  text-align: left;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 0 10%;
}

.beranda .banner-page .banner-content {
  width: 100%;
  max-width: auto;
  position: relative;
  color: #ffffff;
}

.beranda .banner-page::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.beranda .banner-page .banner-content p {
  font-size: 1rem;
  font-weight: 250;
  color: #ffffff;
}

.beranda .banner-page .banner-content h1 {
  font-size: clamp(6rem, 6vw, 6rem);
  font-weight: 900;
  color: #ffffff;
}

.beranda .banner-page .banner-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
}

.beranda .red-pembatasbanner1 {
  border: none;
  height: 8px;
  background-color: var(--side-bg-color);
  width: 100%;
}

.beranda .bagian-awal {
  height: auto;
  padding: 8rem 15%;
}

.beranda .bagian-awal .decor-ba {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.beranda .bagian-awal .decor-ba .atas {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5rem;
  padding-bottom: 5rem;
}

.beranda .bagian-awal .decor-ba .atas header {
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 900;
  text-align: center;
}

.beranda .bagian-awal .decor-ba .atas .container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.beranda .bagian-awal .decor-ba .atas .container .box {
  width: 100%;
  height: auto;
  background-color: var(--bg);
  padding: 2rem;
  transition: 300ms;
  border-radius: 30px;
  box-shadow: 2px 3px 30px hsla(0, 0%, 0%, 0.37);
}

.beranda .bagian-awal .decor-ba .atas .container .box:hover {
  transform: scale(1.03);
}

.beranda .bagian-awal .decor-ba .atas .container .box .title {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding-bottom: 1rem;
}

.beranda .bagian-awal .decor-ba .atas .container .box .title span,
h2 {
  color: #ffffff;
}

.beranda .bagian-awal .decor-ba .atas .container .box .title h2 {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 800;
}

.beranda .bagian-awal .decor-ba .atas .container .box p {
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 400;
  font-family: var(--font-gs);
  text-align: justify;
  color: #ffffff;
}

.beranda .bagian-awal .decor-ba .tengah {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 5rem;
}

.beranda .bagian-awal .decor-ba .tengah .swiper {
  min-width: 35vw;
  max-height: 38vh;
  border-radius: 30px;
}

.beranda
  .bagian-awal
  .decor-ba
  .tengah
  .swiper
  .swiper-wrapper
  .swiper-slide
  img {
  max-width: 35vw;
  height: auto;
  object-fit: cover;
}

.beranda
  .bagian-awal
  .decor-ba
  .tengah
  .swiper
  .swiper-wrapper
  .swiper-button-prev {
  color: #00000000;
}

.beranda
  .bagian-awal
  .decor-ba
  .tengah
  .swiper
  .swiper-wrapper
  .swiper-button-next {
  color: #00000000;
}

.beranda .bagian-awal .decor-ba .tengah .desc h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 30px;
  padding-bottom: 1rem;
}

.beranda .bagian-awal .decor-ba .tengah .desc p {
  font-family: var(--font-gs);
  text-align: justify;
}

.beranda .bagian-awal .decor-ba .bawah {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.beranda .bagian-awal .decor-ba .bawah .title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.beranda .bagian-awal .decor-ba .bawah .title h1 {
  font-size: clamp(2rem, 5vw, 2.5vw);
  font-weight: 800;
}

.beranda .bagian-awal .decor-ba .bawah .title p {
  font-family: var(--font-gs);
}

#map {
  min-width: 50vw;
  min-height: 60vh;
  border-radius: 12px;
  overflow: hidden;
  transition-duration: 300ms;
  box-shadow: 1px 1px 10px hsla(0, 0%, 0%, 0.233);
}

#map:hover {
  box-shadow: 1px 1px 15px hsla(0, 0%, 0%, 0.4);
}

.beranda .red-pembatasbanner2 {
  box-sizing: border-box;
  width: 100%;
  height: 9px;
  position: absolute;
  right: 0;
  background-color: #a61f1f;
}

.beranda .bagian-akhir {
  height: auto;
  background-color: var(--bg);
}

.beranda .bagian-akhir .nav-footer {
  width: 100%;
  display: flex;
  justify-content: right;
  padding: 3rem 15rem;
}

.beranda .bagian-akhir .nav-footer ul {
  display: flex;
  flex-direction: row;
  gap: 20rem;
}

.beranda .bagian-akhir .nav-footer ul li {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #ffffff;
}

.beranda .bagian-akhir .footer-container {
  display: flex;
  flex-direction: row;
  padding-bottom: 4rem;
}

.beranda .bagian-akhir .footer-container .footer-left {
  display: flex;
  justify-content: left;
  width: 30%;
  padding: 0 5rem;
}

.beranda .bagian-akhir .footer-container .footer-left .box {
  max-width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.beranda .bagian-akhir .footer-container .footer-left .box .grid-logo {
  display: flex;
  flex-direction: row;
  padding-bottom: 1rem;
}

.beranda .bagian-akhir .footer-container .footer-left .box .logo-dasa-img {
  min-width: 4vw;
  min-height: 3vh;
  object-fit: cover;
}

.beranda .bagian-akhir .footer-container .footer-left .box .address {
  display: flex;
}

.beranda .bagian-akhir .footer-container .footer-left .box .address p {
  font-size: clamp(0.7rem, 3vw, 0.9rem);
  font-weight: 300;
  color: #ffffff;
  padding-right: 30%;
}

.beranda .bagian-akhir .footer-container .footer-center {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 60%;
}

.beranda .bagian-akhir .footer-container .footer-center .box {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-direction: row;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box1 {
  flex: 1.5;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box1 ul {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box1 ul li a {
  font-size: clamp(0.5rem, 3vw, 1rem);
  font-weight: 300;
  color: #ffffff;
}

.beranda
  .bagian-akhir
  .footer-container
  .footer-center
  .box
  .box1
  ul
  li
  a:hover {
  color: #b4b4b4;
  text-decoration: underline;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box2 {
  flex: 0.7;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box2 ul {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box2 ul li a {
  font-size: clamp(0.5rem, 3vw, 1rem);
  font-weight: 300;
  color: #ffffff;
}

.beranda
  .bagian-akhir
  .footer-container
  .footer-center
  .box
  .box2
  ul
  li
  a:hover {
  color: #b4b4b4;
  text-decoration: underline;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box2-1 {
  flex: 0.9;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box2-1 ul {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box2-1 ul li a {
  font-size: clamp(0.5rem, 3wv, 1rem);
  font-weight: 300;
  color: #ffffff;
}

.beranda
  .bagian-akhir
  .footer-container
  .footer-center
  .box
  .box2-1
  ul
  li
  a:hover {
  color: #b4b4b4;
  text-decoration: underline;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box3 {
  flex: 1;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box3 ul {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.beranda .bagian-akhir .footer-container .footer-center .box .box3 ul li a {
  font-size: clamp(0.5rem, 3vw, 1rem);
  font-weight: 300;
  color: #ffffff;
}

.beranda
  .bagian-akhir
  .footer-container
  .footer-center
  .box
  .box3
  ul
  li
  a:hover {
  color: #b4b4b4;
  text-decoration: underline;
}

.beranda .bagian-akhir .footer-bawah {
  display: flex;
  justify-content: center;
}

.beranda .bagian-akhir .footer-bawah .decor-fb {
  display: flex;
  background-color: #2a3042;
  width: 100%;
  min-height: 5vh;
  text-align: left;
  padding: 1.5rem 4rem;
  box-shadow: 2px -1px 30px hsla(0, 0%, 0%, 0.37);
}

.beranda .bagian-akhir .footer-bawah .decor-fb p {
  font-size: clamp(0.3rem, 3vw, 0.9rem);
  font-weight: 200;
  color: #ffffff;
}

.autoShow.played {
  animation: text-appear-y 0.8s ease-out forwards;
}

@keyframes text-appear-y {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.autoShow-x {
  opacity: 0;
}

.autoShow-x.played {
  animation: text-appear-x 0.8s ease-out forwards;
}

@keyframes text-appear-x {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.autoShow-x2 {
  opacity: 0;
}

.autoShow-x2.played {
  animation: text-appear-x2 0.8s ease-out forwards;
}

@keyframes text-appear-x2 {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 87.5em) {
  html {
    font-size: 75%;
  }

  #map {
    min-height: 50vh;
  }
}

@media (max-width: 75em) {
  html {
    font-size: 80%;
  }

  .navbar .nav-center {
    gap: 1.5rem;
  }

  .beranda .bagian-akhir .nav-footer ul {
    gap: 11rem;
  }
}

@media (max-width: 62em) {
  html {
    font-size: 90%;
  }

  .navbar {
    animation: none;
    animation-timeline: none;
    background-color: var(--bg);
  }

  .navbar .nav-right {
    display: block;
  }

  .navbar .nav-center {
    position: fixed;
    top: 9vh;
    right: 0;
    transform: translateX(100%);
    width: 70%;
    height: calc(100vh - 9vh);
    background-color: #2a3042;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    transition: 0.4s ease;
    overflow-y: auto;
    visibility: hidden;
  }

  .navbar .nav-center.active {
    transform: translateX(0);
    visibility: visible;
  }

  .navbar .nav-center li {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #666666;
  }

  .navbar .nav-center .mega_box {
    display: none;
  }

  .beranda .bagian-awal .decor-ba .bawah .title p {
    text-align: center;
    padding: 0 10%;
  }

  .beranda .bagian-akhir .nav-footer {
    padding: 3rem 5rem;
  }

  .beranda .bagian-akhir .nav-footer ul {
    gap: 7rem;
  }

  .beranda .bagian-akhir .footer-container .footer-left {
    padding: 0 2rem;
  }

  .beranda .bagian-akhir .footer-container .footer-left .box .logo-dasa-img {
    min-width: 7vw;
  }

  .beranda .bagian-akhir .footer-container .footer-left .box .address p {
    padding-right: 0;
  }
}

@media (max-width: 48em) {
  html {
    font-size: 80%;
  }

  .beranda .bagian-awal .decor-ba .atas .container {
    flex-direction: column;
  }

  .beranda .bagian-awal .decor-ba .tengah {
    flex-direction: column;
  }

  .beranda .bagian-awal .decor-ba .tengah .swiper {
    width: 70vw;
    height: 28vh;
  }

  .beranda
    .bagian-awal
    .decor-ba
    .tengah
    .swiper
    .swiper-wrapper
    .swiper-slide
    img {
    max-width: 70vw;
  }

  .beranda .bagian-awal .decor-ba .tengah .desc p {
    text-align-last: center;
  }

  #map {
    min-height: 40vh;
  }

  .beranda .bagian-akhir .nav-footer {
    padding: 3rem 2rem;
  }

  .beranda .bagian-akhir .nav-footer ul {
    gap: 6rem;
  }
}

@media (max-width: 36em) {
  html {
    font-size: 62.5%;
  }

  .navbar {
    height: 7vh;
  }

  .navbar .nav-right {
    display: block;
  }

  .navbar .nav-center {
    position: fixed;
    top: 7vh;
    right: 0;
    transform: translateX(100%);
    width: 70%;
    height: calc(100vh - 9vh);
    background-color: #2a3042;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    transition: 0.4s ease;
    overflow-y: auto;
    visibility: hidden;
  }

  .navbar .nav-center.active {
    right: 0;
  }

  .navbar .nav-center li {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #666666;
  }

  .navbar .nav-ccenter .mega_box {
    display: none;
  }

  .beranda .bagian-akhir .nav-footer ul {
    display: none;
  }

  .beranda .bagian-akhir .footer-container .footer-center {
    flex-direction: column;
  }

  .beranda .bagian-akhir .footer-container .footer-left {
    width: 40%;
    padding: 0 1rem;
    padding-top: 10rem;
  }

  .beranda .bagian-akhir .footer-container .footer-left .box .logo-dasa-img {
    min-width: 7vw;
    min-height: 2vh;
  }

  .beranda .bagian-akhir .footer-container .footer-left .box .address p {
    padding-right: 0;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box {
    flex-direction: column;
    text-align: right;
    padding: 0;
    padding-right: 1.5rem;
    gap: 1.2rem;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box1 ul {
    gap: 0.3rem;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box1 ul li a {
    font-size: 1rem;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box2 ul {
    gap: 0;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box2 ul li a {
    font-size: 1rem;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box2-1 ul {
    gap: 0;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box2-1 ul li a {
    font-size: 1rem;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box3 ul {
    gap: 0;
  }

  .beranda .bagian-akhir .footer-container .footer-center .box .box3 ul li a {
    font-size: 1rem;
  }
}

@media (max-width: 22.5em) {
  .beranda .bagian-awal .decor-ba .tengah .swiper {
    height: 15vh;
  }

  .beranda .bagian-awal .decor-ba .tengah .desc h1 {
    line-height: 20px;
  }

  .beranda .bagian-awal .decor-ba .bawah .title h1 {
    text-align: center;
  }
}
