* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; }

@-webkit-keyframes motion {
  from {
    bottom: 70px; }
  50% {
    bottom: 110px; }
  to {
    bottom: 70px; } }

@keyframes motion {
  from {
    bottom: 70px; }
  50% {
    bottom: 110px; }
  to {
    bottom: 70px; } }

body {
  font-family: 'Roboto','Arial', sans-serif; }

.header {
  position: relative;
  max-width: 1920px;
  height: 100vh;
  min-height: 380px;
  margin: 0 auto;
  background-image: url("../img/bcg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; }
  .header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 222, 113, 0.7); }
  .header__top {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; }
  .header__title {
    font-weight: 400;
    text-align: center; }
  .header__bottom {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 0 15px; }
  .header__text {
    font-size: 34px;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center; }

.logo {
  pointer-events: none;
  cursor: default; }
  .logo__img {
    height: 100px;
    outline: none; }

.arrow {
  position: absolute;
  z-index: 9;
  bottom: 20px;
  left: 50%;
  width: 45px;
  height: 45px;
  border-left: 2px solid black;
  border-bottom: 2px solid black;
  -webkit-transform-origin: right bottom;
      -ms-transform-origin: right bottom;
          transform-origin: right bottom;
  -webkit-transform: rotate(-45deg) translateX(-50%);
      -ms-transform: rotate(-45deg) translateX(-50%);
          transform: rotate(-45deg) translateX(-50%);
  -webkit-animation: motion 2s infinite linear;
          animation: motion 2s infinite linear;
  cursor: pointer; }

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  overflow: hidden; }

.hotels {
  margin-top: 50px; }
  .hotels__search {
    display: block;
    margin: 0 auto;
    padding: 5px 25px;
    border-radius: 15px;
    border: 1px solid black;
    outline: none; }

.hotel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid black;
  border-radius: 15px; }
  .hotel__img {
    width: 300px;
    height: auto;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; }
    .hotel__img:hover {
      -webkit-filter: contrast(135%);
              filter: contrast(135%); }
  .hotel__about {
    -ms-flex-preferred-size: 250px;
        flex-basis: 250px;
    margin-left: 15px; }
  .hotel__btn {
    -ms-flex-item-align: end;
        align-self: flex-end;
    margin-left: 15px;
    padding: 5px 15px;
    font-size: 20px;
    color: #0ade71;
    text-transform: uppercase;
    border: 1px solid #0ade71;
    border-radius: 15px;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s; }
    .hotel__btn:hover {
      color: white;
      background-color: #0ade71; }

.slider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 50px;
  overflow: hidden; }
  .slider__title {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase; }

.fotorama__nav-wrap {
  position: absolute;
  bottom: 5px; }

.fotorama__thumb-border {
  display: none; }

.footer {
  max-width: 1920px;
  margin: 0 auto;
  background-color: #0ade71; }
  .footer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 15px; }

.nav__list {
  list-style: none; }

.nav__item {
  margin-left: 20px; }

.nav__link {
  position: relative;
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  color: black; }
  .nav__link::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    width: 0px;
    height: 1px;
    background-color: black;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; }
  .nav__link::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    width: 0px;
    height: 1px;
    background-color: black;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; }
  .nav__link:hover::before {
    width: 10px; }
  .nav__link:hover::after {
    width: 10px; }

.footer__phone {
  font-size: 18px;
  text-decoration: none;
  color: black; }

.social .social__box {
  display: inline-block;
  width: 41px;
  height: 41px;
  margin-left: 10px;
  background-image: url(../img/footer-sprite.png); }

.social__vk {
  background-position: 0px 45px; }
  .social__vk:hover {
    background-position: 0px 92px; }

.social__fb {
  background-position: 90px 45px; }
  .social__fb:hover {
    background-position: 90px 92px; }

.social__inst {
  background-position: 41px 45px; }
  .social__inst:hover {
    background-position: 41px 92px; }

@media screen and (max-width: 768px) {
  .header__top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; }
  .logo__img {
    height: 50px; }
  .header__title {
    font-size: 26px; }
  .header__text {
    font-size: 30px; }
  .hotel {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; }
    .hotel__img {
      width: 100%; }
    .hotel__about {
      -ms-flex-preferred-size: initial;
          flex-basis: initial;
      text-align: center; }
    .hotel__btn {
      -ms-flex-item-align: center;
          align-self: center;
      margin-left: 0;
      margin-top: 15px; }
  .footer__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; }
  .footer__phone {
    margin-top: 10px; }
  .nav__item {
    display: inline-block;
    margin: 0 8px; }
  .social {
    margin-top: 10px; } }
