@font-face {
    font-family: 'CherryBombOne';
    src: url('/font/CherryBombOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


        /* --- BACKGROUND UTAMA --- */
        #bg-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background-color: #87CEEB; 
            background-image: url("gambar/bg-menu.jpeg");
            background-size: cover;
            background-position: center;
        }

        /* --- 1. PRELOADER (LOGO) --- */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 1s ease-out;
        }

        .logo-box img {
            max-width: 200px;
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-30px);}
            60% {transform: translateY(-15px);}
        }

        /* --- 2. START SCREEN (TOMBOL PLAY) --- */
        #start-screen {
            position: fixed;
            inset: 0;
            width: 100%;
            min-height: 100vh;
            min-height: 100svh;
        
            background-image: url('gambar/bg-main-menu-clean.jpeg');
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;
        
            display: none;
            justify-content: center;
            align-items: flex-start;
        
            z-index: 8888;
            overflow: hidden;
        }
        
        
        .start-content {
            position: relative;
            margin-top: clamp(45px, 7vh, 80px);
        
            width: min(46vw, 640px);
        
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
        
            gap: clamp(10px, 1.4vh, 18px);
        }
        
        .start-title {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .btn-play {
            background: #FFD700;
            border: 4px solid #fff;
            color: #d35400;
        
            padding: clamp(14px, 1.8vw, 20px) clamp(42px, 5vw, 70px);
            font-size: clamp(1.5rem, 2.8vw, 2.2rem);
            font-weight: bold;
        
            border-radius: 999px;
            cursor: pointer;
        
            box-shadow: 0 10px 0 #d35400, 0 10px 20px rgba(0,0,0,0.4);
            transition: all 0.2s;
            text-transform: uppercase;
            white-space: nowrap;
        }
        
        .btn-play:active {
            transform: translateY(10px);
            box-shadow: 0 0 0 #d35400, 0 0 0 rgba(0,0,0,0);
        }

        #main-content {
            display: none; /* Pastikan awalnya tidak terlihat */
        }
        
        /* tablet landscape */
        @media (min-width: 768px) and (max-width: 1180px) {
            .start-content {
                margin-top: clamp(35px, 6vh, 65px);
                width: min(56vw, 600px);
            }
        
            .btn-play {
                font-size: clamp(1.35rem, 2.8vw, 1.9rem);
                padding: 14px 48px;
            }
        }
        
        * {
            margin: 0;
            /* padding: 0; */
            box-sizing: border-box;
        }
        
        body {
            margin: 0;
            padding: 0;
            height: 100vh;
             background: url('../gambar/bg-polos.jpg') no-repeat center center fixed; 
            background-size: cover;
            /*background-color: #eeebd8;*/
            font-family: 'CherryBombOne', 'sans-serif' !important;
        }
        
        #countainer {
            height: 100vh;
            width: 100%;
            overflow: hidden;
            background-repeat: no-repeat;
            background-position: bottom;
            margin: 0 auto;
            position: relative;
        }
        
        .scene {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Menempatkan container tepat di tengah */
            display: flex;
            flex-direction: column; /* Mengatur arah item ke bawah (vertikal) */
            align-items: center; /* Meratakan item di tengah secara horizontal */
            gap: 20px; /* Jarak antar tombol */
            z-index: 100;
            width: 100%;
            max-height: 90vh; /* Mencegah overflow vertikal */
        }

        /* ===== FLOAT MENU STYLING BARU ===== */
        .float-menu {
            position: relative; /* Relatif agar mengikuti flow flexbox (tidak tersebar) */
            display: block;
            padding: 14px 40px; /* Padding lebih lebar */
            text-decoration: none;
            min-width: 250px; /* Lebar minimum agar seragam */
            text-align: center;

            /* warna biru lebih hidup */
            background: linear-gradient(180deg, #60A5FA, #3B82F6);
            color: #fff;

            border-radius: 999px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;

            /* outline stiker */
            border: 3px solid #ffffff;

            /* shadow lebih soft */
            box-shadow:
                0 6px 0 rgba(0,0,0,0.12),
                0 12px 20px rgba(59,130,246,0.35);

            animation: float 4s ease-in-out infinite;
            transition: transform 0.35s cubic-bezier(.34,1.56,.64,1),
                        box-shadow 0.35s ease;
        }

        /* ===== HOVER ===== */
        .float-menu:hover {
            transform: translateY(-5px) scale(1.05); /* Sedikit naik saat hover */
            box-shadow:
                0 10px 0 rgba(0,0,0,0.18),
                0 22px 35px rgba(59,130,246,0.5);
            background: linear-gradient(180deg, #3B82F6, #2563EB);
        }

        /* ===== ANIMASI FLOAT ===== */
        @keyframes float {
            0%    { transform: translateY(0); }
            50%   { transform: translateY(-8px); } /* Gerakan naik turun halus */
            100%  { transform: translateY(0); }
        }

        /* Variasi Durasi Animasi (Posisi top/left dihapus agar tetap sejajar) */
        .teman { animation-duration: 4s; }
        .terapi { animation-duration: 4.6s; }
        .semangat { animation-duration: 5.2s; }
        .mengeja { animation-duration: 5.4s; }
        .suara { animation-duration: 4.3s; }
.mengeja-container {
    margin: 40px auto;
    width: 95%;
    max-width: 1300px;

    padding: 32px;
    border-radius: 30px;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);

    border: 4px solid #ffffff;
    box-shadow:
        0 12px 0 rgba(200,200,200,0.7),
        0 25px 40px rgba(0,0,0,0.15);
}

/* ===============================
   TITLE
================================= */
.title-reading {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2b6cb0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===============================
   GRID 5 KOLOM
================================= */
.reading-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ===============================
   CARD
================================= */
.reading-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 20px;

    border: 3px solid #bee3f8;
    box-shadow: 0 6px 0 #90cdf4;

    transition: 0.25s ease;
}

.reading-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 0 #63b3ed;
}

