html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* lato-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* lato-900 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/lato-v24-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

html{
    box-sizing: border-box;
}

*, *::before, *::after{
box-sizing: inherit;
}

body{
  font-family: Lato;
  font-style: normal;
  font-size: 16px;
  line-height: 1.2;
  font-weight: normal;
  color: #102746;
}

.wrapper{
  max-width: 55.2vw;
  margin: 0 auto;
}

.wrapper_full{
  max-width: 87.77vw;
  margin: 0 auto;
}

.section_title{
  font-weight: 500;
  font-size: 35px;
  line-height: 42px;
  color: #000000;
  position: relative;
  padding-bottom: 7px;
}

.section_title::after{
  width: 17.56vw;
  height: 3px;
  background-color: #006DFE;
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
}

/* Стили дял хедера */

.header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.header_wrapper{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 5.18vh;
}

.menu_list{
  display: flex;
  flex-wrap: wrap;

}

.menu_item{
  margin-right: 4.3vw;
}

.menu_item:last-child{
  margin-right: 0px;
}

.menu_link{
  font-size: 18px;
  line-height: 24px;
  color: white;
  text-decoration: none;
}

.menu_link:hover, .menu_link:focus, .menu_link:active{
  opacity: .75;
}

/* Стили дял вступления */

.intro{
  height: 100vh;
  background: url(../img/Hero.png) no-repeat;
  background-size: cover;
}

.intro_title{
  max-width: 32.23vw;
  padding-top: 24.35vh;
  padding-bottom: 2vh;
  font-size: 50px;
  line-height: 60px;
  color: white;
}

.intro_opis{
  max-width: 28.43vw;
  padding-bottom: 5.46vh;
  font-size: 16px;
  line-height: 24px;
  color: white;
}

.search_form_info{
  display: flex;
  flex-wrap: wrap; 
}

.search_form_button{
 width: 8.9vw;
 height: 5.37vh;
 background-color: #1B7DFF;
 border: 0;
 color: white;
 font-size: 1.25vw;
}

.search_form_button:hover, .search_form_button:focus, .search_form_button:active{
background-color: #1766cd;
}

.search_form_input{
  width: 297px;
  background: transparent url(../img/Oval.png) no-repeat left 0.6vh;
  background-size: 20px;
  border: 0;
  border-bottom: 2px solid white;
  margin-right: 3.17vw;
  padding-left: 43px;
  padding-bottom: 22px;
  font-weight: 500;
  font-size: 18px;
  color: white;
}

.search_form_input::placeholder{
  font-size: 0.93vw;
  color: white;
}

/* Карточка возможностей */

.benefits{
  margin-bottom: 12.12vh;
}

.benefits_wrap{
  max-width: 87.63vw;
  box-shadow: 0px 2px 20px 0px #15182429;
  top: 0;
  left: 0;
  margin: 0 auto;
  background-color: white;
  position: relative;
}

.benefits_title{
  width: 100%;
  font-weight: 500;
  font-size: 35px;
  line-height: 42px;
  padding: 8.6vh 7.15vw 11.11vh 6.94vw;
  background-color: white;
  position: absolute;
  transform: translateY(-100%);
}

.benefits_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3.8vw;
  padding: 0 100px;
}

.benefits_card {
  display: flex;
  flex-direction: column;
  margin-bottom: 10.37vh;
}

.benefits_card_icon{
  max-width: 4.5vw;
  margin-bottom: 3.42vh;
}

.benefits_card_title{
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 2.4vh;
  color: #000000;
}

.benefits_card_opis{
  font-size: 16px;
  line-height: 24px;
  padding-bottom: 3.61vh;
  color: #000000;
}

.benefits_card_more{
  font-size: 16px;
  line-height: 24px;
  padding-right: 1.8vw;
  color: #006DFE;
  text-decoration: none;
  transition: 0.3s;
  background: url(../img/Shape.png) no-repeat center;
}

