/* Error pages styling using BEM methodology */
.error-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-size: 7.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    animation: fadeInDown 0.5s ease-out;
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    animation: fadeIn 0.5s ease-out 0.2s both;
}

.home-button {
    background-color: var(--button-background);
    color: var(--background-dark);
    padding: 0.75rem 2rem;
    border-radius: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.home-button:hover,
.home-button:focus {
    background-color: var(--button-hover-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