/* ===============================
   TEXT
================================= */
.reading-title {
    font-size: 18px;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 6px;
}

.reading-note {
    font-size: 14px;
    color: #4a5568;
    background: #ebf8ff;
    padding: 6px 10px;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* ===============================
   LETTER GRID
================================= */
.letter-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    justify-items: center;
}

.letter-badge {
    width: 42px;
    height: 42px;

    background: #3182ce;
    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.2),
        0 4px 6px rgba(0,0,0,0.15);
}

/* ===============================
   EMPTY
================================= */
.empty-state {
    grid-column: span 5;
    text-align: center;
    color: #718096;
    font-size: 16px;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1200px) {
    .reading-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .reading-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* ===== BUBBLE TAIL ===== */
.float-menu::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 28px;

  width: 16px;
  height: 16px;

  background: #3B82F6;

  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;

  transform: rotate(314deg);
}




.float-img{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*border: 3px solid red;*/
}

.float-img img{
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#menu {
    margin: 20px 0 20px 50px;
    height: 95%;
    width: 200px;
    float: left;
}

#navigasi {
    height: 300px;
    width: 30px;
    /* margin: 200px auto; */
    background-color: brown;
    padding-top: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 18%;
}
#navigasi ul {
    list-style-type: none;
}
#navigasi ul li {
    padding: 5px;
    border-radius: 10px;
    border: 4px solid brown;
    margin: 5px 0px 5px 0px;
    width: 220px;
    background-color: white;
    text-align: center;
    margin-left: -140px;
}

#navigasi ul li a {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #664836;
}
#navigasi ul :hover {
    width: 220px;
    color: #664836;
    background-color: #dba180;
}

.awan {
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(awan.png);
    width: 110px;
    height: 77px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    padding-left: 10px;

    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
}

#table {
    position: relative;
    padding: 10px;
    z-index: 9;
}

#table table {
    margin: 0 auto;
}

#table tr td a {
    text-decoration: none;
    border-radius: 60px;
    color: black;
}

.warna {
    width: 200px;
    height: 150px;
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
}

/* teks di dalam kotak */
.warna span {
    background: rgba(255,255,255,0.75);
    padding: 6px 14px;
    border-radius: 12px;
    color: #222;
}

/* warna */
.merah { background: red; }
.biru { background: blue; }
.hijau { background: green; }
.oranye { background: orange; }

.hitam { background: black; }
.coklat { background: brown; }
.kuning { background: yellow; }
.merahmuda { background: pink; }

