/* Imported CSS */
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,900");
/* End Imported CSS*/

body {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  text-decoration: none;
  background-color: #292828;
  background-size: cover;
  height: 3000vh;
}
a {
  text-decoration: none;
  color: currentColor; /* Warna teks mengikuti warna teks di elemen container */
}
/* Navbar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100; /* Membuat navigasi berada di atas konten lain */
  background-color: black;
  width: 100vw;
  font-size: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 3%;
  border-bottom: 1px solid #cac7c7;
}
.nav .nav-menu a {
  margin: 0 0.7rem;
  font-size: 65%;
  display: inline-block;
}
.nav .nav-menu a:hover {
  color: #a89595;
}
.nav .nav-menu a::after {
  content: "";
  display: block;
  border-bottom: 0.1rem solid #3d3b3b;
  transform: scaleX(0);
  transition: 0.3s;
}
.nav .nav-menu a:hover::after {
  transform: scaleX(0.7);
}

.nav .nav-menu a:hover::after {
  transform: scaleX(0, 6);
}
#icon-menu {
  display: none;
}
/* Hamburger Menu */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.line {
  width: 25px;
  height: 4px;
  background-color: #ffffff;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.change .line-1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.change .line-2 {
  opacity: 0;
}

.change .line-3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Cari */
.cari {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 99;
  display: none;
  transition: 1500ms;
}

.cari .container-cari {
  width: 80%;
  z-index: 100;
  background-color: rgba(2, 2, 2, 0.6);
  padding: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #333;
  border-radius: 20px;
}
.cari .container-cari .close {
  border-radius: 50%;
  background-color: #b60808;
  color: #ffffff;
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  height: 1.5rem;
  width: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* bg-hex */
.bghex-container {
  display: flex;
  justify-content: space-between;
  margin: 0;
  position: absolute;
  height: 101vh;
  width: 100%;
  top: 3rem;
  right: 0;
  z-index: 3;
}

.bg-40 {
  width: 60%; /* Lebar 40% */
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-hex {
  width: 40%; /* Lebar 40% */
  background-image: url("../img/bg-hex.png");
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Section1 */
.section1 {
  padding: 10px;
  margin-top: 55px;
  min-height: 99vh;
  align-items: center;
  display: flex;
  background-image: url("../img/kota.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.section1 .konten {
  position: absolute;
  top: 0;
  margin-top: 2vh;
  z-index: 4;
}

.judul {
  position: absolute;
  top: 50%;
  text-align: center;
}

/* Headline */
.cd-title {
  position: relative;
  height: 160px;
  line-height: 230px;
  text-align: center;
}
.cd-title h1 {
  font-size: 2.4rem;
  font-weight: 700;
}
@media only screen and (min-width: 768px) {
  .cd-title {
    line-height: 250px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-title {
    height: 200px;
    line-height: 300px;
  }
  .cd-title h1 {
    font-size: 3rem;
  }
}

.cd-intro {
  width: 90%;
  max-width: 768px;
  text-align: center;
}

.cd-intro {
  margin: 4em auto;
}
@media only screen and (min-width: 768px) {
  .cd-intro {
    margin: 5em auto;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-intro {
    margin: 6em auto;
  }
}

.cd-headline {
  font-size: 3rem;
  line-height: 1.2;
}
@media only screen and (min-width: 768px) {
  .cd-headline {
    font-size: 4.4rem;
    font-weight: 300;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-headline {
    font-size: 6rem;
  }
}

.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}
.cd-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
}
.cd-words-wrapper b.is-visible {
  position: relative;
}
.no-js .cd-words-wrapper b {
  opacity: 0;
}
.no-js .cd-words-wrapper b.is-visible {
  opacity: 1;
}

.cd-headline.clip span {
  display: inline-block;
  padding: 0.2em 0;
}
.cd-headline.clip .cd-words-wrapper {
  overflow: hidden;
  vertical-align: top;
}
.cd-headline.clip .cd-words-wrapper::after {
  /* line */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: #aebcb9;
}
.cd-headline.clip b {
  opacity: 0;
}
.cd-headline.clip b.is-visible {
  opacity: 1;
}

/* Headline End  */
/* App */

.app {
  background-color: #a8a4a4;
  border-radius: 15px;
  height: 75%;
  width: 30%;
  position: absolute;
  z-index: 4;
  top: 15%;
  right: 3%;
  display: flex;
  padding: 1.5rem;
}
.app .container-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.app .icon-menu {
  background-color: rgba(34, 34, 34, 0.3);
  border-radius: 50%;
  height: 5rem;
  width: 5rem;
  font-size: 300%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.app .icon-menu:hover {
  background-color: #000000;
}
.app .text-icon {
  font-size: 70%;
  margin-top: 7px;
  color: #000000;
}
/* tampilan pada perangkat mobile */
@media (max-width: 1210px) {
  .app {
    height: 50%;
    width: 95%;
    top: 30%;
  }
}
/* App End */ /* footer */ footer {
  background-color: #f5f5f5; /* Ganti warna footer menjadi biru */
  color: #302c2c;
  text-align: center;
  padding: 20px;
}
/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  .bg-30 {
    display: none;
  }

  .bg-hex {
    width: 60%;
  }
}
/* Tablet */
@media (max-width: 1210px) {
  .nav .nav-menu {
    position: absolute;
    right: -100%;
    top: 100%;
    height: 100vh;
    width: 85%;
    background-color: rgb(240, 235, 235);
    transition: 0.5s;
    color: #302c2c;
  }
  .nav .nav-menu.aktif {
    right: 0;
  }
  .nav .nav-menu a {
    display: block;
    margin: 1rem;
  }
  .nav .nav-menu a::after {
    transform-origin: 0 0;
  }
  .nav .nav-menu a:hover:after {
    transform: scaleX(0.2);
  }
  #icon-menu {
    display: block;
  }
  .bg-40 {
    display: none;
  }
  .bg-hex {
    width: 100%;
  }
}
/* HP */
@media (max-width: 480px) {
  .app .icon-menu {
    height: 4rem;
    width: 4rem;
    font-size: 200%;
  }
  .cd-headline {
    font-size: 2rem;
}
