/* Reset default margin and padding */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Agar konten dan footer sejajar vertikal */
}

/* Container for the maintenance message */
.maintenance-container {
    text-align: center;
    background-color: #fff;
    padding: 5%; /* Padding relatif berdasarkan ukuran container */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 80%; /* Lebar container relatif terhadap viewport */
    max-width: 600px; /* Lebar maksimum untuk layar besar */
}

/* Heading style */
.maintenance-container h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* Ukuran font fleksibel */
    color: #333;
    margin-bottom: 20px;
}

/* Paragraph style */
.maintenance-container p {
    font-size: clamp(1rem, 3vw, 1.2rem); /* Ukuran font fleksibel */
    color: #666;
    margin-bottom: 30px;
}

/* Loading spinner */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Animation for the spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer style */
.footer {
    margin-top: 20px;
    text-align: center;
    font-size: clamp(0.8rem, 2vw, 0.9rem); /* Ukuran font fleksibel */
    color: #777;
}
