html {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    color: #333;
}

*, :after, :before {
    box-sizing: border-box;
}

@media (prefers-reduced-motion:no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

*::-webkit-scrollbar {
    -webkit-appearance: none;
}

*::-webkit-scrollbar:vertical {
    width:10px;
}

*::-webkit-scrollbar-button:increment,*::-webkit-scrollbar-button {
    display: none;
}

*::-webkit-scrollbar:horizontal {
    height: 10px;
}

*::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}

*::-webkit-scrollbar-track {
    border-radius: 10px;
}

.search {
    display: flex;
    padding: 1em;
    flex-direction: column;
    gap: 0.5em;
    border-radius: 8px;
    background: #FFF;
    width: 100vw;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.search__name div, .search__location div {
    display: none;
}

.search__name, .search__location {
    font-weight: 600;
    display: flex;
    padding-right: 0px;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
    border: 1px solid #333;
    padding: 14px 8px;
    border-radius: 4px;
}

.search__name::before {
    font-family: 'Material Icons';
    content: '\e56c';
}

.search__location::before {
    font-family: 'Material Icons';
    content: '\e0c8';
    /* e8b6 search */
}

@media only screen and (min-width: 665px) {
    body {
        padding: 1em;
    }
    .search {
        flex-direction: row;
        box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.16);
        width: inherit;
        position: inherit;
        top: inherit;
        left: inherit;
        -ms-transform: none;
        transform: none;
        gap: 1em;
    }

    .search__name, .search__location {
        border: none;
        border-right: 0.5px solid #AAA;
        flex-direction: column;
        padding: 0;
    }

    .search__name div, .search__location div {
        display: block;
    }

    .search__name::before, .search__location::before {
        display: none;
    }
}

.search__name:first, .search__location:first {
    height: 20px;
    align-self: stretch;
    color: #333;
    font-size: 1em;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 125% */
}

.search__name > input, .search__location > input {
    box-sizing: border-box;
    width: 100%;
    padding: 0 1em 0 0;
    font-weight: 500;
    line-height: 20px; /* 125% */
    border: none;
    outline: none;
}

.search__button {
    display: flex;
    padding: 14px 32px;
    justify-content: center;
    color: #FFF;
    align-items: center;
    border-radius: 4px;
    background: #333;
    font-style: normal;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.search__button:disabled {
    cursor: not-allowed;
    outline: none;
    border: transparent;
    background: #DDD;
}
