@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #777;
  padding: 3rem;
}

@keyframes moveinLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes moveinRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  80% {
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes moveinBottom {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
/* По Y минус с плюс перепутаніе  */
.header--animations {
  background-image: linear-gradient(to right, #7ed56f, #28b485);
  background-clip: text;
  color: transparent;
  letter-spacing: 0.2rem;
  transition: all 0.2s;
}
.header--animations:hover, .header--animations:focus {
  transform: skewY(2deg) skewX(15deg) scale(1.1);
  text-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, 0.2);
}

.btn, .btn:link, .btn:visited {
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.5rem 4rem;
  display: inline-block;
  border-radius: 10rem;
  transition: all 0.2s;
  position: relative;
  animation-name: moveinBottom;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  font-size: 1.6rem;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}
.btn:hover::after {
  opacity: 0;
  transform: scaleX(1.4) scaleY(1.6);
}
.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}
.btn--main {
  background-color: #fff;
  color: #777;
}
.btn--main::after {
  background-color: #fff;
}
.btn::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 10rem;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
}
.btn--animation {
  animation-name: moveinBottom;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: backwards;
}

.header {
  height: 95vh;
  background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 133, 0.8)), url(../img/hero.jpg);
  background-size: cover;
  background-position: top;
  clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
  position: relative;
}
.header__logo-box {
  position: absolute;
  top: 4rem;
  left: 4rem;
}
.header__img-box {
  height: 3.5rem;
}
.header__title-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.header__text {
  color: #fff;
  text-transform: uppercase;
  backface-visibility: hidden;
}
.header__text--main {
  display: block;
  font-weight: 400;
  font-size: 6rem;
  letter-spacing: 3.5rem;
  animation-name: moveinLeft;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  /* animation-delay: 3s;
    animation-iteration-count: 3; */
}
.header__text--sub {
  display: block;
  font-size: 2rem;
  letter-spacing: 1.7rem;
  font-weight: 700;
  animation-name: moveinRight;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  margin-bottom: 4.5rem;
}

.about {
  background-color: #f7f7f7;
  margin-top: -20vh;
  padding: 25rem 0;
}
.about__header {
  text-align: center;
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8rem;
}
.about__flex-container {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  max-width: 114rem;
  margin: 0 auto;
}
.about__flex-children {
  width: calc((100% - 5rem) / 2);
}
.about__text--header {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.about__text--paragraph {
  font-size: 1.6rem;
}
.about__text--paragraph:not(:last-child) {
  margin-bottom: 3rem;
}
.about__btn {
  text-decoration: none;
  font-size: 1.6rem;
  color: #55c57a;
  display: inline-block;
  border-bottom: 1px solid #55c57a;
  padding: 3px;
  transition: all 0.2s;
}
.about__btn:hover, .about__btn:focus {
  transform: translateY(-3px);
  background-color: #55c57a;
  color: #fff;
}
.about__img {
  position: relative;
}
.about__img--photo {
  position: absolute;
  width: 55%;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  transition: all 0.2s;
  outline-offset: 2rem;
}
.about__img--photo:hover {
  z-index: 10;
  outline: 1.5rem solid #55c57a;
  transform: scale(1.1);
  transform: translateY(-1.5rem);
}
.about__img--photo--p1 {
  top: -2rem;
  left: 0;
  z-index: 1;
}
.about__img--photo--p2 {
  top: 2rem;
  right: 0;
  z-index: 2;
}
.about__img--photo--p3 {
  bottom: 0;
  left: 20%;
  z-index: 3;
}

.features {
  padding: 20rem 6rem;
  background-color: #f7f7f7;
  background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 133, 0.8)), url(../img/nat-4.jpg);
  transform: skewY(-7deg);
  margin-top: -10rem;
}
.features__cards {
  display: flex;
  gap: 6.5rem;
  justify-content: center;
  flex-direction: row;
  list-style: none;
  transform: skewY(7deg);
}
.features__card {
  width: calc((100% - 19.5rem) / 3);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  box-shadow: 0 10% 10% 0;
  text-align: center;
  padding: 3rem;
  transition: transform 0.3s;
}
.features__card:hover {
  transform: translateY(-1.5rem) scale(1.03);
}
.features__card--icon {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  background-image: linear-gradient(to right bottom, #7ed56f, #28b485);
  background-clip: text;
  color: transparent;
}
.features__card--header {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.features__card--text {
  font-size: 1.6rem;
}

.tours {
  padding: 20rem 4rem;
  margin-top: -8rem;
  background-color: #f7f7f7;
  text-align: center;
}
.tours__header {
  text-align: center;
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8rem;
}
.tours__cards {
  display: flex;
  justify-content: center;
  gap: 6rem;
  height: 52rem;
  list-style: none;
  margin-bottom: 10rem;
}
.tours--card {
  width: calc((100% - 12rem) / 3);
  box-shadow: 0 10% 10% 0;
  border-radius: 4px;
  height: 52rem;
}
.tours--card--container {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 150rem;
  -moz-perspective: 150rem;
}
.tours--card:hover .tours--card--front {
  transform: rotateY(-180deg);
}
.tours--card:hover .tours--card--back {
  transform: rotateY(0);
}
.tours-transition {
  transition: all 0.8s ease;
}
.tours--front {
  background-color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.tours--front--img {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  background-blend-mode: screen;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background-size: cover;
  height: 23rem;
}
.tours--front--img--1 {
  background-image: linear-gradient(to right bottom, #ffb900, #ff7730), url(../img/nat-5.jpg);
}
.tours--front--img--2 {
  background-image: linear-gradient(to right bottom, #7ed56f, #28b485), url(../img/nat-6.jpg);
}
.tours--front--img--3 {
  background-image: linear-gradient(to right bottom, #2998ff, #5643fa), url(../img/nat-7.jpg);
}
.tours--front--header {
  font-size: 2.8rem;
  font-weight: 300;
  text-align: right;
  text-transform: uppercase;
  color: #fff;
  position: absolute;
  top: 12rem;
  right: 2rem;
  width: 55%;
}
.tours--front--header--span {
  padding: 1rem 1.5rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tours--front--header--span-1 {
  background-image: linear-gradient(to right bottom, rgba(255, 185, 0, 0.85), rgba(255, 119, 48, 0.85));
}
.tours--front--header--span-2 {
  background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.85), rgba(40, 180, 133, 0.85));
}
.tours--front--header--span-3 {
  background-image: linear-gradient(to right bottom, rgba(41, 152, 255, 0.85), rgba(86, 67, 250, 0.85));
}
.tours--front--list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  font-size: 1.4rem;
  list-style: none;
  align-items: center;
}
.tours--front--item {
  border-bottom: 0.5px solid #eee;
}
.tours--back {
  transform: rotateY(180deg);
  position: absolute;
  backface-visibility: hidden;
  width: 100%;
  height: 100%;
}
.tours--back--container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.tours--back--1 {
  background-image: linear-gradient(to right bottom, #ffb900, #ff7730);
}
.tours--back--2 {
  background-image: linear-gradient(to right bottom, #7ed56f, #28b485);
}
.tours--back--3 {
  background-image: linear-gradient(to right bottom, #2998ff, #5643fa);
}
.tours--back--p {
  font-size: 3rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 200;
}
.tours--back--price {
  font-size: 5rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 100;
}
.tours--btn {
  color: #fff;
  background-color: #55c57a;
  margin: 0 auto;
}

/*# sourceMappingURL=style.css.map */
