/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

/* lato-regular - latin */


@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'),
    local('Lato-Regular'),
    url('../fonts/lato-v16-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/lato-v16-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* lato-700 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), local('Lato-Bold'),
    url('../fonts/lato-v16-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/lato-v16-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* lato-900 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: local('Lato Black'), local('Lato-Black'),
    url('../fonts/lato-v16-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/lato-v16-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*, *::before, *::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: 1.2;
    font-weight: normal;
    color: #102746;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transition: .2s linear;
    -o-transition: .2s linear;
    transition: .2s linear;
    padding-bottom: 20px;
    z-index: 999;
}

.header_active {
    background: #0E1D28;;
}

.wrapper {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 15px;
}

.wrapper-full {
    max-width: 1262px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-weight: 500;
    font-size: 35px;
    line-height: 42px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    display: block;
    content: "";
    width: 253px;
    height: 3px;
    background-color: #006DFE;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* начало стилей хедера*/
.header_wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-top: 56px;
}

.header_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.header_item {
    margin-right: 82px;
}

.header_item:last-child {
    margin-right: 0px;
}

.header_link {
    font-size: 18px;
    line-height: 24px;
    color: white;
    text-decoration: none;
}

.header_link:hover, .header_link:focus .header_link:active {
    opacity: .75%;
}

.header_burger {
    width: 40px;
    height: 28px;
    position: relative;
    display: none;
}

.burger_line {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    left: 0;

}

.burger_line_first {
    top: 0;
}

.burger_line_second {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.burger_line_third {
    bottom: 0;
}

/* конец стилей хедера*/

/* начало стилей интро*/
.intro {
    min-height: 100vh;
    background: url("../img/svg/intro_bg.png") no-repeat center;
    background-size: cover;
    padding-top: 263px;
    color: white;
    padding-bottom: 223px;
}

.intro_title {
    max-width: 619px;
    font-weight: 500;
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 22px;
}

.intro_subtitle {
    font-size: 16px;
    line-height: 24px;
    max-width: 546px;
    margin-bottom: 59px;
}

.search_form_info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.search_form_field {
    background: transparent url(../img/svg/carcle-ico.svg) no-repeat left 6px;
    background-size: 20px;
    border: 0;
    border-bottom: 2px solid #BFC0C5;
    margin-right: 60px;
    width: 297px;
    padding-left: 43px;
    padding-bottom: 22px;
    font-weight: 500;
    font-size: 18px;
    color: white;
}

.search_form_field::-webkit-input-placeholder {
    font-weight: 500;
    font-size: 18px;
    color: white;
}

.search_form_field::-moz-placeholder {
    font-weight: 500;
    font-size: 18px;
    color: white;
}

.search_form_field:-ms-input-placeholder {
    font-weight: 500;
    font-size: 18px;
    color: white;
}

.search_form_field::-ms-input-placeholder {
    font-weight: 500;
    font-size: 18px;
    color: white;
}

.search_form_field::placeholder {
    font-weight: 500;
    font-size: 18px;
    color: white;
}

.search_form_submit {
    padding: 15px 39px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 24px;
    color: white;
    background: #1B7DFF;
    border: 0;
}

.search_form_submit:hover, .search_form_submit:focus, .search_form_submit:active {
    background: #276ecc;
}

/* конец стилей интро*/

/* бенифитс начало*/
.benefits {
    margin-bottom: 131px;
}

.benefits_wrap {
    max-width: 1262px;
    background-color: white;
    margin: 0 auto;
    -webkit-box-shadow: 0 2px 20px rgba(21, 24, 36, 0.15993);
    box-shadow: 0 2px 20px rgba(21, 24, 36, 0.15993);
    position: relative;
}

.benefits_title {
    width: 100%;
    font-weight: 500;
    font-size: 35px;
    line-height: 42px;
    padding: 93px 100px 88px 100px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    background-color: white;
}

.benefits_cards {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 55px 1fr 55px 1fr;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 55px;
    padding: 0 100px;
}

.benefits_card {
    -ms-grid-column-span: 1;
    grid-column: span 1;
    margin-bottom: 124px;
}

.benefits_card-pic {
    max-width: 66px;
    margin-bottom: 37px;
}

.benefits_card-thumb {
    display: block;
}

.benefits_card-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 26px;
}

.benefits_card-description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 39px;
}

.benefits_card-more {
    display: inline-block;
    background: url("../img/svg/arrow-right.svg") no-repeat 95% center;
    padding-right: 59px;
    font-size: 16px;
    line-height: 24px;
    color: #006DFE;
    text-decoration: none;
    -webkit-transition: .2s all;
    -o-transition: .2s all;
    transition: .2s all;
}

.benefits_card-more:hover, .benefits_card-more:focus {
    background: url("../img/svg/arrow-right.svg") no-repeat right center
}

/* бенифитс конец*/

/* Стили для мест начало*/
.places {
    margin-bottom: 131px;
}

.places_view-all {
    font-size: 16px;
    line-height: 24px;
    color: #006DFE;
    text-decoration: none;
}

.places_title {
    margin-right: 15px;
}

.places_caption {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 36px;
    background: url("../img/svg/arrow-right.svg") no-repeat right center;
    padding-right: 59px;
}

.places_caption:hover, .places_caption:focus {
    opacity: .65;
}

.places_cards {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 10px;
    row-gap: 10px;
}

.places_card {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.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:hover .places_card-pic {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.places_card-title {
    font-size: 50px;
    line-height: 60px;
    color: white;
    position: absolute;
    bottom: 27px;
    left: 26px;
    z-index: 3;
}

.places_card_size_lg {
    -ms-grid-column-span: 3;
    grid-column: span 3;
}

.places_card_size_sm {
    -ms-grid-column-span: 2;
    grid-column: span 2;
}

.places_card-pic {
    width: 100%;
    -webkit-transition: .15s;
    -o-transition: .15s;
    transition: .15s;
}

.places_card-pic_size_lg {
    height: 354px;
    -o-object-fit: cover;
    object-fit: cover;
}

.places_card-pic_size_sm {
    height: 283px;
    -o-object-fit: cover;
    object-fit: cover;
}

.places_card_link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

/* Стили для мест конец*/


/* Стили для туры начало*/
.tour {
    margin-bottom: 139px;
}

.tour_info {
    padding-left: 47px;
}

.tours_tour {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 108px 1fr;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 108px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 77px;
}

.tour_title {
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 85px;

}

.tour_desc {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 58px;
}

.tour_more {
    background: url("../img/svg/arrow-right.svg") no-repeat 95% center;
    padding-right: 59px;
    font-size: 16px;
    line-height: 24px;
    color: #006DFE;
    text-decoration: none;
}

.tour_more:hover, .tour_more:focus {
    opacity: .65;
}

/* Стили для туры конец*/

/*Стили топ начало*/
.top_card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-grid-column-span: 2;
    grid-column: span 2;
}

.top {
    margin-bottom: 86px;
}

.top_title {
    margin-bottom: 54px;
}

.top_cards {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 57px 1fr 57px 1fr 57px 1fr 57px 1fr 57px 1fr;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 57px;
    row-gap: 57px;
}

.top_cart_pic {
    position: relative;
    margin-bottom: 45px;
}

.top_card-stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(21, 24, 36, 0.6);
    padding: 13px 25px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.top_card-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: white;
    margin: 0 auto 0 0;
}

.top_card-like-value {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: white;
    padding-right: 20px;
    background: url("../img/like.svg") no-repeat right;
    margin-right: 14px;
}

.top_card_comments {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: white;
    padding-right: 23px;
    background: url("../img/commint.svg") no-repeat right;
}

.top_card-desc {
    font-size: 16px;
    line-height: 24px;
    color: #102746;
    margin-bottom: 31px;

}

.top_card-more {
    padding: 12px 19px;
    background: #006DFE;
    color: white;
    font-size: 16px;
    text-decoration: none;
    width: 118px;
    margin: auto 0 0 0;
}

.top_card-more:hover, .top_card-more:focus, .top_card-more:active {
    background: #276ecc;
}

/*Стили топ конец*/

.videos {
    width: 100%;
}

.videos_wrapper {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.video_item {
    padding-top: 56.25%;
}

.video_element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Подвал начало*/

.footer {
    background: #0E1D28;
    padding: 119px 0;
}

.footer_item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.footer_logo {
    width: 50%
}

.footer_nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 50%;
}

.footer_menu-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: white;
}

