/* ------ Specification ------ */

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #fff;
    padding: 0;
    margin: 0;
    letter-spacing: 0em;
    font-style: normal;
    line-height: 20px;
}

div,
p,
form,
input,
a,
span,
button {
    box-sizing: border-box;
}

p {
    margin: 0;
    letter-spacing: 0em;
    font-size: 16px;
    line-height: 20px;
    font-style: normal;
    color: #14265A;
}

ul,
li {
    display: block;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
}

a,
a:hover,
a:active,
button,
button:hover,
button:active,
button:focus,
input,
input:focus,
textarea {
    text-decoration: none;
    transition: all 0.5s ease;
    outline: none;
    color: #000;
}

select {
    outline-color: #5056B1;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px !important;
    }
}

.host__btn {
    background: #F75050;
    border-radius: 7px;
    color: #fff;
    text-transform: uppercase;
    width: 150px;
    height: 45px;
    display: block;
    line-height: 45px;
    margin: 0 auto;
    border: none;
    text-align: center;
}

.host__btn:hover,
.host__btn:active,
.host__btn:focus {
    color: #fff;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.25);
}

.signup__btn {
    width: 280.69px;
    height: 45px;
}

.wrapper-content {
    width: 100%;
    height: 100%;
    background: #E5E5E5;
    position: absolute;
}

.slick-slide:focus {
    outline: none;
}


/*--------------------------header------------------*/

.header {
    padding-bottom: 50px;
    position: relative;
}

.header-container {
    padding-top: 68px;
}


/* ------------Фоны  start--------------*/

.figure {
    position: absolute;
    width: 100%;
}

.figure-1 {
    height: 1520px;
    background: url(../img/background-4.svg) no-repeat bottom center;
    background-position-y: -1279px;
}

.figure-2 {
    height: 800px;
    background: url(../img/background-2.svg) no-repeat bottom center;
    background-position-y: -2460px;
}

.figure-3 {
    height: 1346px;
    background: url(../img/background-3.svg) no-repeat bottom left;
    background-position: -435px -1129px;
    animation: timing2 7s infinite;
}

@keyframes timing2 {
    50% {
        background-position: -535px -1099px;
    }
}

.ease-in:before {
    animation-timing2-function: ease-in;
}

.figure-4 {
    height: 2046px;
    background: url(../img/background-3.svg) no-repeat bottom left;
    background-position: 639px -75px;
    animation: timing 6s infinite;
}

@keyframes timing {
    50% {
        background-position: 550px -100px;
    }
}

.ease-in:before {
    animation-timing-function: ease-in;
}

.figure-5 {
    height: 1250px;
    background: url(../img/background-4.svg) no-repeat top center;
}

.figure-6 {
    height: 546px;
    background: url(../img/background-5.svg) no-repeat top center;
    background-position-y: -460px;
}

.figure-sidebar {
    position: absolute;
}

.figure-sidebar__bottom {
    bottom: 0;
}


/* --------------Фоны  end-------------*/

.login-block {
    cursor: pointer;
    display: inline-block;
}

.login-block__text {
    display: inline-block;
    color: #fff;
}

.login-block__img {
    margin-right: 14px;
}

.header-block-title {
    margin-top: 80px;
    margin-left: 76px;
}

.logo-rating {
    margin-right: 40px;
}

h1 {
    color: #fff;
    font-weight: bold;
    font-size: 38px;
    line-height: 45px;
    text-transform: uppercase;
    margin-top: 64px;
    margin-bottom: 42px;
}

.header-block-title__text {
    color: #fff;
    font-size: 24px;
    line-height: 28px;
    width: 90%;
}

.header-img {
    display: block;
    margin: 0 auto;
}


/*--------------Карточки с тарифами start--------------*/

.tariff {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    margin-top: -236px;
}

.block-tariff-hov {
    width: 211px;
    height: 392px;
}

.block-tariff {
    text-align: center;
    background: #fff;
    width: 211px;
    height: 392px;
    box-shadow: 0 10px 30px rgba(137, 146, 244, 0.1);
    transition: all 0.5s ease;
}

.block-tariff:hover {
    box-shadow: 0 10px 30px rgba(137, 146, 244, 0.32);
    margin-top: -9px;
    transition: all 0.5s ease;
}

.block-tariff__img {
    margin-top: 19px;
    margin-bottom: 28px;
}

.block-tariff__title {
    font-size: 18px;
    line-height: 21px;
    color: #5056B1;
}

.block-tariff__subtitle {
    font-size: 14px;
    line-height: 16px;
    color: #14265A;
    width: 62%;
    margin: 0 auto;
    margin-bottom: 14px;
}

.block-tariff__prise {
    font-size: 30px;
    line-height: 35px;
    color: #5056B1;
    margin-bottom: 16px;
}

