:root {
  --bg-black: black;
}

/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

body {
  font-family: "Circular Std", sans-serif;
  height: 4000px;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type="file"] {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.header__list {
  display: flex;
  gap: 24px;
}

.header__el a {
  color: #181818;
  font-weight: 450;
}

.header__btn {
  display: flex;
  gap: 12px;
}

.header__btn__el a {
  color: #ffffff;
}

.header__btn__el {
  width: 120px;
  height: 48px;
  background-color: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.header__btn__el--black {
  width: 96px;
  height: 40px;
}

.header__btn__el--white {
  width: 81px;
  height: 40px;
  background-color: transparent;
  border: 1px solid #b7b7b7;
}

.header__btn__el--white a {
  color: #181818;
}

.place {
  padding-top: 60px;
}

.place__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.place__information {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.place__title {
  font-weight: 700;
  font-size: 72px;
  line-height: 1.2;
  position: relative;
  height: 273px;
  margin-bottom: 24px;
}
.place__desc {
  font-size: 18px;
  font-weight: 450;
  color: #909090;
  line-height: 150%;
  margin-bottom: 40px;
}

.place__title::after {
  content: url("../img/underline.svg");
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: -1;
}

.form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid #9090904d;
  border-radius: 16px;
  width: 560px;
  height: 72px;
}
.form__first {
  width: 216px;
  height: 46px;
}

.form__label__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form__label__title::before {
  content: url("../img/map.svg");
}

.form__label__title--date::before {
  content: url("../img/calendar.svg");
}

.form__hr {
  width: 1px;
  height: 24px;
  background-color: #909090;
}
.form__second {
  width: 216px;
  height: 46px;
}

#autoComplete,
#datepicker {
  width: 180px;
  height: 18px;
  margin-left: 36px;
}

.place__img {
  position: relative;
}

.place__img__scroll {
  position: absolute;
  bottom: 20px;
  right: 15px;
}

.place__img__down {
  position: absolute;
  bottom: 47px;
  right: 58px;
}

@keyframes around {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

.place__img__scroll--animation {
  animation: around 15s linear 0s infinite normal;
}

.travel-partner {
  padding: 63px 0;
}

.travel-partner__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.travel-partner__title {
  color: #9e9e9e;
  font-size: 24px;
  font-weight: 500;
}

.travel-partner__img {
  display: flex;
  align-items: center;
  gap: 32px;
}

.Popular-Destinations {
  padding: 60px 0px;
}

.Popular-Destinations__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Popular-Destinations__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.Popular-Destinations__top {
  display: grid;
  gap: 16px;
}

.Popular-Destinations__title {
  color: #181818;
  font-weight: 500;
  font-size: 36px;
}

.Popular-Destinations__desc {
  color: #909090;
  font-weight: 450;
  font-size: 18px;
}

.Popular-Destinations__slider {
  margin-top: 32px;
}

.container-right {
  padding-left: calc((100% - 1200px) / 2);
  display: flex;
}

.card {
  width: 304px;
  height: 378px;
}

.card__img img {
  object-fit: cover;
}

.card__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 4px;
}

.card__title {
  font-size: 20px;
  font-weight: 500;
}

.card__rating {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 4px;
}

.card__rating::before {
  content: "";
  display: block;
  width: 17px;
  height: 16px;
  background-image: url("../img/Vector.svg");
  background-repeat: no-repeat;
}

.card__desc {
  color: #909090;
  font-size: 16px;
  font-weight: 450;
}

.card__desc span {
  color: #181818;
}

.card__desc span i {
  font-style: normal;
  font-weight: 500;
  color: #35aff4;
}

.comment__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  overflow: hidden;
}

.comment__col {
  display: grid;
  gap: 32px;
  animation: commentUp 20s linear 0s infinite normal;
}

.comment__col:nth-child(2) {
  padding: 150px 0;
}

.comment__col:nth-child(3) {
  padding: 80px 0px;
}

.comment__card {
  width: 378px;
  box-shadow: 0px 4px 10px 0px #171c1f3b;
  padding: 32px;
}

.comment__text {
  font-weight: 450;
  font-size: 16px;
  color: #909090;
  width: 314;
  height: 120;
  margin: 32px 0px;
}

.comment__rating img {
  height: 18px;
  width: 20px;
}

.comment__img {
  width: 56px;
  height: 56px;
}

.comment__wrapper {
  display: flex;
  gap: 16px;
  align-items: center;
}

.comment__author h4 {
  font-weight: 500;
  color: #181818;
}

.comment__author p {
  font-weight: 450;
  color: #909090;
}

@keyframes commentUp {
  0% {
    transform: translateY(0%);
  }
  90% {
    transform: translateY(-50%);
  }
  95% {
    opacity: 1;
    filter: blur(0);
  }
  97% {
    filter: blur(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
    filter: blur(0px);
  }
}

.subscribe {
  background-color: #35aff4;
  padding: 80px 0px;
  position: relative;
  overflow: hidden;
}

.subscribe__wrapper {
  display: flex;
  justify-content: space-between;
  padding-left: 180px;
  gap: 20px;
}

.subscribe__wrapper::before {
  content: url("./../img/VectorJps.svg");
  position: absolute;
  top: 0px;
  left: 78px;
}

.subscribe__text {
  display: grid;
  gap: 4px;
  color: #ffffff;
}
.subscribe__title {
  font-weight: 500;
  font-size: 28px;
}
.subscribe__desc {
  font-weight: 450;
  font-size: 20px;
}
.subscribe__form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
}
.subscribe__form__input {
  height: 48px;
  flex-grow: 1;
  border-radius: 8px;
  border-width: 1px;
  padding-left: 44px;
  background-color: #ffffff;
  background-image: url("./../img/email.svg");
  background-repeat: no-repeat;
  background-position: 12px 12px;
  background-size: auto;
}
.subscribe__form__btn {
  height: 48px;
  width: 120px;
  background-color: #181818;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 450;
  transition: opacity 0.5s ease;
}

.subscribe__form__btn:hover {
  opacity: 0.8;
}

.footer {
  background-color: #181818;
  padding: 80px 0px;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer__logo {
  width: 121px;
  height: 24px;
}

.footer__desc {
  width: 300px;
  font-weight: 450;
  font-size: 16px;
  color: #ffffff;
}

.footer__left {
  display: grid;
}
.footer__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
}

.footer__left__h4 {
  margin-bottom: 24px;
}

.footer__list {
  display: grid;
  gap: 8px;
}

.footer__list a {
  color: #ffffff;
}
