body {
    background-color: transparent;
    margin: 0;
    font-family: sans-serif;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
}

#navbar {
    position: fixed;
    width: 100%;
    padding: 15px 0;
    padding-left: 15px;
    z-index: 10000;
}


#navbar button {
    background-color: transparent;
}

#navLinks {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

#navLinks li {
    margin: 0;
}


li {
    background-color: transparent;
    /* Remove list styling */
    list-style-type: none;
}

#modal {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 10px; /* Gap/Space between elemetns */
    
    padding: 15px;
    
    background-color: #F2EFE9;
    
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#closeModal {
    position: absolute;

    top: 10px;
    right: 10px;

    border: none;
    background: none;

    font-size: 28px;

    cursor: pointer;
}


#text {
    width: auto;
    height: 100px;
    /*background-color: #EEF0D6;*/
}

/*
input {
    background-color: #EEF0D6;
}
*/

button {
    padding: 10px;
    font-weight: bold;
}


#navbar button {
    background-color: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
    box-sizing: border-box;
    color: #0f1111;
    cursor: pointer;
    display: inline-block;
    font-family: "Amazon Ember",sans-serif;
    font-size: 13px;
    line-height: 29px;
    padding: 0 10px 0 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    vertical-align: middle;
    width: auto;
}

#navbar a {
    background-color: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
    box-sizing: border-box;
    color: #0f1111;
    cursor: pointer;
    display: inline-block;
    font-family: "Amazon Ember",sans-serif;
    font-size: 13px;
    line-height: 29px;
    padding: 0 10px 0 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    vertical-align: middle;
    width: 100px;
}

#close-coming-soon {
    position: absolute;

    top: 10px;
    right: 10px;

    border: none;
    background: none;

    font-size: 28px;

    cursor: pointer;
}

#coming-soon-wrapper {
    position: fixed;
    inset: 0;
    
    display: flex;
    justify-content: center;
    align-items: flex-start;
    
    z-index: 99999;
    
    background: rgba(0,0,0,0.5);
}

#coming-soon {
    position: relative;

    width: 600px;
    max-width: 90%;
    
    background: white;
    
    border-radius: 16px;
    
    padding: 20px;
    
    margin-top: 40px;
    

    
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    
    /* animation */
    animation: slideDown 0.5s ease;
}


#about-wrapper {
     position: fixed;
     inset: 0;
     
     display: flex;
     justify-content: center;
     align-items: flex-start;
     
     z-index: 99999;
     
     background: rgba(0,0,0,0.5);
}


#about-content {
    position: relative;

    width: 600px;
    max-width: 90%;
    
    background: white;
    
    border-radius: 16px;
    
    padding: 20px;
    
    margin-top: 40px;
    
    text-align: center;
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    
    /* animation */
    animation: slideDown 0.5s ease;
}

#closeAbout {
    position: absolute;

    top: 10px;
    right: 10px;

    border: none;
    background: none;

    font-size: 28px;

    cursor: pointer;
}

/* Welcome menu */
#introOverlay {
 position: fixed;
 inset: 0;
 
 display: flex;
 justify-content: center;
 align-items: flex-start;
 
 z-index: 99999;
 
 background: rgba(0,0,0,0.5);
   
}

#introPopup {
    position: relative;
    
    width: 400px;
    max-width: 90%;
    
    background: white;
    
    border-radius: 16px;
    
    padding: 20px;
    
    margin-top: 40px;
    
    text-align: center;
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    
    /* animation */
    animation: slideDown 0.5s ease;
}

/* Image inside popup */
#popupImage {

    width: 100%;
    border-radius: 10px;
    border: 2px solid black;

    margin-bottom: 15px;
}

#continue {
    border-radius: 16px;
}

#continue:hover {
    cursor: pointer;
    background-color: #D1D1D1;
    transition: background-color 500ms linear;
}

/* Close button */
#closePopup {

    position: absolute;

    top: 10px;
    right: 10px;

    border: none;
    background: none;

    font-size: 28px;

    cursor: pointer;
}

/* Slide animation */
@keyframes slideDown {

    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}












/* Tooltip text size */
.leaflet-tooltip {
    font-size: 10px;
    padding: 0;
    margin: 0;
}









/* app.js CSS */

/* Post SHARE button*/
#share-btn {
    padding: 0;
    margin: 0;
}



.reply-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reply-text {
    flex: 1;
    resize: none;
}

.reply-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.reply-btn img {
    display: block;
}


/* Mobile */


/* Make popups responsive*/
#introPopup,
#about,
#modal {
    max-width: 90vw;
    width: 500px;
    box-sizing: border-box;
}


/* Images scale */
img {
    max-width: 100%;
    height: auto;
}

.reply-text,
#text {
    width: 100%;
    box-sizing: border-box;
}




/*MOBILE SPECIFIC CSS*/
@media (max-width: 768px) {

    #navbar ul {
        flex-direction: row;
        align-items: flex-start;
    }

    #introPopup {
        width: 95vw;
        padding: 15px;
    }

    .leaflet-popup-content {
        width: auto;
        min-width: 220px;
        max-width: 80vw;
    }

    #modal {
        left: 10px;
        right: 10px;
        width: auto;
    }

}

/* MOBILE */
@media (max-width: 768px) {

    #menuToggle {
        display: block;
        left: 50px;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    
    #navbar {
        background-color: transparent;
    }

    #navLinks {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #navLinks.open {
        display: flex;
    }

    #navLinks li {
        width: auto;
    }

    #navLinks button {
        width: 100%;
        text-align: left;
        padding: 12px;
    }

    
}




/* Desktop */
@media (min-width: 769px) {

    #navbar {
        position: fixed;       /* Floats over the map */
        top: 15px;             /* Distance from top of viewport */
        left: 50%;
        transform: translateX(-50%);  /* Centers horizontally */
        width: 50%;
        border-radius: 48px;
        background-color: #ebebec;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 10000;         /* Above the Leaflet map */
        justify-content: center;
    
        /* Flexbox for centering everything inside */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    
    }

    #navLinks {
        display: flex;
        flex-wrap: wrap;
    }

    #menuToggle {
        display: none !important;
    }

}




























