html, body {
    height: 100%; /* Ensure html and body take full viewport height */
    width: 100vw; /* Use viewport width for width */
    overflow-x: hidden; /* Prevent horizontal scroll on html/body */
}

body {
    background-image: url('../_images/SMCH_BG.png');
    background-repeat: repeat;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
    text-align: center;
    overflow-anchor: none;
    padding-top: 0px;
}

a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

a:hover {
    color: #0195fb;
    text-decoration: none;
}

footer {
    color: #000;
    text-align: center;
    padding: 10px 0;
    font-size: 10px;
}

.center-image {
    max-width: 73%;
    max-height: 73%;
    display: block;
}

#countdown1 {
    font-size: 2em;
    color: #333;
    margin-top: 30px;
}

#countdown {
    font-size: 1.3em;
    font-family: monospace;
    font-weight: bold;
    color: #fff;
    background-color: #222;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 30px;
    margin-right: 12px;
    letter-spacing: 5px;
    width: 270px;
    text-align: center;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-content-wrapper {
    transition: transform 0.3s ease;
    transform-origin: center center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.5s ease-out forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8) translateY(-10px); /* Start slightly smaller and at the desired final vertical position */
        opacity: 0; /* Start with zero opacity for a fade-in effect */
    }
    100% {
        transform: scale(1) translateY(-10px); /* Zoom to normal size and maintain the vertical position */
        opacity: 1; /* Fade in to full opacity */
    }
}

@media (max-width: 769px) {
    body {
/*        background-size: contain;*/
        background-repeat: repeat;
        background-position: center;
    }
    main {
        transform: translateY(-10px);
    }
}