.benefits_card_more:hover, .benefits_card_more:focus{
  background: url(../img/Shape.png) no-repeat 60%;
}

/* Места */

.places{
  margin-bottom: 12.12vh;
}

.places_title {
  margin-right: 2vw;
}

.places_signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5vw;
}

.places_link {
  font-size: 16px;
  color: #006DFE;
  text-decoration: none;
  padding-right: 3vw;
  background: url(../img/Shape.png) no-repeat right;
}

.places_link:hover, .places_link:focus {
  opacity: 0.6;
}

.places_cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 10px;
  row-gap: 10px;
}

.places_card_size_large {
  width: 100%;
  height: 100%;
  grid-column: span 3;
}

.places_card_size_mini {
  width: 100%;
  height: 100%;
  grid-column: span 2;
}

.places_card {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.places_card_pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
  transition: transform 0.3s;
}

.places_card:hover .places_card_pic {
  transform: scale(1.05);
}

.places_card::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(21, 24, 36, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.places_card_title {
  font-size: 50px;
  line-height: 60px;
  color: white;
  position: absolute;
  bottom: 27px;
  left: 29px;
  z-index: 3;
}

.places_card_link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

/* Туры */

.tours {
  margin-bottom: 12.87vh;
}

.tours_tour {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 5.34vw;
  align-items: center;
  margin-bottom: 7.12vh;
}

.tour_pic {
  width: 100%;
  overflow: hidden;
}

.tour_info {
  max-width: 100%;
  padding-left: 3.26vw;
  box-sizing: border-box;
}

.tour_title {
  font-weight: 500;
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 7.87vh;
  max-width: 100%;
  word-wrap: break-word;
}

.tour_desc {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 7.87vh;
  max-width: 100%;
  word-wrap: break-word;
}

.tour_more {
  font-size: 16px;
  color: #006DFE;
  text-decoration: none;
  padding-right: 3vw;
  background: url(../img/Shape.png) no-repeat right;
}

.tour_more:hover, .tour_more:focus {
  opacity: 0.6;
}

/* Топ мест */

.top{
  margin-bottom: 13.33vh;
}

.top_title{
  margin-bottom: 5.92vh;
}

.top_cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.9vw;
  width: 100%;
  overflow: hidden;
}

.top_card{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.top_card_pic{
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 4.1vh;
}

.top_card_img{
  width: 100%;
  height: auto;
  display: block;
}

.top_card_stats{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1.48vh 1.73vw;
  background-color: rgba(21, 24, 36, 0.6);
  box-sizing: border-box;
}

.top_card_title{
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: white;
  margin: 0 auto 0 0;
}

.top_card_likes{
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  flex-basis: auto;
  color: white;
  padding-right: 20px;
  margin: 0 0 0 auto;
  margin-right: 14px;
  background: url(../img/like.png) no-repeat right;
}

.top_card_comments{
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: white;
  padding-right: 20px;
  margin-right: 20px;
  background: url(../img/comment.png) no-repeat right;
}

.top_card_desc{
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 2.87vh;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.top_card_link{
  padding: 1.11vh 1.31vw;
  font-size: 16px;
  color: white;
  background-color: #006DFE;
  text-decoration: none;
  align-self: flex-start;
  margin-top: auto;
}

.top_card_link:hover, .top_card_link:focus, .top_card_link:active{
  background-color: #1766cd;
  }

  /* Видео */

  .videos {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}

.video_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video_element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Футер */

.footer{
  background-color: #0E1D28;
  padding: 11vh 0;
}

.footer_item{
  display: flex;
  flex-wrap: wrap;
}

.footer_logo{
  width: 50%;
}

.footer_nav{
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer_menu_title{
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: white;
}

.footer_menu_link{
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: white;
  text-decoration: none;
}

.footer_menu_link:hover, .footer_menu_link:focus, .footer_menu_link:active{
  opacity: .6;
}