* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background-color: #fdfdfd;
    display: flex;
    flex-direction: column;
}

.header {
    height: 160px;
    flex-shrink: 0;
    text-align: center;
    padding: 20px 0;
    z-index: 2;
}

.header img {
    max-width: 800px;
    width: 90%;
    height: auto;
    border-radius: 12px;
}

.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow: hidden;
}

#image-container {
    width: 100%;
    max-width: 800px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer {
    height: 80px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

#load-image-btn {
    padding: 12px 24px;
    font-size: 1rem;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#load-image-btn:hover {
    background-color: #005fa3;
    transform: scale(1.05);
}
