@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@400;700&display=swap');


* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Play', sans-serif;
    font-family: 'PT Sans Caption', sans-serif;
/*    background: linear-gradient(to right, #8b22f0, #460B7F);*/
    background-color: #f2f2f2;
}

main {
    width: 92%;
    margin: auto;
    margin-top: 16px;
    margin-bottom: 16px;
    background-color: #fff;
    border-radius: 16px;
    padding: 16px;
}

.soon {
    width: 100%;
    min-height: 20px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    padding: 16px;
}

.soon > h2 {
    text-align: center;
    color: #fff;
}

.logo {
    margin: auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
}
.logo > img {
    width: 100%;
}

b {
    color: red;
}

.policy_text {
    padding: 16px;
    color: #fff;
}


.rules {
    width: 100%;
    min-height: 20px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
}

.rules > h2 {
    font-size: 28px;
    margin-top: 16px;
}

.rules > h4 {
    font-size: 20px;
    margin-top: 16px;
}
.rules > img {
    width: 100%;
    margin-top: 16px;
}

.rules > p {
    font-size: 16px;
    margin-top: 16px;
}


@media screen and (max-width: 600px) {
    .ad {
        width: 100%;
    }
}


/*----------------------------*/


a {
    text-decoration: none;
    color: #fff;
}

p {
    font-size: 16px;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

ul {
    text-decoration: none;
    list-style: none;
}

.color_main_text {
    /*    Меняем 8b22f0 на 488eff*/
    color: #fff;
}

.button {
    width: 240px;
    height: 40px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;

    transition: all 0.3s;
}

.button_main {
    /*    Меняем 8b22f0 на 488eff*/
    background-color: #8b22f0;
}

.button_border {
    border: 2px solid #fff;
}

.button_main:hover {
    background-color: rgba(255, 161, 18, 0);
    /*    Меняем 8b22f0 на 488eff*/
    border: 2px solid #8b22f0;
}

.button_border:hover {
    background-color: #fff;
    color: #000;
}

.button_border {
    border: 2px solid #fff;
}


.offer_section {
    width: 100%;
    min-height: 600px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

/*    padding-top: 32px;*/
}

header {
    width: 80%;
    min-height: 20px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.logo > h4 {
    font-weight: bold;
}

nav {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
}

.item_nav {
    font-size: 18px;
    margin-left: 16px;
    margin-right: 16px;
    transition: all 0.3s;
}

.item_nav:hover {
    /*    Меняем 8b22f0 на 488eff*/
    color: #8b22f0;
}

.active_nav {
    /*    Меняем 8b22f0 на 488eff*/
    color: #8b22f0;
}

.contact_header {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.social_header {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 16px;
}

.social_header img {
    width: 22px;
    margin-left: 8px;
    margin-right: 8px;
}

.phone_header {
    width: 200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
}

.phone_header > img {
    width: 18px;
}

.phone_header > p {
    font-size: 18px;
    margin-left: 8px;
}

/*----- OFFER ------*/

.offer_content {
    width: 50%;
    min-height: 60px;
    margin-left: 32px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: flex-start;
    align-items: flex-start;
}

.offer_content > h5 {
    font-size: 24px;
    line-height: 1.8;
    margin-top: 32px;
}

.buttons_offer {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    margin-top: 60px;
    flex-wrap: wrap;
}

.buttons_offer > a {
    margin-right: 16px;
}

.offer_info {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    margin-top: 60px;
}

.offer_info > li {
    width: 200px;
    min-height: 20px;
    margin-right: 16px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
}

.offer_info > li > img {
    width: 40px;
    margin-right: 16px;
}

.offer_image {
    width: 300px;
    top: 40px;
}

.offer_smoke {
    width: 60%;
    position: absolute;
    z-index: -1;
    top: 0;
    margin: auto;
    right: 20%;
    opacity: 0.2;
}

@media screen and (max-width: 800px) {
  header {
    flex-direction: column;
  }
  nav {
    margin-top: 16px;
    margin-bottom: 16px;
  }
}

