* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    cursor: url(/port/src/cursor3.png), auto;
}

a {
  cursor: url(/port/src/cursor4.png), auto;
}

body::-webkit-scrollbar {
    display: none;
}

header {
  font-family: "Questrial", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;
  background-color: #CBF43B;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  color: #120030;
}

.header_pages {
  display: inline-flex;
  width: fit-content;
  justify-self: end;
  gap: 2rem;
  background-color: #120030;
  padding: 1rem 2rem;
  border-radius: 200rem;
}

.header_pages li {
  list-style-type: none;
}

.header_pages a {
  font-size: 20px;
  text-decoration: none;
  color: #CBF43B;
  padding: 10px;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.5s;
}

.header_pages a:hover {
  font-weight: 400;
  letter-spacing: 2px;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.coverHero {
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
}

.container1 {
    margin: 0 20%;
}

.container2 {
  margin-top: 60px;
}

.header {
    padding-top: 20px;
}

.layer_desc {
  padding: 0 20%;
  top: -400px;
}

.header h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 32px;
    color: #01072c;
}

.header_2 h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  color: #01072c;
  padding-bottom: 1rem;
}

.layer_desc p{
  padding-bottom: 2.5rem;

}

.description p, .description li {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #001E5C;
}

.images {
    padding: 0;
}

.images img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.bg_layer1, .bg_layer2, .bg_layer3, .bg_layer4, .bg_layer5,
.bg_layer6, .bg_layer7, .bg_layer8, .bg_layer9 {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  z-index: 1;
  opacity: 1;
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
}

.bg_layer1 {
  background-image: url(../img/hero2_port2.png);
}
.bg_layer2 {
  background-image: url(../img/hero3_port2.png);
}
.bg_layer3 {
  background-image: url(../img/hero4_port2.png);
}
.bg_layer4 {
  background-image: url(../img/hero5_port2.png);
}
.bg_layer5 {
  background-image: url(../img/hero6_port2.png);
}
.bg_layer6 {
  background-image: url(../img/hero7_port2.png);
}
.bg_layer7 {
  background-image: url(../img/hero8_port2.png);
}
.bg_layer8 {
  background-image: url(../img/hero9_port2.png);
}
.bg_layer9 {
  background-image: url(../img/hero11_port2.png);
}


.footer {
  background-color: #CBF43B;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 20px;
}

.footer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 10px;
  border: 4px solid #ddd;
}

.username {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.more-title {
  font-family: "Questrial", sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.card {
  width: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card img:hover {
  transform: scale(1.1);
}

.card a {
  cursor: zoom-in;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-profile {
  font-family: "Questrial", sans-serif;
  display: inline-block;
  padding: 10px 20px;
  color: #120030;
  text-decoration: none;
  border: 1px solid #120030;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.view-profile:hover {
  background-color: #120030;
  color: #fff;
}

.more-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.card {
  width: 190px;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.view-profile {
  display: inline-block;
  padding: 10px 20px;
  color: #120030;
  text-decoration: none;
  border: 1px solid #120030;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.view-profile:hover {
  background-color: #120030;
  color: #fff;
}

  


/* tammpilan Tablet */
@media (max-width: 768px) {

  header {
    justify-content: center; /* Memusatkan konten dalam header */
    padding: 10px 20px;
  }

  header h1 {
    display: none; /* Menyembunyikan elemen h1 */
  }

  nav {
    display: flex;
    justify-content: center; /* Memusatkan navigasi */
    align-items: center;
  }

  .header_pages {
    gap: 1rem; /* Kurangi jarak antar menu jika perlu */
    padding: 0.5rem 1rem; /* Sesuaikan padding */
  }

  .header_pages a {
    font-size: 16px; /* Kurangi ukuran font untuk tampilan kecil */
  }

    .container1 {
        margin: 0 10%;
    }

    .layer_desc {
      padding: 0 10%;
    }

    .header h3 {
        font-size: 22px;
    }
    
    .description p {
        font-size: 18px;
    }

    .card {
      width: 80px;
      height: 102px;
      border-radius: 6px;
    }
}