* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1e24;
    min-height: 100vh;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Strongly blurred background using the specified image */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/reconstr.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    filter: blur(24px) brightness(0.7);
    transform: scale(1.02);
    z-index: -2;
    opacity: 0.9;
}

/* Optional dark overlay for better contrast */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: -1;
    pointer-events: none;
}

/* Container that keeps the main image fixed and centered on window resize */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* Main image styling: responsive, centered, maintains aspect ratio, never breaks layout */
.fixed-main-image {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: all 0.2s ease;
}

/* For very small screens, ensure image stays visible */
@media (max-width: 640px) {
    .fixed-main-image {
        max-width: 95vw;
        max-height: 85vh;
    }
    .image-container {
        padding: 1rem;
    }
}