body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    margin: 0;
    min-height: 100vh;
    padding: 12px 12px 90px 12px;
    overflow-x: hidden;
    background-color: #f6f7f9;
}

.navbar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: black;
    z-index: 1000;
}

.navbar {
    height: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    color: white;
}

.navbar div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.navbar div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: white;
}

.navbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.navbar img {
    height: 32px;
    width: 32px;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

input {
    border-radius: 50px;
    border: 1px solid #d0d5dd;
    height: 3em;
    width: 100%;
    font-size: 16px;
    text-align: left;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: white;
}

.search-input {
    width: 100%;
    font-weight: bold;
    border-color: #4285F4;
}

.toggle-container {
    display: flex;
    align-items: center;
}

.dark-mode-toggle {
    height: 1.5em;
    width: 1.5em;
}

select {
    width: 100%;
    height: 2.25em;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background-color: white;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

select, ::picker(select) {
    appearance: base-select;
}

option {
    border: 1px solid gray;
    padding: 1em;
    transition: 0.4s;
}

select option:nth-of-type(even) {
    background-color: #4285F4;
}

.map-container {
    height: calc(100vh - 260px);
    width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background-color: white;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.add-landmark-button {
    position: fixed;
    bottom: 95px;
    right: 16px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background-color: #1E90FF;
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    z-index: 5000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-landmark-button:hover {
    background-color: #146aa7;
}

a {
    text-decoration: none;
    color: white;
}

@media (min-width: 701px) {
    body {
        display: grid;
        grid-auto-columns: 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto 1fr;
        gap: 24px 19px;
        grid-template-areas:
            "search-container search-container search-container"
            "map-container map-container map-container";
        padding: 0 0 90px 0;
    }

    .navbar-container {
        height: 72px;
    }

    .navbar img {
        height: 48px;
        width: 48px;
    }

    .search-container {
        grid-area: search-container;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-column-gap: 24px;
        grid-row-gap: 12px;
        margin: 12px auto 20px auto;
        width: 100%;
        max-width: 1200px;
    }

    .search-input {
        grid-area: 1 / 1 / 2 / 3;
        width: 100%;
    }

    .toggle-container {
        grid-area: 1 / 3 / 2 / 4;
        justify-content: center;
    }

    .landmark-type-dropdown {
        grid-area: 2 / 1 / 3 / 2;
        width: 100%;
    }

    .distance-dropdown {
        grid-area: 2 / 2 / 3 / 3;
        width: 100%;
    }

    .users-dropdown {
        grid-area: 2 / 3 / 3 / 4;
        width: 100%;
    }

    .map-container {
        grid-area: map-container;
        height: calc(100vh - 210px);
        margin: 0;
        border-radius: 0;
    }

    .add-landmark-button {
        bottom: 95px;
        right: 24px;
        width: 64px;
        height: 64px;
        font-size: 36px;
    }
}