.block-tariff__text {
    font-size: 14px;
    line-height: 21px;
    color: #14265A;
    margin-bottom: 37px;
}


/*--------------Карточки с тарифами end--------------*/


/*---------------advantages start----------------*/

.advantages {
    padding: 65px 0;
}

.advantages-block {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin-bottom: 17px;
}

.advantages-block:nth-child(2n) {
    margin-bottom: 35px;
}

.advantages-block:nth-child(3n) {
    margin-bottom: 35px;
}

.advantages-block__img {
    width: 37px;
    height: 37px;
    padding: 9px;
    background: #FFFFFF;
    border-radius: 4px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 28px;
}

.advantages-block__text h4 {
    font-size: 24px;
    line-height: 28px;
    color: #324270;
    margin-bottom: 3px;
}

.advantages-block__text p {
    font-size: 16px;
    line-height: 20px;
    color: #14265A;
}


/*-------------Картинка зданий start---------------*/

.home img {
    position: absolute;
}

.home-img1 {
    top: 0;
    left: 40%;
}

.home-img2 {
    top: 34%;
    left: 56%;
}

.home-img3 {
    left: -1%;
    top: 37%;
}

.home-img4 {
    top: 52%;
    left: 35%;
}


/*---------------advantages end----------------*/


/*----------------info-host start---------------*/

.info-host {
    padding: 160px 0 50px 0;
}

.info-host__title {
    font-size: 24px;
    line-height: 28px;
    color: #324270;
    margin-bottom: 37px;
    font-weight: normal;
}

.info-host__text {
    font-size: 15px;
    line-height: 20px;
    color: #14265A;
    margin-bottom: 17px;
}

.info-host__btn {
    width: 204px;
    height: 45px;
    margin-top: 50px;
}


/*----------------info-host end---------------*/


/*------------------customers slider start---------------*/

.customers {
    padding: 184px 0 140px 0;
}

.customers__title {
    font-size: 24px;
    line-height: 28px;
    color: #324270;
    font-weight: normal;
    margin-bottom: 60px;
}

.slick-prev:before,
.slick-next:before {
    content: url(../img/arrow.svg);
}

.gallery-block-link {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 238.15px;
    height: 292.15px;
    background: #FFFFFF;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(137, 146, 244, 0.1);
}

