/* Base styling for body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: bold;
    background-color: #4B0D0D;
    text-align: center;
    color: #FFF;
    transition: background-color 1s ease;
}

/* Container for the login content */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #FFA500, #FFFFFF, #FFA500, #ff7300, #ff0000);
    background-size: 400%;
    -webkit-background-clip: text;
    color: transparent;
    animation: glowing 20s linear infinite;
}

p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Styling for the loading indicator */
.loading-indicator {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #FFA500;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.error-message {
    font-size: 0.8em; /* Smaller font size for error messages */
    color: #FF0000; /* Red color for error messages */
    margin-top: 20px;
}

/* Animation for glowing text */
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 200% 0; }
    100% { background-position: 0 0; }
}

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

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    .loading-indicator {
        width: 40px;
        height: 40px;
    }
}