*{
    font-family: sans-serif;
}

.main-title
{
    top: 15%;
}
.main-title img
{
    width: 80%;
    display: block;
    margin: 0 auto;
}
.add-animation {
    animation: pulseTitle 0.2s;
}
@keyframes pulseTitle {
    35% {
        transform: scale(0.9);
    }
    65% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

#bg{
    height: 100vh;
    flex: 1;
}

.btn1{
    top: 36%;
}
.btn1 img{
    width: 55%;
    animation: pulse .9s infinite;
    animation-timing-function: linear;  
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15);}
    100% { transform: scale(1); }
} 

.countdown{
    top: 90%;
}
.d-timer {
    margin: 0 20%;
    background: rgb(103, 0, 187);
    display: flex;
    justify-content: center;
    color: white;
    font-size: 1vw;
    padding: 0.5vh;
}

@media (min-width: 630px) {
    .main-title img
    {
        width: 80%;
        max-width: unset;
    }
    .d-timer {
        font-size: 1.3vw;
        padding: 0.5vh;
        margin: 0 20%;
    }
}

 /* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {     
    .d-timer {
        font-size: 1vw;
        padding: 0.5vh;
        margin: 0 20%;
    }
 }

 /* Media queries for responsive design */
@media screen and (max-width: 768px) {
    /* Adjust font size and padding for smaller screens (e.g., tablets and mobile devices) */
    .d-timer {
        font-size: 1.5vw;
        padding: 1vh;
        margin: 0 20%;
    }
}

/* Additional media queries for smaller screens if necessary */
@media screen and (max-width: 480px) {
    /* Adjust font size and padding for even smaller screens (e.g., smartphones) */
    .d-timer {
        font-size: 3vw;
        padding: 1vh;
        margin: 0 15%;
    }
}

/* ---------- Stacked layout (multiple images over one backdrop) ---------- */
/* Images flow top-to-bottom in HTML order, so the button always stays where
   it is placed in the markup. The backdrop is set inline on .stack. */
.stack-page {
    margin: 0;
    background: white;
    overflow-x: hidden;
}

.stack {
    max-width: 520px;   /* full width on mobile, centered phone column on desktop */
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100svh;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;   /* images start at the very top, no gaps between them */
}

.stack-img {
    display: block;
    width: 88%;
    height: auto;
}

.stack-btn {
    display: block;
    width: 50%;
}
.stack-btn img {
    display: block;
    width: 100%;
    height: auto;
}

.stack .d-timer {
    align-self: stretch;
    margin: auto 15% 0; /* auto top pushes the timer to the bottom */
    padding: 6px 10px;
    font-size: clamp(12px, 3.2vw, 17px);
}

@media (prefers-reduced-motion: reduce) {
    .add-animation {
        animation: none;
    }
}


