body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255 248 208);
    font-family: Work Sans, sans-serif;
}

#map-container {
    position: relative;
    width: 1024px;
    height: 1024px;
    border-radius: 10px; 
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

#map-container::before {
    content: ' ';
    background-image: url(/img/jump.png);
    width: 144px;
    height: 222px;
    position: fixed;
    margin-left: 111px;
    transform: rotate(-40deg);
    margin-top: 100px;
    z-index: -1;
    animation: fadeIn 2s forwards;
    animation-delay: 2s;
}

@keyframes fadeIn {
    0% {
        margin-left: 111px;
    }
    100% {
        margin-left: -111px;
    }
}

#game-map {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;  /* Ensures the image also has rounded corners */
}

@keyframes drop {
    0% {
        opacity: 0;
        transform: translateY(-600px) scale(10);
    }
    60% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

#marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: red;
    border-radius: 50%;
    display: none; /* Initially hidden */
    animation-fill-mode: forwards;
}
#map-image {
    transition: transform 0.2s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
    }
    50% {
        transform: translate(0, 0) scale(1.5);
        box-shadow: 0 0 40px rgba(255, 0, 0, 0.2);
    }
}

@media (max-width: 1024px), (max-height: 1024px) {
    body, html {
        align-items: flex-start;
    }
}


#navbar {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 1024px;
    top: 38px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    background: rgb(26, 26, 26);
    overflow: hidden;
    transition: all 800ms;
    z-index: 50;
    border-radius: .375rem;
}

#navbar a img {
    max-height: 75px;
}

#navbar .links {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: rgb(255, 184, 0);
    font-size: 16px;
    margin-top: 4px;
    margin-right: 20px;
}


#navbar .links a {
    margin-right: 15px;
    transition: opacity 0.3s ease;
    color: rgb(255, 184, 0);
    text-decoration: none;
}

#navbar .links a:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    #navbar {
        top: 0;
        border-radius: 0;
    }

    #navbar .links a {
        margin-right: 3px;
    }

    #navbar .download-btn {
        display: none;
    }
}

@media (max-width: 600px) {
    #navbar {
        flex-direction: column;
        padding-bottom: 4px;
    }

    #navbar .links a {
        margin-right: 0;
    }
}
