@keyframes modal-fade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
    }
}

table {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 10px;
}
div.olControlAttribution,
div.olControlScaleLine {
    font-family: Verdana;
    font-size: 0.7em;
    bottom: 3px;
}
.adding-row {
    opacity: 1;
}
#guesses-remaining {
    margin-top: 0.5rem;
}

datalist {
    width: 200px;
    font-family: "EB Garamond", serif;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 10px; /* Adjust the scrollbar width */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #888; /* Adjust the thumb color */
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Adjust the thumb color on hover */
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Adjust the track color */
}

blockquote {
    margin: 0;
}

.custom-select {
    position: relative;
    display: inline-block;
}

.custom-select-input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}

.custom-select-option {
    padding: 10px 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: left;
}
.custom-select-option img {
    width: 30px;
    border-radius: 3px;
    mix-blend-mode: multiply;
}

.custom-select-option span {
    padding-left: 20px;
}

.custom-select-option:hover {
    background-color: #f0f0f0;
}

.custom-select-options {
    display: none;
    width: 60vw;
    max-width: 600px;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0 0rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-height: 30px;
}

#dropdown-button {
    position: absolute;
    top: 28px;
    right: 0px;
    width: 50px; /* Adjust the width as needed */
    background-color: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.dropdown-button span {
    font-size: 25px;
    color: #999999; /* Adjust the color as needed */
}

.fa-external-link-alt {
    font-size: 20px;
}

.green-highlight {
    background-color: var(--correct);
}

#guess-button {
    border-radius: 4px;
    display: block;
    margin: auto;
    margin-top: 1vh;
    margin-bottom: 1vh;
    background-color: rgba(164, 133, 62, 0.824);
    color: #fcfcfc;
    border: none;
    padding: 1rem 0.5rem;
    font-size: 18px;
    width: 250px;
}

#guess-button:hover {
    background-color: rgb(164, 133, 62);
}

#guess-table {
    margin-top: 1rem;

    width: 100%;
    text-align: center;
    background-color: rgb(240, 240, 240);
}

th {
    padding: 1rem;
    border-radius: 5px;
    border: none;
}
td {
    padding: 1rem;
    aspect-ratio: 1 / 1;
    border-radius: 2px;
}
#heading {
    margin-bottom: 0px;
    margin-top: 4rem;
    text-align: center;
    font-size: 4rem;
    font-family: "EB Garamond", serif;
}

.input-field {
    padding-right: 40px; /* Adjust this value based on the desired spacing */
    width: 200px; /* Adjust the width as needed */
}

#input-wrapper {
    position: relative;
    display: inline-block;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
}
#OpenLayers_Layer_Markers_4 > * {
    display: block !important;
}
.modal-close-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.modal-content {
    background-color: #fff;
    width: 60%;
    max-width: 700px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    animation: modal-fade 0.4s ease-out;
}

.modal-list {
    text-align: left;
    font-size: 18px;
    margin: 0px 30px 10px;
    line-height: 24px;
}

.modal-paragraph {
    line-height: 24px;
    font-size: 18px;

    margin: 0px 30px 10px;
}

.modal-subtitle {
    font-family: "EB Garamond", serif;
    font-size: 25px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.modal-title {
    font-family: "EB Garamond", serif;
    font-size: 40px;
    margin-bottom: 10px;
    margin-top: 10px;
}

body {
    background-color: #fcfcfc;
    font-family: "Nanum Gothic", sans-serif;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}

tr {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:root {
    --correct: rgb(106, 170, 100);
    --partially-correct: rgb(201, 180, 88);
    --incorrect: rgb(120, 124, 126);
}

#subheading {
    text-align: center;
}

#table-column-names {
    opacity: 1;
}

#timer-text {
    font-weight: 600;
    font-size: 48px;
}
#timer-info {
    font-weight: 900;
    text-transform: uppercase;
    font-size: small;
    color: rgb(95, 111, 117);
}

#text-input {
    margin: auto;
    border-radius: 4px;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0;
    width: 60vw;
    min-width: 100px;
    max-width: 600px;
    height: 3rem;
    font-size: 17px;
    padding: 0rem 0rem;
    border: 1px solid rgb(255, 255, 255);
    background-color: inherit;
    font-family: inherit;
    border: 1px solid #ccc;

    border-radius: 5px;

    text-indent: 1rem;
}

#toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    padding: 0px 20px;
}

.toolbar-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.toolbar-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
}

/* .toolbar-button:hover {
    background-color: #dedede;
} */

.toolbar-button:visited {
    text-decoration: none;
}

.toolbar-title {
    font-family: "EB Garamond", serif;
    font-size: 40px;
    flex-grow: 1;
    text-align: center;

    margin: 0;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.yellow-highlight {
    background-color: var(--partially-correct);
}

/* @media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    #text-input, #guess-dropdown {
        margin: 0 1rem;
        width:99%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    #text-input, #guess-dropdown {
        margin: 0 1rem;
        width:100vw;
    }
}

@media only screen and (max-width: 300px) {
    #heading {
        font-size: 2.5rem;
    }

    #text-input {
        width: 80vw;
    }

    #guess-button {
        width: 100%;
    }
} */


#timer {
    text-align: center;
    margin-top: 1rem;
    font-size: xx-large;
    font-weight: 800;
}

#map {
  height: calc(100vh - 52px); /* 100% of the viewport height - navbar height */
}