body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    font-family: source sans pro,Helvetica,sans-serif;
}
h1 { color: #a0a0a1; display: inline-block; font-size: 1em; line-height: 1.5; margin: 0 0 1 em; vertical-align: middle; font-weight:300; letter-spacing:.1em; text-transform:uppercase }

h1 a { border: 0; color: inherit; }
h1 a:hover { color: inherit !important; }
strong, b { color: #ffffff; font-weight: 300; }
.image-container {
    width: 100%;
    height: calc(100% - 40px); /* Adjust height to leave space for footer */
    overflow: hidden;
    position: relative;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}
.image-container:hover img {
    transform: scale(2);
}
.image-container img.zoomed {
    transform: scale(1.5);
}
.footer {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    color: #fff;
    width: 100%;
    position: relative; /* Changed from absolute to relative */
    bottom: 0;
}
@media (hover: none) {
    .image-container:hover img {
        transform: none;
    }
}
@media (max-width: 768px) {
    .image-container {
        height: calc(100% - 60px); /* Adjust height for smaller screens */
    }
    .footer {
        height: 60px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .image-container {
        height: calc(100% - 80px); /* Adjust height for very small screens */
    }
    .footer {
        height: 80px;
        font-size: 12px;
    }
}