.menu {
    display: none;
}

.menu.active {
    display: block;
}

.menu a {

    font-size: 25px;
    font-weight: bold;
    padding-left: 50px;
}

.menu a:hover {
    text-decoration: underline;
}

.news {
    margin-top: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pastikan body tidak ada margin yang mengganggu */
body {
    overflow-x: hidden;
    width: 100vw;
}

/* Kontainer utama */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
}

/* Untuk tampilan layar besar (desktop) */
@media (min-width: 1024px) {
    .container {
        flex-direction: row;
        text-align: left;
    }
}

/* Bagian teks */
.text-container {
    flex: 1;
    margin-left: 50px;
    color: rgb(31, 31, 31);
}

.text-container h2 {
    /* Tailwind text-gray-500 */
    font-size: 2rem;
    /* Tailwind text-lg */
}

.text-container h1 {
    font-size: 5rem;
    /* Tailwind text-5xl */
    font-weight: bold;
    margin-top: 0.5rem;
}

.text-container p {
    font-size: 2rem;
    /* Tailwind text-2xl */
    font-weight: bold;
    margin-top: 1rem;
}

/* Style dasar untuk tombol link */
.btn-link {
    text-decoration: none; /* Hilangkan underline */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 9999px; /* Membuat tombol lebih bulat */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-link i {
    color: white;
    pointer-events: none; /* Ikon tidak mengganggu hover */
}

/* Hover effect untuk tombol Windows */
.btn-link.bg-blue-600:hover {
    background-color: #2563eb; /* Warna biru lebih gelap saat hover */
    transform: scale(1.05); /* Tambahkan efek sedikit membesar */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Hover effect untuk tombol macOS */
.btn-link.bg-black:hover {
    background-color: #333333; /* Warna abu-abu gelap saat hover */
    transform: scale(1.05);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Pastikan ikon dalam tombol tidak mengganggu hover */
.btn-link i {
    pointer-events: none;
}



/* Bagian gambar */
.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.image-container img {
    width: 100%;
    max-width: 64rem;
    /* Tailwind max-w-4xl */
    height: auto;
}

/* Hapus margin atas di desktop */
@media (min-width: 1024px) {
    .image-container {
        margin-top: 0;
    }
}

/* News section dengan animasi */
.news-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
}

/* Background kuning dengan animasi */
.news-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #cef542;
    transition: width 1.5s ease-in-out;
}

/* Ketika bagian terlihat, background akan penuh */
.news-section.show-bg::before {
    width: 100%;
}

@keyframes remove-gradient {
    0% {
        background: linear-gradient(to right, rgba(255, 255, 0, 1) 60%, rgba(255, 255, 0, 0) 100%);
    }

    100% {
        background: rgba(255, 255, 0, 1);
        height: 100vh;
    }
}

/* Contoh ----------- */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-right: 0;
    gap: 20px; /* Jarak antara teks dan gambar */
    background-color: #f9f9f9;
  }
  
  /* Saat layar besar, atur agar teks dan gambar berada dalam satu baris */
  @media (min-width: 768px) {
    .content-wrapper {
      flex-direction: row;
      align-items: center;
    }
  }
  
  .text-section {
    flex: 1; /* Membagi ruang dengan proporsi yang baik */
    text-align: left;
    max-width: 600px;
    padding: 20px;
  }
  
  .text-section h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .text-section p {
    font-size: 18px;
  }
  
  .image-section {
    flex: 1; /* Membiarkan gambar menempati ruang yang tersisa */
    display: flex;
    justify-content: flex-end;
  }
  
  .image-section img {
    max-width: 80%;
    height: auto;
    display: block;
  }
    

/* SPEC-------------- */

.spec-selection{
    min-height: 100vh; /* Pastikan section memiliki tinggi minimal satu layar penuh */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Pusatkan isi */
    padding: 20px 0; /* Beri ruang atas dan bawah */
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .spec-selection {
        min-height: auto; /* Hindari terlalu tinggi di layar kecil */
        padding-bottom: 120px;
    }
}

.container-custom {
    width: 100%;
    max-width: 800px;
    min-height: 100vh; /* Gunakan min-height agar tetap responsif */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Pusatkan secara vertikal */
    align-items: center; /* Pusatkan secara horizontal */
    padding: 20px;
    margin-top: 20px;
    box-sizing: border-box;
    text-align: center; /* Untuk memastikan teks di tengah */
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon {
    font-size: 24px;
    cursor: pointer;
}
.title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 20px;
}
.button-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.btn {
    padding: 8px 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    gap: 8px;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
}
.download-link {
    color: #3b82f6;
    display: block;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 60px;
}
.card {
    width: 100%;
    max-width: 800px;
    padding: 32px;
    background-color: #f3f4f6;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Grid menjadi full height */
.grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Agar konten di tengah */
    gap: 16px;
    width: 100%;
}