.putih { background: white; border: 2px solid #ccc; }
.ungu { background: purple; }
.abu { background: gray; }
.aqua { background: aqua; }


/*.warna1 {*/
/*    text-align: center;*/
/*    font-size: 20px;*/
/*    font-weight: bold;*/
/*    padding-left: 10px;*/
/*}*/

.awan:active {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    opacity: 1;
}

.warna:active {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    opacity: 1;
}

.awan:hover {
    box-shadow: 10px 5px 15px 5px white;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.01);
}

#navigasi1 {
    height: 200px;
    width: 30px;
    background-color: brown;
    padding-top: 5px;
    border-radius: 5px;
    position: relative;
    z-index: 9;
}
#navigasi1 ul {
    list-style-type: none;
}
#navigasi1 ul li {
    padding: 5px;
    border-radius: 10px;
    border: 4px solid brown;
    margin: 5px 0px 5px 0px;
    width: 220px;
    background-color: white;
    text-align: center;
    margin-left: -140px;
}

#navigasi1 ul li a {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #664836;
}

#navigasi1 ul li:hover{
    background-color: #dba180;
}
#navigasi1 ul li:hover a{
    color: #664836;
}

.war {
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
}

.war:hover {
    -webkit-transform: scale(1.2) rotate(360deg);
    -moz-transform: scale(1.2) rotate(360deg);
    -o-transform: scale(1.2) rotate(360deg);
    opacity: 1;
}

/*untuk about ...*/
#countainera {
    height: 667px;
    width: 1360px;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    overflow: hidden;
}

#menua {
    margin: 300px 0 20px 50px;
    height: 95%;
    width: 200px;
    float: left;
}

#navigasia {
    height: 400px;
    width: 30px;
    margin: 200px auto;
    background-color: brown;
    padding-top: 5px;
    border-radius: 5px;
}
#navigasia ul {
    list-style-type: none;
}
#navigasia ul li {
    padding: 5px;
    border-radius: 10px;
    border: 4px solid brown;
    margin: 5px 0px 5px 0px;
    width: 220px;
    background-color: white;
    text-align: center;
    margin-left: -140px;
}

#navigasia ul li a {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}
#navigasia :hover {
    width: 220px;
    color: aqua;
    background-color: black;
}
#isian {
    text-align: center;
    float: left;
    width: 1160px;
    height: 638px;
    margin-top: 20px;
    margin-left: 200px;
    position: absolute;
    overflow: hidden;
}
.txt {
    margin-top: 205px;
    margin-left: 185px;
    width: 750px;
    height: 180px;
    position: absolute;

    background: orange;
    padding: 10px;
    overflow: scroll;

    /*script tambahan khusus untuk IE */
    scrollbar-face-color: #ce7e00;
    scrollbar-shadow-color: #ffffff;
    scrollbar-highlight-color: #6f4709;
    scrollbar-3dlight-color: #11111;
    scrollbar-darkshadow-color: #6f4709;
    scrollbar-track-color: #ffe8c1;
    scrollbar-arrow-color: #6f4709;
}

/*TUTORNYA ...*/
.ph {
    width: 1160px;
    position: absolute;
}
.matpone {
    width: 230px;
    position: fixed;
    margin: 394px 0px 0px 590px;
    display: block;
}
.vd {
    margin-top: 255px;
    margin-left: 120px;
    width: 860px;
    height: 355px;
    background-color: white;
    position: absolute;
    border-bottom: 10px solid brown;
}
.matpone2 {
    width: 230px;
    position: fixed;
    margin: 394px 0px 0px 1080px;
    display: block;
}

/*CSS untuk Bentuk Awan*/
.aw {
    width: 200px;
    position: fixed;
    z-index: -9;
}
.aw:after {
    width: 120px;
    height: 120px;
    top: -55px;
    left: auto;
    right: 15px;
    position: fixed;
}
.warna1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 6px 12px;
    color: #222;
}


/*CSS untuk besar dan pengaturan masing-masing awan*/
.no1 {
    top: 90px;
    -webkit-animation: jalankanawan 15s linear infinite;
    -moz-animation: jalankanawan 15s linear infinite;
    -ms-animation: jalankanawan 15s linear infinite;
    -o-animation: jalankanawan 15s linear infinite;
    animation: jalankanawan 15s linear infinite;
}

