/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px; /* Batas lebar maksimum untuk desktop */
}

.section {
    margin-bottom: 20px;
}

.video-container, .audio-container {
    margin-top: 10px;
    width: 100%;
    max-width: 100%; /* Memastikan container tidak melebihi lebar parent */
}

video, audio {
    width: 100%; /* Membuat video dan audio responsive */
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* Tombol full width di mobile */
    max-width: 200px; /* Lebar maksimum untuk desktop */
}

button:hover {
    background-color: #0056b3;
}

#continueTest {
    background-color: #dc3545; /* Red color */
    font-weight: bold;
    font-size: 1.1em;
    padding: 15px 25px;
    max-width: 300px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#continueTest:hover {
    background-color: #c82333;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 24px; /* Ukuran font lebih kecil di mobile */
    }

    h2 {
        font-size: 20px;
    }

    button {
        max-width: 100%; /* Tombol full width di mobile */
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%; /* Lebar container 100% di layar kecil */
        border-radius: 0; /* Hilangkan border radius di layar kecil */
    }

    video, audio {
        border-radius: 0; /* Hilangkan border radius di layar kecil */
    }
}