body {
    font-family: 'Roboto', sans-serif;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding-top: 45px;
}

h3 {
    margin: 0;
}


.flex-cont {
    display: flex;
    flex-direction: row;
}

.flex-row {
    flex-direction: row;
    display: flex;
    margin: 5px 0;
    justify-content: center;
}

.flex-row:nth-child(1) {
    height: 550px;
}

.flex-tall {
    flex-direction: column;
    display: inline-block;
    width: 40%;
    height: 93vh;
    overflow-y: scroll;
}

.flex-item {
    /* background-color: rgb(244, 243, 251); */
    padding: 20px;
    margin: 10px 6px;
    min-height: 200px;
    border: #353639 solid 2px;
    border-radius: 3px;
}

.map {
    width: 57%;
    height: 88vh;
    left: 0;
    border: none;
}

input[type=text] {
    width: 90%;
    padding: 6px;
    border: none;
    margin-top: 8px;
    margin-right: 16px;
    font-size: 17px;
}

.post-item {
    width: 100%;
}

.post-item:hover {
    background-color: #67686d37;
}

/* From StackOverFlow */ 

/* basic positioning */
.legend { 
    list-style: none; 
}

.legend-div {
    background: none;
    height: 30px;
    margin-bottom: none;
    padding-bottom: none;
}

.legend li { 
    float: left; margin-right: 10px; 
}
.legend span { 
    border: 1px solid #150808; float: left; width: 15px; height: 15px; margin: 2px; 
}
/* your colors */
.legend .superawesome { background-color: #ff00ff; }
.legend .awesome { background-color: #00ffff; }
.legend .kindaawesome { background-color: #0000ff; }
.legend .kindaawesome1 { background-color: #ff0a74; }
.legend .kindaawesome2 { background-color: #8fe01e; }
.legend .kindaawesome3 { background-color: #ffa200; }
.legend .notawesome { background-color: #000000; }

.search {
    position: absolute;
    z-index: 1900;
    top: 60px;
    left: 12px;
    background-color: rgb(241, 243, 244);
    border: #92b5cf 2px solid;
    overflow-y: scroll;
    height: 200px;
    padding: 20px;
}

.img-thirds {
    width: 31%;
    min-width: 160px;
    height: auto;
    max-height: 800px;
    border: 2px solid rgb(36, 35, 35);
}

h4 {
    text-decoration: underline;
}

.info-block {
    background-color: rgb(240, 237, 249);
    margin-bottom: 50px;
    padding: 20px 30px;
    text-align: center;
}

/* div :not(.leaflet-popup-content-wrapper) {
    margin-bottom: 20px;
} */

#final-design-title {
    display: block;
    text-align: center;
}

.spacer {
    height: 20px;
}

.img-final {
    min-width: 200px;
    width: auto;
    max-width: 550px;
    height: auto;
    max-height: 800px;
}

.img-reg {
    height: 400px;
    width: auto;
}

/* From W3Schools */

#upBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: rgb(60, 68, 210); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}
  
#upBtn:hover {
    background-color: rgb(25, 27, 69); /* Add a dark-grey background on hover */
}

ul.navbar{
    position: fixed;
    left: 0; /* Align to the left of the viewport */
    top: 0; /* Stick to the top of the viewport */
    width: 100vw; /* Width will fit the content */
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #1c2242;
    z-index: 2000; /* Ensure it stays above other elements */
  }
  
ul.navbar li {
    float: left;
}
  
ul.navbar li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }

ul.navbar li.title-nav {
    float: right;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 700;
}
  
  ul.navbar li a:hover {
    background-color: #0f0d24;
  }

/* Popup thing from GeeksforGeeks */

.popup {
    position: fixed;
    z-index: 2100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
}

.popup-content {
    background-color: white;
    border-radius: 5px;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888888;
    width: 30%;
    font-weight: bolder;
}

.popup-content button {
    display: block;
    margin: 0 auto;
}

.show {
    display: block;
}

.city-select {
    display: flex;
    justify-content: center;
    padding: 4px 6px;
    margin-top: 10px;
    background-color: #efddff81;
    border-radius: 3px;
}

.city-select h4 {
    margin: 0;
    font-size: 2rem;
    font-weight: 1000;
}

#date-selection {
    font-size: 1.2rem;
}

.map-legend {
    bottom: 15px;
    left: 12px;
    position: fixed;
    width: 270px;
    height: 160px;
    z-index: 1910;
    background: rgb(249, 251, 253);
    font-size: 0.9rem;
}

.map-legend ul {
    padding: 23px;
}

.map-legend li {
    margin-bottom: 17px;
    margin-right: 0;
}

li img {
    width: 17px;
    height: auto;
}

@media  only screen and (max-width: 600px) {
    .flex-cont {
        flex-direction: column;
    }
}

