/* Base Styles */
body {
    background-color: #1a1a1a; /* Dark background */
    color: white;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Header Styles */
h1 {
    color: #ff4d4d;
    font-size: 5rem;
    font-weight: bold;
}

h2 {
    color: #ffcccc;
    font-size: 2rem;
}

h6 {
    color: #ffcc00;
    font-size: 1.2rem;
    text-decoration: underline;
}

/* Section for the error message */
.error-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Animate Text */
.animated-text {
    animation: fadeInUp 2s ease-out;
}

/* Bounce animation for icons */
.error-icon {
    font-size: 4rem;
    color: #ff4d4d;
    animation: bounce 2s infinite;
}

/* Style for the status line */
.status-code {
    font-size: 4rem;
    font-weight: bold;
    color: #ff4d4d;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn-custom {
    background-color: #ff4d4d;
    color: white;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

    .btn-custom:hover {
        background-color: #ff6666;
        text-decoration: none;
    }

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}
