body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.5;
    font-size: 18px;
    color: #333;
}

@media all and (max-width: 1039px) {
    body {
        font-size: 16px;
    }
}

@media all and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

a {
    text-decoration: none;
    font-weight: 500;
    color: #7dc0d1;
}

h2, h3 {
    font-weight: 500;
}

.wrap {
    width: 70%;
    margin: 0 auto;
}

@media all and (min-width: 1499px) {
    .wrap {
        width: 60%;
    }
}

@media all and (max-width: 1281px) {
    .wrap {
        width: 85%;
    }
}

@media all and (max-width: 1039px) {
    .wrap {
        width: 95%;
    }
}



.header {
    padding: 15px 0;
}

.header .wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media all and (max-width: 1039px) {
    .header .wrap {
        position: relative;
    }
}

.header .header-logo a {
    display: flex;
    align-items: center;
}


.main-title {
    background: url("../images/bg-1.jpg") no-repeat center;
    background-size: cover;
}

@media all and (max-width: 1281px) {
    .main-title {
        background-position: 70%;
    }
}



.main-title .wrap {
    padding: 100px 0 250px 0;
}

@media all and (max-width: 1281px) {
    .main-title .wrap {
        padding: 100px 0 200px 0;
    }
}

@media all and (max-width: 481px) {
    .main-title .wrap {
        padding: 50px 0 150px 0;
    }
}



.footer__top, .footer__bottom {
    border-top: 2px solid #d1d2da;
}

.footer__top a, .footer__bottom a {
    color: #333;
}

.footer__top a:hover, .footer__bottom a:hover {
    color: #7dc0d1;
}

.footer__top {
    padding: 30px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media all and (max-width: 481px) {
    .footer__top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.footer__bottom {
    padding: 20px 0;
    text-align: center;
}

.agreement,
.policy,
.terms {
    line-height: normal;
    font-weight: 300;
    margin: 60px auto;
    text-align: justify;
}

@media all and (max-width: 768px) {
    .agreement,
    .policy,
    .terms {
        margin: 30px auto;
    }
}


.agreement p,
.policy p,
.terms p {
    margin: 15px 0;
    line-height: 24px;
}

@media all and (max-width: 1039px) {
    .agreement p,
    .policy p,
    .terms p {
        line-height: 22px;
    }
}

.agreement p span,
.policy p span,
.terms p span {
    font-weight: 500;
}

@media all and (max-width: 768px) {
    .agreement p,
    .policy p,
    .terms p {
        line-height: 20px;
    }
}
