:root {
    --main-color: #7D80DA;
    --main-color-darker: rgb(112, 115, 196);
    --secondary-color: #E7ECEF;
}
* {
    box-sizing: border-box;
}
body *, html *{
    font-family: 'Lato', sans-serif;
    margin: 0;
}
body::-webkit-scrollbar {
    width: auto;
}
body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
html {
    overflow-x: hidden;
}
nav {
    display: flex;
    justify-content: right;
    z-index: 1;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 1px rgba(0, 0, 0, 0.2) solid;
    z-index: 2;
}
.header-container {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    height: 9vh;
}
.container {
    width: 78%;
    margin: auto;
}
.header-button-icon {
    height: 1em;
    margin-right: 5px;
}
.nav-list > li{
    margin-left: 10px;
}
main {
    margin-top: 16vh;
}

.search-wrap {
    height: 50%;
    width: 80%;
    display: flex;
    place-items: center;
    position: relative;
}
#search-bar, #search-bar--m {
    width: 100%;
    height: 100%;
    border: 1px rgba(0, 0, 0, 0) solid;
    outline: none;
    padding: 5px 10px 5px 38px;
    border-radius: 8px;
    background-color: var(--secondary-color);
    font-size: 1em;
    transition: 300ms;
}
#search-bar:focus, #search-bar--m:focus {
    background-color: white;
    border: 1px rgba(0, 0, 0, 0.2) solid;
    box-shadow: 0px 2px var(--main-color);
}
.search-bar-icon {
    margin-left: 12px;
    position: absolute;
    height: 16px;
}
.search--m {
    border-top: 1px rgba(0, 0, 0, 0.2) solid;
    height: 9vh;
    display: none;
    align-items: center;
}
.logo, #show-nav, nav {
    -webkit-tap-highlight-color: transparent;
}
.logo{
    width: min-content;
    text-decoration: none;
    font-size: 2em;
    font-weight: 500;
    color: var(--main-color);
}
.header-buttons-icon{
    padding: 0 5px;
    height: 50%;
}
.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-decoration: none;
    transition: 300ms;
    border-radius: 8px;
}
.nav-link:hover {
    color: var(--main-color)
}
.reg-btn {
    background-color: var(--main-color);
    color: white;
}
.reg-btn:hover {
    color: white;
    background-color: var(--main-color-darker);
}
.dropdown-content a {
    display: block;
    padding: 10px;
    color: #000;
    text-decoration: none;
}
#map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
}
.horizontal-splitter, .horizontal-splitter--d {
    width: 100%;
    border-top: 1px rgba(0, 0, 0, 0.2) solid;
    margin: 6vh 0;
}
#notifications {
    position: fixed;
    top: 16vh;
    right: 11%;
}
.notification {
    padding-top: 10px;
    border-left: none;
    transition: 300ms;
    opacity: 0;
    background-color: #fff;
}
.notification::before{
    content: "";
    padding: 0px 2px;
    margin-right: 5px;
}
.info::before {
    background-color: blue;
}
.error::before {
    background-color: red;
}
.warning::before {
    background-color: orange;
}
.success::before {
    background-color: green;
}

#show-nav {
    display: none;
    height: 40%;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.nav-btn-el {
    border-bottom: 3px var(--main-color) solid;
    width: 35px;
}
.search-btn-wrap {
    display: none;
    justify-content: center;
    align-items: center;
}
#close-nav {
    display: none;
    color: rgba(0, 0, 0, 0.4);
}
.--m {
    display: none;
}
@media (max-width: 991.98px) {
    .--m {
        display: block;
    }
    .container {
        width: 87%;
    }
    .header-container {
        justify-content: space-between;
    }
    nav {
        display: none;
        position: fixed;
        flex-direction: column;
        justify-content: center;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        background-color: #fff;
    }
    .nav-list {
        display: block;
        font-size: 1.5em;
    }
    .nav-list > li {
        margin: 0;
    }
    .nav-link {
        width: 50%;
        margin: 10px auto;
        padding: 20px 0;
    }
    #show-nav {
        display: flex;
        margin-left: auto;
        margin-right: 0;
    }
    .dropdown-wrap > .nav-link {
        display: none;
    }
    .dropdown-content a{
        width: 50%;
        margin: 10px auto;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 300ms;
    }
    .dropdown-content a:hover {
        color: var(--main-color)
    }
    form.search-wrap {
        display: none;
    }
    .search-btn--m {
        height: 28px;
    }
    #close-nav {
        display: block;
        font-size: 4em;
        position: absolute;
        top: 0;
        right: 0;
        padding: 0 30px;
    }
    .search-btn-wrap {
        display: flex;
    }
}
@media (min-width: 992px) {
    .dropdown-wrap {
        position: relative;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        right: 0;
        background-color: white;
        min-width: 140px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
    .dropdown-content a:hover {
        background-color: var(--secondary-color);
    }
    .dropdown-wrap:hover .dropdown-content{
        display: block;
    }
    .nav-link {
        height: 6vh;
        padding: 0 10px;
    }
}