﻿/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Center the content */
body,
html {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

/* Container for the 404 message */
.container {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

/* Error code styling */
.error-code {
    font-size: 10rem;
    font-weight: bold;
    color: transparent;
    background: linear-gradient(135deg, #1a1c2e 0%, #16181f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: bounce 1.5s infinite;
}

/* Error message styling */
.error-message {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

/* Button styling */
.back-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    background: linear-gradient(135deg, #1a1c2e 0%, #16181f 100%);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

    .back-btn:hover {
        background: linear-gradient(135deg, #16181f 0%, #1a1c2e 100%);
    }

/* Animation for the error code bounce effect */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-30px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Fade-in animation for the entire page */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

a:hover{
    color: white;
}