/* CSS untuk memastikan halaman memiliki margin dan padding nol */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Elemen container untuk mengatur tata letak peta dan judul */
.map-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Mengatur tinggi kontainer agar penuh di layar */
    background-color: #f4f4f4;
}

/* Styling untuk judul */
h3 {
    font-size: 3em;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
            letter-spacing: 2px;
            background: linear-gradient(90deg, rgba(0,136,255,1) 0%, rgba(0,204,136,1) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
}

/* Set tinggi dan lebar peta di desktop */
#map {
    height: 750px;
    width: 90%;
}

/* Media query untuk layar lebih kecil (smartphone) */
@media (max-width: 768px)and (orientation: portrait) {
    #map {
        height: 650px;
        /* Kurangi tinggi di layar kecil */
    }

    h3 {
        font-size: 2.2em;
        /* Kecilkan ukuran font judul */
    }
}

@media (max-width: 480px)and (orientation: portrait) {
    #map {
        height: 650px;
        /* Lebih kecil untuk layar yang sangat kecil */
    }

    h3 {
        font-size: 2em;
    }
}

/* Container utama untuk meniru layar iPhone 15 Pro Max */
.iphone-15-container {
    width: 1290px;
    height: 2796px;
    margin: 0 auto;
    border: 10px solid #333;
    background-color: #f0f0f0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Konten di dalam layar */
.content {
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2em;
    color: #333;
}

p {
    font-size: 1.2em;
    color: #555;
}

/* Membuat tampilan responsif sesuai ukuran layar iPhone */
@media (max-width: 1290px) and (max-height: 2796px) {
    .iphone-15-container {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }
}