* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5;
}

.container {
    animation: fadeIn 2s ease-in-out;
    max-width: 600px;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideDown 1.5s ease-out;
}

h1.error-code {
    color: #ff4747;
}

p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

a {
    text-decoration: none;
    color: #2575fc;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff4747;
}

.loader {
    border: 4px solid rgba(51, 51, 51, 0.2);
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 1.5rem auto 0;
    animation: spin 1s linear infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .container {
        padding: 1.5rem;
    }
}