.no2 {
    left: 200px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -o-transform: scale(0.6);
    -ms-transform: scale(0.6);
    transform: scale(0.6);

    -webkit-animation: jalankanawan 25s linear infinite;
    -moz-animation: jalankanawan 25s linear infinite;
    -ms-animation: jalankanawan 25s linear infinite;
    -o-animation: jalankanawan 25s linear infinite;
    animation: jalankanawan 25s linear infinite;
}

.no3 {
    left: 0px;
    top: -200px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);

    -webkit-animation: jalankanawan 20s linear infinite;
    -moz-animation: jalankanawan 20s linear infinite;
    -ms-animation: jalankanawan 20s linear infinite;
    -o-animation: jalankanawan 20s linear infinite;
    animation: jalankanawan 20s linear infinite;
}

.no4 {
    left: 470px;
    top: -250;
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    -o-transform: scale(0.75);
    -ms-transform: scale(0.75);
    transform: scale(0.75);

    -webkit-animation: jalankanawan 18s linear infinite;
    -moz-animation: jalankanawan 18s linear infinite;
    -ms-animation: jalankanawan 18s linear infinite;
    -o-animation: jalankanawan 18s linear infinite;
    animation: jalankanawan 18s linear infinite;
}

.no5 {
    left: 0px;
    top: -150px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);

    -webkit-animation: jalankanawan 20s linear infinite;
    -moz-animation: jalankanawan 20s linear infinite;
    -ms-animation: jalankanawan 20s linear infinite;
    -o-animation: jalankanawan 20s linear infinite;
    animation: jalankanawan 20s linear infinite;
}

/*Animasi Pergerakan Awan*/
@-webkit-keyframes jalankanawan {
    0% {
        margin-left: 1360px;
    }
    100% {
        margin-left: -1360px;
    }
}
@-moz-keyframes jalankanawan {
    0% {
        margin-left: 1360px;
    }
    100% {
        margin-left: -1360px;
    }
}
@-o-keyframes jalankanawan {
    0% {
        margin-left: 1360px;
    }
    100% {
        margin-left: -1360px;
    }
}

/*ABOUT SCROLL AREA......*/
.scroll {
    width: 750px;
    background: orange;
    padding: 10px;
    overflow: scroll;
    height: 300px;

    /*script tambahan khusus untuk IE */
    scrollbar-face-color: #ce7e00;
    scrollbar-shadow-color: #ffffff;
    scrollbar-highlight-color: #6f4709;
    scrollbar-3dlight-color: #11111;
    scrollbar-darkshadow-color: #6f4709;
    scrollbar-track-color: #ffe8c1;
    scrollbar-arrow-color: #6f4709;
}

#isianq {
    text-align: center;
    float: left;
    width: 1160px;
    height: 638px;
    margin-top: 20px;
    margin-left: 200px;
    position: absolute;
    overflow: hidden;
}
.txtq {
    margin-top: 205px;
    margin-left: 185px;
    width: 750px;
    height: 400px;
    position: absolute;

    background: orange;
    padding: 10px;
    overflow: scroll;

    /*script tambahan khusus untuk IE */
    scrollbar-face-color: #ce7e00;
    scrollbar-shadow-color: #ffffff;
    scrollbar-highlight-color: #6f4709;
    scrollbar-3dlight-color: #11111;
    scrollbar-darkshadow-color: #6f4709;
    scrollbar-track-color: #ffe8c1;
    scrollbar-arrow-color: #6f4709;
}

/*popup test........................................................................................*/
#popup {
    height: 624px;
    width: 1370px;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    visibility: hidden;
    top: 0;
}

.window {
    width: 900px;
    height: 500px;
    background: lightblue;
    border-radius: 10px;
    position: relative;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-left: 250px;
    margin-top: 40px;
}

.close-button {
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    border: 3px solid #fff;
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    position: absolute;
    top: -10px;
    right: -10px;
}

#popup:target {
    visibility: visible;
}
/*popup C............*/
.popupC {
    position: fixed;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
}

#boxC {
    width: 700px;
    height: 340px;
    background: lightblue;
    border-radius: 10px;
    position: absolute;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    /* margin-left: 300px;
    margin-top: 140px; */
    top: 25%;
    left: 28%;
}

