@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@500;700&family=Inter:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
      background: url(p1.svg) bottom left/200px no-repeat, url(p2.svg) bottom right/50% no-repeat, rgba(201, 173, 255, 0.1);
    /*background: url(p1.svg) bottom left/200px no-repeat, url(p2.svg) bottom right/50% no-repeat, rgba(201, 173, 255, 0.1);*/
   /* background: url(winder-bg.svg) center/cover no-repeat;*/
    padding-bottom: 52px;
    overflow-x: hidden;
    position: relative;
}

.snow-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  margin: 0;
  display: flex;
  font-size: 2vw;
  font-weight: bold;
    color: #fff;
}

.comm {
    font-family: 'Commissioner', sans-serif;
}

.header {
    padding: 15px;
    text-align: center;
}

.main-content {
    margin-top: 16px;
    position: relative;
}

.main-content__form {
    position: relative;
    z-index: 30;
}

.winter-wrapper {
    position: relative;
    z-index: 1;
}

/*.winter-wrapper:before {
    content: '';
    background: url(winter-bear.svg) center/contain no-repeat;
    position: absolute;
    height: 500px;
    width: 500px;
    left: -400px;
    top: 210px;
    z-index: 10;
}

.winter-wrapper:after {
    content: '';
    background: url(winter-r.svg) center/contain no-repeat;
    position: absolute;
    height: 400px;
    width: 400px;
    right: -400px;
    top: 210px;
    z-index: 10;
}*/

/*body:before {
    content: '';
    background: url(pink-env.png) center/contain no-repeat;
    position: absolute;
    height: 500px;
    width: 500px;
    left: -98px;
    top: 410px;
    z-index: -1;
}*/

/*body:after {
    content: '';
    background: url(pink-cat.png) center/contain no-repeat;
    position: absolute;
    height: 400px;
    width: 400px;
    right: -87px;
    top: 410px;
    z-index: -1;
}*/

.main-content__header h1 {
    font-size: 48px;
    text-align: center;
    font-style: italic;
    color: #000;
      
}

.main-content__header h1 span {
    color: #00D47F;
}

.main-content__header h1 img {
    vertical-align: middle;
    height: 60px;
    width: 60px;
}

.main-content__header h2 {
        text-align: center;
    font-size: 26px;
    margin-top: 24px;
    line-height: 150%;
    color: #fff;
    padding: 15px;
    border-radius: 30px;
    background: #1e1e1e69;
}

.main-content__form {
    margin-top: 48px;
    padding: 30px;
    border-radius: 30px;
    border: 1px solid #d1d1d1;
    background: #fff;
}

.main-content__form h3 {
    font-size: 26px;
    font-style: italic;
    color: #021542;
}

.main-content__form {}

.main-content__form {}

.main-content__form {}

.main-content__form {}

.form__radio {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;
}

.form__radio .form__radio-item label {
    display: block;



    margin-left: 8px;
    margin-bottom: 8px;
    position: relative;
}

.form__radio-item span {
    display: block;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid #d1d1d1;
}

.form__radio .form__radio-item input {
    margin-right: 4px;
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

.form__radio .form__radio-item {
    flex: 1 0 calc(22% - 10px);
}

.form__radio .form__radio-item input:checked + span {
    border: 1px solid #592CC5;
    color: #592CC5;
}

.form__contacts {
    margin-top: 24px;
}

.form__contacts input {
    display: block;
    margin-bottom: 15px;

    width: 100%;
    padding: 8px 15px;
    font-family: inherit;
    outline: none;
    border-radius: 15px;
    border: 1px solid #d1d1d1;
    font-size: 18px;
}

.form__text {
    margin-top: 48px;
    border-left: 3px solid #8043f7;
    padding-left: 15px;
    line-height: 150%;
    font-size: 18px;
}

.form__text h4 {
    color: #8043f7;
    font-size: 20px;
}

form button {
    display: block;
    margin: 24px auto;
    max-width: 300px;
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    background: #00d47f;
    cursor: pointer;
}

.tutor-before .form__radio-item {
    flex: 0 0 120px;
}
.rating-wrapper {
    margin-top: 24px;
}
.rating-text {
    text-align: center;
    font-weight: bold;
    line-height: 150%;
        font-size: 26px;
    font-style: italic;
    color: #021542;
}
.rating-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}
.rating-img img {
    max-width: 150px;
    height: auto;
    margin: 0 8px;
}

/*********************************************/
@media only screen and (max-width: 1200px) {
    .winter-wrapper {
        max-width: 600px;
        margin: 40px auto;
    }
}
@media only screen and (max-width: 992px) {
    .kids-level .form__radio-item {
        flex: 1 1 50%;
    }

    .classes-list .form__radio-item {
        flex: 0 1 30%;
    }

}

@media only screen and (max-width: 768px) {
   
    body:before {
        display: none;
    }
    body:after {
        display: none;
    }
    .main-content__form {
        margin-top: 0;
    }
 
   
}

@media only screen and (max-width: 550px) {
    .rating-img {
        flex-wrap: wrap;
    }
    .rating-img img {
        flex: 1 1 50%;
        margin-bottom: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .kids-level .form__radio-item {
        flex: 1 1 100%;
    }

    .classes-list .form__radio-item {
        flex: 0 1 50%;
    }

    .main-content__header h1 {
        font-size: 32px;
    }

    .main-content__header h2 {
        font-size: 20px;
    }

    .main-content__form {
        padding: 20px;
    }

    .form__radio {
        margin-left: -8px;
    }

    .main-content__form h3 {
        font-size: 22px;
    }
}
