body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Courier New', monospace;
    /* Monospace serif font */
    background: linear-gradient(to bottom, #000000, #090233);
    /* Gradient from black to dark blue */
}

.container {
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #9b5de5, #FF5500);
    border-radius: 8px;
    box-shadow: none;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.message-area h1 {
    color: white;
    margin-top: 20px;
}

.message-area p {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

.logo-area {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    /* Ensures the logo stays on top of the container */
    margin-left: 20%;
}

.logo-area img {
    width: 300px;
    height: auto;
}

.bottom-image-area {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /* Keeps the bottom image on top */
}

.bottom-image-area img {
    width: 400px;
    /* Adjust based on your bottom image's size */
    height: auto;
}

@media (max-width: 800px) {
    .logo-area {
        left: 50%;
        transform: translateX(-50%);
        /* Center the logo */
        margin: 0;
    }

    .image-area,
    .message-area {
        margin-left: 10px;
        margin-right: 10px;
    }

    .image-area img {
        margin-top: 2em;
    }

    .container {
        border-radius: 0;
        /* Optional: Remove border radius for mobile devices */
        width: 100vw;
        height: 100vh;
        position: absolute;
        padding: 0;
        top: 0;
        left: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .bottom-image-area {
        position: fixed;
        /* Use fixed positioning to ensure it stays in viewport */
        bottom: 20px;
        /* Adjust if you want the image closer/further from the bottom */
        z-index: 20;
        /* Ensure it's above the container if it also has a high z-index */
    }

    .bottom-image-area img {
        width: 100%;
        height: auto;
    }
}

@media (max-height: 800px) {
    .logo-area {
        left: 50%;
        transform: translateX(-50%);
        /* Center the logo */
        margin: 0;
    }
    .image-area img {
        display: none;
    }
    .image-area {
        background-image: url('engineers.png'); /* Replace with your image path */
        background-size: cover;
        background-position: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        margin: 0;
    }
    .message-area {
        z-index: 1;
    }

    .image-area::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        /* Change this to the color and opacity you want for the tint */
        z-index: 0;
    }
}