body, html {
    height: 100%;
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    overflow: hidden; /* Prevents scrollbars if content slightly overflows */
}

.background-container {
    /* Replace with your chosen image URL */
    background-image: url('https://images.unsplash.com/photo-1470770841072-f978cf4d019e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80');
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 0.2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between timer boxes */
    flex-wrap: wrap; /* Allow boxes to wrap on smaller screens */
}

.timer-box {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.timer-box span {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
}

#message {
    margin-top: 30px;
}

#message h2 {
    font-size: 2em;
    color: #ffdd57; /* A bright color for the arrival message */
}

.hidden {
    display: none;
}

/* Basic responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    p {
        font-size: 1em;
    }
    .timer-box {
        min-width: 80px;
        padding: 15px;
    }
    .timer-box span {
        font-size: 2em;
    }
    #countdown-timer {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    #countdown-timer {
        flex-direction: column; /* Stack timer boxes vertically */
        align-items: center;
    }
    .timer-box {
        margin-bottom: 10px;
        width: 80%; /* Make boxes take more width when stacked */
    }
}
