:root {
    --snow: #fff;
    --raven: #111;
    --silver: #f4f7fa;
    --header-size: 2.5em;
    --links-size: 1.125em;
    --body-size: 1.125em;
    --header-line-height: 60px;
    --links-line-height: 32px;
    --body-line-height: 30px;
    --header-font-weight: 700;
    --links-font-weight: 700;
    --body-font-weight: 400;
    --wrapper-padding: 120px;
    --download-width: 244px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Montserrat, sans-serif;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--wrapper-padding);
}

.wrapper--black {
    background-color: var(--raven);
}

.header {
    padding-top: 80px;
    display: flex;
    justify-content: space-between;
}

.header__logo {
    width: 40px;
    height: 60px;
    background-image: url(../images/logo.svg);
}

.buttons_header {
    position: fixed;
    z-index: 3;
    display: flex;
}

.header__download_text {
    text-align: center;
    align-self: center;
    color: white;
    text-decoration: none;
    font-size: var(--links-size);
    font-weight: var(--links-font-weight);
    line-height: var(--links-line-height);
}

.header__download {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    background-color: var(--snow);
    border-radius: 60px;
    max-width: 56px;
    height: 56px;
    padding: 10px;
    margin-right: 8px;
}

.header__download img {
    max-width: 100%;
    max-height: 100%;

}

.intro {
    height: 833px;
    text-align: center;
}

.intro__text {
    padding-top: 137px;
    font-size: var(--header-size);
    font-weight: var(--header-font-weight);
    line-height: var(--header-line-height);
    color: var(--snow);
}

.intro__img {
    margin-top: 40px;
    display: inline-block;
}

.intro__img img {
    width: 508px;
    height: 762px;
    max-width: 100%;
    max-height: 100%;
}

.wrapper--white {
    background-color: var(--silver);
}

.gallery {
    padding: 266px 88px 40px;
}

.gallery__header {
    color: var(--raven);
    font-size: var(--header-size);
    font-weight: var(--header-font-weight);
    line-height: var(--header-line-height);
    text-align: center;
}

.gallery__list {
    padding-top: 40px;
    color: var(--raven);
    font-size: var(--body-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    text-align: center;
}

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

.row--1 {
    padding-top: 100px;
}

.row__column {
    width: 50%;
}

.row--2 {
    padding-top: 80px;
}

.row__column--2 {
    order: -1;
}

.row__column--3 {
    width: 70%;
}

.row--3 {
    padding-top: 89px;
    padding-bottom: 40px;
}

.row__header {
    font-size: var(--header-size);
    font-weight: var(--header-font-weight);
    line-height: var(--header-line-height);
    color: var(--raven);
}

.row__description {
    padding-top: 40px;
    font-size: var(--body-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    color: var(--raven);
}

.row__img {
    display: block;
    height: 100%;
}

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

.summary {
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.summary__images {
    position: relative;
    width: 50%;
    margin-right: 80px;
    text-align: center;
}

.summary__host {
    width: 100%;
    height: auto;
}

.summary__host img {
    max-width: 100%;
    max-height: calc(100vh - 240px);
    width: 100%;
    height: auto;
}

.summary__img {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 5%;
}

.summary__promo {
    position: relative;
    flex: 1;
    height: 25vh;
}

.summary__header {
    position: absolute;
    align-self: center;
    font-size: var(--header-size);
    font-weight: var(--header-font-weight);
    line-height: var(--header-line-height);
    color: var(--snow);
}

.social {
    padding-bottom: 40px;
    display: flex;
    justify-content: flex-end;
}

.social__link {
    margin-left: 90px;
    font-size: var(--links-size);
    font-weight: var(--links-font-weight);
    line-height: 24px;
    text-decoration: none;
    color: var(--snow);
}

.social__item:first-child .social__link {
    margin-left: 0;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    opacity: 0;
    transition: opacity .6s;
}

.swiper-slide-active {
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--raven);
}

@media screen and (min-width: 1280px) {
    .header__download {
        left: calc((100% - 1280px) / 2 + 1280px - var(--download-width) - var(--wrapper-padding));
    }
}