a.closeC {
    text-decoration: none;
    color: #000;
    margin: 10px 15px 0 0;
    float: right;
    font-family: tahoma;
    font-size: 20px;
}

/*INI LOGO YA................................................................*/
.logonya {
    width: 250px;
    margin-left: -150px;
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
    #countainer,
    #countainera {
        width: 730px;
        margin: 0 auto;
    }
    Kode CSS lainya .popupC {
        position: fixed;
        height: 624px;
        width: 730px;
        background: rgba(0, 0, 0, 0.8);
        top: 0;
    }

    #boxC {
        width: 300px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        margin-left: 200px;
        margin-top: 100px;
    }
    #popup {
        height: 624px;
        width: 730px;
        position: fixed;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        visibility: hidden;
        top: 0;
    }

    .window {
        width: 650px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        text-align: center;
        margin-left: 40px;
        margin-top: 40px;
    }
}

@media only screen and (max-width: 767px) {
    #countainer,
    #countainera {
        width: 540px;
        margin: 0 auto;
    }
    Kode CSS lainya .popupC {
        position: fixed;
        height: 624px;
        width: 540px;
        background: rgba(0, 0, 0, 0.8);
        top: 0;
    }

    #boxC {
        width: 300px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        margin-left: 40px;
        margin-top: 100px;
    }
    #popup {
        height: 624px;
        width: 540px;
        position: fixed;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        visibility: hidden;
        top: 0;
    }

    .window {
        width: 450px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        text-align: center;
        margin-left: 40px;
        margin-top: 40px;
    }
}

@media only screen and (max-width: 580px) {
    #countainer,
    #countainera {
        width: 500px;
    }
    Kode CSS lainya .popupC {
        position: fixed;
        height: 624px;
        width: 500px;
        background: rgba(0, 0, 0, 0.8);
        top: 0;
    }

    #boxC {
        width: 340px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        margin-left: 20px;
        margin-top: 100px;
    }
    #popup {
        height: 624px;
        width: 500px;
        position: fixed;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        visibility: hidden;
        top: 0;
    }

    .window {
        width: 420px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        text-align: center;
        margin-left: 20px;
        margin-top: 40px;
    }
}

@media only screen and (max-width: 490px) {
    #countainer,
    #countainera {
        width: 430px;
    }
    Kode CSS lainya .popupC {
        position: fixed;
        height: 624px;
        width: 430px;
        background: rgba(0, 0, 0, 0.8);
        top: 0;
    }

    #boxC {
        width: 340px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        margin-left: 10px;
        margin-top: 100px;
    }
    #popup {
        height: 624px;
        width: 430px;
        position: fixed;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        visibility: hidden;
        top: 0;
    }

    .window {
        width: 360px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        text-align: center;
        margin-left: 10px;
        margin-top: 40px;
    }
}

@media only screen and (max-width: 479px) {
    #countainer,
    #countainera {
        width: 280px;
    }
    Kode CSS lainya .popupC {
        position: fixed;
        height: 624px;
        width: 280px;
        background: rgba(0, 0, 0, 0.8);
        top: 0;
    }

    #boxC {
        width: 200px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        margin-left: 5px;
        margin-top: 100px;
    }
    #popup {
        height: 624px;
        width: 280px;
        position: fixed;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        visibility: hidden;
        top: 0;
    }

    .window {
        width: 230px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        text-align: center;
        margin-left: 5px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 260px) {
    #countainer,
    #countainera {
        width: 210px;
    }
    Kode CSS lainya .popupC {
        position: fixed;
        height: 624px;
        width: 210px;
        background: rgba(0, 0, 0, 0.8);
        top: 0;
    }

    #boxC {
        width: 150px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        margin-left: 5px;
        margin-top: 100px;
    }
    #popup {
        height: 624px;
        width: 210px;
        position: fixed;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        visibility: hidden;
        top: 0;
    }

    .window {
        width: 150px;
        height: 340px;
        background: lightblue;
        border-radius: 10px;
        position: relative;
        padding: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        text-align: center;
        margin-left: 5px;
        margin-top: 40px;
    }
}

#orientation-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    z-index: 9999;
    padding-top: 30%;
    font-size: 20px;
}