/* General Styles */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f2f5; /* Light gray background */
    color: #333; /* Dark text */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden; /* Prevent scrollbar if bounce is too big */
}

/* Container for content centering */
.container {
    background-color: #ffffff; /* White background for the block */
    padding: 40px 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft shadow */
    max-width: 600px;
    width: 90%;
    box-sizing: border-box; /* Include padding in width */
}

/* 404 Title */
.title {
    font-size: 8em; /* Very large size */
    font-weight: 700;
    color: #007bff; /* Bright blue color */
    margin-bottom: 0px;
    line-height: 1; /* Remove extra spacing */
    animation: bounceIn 1s ease-out; /* Bounce-in animation */
}

/* Subtitle */
.subtitle {
    font-size: 1.8em;
    color: #555;
    margin-top: 0px;
    margin-bottom: 30px;
}

/* Maintenance Message */
.maintenance-message {
    background-color: #e2f0ff; /* Lighter blue background */
    border-left: 5px solid #007bff; /* Blue left border */
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #2c3e50; /* Dark blue text */
}

.maintenance-message p {
    margin: 0; /* Remove paragraph margins inside the block */
}

.maintenance-message strong {
    color: #0056b3; /* Darker blue for emphasis */
}

/* Home Button */
.home-button {
    display: inline-block;
    background-color: #007bff; /* Blue button */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); /* Button shadow */
}

.home-button:hover {
    background-color: #0056b3; /* Darker on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsiveness for mobile devices */
@media (max-width: 768px) {
    .title {
        font-size: 6em;
    }

    .subtitle {
        font-size: 1.5em;
    }

    .container {
        padding: 30px 40px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 4em;
    }

    .subtitle {
        font-size: 1.2em;
    }

    .maintenance-message {
        padding: 15px;
        font-size: 1em;
    }

    .home-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}
