/* style.css */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url('daxan2.png');
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    animation: slideBackground 60s linear infinite alternate;
}

h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

#countdown {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(146, 146, 146, 0.7); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding-top: 14px;
    margin-top: 0px;
    color: #fff;
}

#countdown span {
    font-size: 0.7em;
}

#countdown div {
    font-size: 2em;
}

/* Add these styles to your style.css file */

#map-container {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Below the countdown div */
}

#map-line {
    position: absolute;
    top: 10%; /* Adjust based on the actual position of your markers */
    left: 10%;
    width: 80%; /* Adjust the width and height according to the line you want */
    height: 80%;
    border-top: 2px dotted #FFFFFF; /* Your dotted line */
    border-left: 2px dotted #FFFFFF;
    z-index: 2;
}

#city-marker-slc, #city-marker-manila {
    position: absolute;
    background-color: #ff4757;
    padding: 5px;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    color: #ffffff;
    text-align: center;
    line-height: 10px;
    font-size: 12px;
}

#city-marker-slc {
    top: 5%; /* Adjust to position the marker */
    left: 5%;
}

#city-marker-manila {
    bottom: 5%; /* Adjust to position the marker */
    left: 5%;
}

#airplane {
    position: absolute;
    width: 24px; /* Your airplane size */
    height: 24px;
    background-image: url('plane.png'); /* Path to your airplane icon image */
    background-size: cover;
    z-index: 3;
}


/* Add these styles to your style.css file */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent scrolling */
}

#countdown {
    position: relative; /* Ensures #countdown is positioned over the map */
    width: 100%; /* Span the full width */
    z-index: 2; /* Higher z-index to ensure it's above the map and line */
    /* Rest of your styles for #countdown */
}

/* Adjust #map-container and its children */
#map-container {
    position: absolute; /* Positioned absolutely relative to the body */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1; /* Lower z-index to ensure it's below the #countdown */
}

#map-line {
    position: absolute;
    top: 32px;
    left: 30px;
    width: 80%;
    height: calc(100vh - 60px);
    border-top: none;
    border-left: 2px dotted #FFFFFF;
    z-index: 0;
    /* transform: rotate(-45deg); */
}

#city-marker-slc {
    top: 20px;
    left: 20px;
    /* Rest of your styles for #city-marker-slc */
}

#city-marker-manila {
    bottom: 20px;
    left: 20px;
    /* Rest of your styles for #city-marker-manila */
}

#airplane {
    /* Rest of your styles for #airplane */
    z-index: 1; /* Below the countdown but above the map background */
}

#entry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    transition: opacity 0.5s ease-out;
}

#entry-overlay span {
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    top: calc(50% - 60px);
}

@keyframes slideBackground {
    from {
        background-position: 0% center;
    }
    to {
        background-position: 100% center;
    }
}