.gallery-block-link div {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-block-link img {
    margin: auto;
    max-width: 50%;
    display: inline-block;
}

.gallery-block-link p {
    width: 76%;
    margin: 0 auto;
}

.gallery-block-link .gallery-block__width {
    width: 100%;
}

.slick-next,
.slick-prev {
    width: 50px;
    z-index: 100;
}

.slick-prev {
    left: -4%;
    top: 46%;
}

.slick-next {
    right: -4%;
    top: 52%;
}

.slick-prev {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
}


/*------------------customers slider end---------------*/


/*---------------footer start------------------*/

.footer {
    padding: 185px 0 60px 0;
    color: #fff;
}

.footer-block-coz {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    width: 130px;
    justify-content: space-between;
}

.footer-block-coz a {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 4px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-block-coz a:hover {
    box-shadow: 0 4px 8px rgba(241, 242, 247, 0.66);
}

.footer-logo-host {
    width: 51%;
    margin-bottom: 29px;
    margin-left: 68px;
}

.footer-logo-rating {
    margin-bottom: 27px;
    align-items: center;
}

.footer__adresses {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    margin-left: 47px;
    margin-top: 35px;
}

.footer__adresses img {
    margin-right: 11px;
}

.footer__adresses:hover {
    color: #fff;
}

.footer-info {
    color: #fff;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    display: inline-block;
    margin-left: 200px;
}

.footer-info:first-child {
    margin-left: 69px;
    margin-top: 78px;
}

.footer-block {
    margin-left: -93px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info a {
    color: #cfc6f6;
}


/*---------------footer end------------------*/


/* ------ Media Queries ------ */


/* 991-1200px */

@media screen and (max-width: 1250px) {
    .slick-next {
        right: 0%;
    }
    .slick-prev {
        left: 0%;
    }
}


/* 991-1200px */

@media screen and (max-width: 1200px) {
    .header-block-title {
        margin-left: 0;
    }
    .slick-prev {
        left: -2%;
    }
    .slick-next {
        right: -2%;
    }
    .home-img {
        width: auto;
    }
    .home-img1 {
        top: 10%;
        left: 28%;
    }
    .home-img2 {
        top: 38%;
        left: 45%;
    }
    .home-img3 {
        top: 44%;
        left: -22%;
    }
    .home-img4 {
        top: 58%;
        left: 21%;
    }
    .header-img {
        width: 70%;
    }
    h1 {
        font-size: 24px;
    }
    .header-block-title__text {
        font-size: 22px;
    }
    .tariff {
        margin-top: -134px;
    }
    .block-tariff {
        width: 171px;
    }
    .tariff__prise {
        font-size: 26px;
    }
    .block-tariff__subtitle {
        width: 71%;
    }
    .footer__adresses {
        margin-left: -3px;
    }
    .footer-info {
        margin-left: 116px;
    }
    .footer-info:first-child {
        margin-left: 28px;
    }
    .figure-4 {
        background-position: 450px -100px;
    }
    .figure-3 {
        background-position: -620px -1099px;
    }
}


/* 767-991px */

@media screen and (max-width: 991px) {
    .tariff {
        margin-top: 30px;
        flex-direction: column;
        align-items: center;
    }
    .header-block-title__text {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    .advantages {
        padding: 240px 0 60px 0;
    }
    .header {
        height: 2500px;
    }
    .block-tariff {
        width: 291px;
        margin-bottom: 40px;
    }
    .block-tariff__title {
        font-size: 25px;
        margin-bottom: 17px;
    }
    .block-tariff__text {
        line-height: 23px;
        margin-bottom: 30px;
    }
    h1 {
        font-size: 38px;
    }
    .footer-info {
        margin-left: 0;
    }
    .footer-info:first-child {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .home {
        height: 500px;
    }
    .home-img1 {
        top: 1%;
        left: 39%;
    }
    .home-img2 {
        top: 25%;
        left: 51%;
    }
    .home-img3 {
        left: 5%;
        top: 28%;
    }
    .home-img4 {
        top: 39%;
        left: 34%;
    }
    .info-host {
        padding: 21px 0 50px 0;
    }
    .customers {
        padding-top: 140px;
    }
    .footer {
        padding-top: 120px;
    }
    .figure-1 {
        height: 3579px;
        background-position: -775px;
    }
    .figure-2 {
        height: 918px;
        background-position-y: -2347px;
    }
    .figure-3 {
        background-position: -900px -1099px;
    }
    @keyframes timing2 {
        50% {
            background-position: -800px -1099px;
        }
    }
    .figure-4 {
        background-position: 350px -100px;
    }
    @keyframes timing {
        50% {
            background-position: 400px -100px;
        }
    }
    .figure-5 {
        height: 1147px;
        background-position: -1210px 7px;
    }
    .figure-6 {
        height: 486px;
    }
}


/* 576-767px */

@media screen and (max-width: 767px) {
    .customers {
        padding: 184px 0 74px 0;
    }
    .home-img2 {
        top: 25%;
        left: 53%;
    }
    .home-img3 {
        left: -4%;
        top: 26%;
    }
    .home-img4 {
        top: 37%;
        left: 32%;
    }
    .footer-block {
        align-items: flex-start;
        margin-left: 0;
    }
    .footer-logo-host {
        width: 69%;
        margin-bottom: 29px;
        margin-left: 0;
    }
    .figure-6 {
        height: 736px;
    }
}


/* 440-576px */

@media screen and (max-width: 576px) {
    .container-dop {
        max-width: 540px;
        padding-right: 30px;
        padding-left: 30px;
    }
    .header-block-title__text {
        width: 100%;
    }
    .advantages {
        padding-bottom: 0;
    }
    .home-img1 {
        width: 27%;
        top: 0;
        left: 42%;
    }
    .home-img2 {
        width: 41%;
        top: 20%;
        left: 55%;
    }
    .home-img3 {
        width: 41%;
        left: 5%;
        top: 22%;
    }
    .home-img4 {
        width: 25%;
        top: 33%;
        left: 35%;
    }
    .figure-1 {
        height: 3744px;
    }
    .figure-3 {
        background-position: -1178px -995px;
    }
    @keyframes timing2 {
        50% {
            background-position: -1100px -1000px;
        }
    }
    .figure-4 {
        background-position: 60px 40px;
    }
    @keyframes timing {
        50% {
            background-position: 100px 50px;
        }
    }
}


/* 320-440px */

@media screen and (max-width: 440px) {
    .logo-bihost {
        width: 63%;
    }
    .home {
        height: 306px;
    }
    .home-img1 {
        top: 0;
    }
    .home-img4 {
        top: 35%;
        left: 36%;
    }
    .advantages {
        padding-top: 265px;
    }
    .advantages-block__text h4 {
        font-size: 21px;
    }
    .advantages-block__text p {
        font-size: 15px;
    }
    .advantages-block__img {
        margin-right: 15px;
    }
    .modal-win {
        padding: 55px 19px 45px 19px;
    }
    .dropdown-item {
        font-size: 13px;
    }
    .figure-1 {
        height: 3793px;
        background-position: -921px;
    }
    .figure-3 {
        background-position: -1278px -1070px;
    }
    @keyframes timing2 {
        50% {
            background-position: -1200px -1030px;
        }
    }
    .figure-4 {
        background-position: -100px 40px;
    }
    @keyframes timing {
        50% {
            background-position: -90px 50px;
        }
    }
}