/* Untuk layar besar, gunakan grid */
@media (min-width: 768px) {
    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start; /* Pastikan konten tetap rapi */
    }
}

.specs {
    text-align: center;
}

.spec-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.specs p {
    margin-top: 15px;
    line-height: 1.6; /* Jarak antar baris */
    text-align: left;
}
.spec-icon {
    font-size: 50px; /* Ukuran ikon */
    color: black; /* Warna hitam */
}

  

/* Diagonal ---------- */
.diagonal-shape {
    position: absolute;
    left: -4rem;
    /* -16 dalam Tailwind */
    top: -4rem;
    /* -16 dalam Tailwind */
    width: 16rem;
    /* 64 dalam Tailwind */
    height: 16rem;
    /* 64 dalam Tailwind */
    background: linear-gradient(to right, #cef542, #b0f542);
    /* from-cyan-500 to-blue-500 */
    transform: rotate(45deg);
}

/* VIDEO -------------- */
.video-container {
    z-index: 9999;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 10px;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Container untuk iframe (YouTube) */
.iframe-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding-bottom: 56.25%;
    /* Rasio aspek 16:9 */
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    header {
        font-size: 20px;
        padding: 15px;
    }

    .video-container,
    .iframe-container {
        padding: 0 10px;
    }
}

/* FOOTER */

/* Mengatur seluruh bagian dalam satu layar penuh */
.full-page {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Bagian warna */
.dark-bg {
    background-color: #222;
    /* Sesuaikan warna latar */
    padding: 62px;
    text-align: center;
    color: white;
}

.yellow-bg {
    background-color: #cef542;
    position: relative;
    /* Agar gambar bisa diposisikan absolut */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    height: 60vh;
    /* Pastikan tinggi cukup besar */
    overflow: hidden;
    /* Mencegah scroll berlebih */
}

.light-bg {
    background-color: #f9f9f9;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Container utama agar tidak di tengah */
.content-page {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-top: 20px;
    padding-left: 30px;
}

.content-box {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* Sejajarkan ke atas */
    gap: 50px;
    /* Atur jarak antara dua kolom */
}

.content-creator {
    display: flex;
    flex-direction: column;
    /* Susun elemen ke bawah */
    align-items: center;
    /* Pusatkan elemen */
}

/* Creator section */
.creator-list {
    margin-bottom: 20px;
    /* Tambahkan jarak antara nama kreator dan teks di bawah */
}

.creator-text {
    font-weight: bold;
    /* Jadikan teks tebal */
}

/* Navigation links */

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    /* Jarak antar item */
}

.nav-column a {
    margin-top: 30px;
    margin-left: 50px;
    font-size: 20px;
    font-weight: bold;
    /* Jadikan teks bold */
    text-decoration: none;
    /* Hilangkan garis bawah */
    color: black;
    /* Pastikan warna terlihat */
}

/* Language selection */
.lang-select {
    display: flex;
    gap: 1rem;
}

/* Image box */

/* Bagian gambar */
.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.image-content img {
    width: 100%;
    max-width: 64rem; /* Tailwind max-w-4xl */
    height: auto;
}

.image-container {
    position: absolute;
    bottom: 0;
    /* Menjadikan gambar memenuhi dari bawah */
    right: 0;
    /* Meletakkan gambar di kanan */
    width: 40%;
    /* Sesuaikan ukuran gambar */
    height: 110%;
    /* Supaya sedikit muncul di atas */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Menghindari distorsi */
}

/* Follow & Subscribe */
.social-links a {
    display: flex;
    align-items: center;
    /* Ikon dan teks sejajar */
    font-weight: bold;
    /* Membuat teks menjadi tebal */
    text-decoration: none;
    /* Hilangkan garis bawah link */
    color: black;
    /* Warna teks */
}

.social-links a:hover {
    color: #0073e6;
    /* Warna berubah saat hover */
}

.social-links i {
    font-size: 1.5rem;
    /* Ukuran ikon */
}

.social-links img {
    height: 70px;
}

/* Footer */
.copyright {
    font-size: 15px;
    color: #666;
}