.footer_menu-link {
    font-size: 16px;
    line-height: 24px;
    color: white;
    text-decoration: none;
}

.footer_menu-link:hover, .footer_menu-link:focus, .footer_menu-link:active {
    opacity: .75;
}

/* Подвал конец*/

/* Media start*/

@media screen and (max-width: 960px) {
    .benefits {
        margin-bottom: 75px;
    }

    .benefits_card {
        margin-bottom: 60px;
    }

    .search_form_field {
        margin-bottom: 25px;
    }

    .benefits_cards {
        padding: 0 15px;
        column-gap: 35px;
    }

    .benefits_title {
        padding: 55px 15px;
    }

    .benefits_wrap {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .places_card_size_lg {
        -ms-grid-column-span: 6;
        grid-column: span 6;
    }

    .places_card_size_sm {
        -ms-grid-column-span: 6;
        grid-column: span 6;
    }

    .tours_tour {
        column-gap: 35px;
    }

    .tour_info {
        padding-left: 0;
    }

    .tour_title {
        margin-bottom: 15px;
    }

    .tour_desc {
        margin-bottom: 15px;
    }

    .top_cards {
        column-gap: 25px;
        row-gap: 55px;
    }

    .top_card {
        -ms-grid-column-span: 3;
        grid-column: span 3;
    }

    .footer {
        padding: 60px 0;
    }
}

@media screen and (max-width: 767px) {
    .section-title {
        margin-bottom: 25px;
        font-size: 30px;
    }

    .section-title::after {
        width: 78px;
    }

    .header_burger {
        display: block;
    }

    .header_wrapper {
        padding-top: 28px;
    }

    .header_nav {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 10;
        padding: 75px;
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
        background-color: black;
        -webkit-transition: .2s all linear;
        -o-transition: .2s all linear;
        transition: .2s all linear;
    }

    .header_nav_active {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    .header_item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .header_item:last-child {
        margin-bottom: 0;
    }

    .header_link {
        font-size: 42px;
        line-height: 48px;
    }

    .header_nav-close {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 11;
    }

    .header_nav-close-line {
        display: block;
        height: 2px;
        background-color: white;
        position: absolute;
        top: 50%;
        width: 100%;
    }

    .header_nav-close-line:first-child {
        -webkit-transform: translateY(-50%) rotate(45deg);
        -ms-transform: translateY(-50%) rotate(45deg);
        transform: translateY(-50%) rotate(45deg);
    }

    .header_nav-close-line:last-child {
        -webkit-transform: translateY(-50%) rotate(-45deg);
        -ms-transform: translateY(-50%) rotate(-45deg);
        transform: translateY(-50%) rotate(-45deg);
    }

    .intro {
        padding-top: 125px;
    }

    .intro_title {
        font-size: 32px;
        line-height: 48px;
    }

    .intro_subtitle {
        font-size: 14px;
    }

    .search_form_field {
        margin-right: 0;
        width: 100%;
        padding-bottom: 12px;
        background: transparent url(../img/svg/carcle-ico.svg) no-repeat left 2px;
    }

    .search_form_field::-webkit-input-placeholder {
        font-size: 16px;
    }

    .search_form_field::-moz-placeholder {
        font-size: 16px;
    }

    .search_form_field:-ms-input-placeholder {
        font-size: 16px;
    }

    .search_form_field::-ms-input-placeholder {
        font-size: 16px;
    }

    .search_form_field::placeholder {
        font-size: 16px;
    }

    .search_form_submit {
        width: 100%;
    }

    .benefits {
        margin-bottom: 36px;
    }

    .benefits_card {
        -ms-grid-column-span: 3;
        grid-column: span 3;
        margin-bottom: 40px;
    }

    .benefits_card-pic {
        margin-bottom: 20px;
    }

    .benefits_card-title {
        margin-bottom: 12px;
    }

    .benefits_card-description {
        margin-bottom: 20px;
    }

    .places_card-pic_size_lg, .places_card-pic_size_sm {
        height: 230px;
    }

    .places_view-all {
        margin-bottom: 25px;
    }
    .places_caption {
        margin-bottom: 0;
    }

    .places {
        margin-bottom: 76px;
    }
    .tour_pic, .tour_info {
        -ms-grid-column-span: 2;
        grid-column: span 2;
    }
    .tour_pic {
        margin-bottom: 12px;
    }
    .tour_pic_mob-first {
        -ms-grid-row: -1;
        grid-row-start: -1;
    }
    .tours_tour {
        margin-bottom: 50px;
    }
    .tours {
        margin-bottom: 76px;
    }
    .top {
        margin-bottom: 76px;
    }
    .top_card {
        -ms-grid-column-span: 6;
        grid-column: span 6;
    }

    .top_card-stats {
        max-width: 386px;
    }
    .top_card-desc {
        margin-bottom: 15px;
    }
    .footer_logo {
        width: 100%;
        margin-bottom: 24px;
    }
    .footer_nav {
        width: 100%;
    }
    .footer_menu {
        width: 50%;
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 500px) {
    .header_nav {
        padding: 75px 30px;
    }
}

/* Media end*/