*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: "PT Sans", sans-serif;
  line-height: normal;
  color: #31405b;
}

body > * {
  flex-shrink: 0;
}

main {
  flex-grow: 1;
}

label {
  cursor: pointer;
}

input {
  font-family: "PT Sans", sans-serif;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

span.bold {
  font-weight: 700;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
}

.main-header {
  font-size: 54px;
  line-height: 1.3;
  color: #31405b;
}

.inner-page {
  padding-top: 60px;
  padding-bottom: 100px;
  background-color: #f2f8f6;
}

.hided-br br {
  display: none;
}

.button {
  display: inline-block;
  padding: 12px 40px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: #ffffff;
  background: #0ac883;
  box-shadow: 0px 8px 20px rgba(24, 219, 148, 0.35);
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

.logo {
  font-family: "Lobster", cursive;
  font-weight: 400;
  font-size: 40px;
  color: #fff;
}

.header {
  position: relative;
  height: 800px;
  padding-top: 50px;
  background-color: #265847;
  background-image: url("./../img/header/header-bg.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100px;
  background-color: #265847;
  background-image: url("./../img/header/header-small-bg.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 1170px;
}

.header-nav {
  font-size: 22px;
  color: #fff;
}

.header-nav-button {
  display: none;
}

.header-nav-list {
  display: flex;
}

.header-nav-list-item:not(:last-child) {
  margin-right: 50px;
}

.header-nav-link {
  text-decoration: none;
  color: #fff;
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -43%);
  width: 1170px;
  text-align: center;
}

.header-title {
  margin-bottom: 20px;
  font-size: 60px;
  line-height: 1.3;
}

.header-content p {
  font-size: 24px;
}

.header-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%);
  display: block;
  padding-bottom: 34px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.header-scroll::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("../img/header/arrow-down.svg");
}

.main {
  padding-top: 120px;
  padding-bottom: 120px;
}

.main-row {
  display: flex;
  justify-content: space-between;
}

.main-row:not(:last-child) {
  margin-bottom: 120px;
}

.main-row:nth-child(even) {
  flex-direction: row-reverse;
}

.main-content {
  width: 470px;
}

.main-content-header {
  margin-bottom: 20px;
}

.main-content-text {
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 1.6;
  color: #31405b;
}

.main-content-text p {
  margin-top: 0;
  margin-bottom: 15px;
}

.main-content-text a {
  color: #138ece;
}

.main-img {
  width: 570px;
}

.inner-page-tours-header {
  margin-bottom: 60px;
  text-align: center;
}

.footer {
  padding-top: 70px;
  padding-bottom: 90px;
  background-color: #265847;
  color: #fff;
}

.footer a {
  text-decoration: none;
  color: #fff;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-row {
  display: flex;
  justify-content: space-between;
}

.footer-widgets-wrapper {
  display: flex;
  padding-top: 10px;
}

.footer-copyright {
  width: 270px;
}

.footer-copyright p {
  font-size: 16px;
  line-height: 1.6;
}

.footer-logo {
  margin-bottom: 26px;
}

.footer-widget {
  font-size: 18px;
}

.footer-widget-info {
  width: 170px;
}

.footer-widget-services,
.footer-widget-contacts {
  width: 270px;
}

.footer-widget:not(:last-child) {
  margin-right: 30px;
}

.footer-widget p {
  margin-top: 0;
  margin-bottom: 15px;
}

.footer-widget-title {
  margin-bottom: 30px;
  font-size: 24px;
}

.footer-widget-list {
  font-size: 18px;
}

.footer-widget-list li {
  margin-bottom: 15px;
}

.footer-widget-list li:last-child {
  margin-bottom: 0;
}

.cards-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.cards-row {
  display: flex;
  column-gap: 30px;
}

.cards-row:last-child {
  margin-bottom: 0;
}

.cards-column {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.card {
  width: 570px;
  text-decoration: none;
  background-color: #265847;
  transition: opacity 0.2s ease-in;
  cursor: pointer;
}

.card:hover {
  opacity: 0.9;
}

.card.bigger {
  width: 670px;
}

.card.small {
  width: 470px;
}

.card-title-wrapper {
  display: flex;
  align-items: center;
  height: 80px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: #a6a6a6;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}

.card.extreme-color .card-title-wrapper {
  background-color: #c1b19b;
}

.card.adventures-color .card-title-wrapper {
  background-color: #66b0be;
}

.card.tracking-color .card-title-wrapper {
  background-color: #876f56;
}

.card.jungle-color .card-title-wrapper {
  background-color: #27695e;
}

.card-title {
  font-size: 28px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.row-article-page {
  display: flex;
  justify-content: space-between;
  padding-top: 9px;
}

.article-page-nav {
  width: 270px;
  flex-shrink: 0;
  flex-grow: 0;
}

.article-page-nav-title {
  margin-bottom: 34px;
  font-size: 28px;
  color: #31405b;
}

.article-page-nav-list {
  font-size: 20px;
  border-top: 1px solid #d6d9d8;
}

.article-page-nav-list li {
  border-bottom: 1px solid #d6d9d8;
}

.article-page-nav-list a {
  display: block;
  padding-top: 14px;
  padding-bottom: 14px;
  text-decoration: none;
  color: #138ece;
}

.article-page-nav-list a.active {
  font-weight: 700;
  color: #e04e4e;
}

.article-page-nav-list a:hover {
  text-decoration: underline;
}

.article-page-article {
  width: 770px;
  flex-shrink: 0;
  flex-grow: 0;
  font-size: 20px;
  line-height: 1;
}

.article-page-article h1 {
  margin-top: -6px;
  margin-bottom: 40px;
  font-size: 54px;
  line-height: 1.2;
  color: #31405b;
}

.article-page-article h2,
.article-page-article h3,
.article-page-article h4,
.article-page-article h5,
.article-page-article h6 {
  margin-bottom: 15px;
  line-height: 1.2;
  color: #31405b;
}

.article-page-article h2 {
  margin-top: 27px;
  font-size: 32px;
}

.article-page-article h3 {
  margin-top: 25px;
  font-size: 26px;
}

.article-page-article h4 {
  margin-top: 25px;
  font-size: 22px;
}

.article-page-article h5 {
  font-size: 20px;
}

.article-page-article h6 {
  font-size: 18px;
}

.article-page-article p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #31405b;
}

.article-page-article > *:last-child {
  margin-bottom: 0;
}

.article-page-article a {
  text-decoration: none;
  color: #138ece;
}

.article-page-article img {
  margin-top: 40px;
  margin-bottom: 40px;
}

.contacts-header {
  margin-bottom: 40px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info {
  width: 470px;
}

.contact-block + .contact-block {
  margin-top: 40px;
}

.contact-block-title {
  margin-bottom: 20px;
  font-size: 28px;
}

.contact-block-body {
  width: 470px;
  font-size: 20px;
}

.contact-list {
  line-height: 1.6;
}

.contact-list li + li {
  margin-top: 15px;
}

.contact-list a {
  color: #138ece;
  text-decoration: none;
}

.contact-list-icon {
  position: relative;
  padding-left: 39px;
}

.contact-list-icon::before {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 0;
  width: 24px;
  height: 24px;
}

.contact-list-icon.icon-phone::before {
  background-image: url("./../img/icons/phone.svg");
}

.contact-list-icon.icon-mail::before {
  background-image: url("./../img/icons/mail.svg");
}

.contact-list-icon.icon-map-pin::before {
  background-image: url("./../img/icons/map-pin.svg");
}

.contact-block-map {
  width: 100%;
  height: 345px;
}

.form {
  width: 630px;
  padding: 40px;
  background: #ffffff;
  box-shadow: 0px 10px 20px rgba(211, 211, 211, 0.25);
}

.form-title {
  margin-bottom: 20px;
  font-size: 28px;
}

.form-group {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.25;
}

.form-group:last-of-type {
  margin-bottom: 35px;
}

.form-group-title {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
}

.form-group-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.form-group-row > .input + .input {
  margin-left: 15px;
}

.input {
  width: 100%;
  height: 50px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: normal;
  color: #31405b;
  background: #eeeeee;
  border: 1px solid #c0c0c0;
  border-radius: 6px;
}

.input::placeholder {
  color: rgba(49, 64, 91, 0.5);
}

.radio-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 21px;
}

.radio-row:last-child {
  margin-bottom: 0;
}

.real-radio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: -1;
  appearance: none;
}

.custom-radio {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  margin-right: 15px;
  width: 20px;
  height: 20px;
  vertical-align: bottom;
  background: #eeeeee;
  border: 1px solid #c0c0c0;
  border-radius: 50%;
}

.real-radio:focus + .custom-radio {
  border: 1px solid #2ab698;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.custom-radio::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  content: "";
  width: 12px;
  height: 12px;
  background-color: #2ab698;
  border-radius: 50%;
  transition: transform 0.2s ease-in;
}

.real-radio:checked + .custom-radio::before {
  transform: translate(-50%, -50%) scale(1);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 17px;
}

.checkbox-row:last-child {
  margin-bottom: 0;
}

.real-checkbox {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: -1;
  appearance: none;
}

.custom-checkbox {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  margin-right: 15px;
  width: 20px;
  height: 20px;
  vertical-align: bottom;
  background: #eeeeee;
  border: 1px solid #c0c0c0;
  border-radius: 2px;
}

.real-checkbox:focus + .custom-checkbox {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.custom-checkbox::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  content: "";
  width: 17px;
  height: 17px;
  background-image: url(./../img/icons/check.svg);
  transition: transform 0.2s ease-in;
}

.real-checkbox:checked + .custom-checkbox::before {
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1199px) {
  .container {
    width: 900px;
  }

  .header {
    height: 591px;
  }

  .header-top {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .header-content {
    width: 900px;
    padding-right: 15px;
    padding-left: 15px;
    transform: translate(-50%, -50%);
  }

  .header-nav-list {
    display: none;
  }

  .header-nav-button {
    display: block;
    background: transparent;
    border: none;
  }

  .header-title {
    font-size: 52px;
  }

  .header-scroll {
    font-size: 0;
  }

  /* Main */
  .main {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .main-row:not(:last-child) {
    margin-bottom: 80px;
  }

  .main .main-header {
    font-size: 50px;
    line-height: 1;
  }

  .main-content {
    width: 420px;
  }

  .main-content-text {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .main-img {
    width: 420px;
  }

  /* Footer */
  .footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .footer-copyright {
    width: 195px;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-logo .logo {
    font-size: 30px;
  }

  .footer-copyright p {
    font-size: 14px;
  }

  .footer-widget-title {
    margin-bottom: 20px;
  }

  .footer-widget-info {
    width: 195px;
  }

  .footer-widget-services {
    display: none;
  }

  /* Tours */
  .inner-page {
    padding-bottom: 60px;
  }

  .inner-page-tours-header {
    margin-bottom: 40px;
  }

  .main-header {
    font-size: 50px;
    line-height: 1.3;
  }

  .cards-row {
    align-items: center;
  }

  .card {
    width: 420px;
  }

  .card-title-wrapper {
    height: 60px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .card-title {
    font-size: 24px;
  }

  .card.bigger {
    width: 495px;
  }

  .card.small {
    width: 345px;
  }

  /* Tracking */
  .hided-br br {
    display: initial;
  }

  .inner-page--tours {
    padding-top: 40px;
  }

  .article-page-nav-list {
    font-size: 18px;
    line-height: 1.32;
  }

  .article-page-article {
    width: 570px;
    font-size: 18px;
  }

  .article-page-article p {
    line-height: 1.62;
  }

  .article-page-article h1 {
    margin-bottom: 20px;
    font-size: 50px;
  }

  .article-page-article img {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  /* Contacts */
  .inner-page--contacts {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .contact-row {
    flex-direction: column;
  }

  .contact-info {
    display: flex;
    column-gap: 30px;
    width: 100%;
    margin-bottom: 35px;
  }

  .contact-block {
    width: 420px;
  }

  .contact-block + .contact-block {
    margin-top: 0;
  }

  .contact-block-title {
    margin-bottom: 25px;
    font-size: 24px;
  }

  .contact-block-body {
    width: 420px;
    font-size: 18px;
  }

  .contact-block-map {
    height: 310px;
  }

  .form {
    width: 100%;
  }

  .input {
    padding-left: 29px;
    padding-right: 29px;
  }
}
@media (max-width: 899px) {
  .container {
    width: 100%;
  }

  .logo {
    font-size: 40px;
  }

  .header-top,
  .header-content {
    width: 100%;
  }

  .header-content {
    transform: translate(-50%, -60%);
  }

  .header-inner {
    height: 80px;
  }

  .header-title {
    font-size: 42px;
    line-height: 1;
  }

  .header-content p {
    font-size: 20px;
  }

  .header-nav-button {
    margin-right: 10px;
  }

  /* Main */
  .main {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .main-row {
    flex-direction: row-reverse;
  }

  .main-row:not(:last-child) {
    margin-bottom: 60px;
  }

  .main-row:nth-child(even) {
    flex-direction: row-reverse;
  }

  .main .main-header {
    font-size: 42px;
    line-height: 1;
  }

  .main-content {
    width: auto;
  }

  .main-content-text {
    font-size: 16px;
    line-height: 1.63;
  }

  .button {
    padding: 12px 35px;
    font-size: 18px;
  }

  .main-img {
    flex-shrink: 0;
    margin-right: 30px;
    width: 170px;
  }

  .main-img img {
    height: 100%;
    object-fit: cover;
  }

  /* Footer */
  .footer {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-row {
    flex-direction: column-reverse;
  }

  .footer-widgets-wrapper {
    width: 100%;
    margin-bottom: 50px;
    padding-top: 0;
  }

  .footer-widgets-wrapper > * {
    width: calc(50% - 15px);
  }

  .footer-copyright {
    width: auto;
  }

  /* Tours */
  .header-inner .logo {
    font-size: 30px;
  }

  .inner-page {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .main-header {
    font-size: 42px;
  }

  .cards-row {
    flex-direction: column;
    row-gap: 30px;
  }

  .card {
    width: 570px;
  }

  .card-title-wrapper {
    padding-right: 25px;
    padding-left: 25px;
  }

  .card.bigger {
    width: 570px;
  }

  .card.small {
    width: 570px;
  }

  /* Tracking */
  .hided-br br {
    display: none;
  }

  .inner-page--tours {
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .row-article-page {
    flex-direction: column-reverse;
  }

  .article-page-nav {
    width: auto;
  }

  .article-page-nav-title {
    margin-bottom: 20px;
  }

  .article-page-nav-list {
    font-size: 18px;
  }

  .article-page-article {
    width: auto;
    font-size: 16px;
    margin-bottom: 40px;
  }

  .article-page-article p {
    line-height: 1.62;
  }

  .article-page-article h1 {
    margin-bottom: 20px;
    font-size: 42px;
  }

  .article-page-article img {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* Contacts */
  .inner-page--contacts {
    padding-bottom: 40px;
  }

  .contacts-header {
    margin-bottom: 30px;
  }

  .contact-info {
    flex-direction: column;
    row-gap: 40px;
  }

  .contact-block {
    width: 100%;
  }

  .contact-block-body {
    width: 100%;
  }

  .form {
    padding: 30px;
  }

  .input {
    padding-right: 19px;
    padding-left: 19px;
  }

  .form .button {
    padding-right: 30px;
    padding-left: 30px;
  }
}
@media (max-width: 599px) {
  .container {
    width: auto;
  }

  .header-top,
  .header-content {
    width: 100%;
  }

  .logo {
    font-size: 30px;
  }

  .header-title {
    margin-bottom: 10px;
    font-size: 32px;
  }

  .header-content p {
    font-size: 18px;
  }

  .header-nav-button {
    margin-right: 0;
  }

  /* Main */
  .main {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .main .container {
    width: 100%;
  }

  .main-row {
    flex-direction: column-reverse;
  }

  .main-row:not(:last-child) {
    margin-bottom: 40px;
  }

  .main-row:nth-child(even) {
    flex-direction: column-reverse;
  }

  .main .main-header {
    font-size: 34px;
    line-height: 1;
  }

  .main-img {
    width: auto;
    height: 150px;
    margin-right: 0;
    margin-bottom: 20px;
  }

  /* Footer */
  .footer {
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-widgets-wrapper {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .footer-widgets-wrapper > * {
    width: 100%;
  }

  .footer-widget:not(:last-child) {
    margin-bottom: 40px;
    margin-right: 0;
  }

  .footer-widget-services {
    display: block;
  }

  .footer-widget-title {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .footer-widget-list {
    font-size: 16px;
    line-height: 1.3;
  }

  .footer-widget-list li {
    margin-bottom: 10px;
  }

  .footer-widget-contacts li {
    margin-bottom: 15px;
  }

  .inner-page-tours-header {
    margin-bottom: 30px;
  }

  .inner-page .main-header {
    font-size: 28px;
    line-height: 1;
  }

  .cards-wrapper {
    row-gap: 20px;
  }

  .cards-row {
    flex-direction: column;
    row-gap: 20px;
  }

  .card {
    width: 290px;
  }

  .card-title-wrapper {
    height: 50px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .card-title {
    font-size: 20px;
  }

  .cards-column {
    row-gap: 20px;
  }

  .card.bigger {
    width: 290px;
  }

  .card.small {
    width: 290px;
  }

  /* Tracking */
  .inner-page--tours {
    padding-bottom: 40px;
  }

  .article-page-nav-title {
    font-size: 22px;
  }

  .article-page-nav-list {
    font-size: 16px;
    line-height: 1.3;
  }

  .article-page-nav-list a {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .hided-br br {
    display: initial;
  }

  .article-page-article {
    width: auto;
    margin-bottom: 30px;
  }

  .article-page-article h1 {
    margin-bottom: 10px;
    font-size: 28px;
  }

  .article-page-article h2,
  .article-page-article h3 {
    line-height: 1;
  }

  .article-page-article h2 {
    margin-top: 0;
    font-size: 32px;
  }

  .article-page-article h3 {
    margin-top: 0;
    font-size: 26px;
  }

  .article-page-article h4 {
    margin-top: 25px;
    font-size: 22px;
  }

  /* Contacts */
  .contact-info {
    row-gap: 30px;
  }

  .contact-block-title {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .contact-block-body {
    font-size: 16px;
  }

  .contact-list {
    line-height: 1.3;
  }

  .contact-list li + li {
    margin-top: 20px;
  }

  .contact-list-icon {
    padding-left: 33px;
  }

  .contact-list-icon::before {
    top: 3px;
  }

  .contact-block-map {
    height: 155px;
  }

  .form {
    padding: 20px 15px 30px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-group {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.3;
  }

  .form-group:last-of-type {
    margin-bottom: 20px;
  }

  .form-group-title {
    margin-bottom: 9px;
    font-size: 18px;
    line-height: 1.3;
  }

  .form-group-row {
    flex-direction: column;
    row-gap: 10px;
  }

  .form-group-row > .input + .input {
    margin-left: 0;
  }

  .input {
    padding-right: 15px;
    padding-left: 15px;
  }

  .radio-row {
    margin-bottom: 10px;
  }

  .checkbox-row {
    margin-bottom: 20px;
    padding-right: 5px;
  }

  .form .button {
    padding-right: 35px;
    padding-left: 35px;
  }
}

/*# sourceMappingURL=main.css.map */
