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

body {
    font-family: Arial, sans-serif;
    background-color: #fce4ec; /* Warna pink muda */
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Membuat body memenuhi seluruh tinggi layar */
    height: 100%; /* Pastikan body memiliki tinggi 100% */
}

/* Video Background */
#loginBackgroundVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Halaman Login */
.login-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    margin: 50px auto;
    position: relative;
    z-index: 1;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.input-container {
    margin-bottom: 15px;
}

label {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #e91e63;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #d81b60;
}

.error-message {
    color: red;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/* Halaman Dashboard */
.dashboard-container {
    width: 100%;
    flex-grow: 1; /* Agar konten mengambil sisa ruang */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 20px;
    position: relative;
    min-height: 100vh; /* Pastikan halaman dashboard memiliki tinggi layar penuh */
    z-index: 1;
}

.dashboard-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.button-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    width: 100%;
}

.button-container button {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    background-color: #f06292;
    border: none;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

.button-container button:hover {
    background-color: #ec407a;
}

.page-content {
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
    width: 100%;
}

/* About Section */
.about-image {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.about-image img {
    width: auto;
    height: auto;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.gallery-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fce4ec; /* Warna pink muda */
    color: #333;
    z-index: 100;
}

/* Teks link "Buat sekarang" */
.signup-link {
    text-align: center;
    margin-top: 15px;
}

.signup-link a {
    color: #e91e63; /* Warna pink */
    text-decoration: none;
    font-weight: bold;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Styling untuk logo WhatsApp dan teks */
.whatsapp-section {
    display: flex;
    align-items: center; /* Menempatkan logo dan teks pada satu baris */
    justify-content: center;
    margin-top: 30px;
    position: absolute;
    bottom: 10px; /* Menempatkan di bagian bawah layar */
    width: 100%;
    padding: 0 10px; /* Memberikan jarak di sisi kiri dan kanan */
}

.whatsapp-section p {
    margin-right: 10px; /* Memberi jarak antara teks dan logo */
    font-size: 14px; /* Ukuran font lebih kecil untuk layar kecil */
    text-align: center;
}

.whatsapp-logo {
    width: 30px; /* Ukuran logo yang lebih kecil */
    height: auto;
    cursor: pointer;
}

.whatsapp-logo:hover {
    opacity: 0.8;
}

/* Responsif untuk layar ponsel */
@media (max-width: 768px) {
    .whatsapp-section {
        flex-direction: column; /* Membuat logo dan teks berada dalam kolom pada layar kecil */
        align-items: center;
    }

    .whatsapp-section p {
        margin-bottom: 10px; /* Memberikan jarak antara teks dan logo */
        font-size: 16px; /* Ukuran font lebih besar di ponsel */
    }

    .whatsapp-logo {
        width: 40px; /* Ukuran logo lebih besar di ponsel */
    }

    /* Sesuaikan konten halaman agar sesuai dengan ukuran layar */
    .login-container, .dashboard-container {
        width: 100%;
        height: 100%;
        padding: 10px; /* Kurangi padding untuk tampilan lebih pas */
    }

    .dashboard-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
}

.small-button {
    width: 5em; /* Lebar tombol kecil */
    height: 5em; /* Tinggi tombol kecil */
    background-color: #ff69b4; /* Warna tombol */
    border: none;
    border-radius: 30%; /* Membuat tombol berbentuk lingkaran */
    cursor: pointer;
    display: inline-block;
    margin: 0 5px; /* Spasi antar tombol */
}

.small-button:hover {
    background-color: #ff1493; /* Warna berubah saat hover */
}

#questionContainer {
    margin-top: 10px; /* Jarak antara foto dan teks/tombol */
    text-align: center;
}

#beautyQuestion {
    font-size: 1.2em;
    font-weight: bold;
}