/* Custom 404 Page Styles */

.not-found {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.not-found-content {
    animation: fadeIn 1s ease-in-out;
}

.not-found h1 {
    font-size: 6rem;
    color: #ff4d4d;
    margin: 0;
    animation: bounceIn 1s ease-in-out;
}

.not-found p {
    font-size: 1.5rem;
    margin: 10px 0 20px;
    animation: fadeInUp 1s ease-in-out;
}

.error-message p {
    font-size: 1.2rem;
    margin: 10px 0;
    animation: fadeInUp 1.2s ease-in-out;
}

.back-to-home {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #fff;
    background-color: #ff4d4d;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    animation: fadeInUp 1.4s ease-in-out;
}

.back-to-home:hover {
    background-color: #e03e3e;
}

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

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

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}