body {
  height: 100%;

  background-image: url(./images/buy.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #3d3d3d;
}

ul {
  padding: 0;
  margin: 0;
}

.inputs {
  margin-top: 18vh;
  margin-bottom: 18vh;
}

.input-item {
  font-size: 1.3em;
}

.navbar {
  background: rgba(0, 0, 0, 0.5);
}

.fix__height {
  height: 50px;
}

.nav__wrapper {
  width: 100%;
}

.navbar__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.nav-link {
  cursor: pointer;
  font-size: 1.3rem;
  border-radius: 0;
  transition: 0.3s;
}

.nav-link:hover {
  background-color: #37ac37;
}

.logo img {
  height: 40px;
  margin-top: 10px;
}

.right__mobile-nav {
  display: flex;
}

.burger__menu,
.login__mobile {
  color: #fff;
  font-size: 34px;
  display: none;
  border-bottom: 4px solid rgba(0, 0, 0, 0);
  transition: 0.3s;
}

.geo__menu {
  color: #fff;
  font-size: 26px;
  display: none;
  margin-top: 6px;
  margin-right: 20px;
  border-bottom: 4px solid rgba(0, 0, 0, 0);
  transition: 0.3s;
}

.burger__menu:hover,
.login__mobile:hover,
.geo__menu:hover {
  color: #ddfcdd;
  border-bottom: 4px solid #50ec50;
}

.modal__active {
  min-width: 170px;
  margin: 0 1px;
  border-top: 6px solid #37ac37;
  background-color: #37ac37;
  transition: 0.3s;
}

.modal__in-active {
  min-width: 170px;
  margin: 0 1px;
  margin-top: 6px;
  background-color: #afafaf;
  transition: 0.3s;
}

.modal__in-active:hover {
  background-color: #3b833b;
}

/* MODAL CITIES */
#chosen__city {
  padding-top: 0.2rem;
  padding-left: 0.5rem;
  font-size: 1.3rem;
}

.modal__cities ul {
  list-style: none;

  padding: 0;
  margin: 0;
}

.modal__cities ul li {
  padding: 7px 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.modal__cities ul li a {
  width: 100%;
  font-size: 1.2rem;
  padding-left: 30px;
  text-decoration: none;
  color: #37ac37;
  border-bottom: 4px solid rgba(0, 0, 0, 0);
  transition: 0.3s;
}

.modal__cities ul li a:hover,
.modal__cities ul li a:focus {
  background-color: #37ac37;
  color: #fff;
}

.catalog__items > * {
  display: none;
}

.catalog__item {
  font-size: 12px;
  padding-top: 1em;
  text-align: center;
}

.catalog__item i {
  font-size: 52px;
}

.catalog__item a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: 0.3s;
}

.full__catalog {
  width: 100%;
  height: 65px;
  margin: 25px 0 0;
  background-color: #37ac37;
  display: flex;
  justify-content: center;
  align-items: center;
}

.full__catalog a {
  color: #fff;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.4em;
}

.full__catalog a span {
  padding-right: 1rem;
}

.full__catalog-mobile a {
  font-size: 25px;
}

.full__catalog-mobile a i {
  font-size: 30px;
}

.advantage {
  padding-top: 12px;
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 0.9);
}

.footer {
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
}

.footer,
.burger__footer {
  font-size: 1.2rem;
  background-color: rgb(165, 165, 165);
}

.burger__footer {
  padding: 1em 0;
}

.footer-links ul {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;

  padding: 0;
  margin: 0;
}

.burger__footer-links ul {
  list-style: none;

  padding: 0;
  margin: 0;
}

.footer-links ul li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  text-align: center;
}

.burger__footer-links ul li a {
  margin: 0.5rem 2rem;
}

.footer-links ul li a {
  margin: 0 1rem;
}

.footer-links ul li a,
.burger__footer-links ul li a,
.footer a {
  text-decoration: none;
  color: #fefefe;
  border-bottom: 4px solid rgba(0, 0, 0, 0);
  transition: 0.3s;
}

.footer a {
  color: rgb(165, 165, 165);
}

.footer-links ul li a:hover,
.burger__footer-links ul li a:hover,
.footer a:hover {
  color: #ddfcdd;
  border-bottom: 4px solid #50ec50;
}

.copyright {
  color: rgb(165, 165, 165);
  padding: 8px 0 1px;
  background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
  }

  .advantage .col-md-3 {
    padding: 0;
  }

  .advantage h6 {
    font-size: 15px;
  }

  .footer {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .advantage {
    max-width: 500px;
  }

  .footer {
    margin-top: 25px;
    position: relative;
  }
}

@media (max-width: 575px) {
  body {
    background-position: top;
    background-size: 210% auto;

    padding-bottom: 0;
  }

  .footer-links ul {
    display: none;
  }

  .catalog {
    display: none;
  }

  .navbar__inner {
    flex-direction: row;
  }

  .burger__menu,
  .login__mobile,
  .geo__menu,
  .catalog__items > * {
    display: flex;
  }

  .modal__in-active,
  .modal__active {
    min-width: 90px;
  }
  .advantage {
    margin-top: 0;
  }

  .catalog__items {
    background-color: rgba(255, 255, 255, 0.9);
  }

  .logo,
  .nav__wrapper,
  .city__input {
    display: none;
  }
}

/* HEIGHT */

@media (max-height: 900px) {
  .inputs {
    margin-top: 18vh;
    margin-bottom: 18vh;
  }
}

@media (max-height: 820px) {
  .inputs {
    margin-top: 16vh;
    margin-bottom: 16vh;
  }
}

@media (max-height: 740px) {
  .inputs {
    margin-top: 12vh;
    margin-bottom: 12vh;
  }
}

@media (max-height: 660px) {
  .inputs {
    margin-top: 8vh;
    margin-bottom: 8vh;
  }
}

@media (max-height: 599px) {
  .inputs {
    margin-top: 4vh;
    margin-bottom: 4vh;
  }
}
