@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

:root {
    --main-color: #E31235;
    --color-text-main: #fff;
    --title-size: 32px;
    --text-size: 16px;
    --section-margin: 96px;
    --color-dark: #333;
}

body {
    margin: 0;
}

.easy-bg-grey {
    background-color: #333F48;
}

.page-easy {
    padding: 0;
    color: var(--color-text-main);
    font-family: 'Roboto', sans-serif;
    background-color: #2E3941;
}

.easy-container {
    width: 100%;
    margin: auto;
    max-width: 1228px;
    /* padding: 0 4.2vw; */
}

.easy-title {
    font-size: var(--title-size);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2em;
}

.easy-text {
    line-height: 1.5em;
    font-size: var(--text-size);
    margin: 0;
}

.page-easy img {
    max-width: 100%;
    vertical-align: middle;
    border-style: none;
}

.page-easy video {
    width: 100%;
}

.page-easy * {
    box-sizing: border-box;
}

.no-wrapp {
    white-space: nowrap;
}

.easy-mob {
    display: none;
}

.easy-btn {
    padding: 12px 24px;
    text-align: center;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    cursor: pointer;
    border-radius: 4px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.24em;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    width: 100%;
    max-width: max-content;
    transition: color .5s;
}

.red-text {
    color: var(--main-color);
}

.page-easy sup {
    display: inline-block;
    line-height: 0;
    font-size: 0.6em;
}

/* easy-banner */

.easy-banner {
    background: url(../img/banner-main.jpg) no-repeat center/cover;
    padding: 4vw 0 13vw;
    margin-bottom: var(--section-margin);
}

.easy-banner__wrapper {
    max-width: 640px;
    margin-left: auto;
    margin-right: -18px;
}

.easy-banner__content {
    margin-bottom: 13px;
}

.easy-banner__content div {
    background-color: #fff;
    padding: 49px 49px 30px;
    max-width: 86%;
    margin: auto;
}

.easy-banner__title {
    font-size: 44px;
    margin: 0;
    color: var(--color-dark);
    line-height: 1.1em;
}

.easy-banner__title::after {
    content: '';
    display: block;
    margin: 22px 0;
    width: 100%;
    height: 1px;
    background-color: #333F48;
}

.easy-banner__text {
    font-size: 32px;
    margin: 0;
    color: var(--color-dark);
    line-height: 1.25em;
    font-weight: 700;
}

.easy-banner__left {
    margin-bottom: -40px;
}

.easy-banner__right {
    margin-left: auto;
    display: block;
    margin-top: -38px;
}

.easy-banner__btn {
    display: block;
    margin: auto;
}


@media(max-width: 1200px) {
    .easy-banner__wrapper {
        margin-right: 0;
    }
}

@media(max-width: 768px) {
    .easy-banner {
        background-image: url(../img/banner-main-mob.jpg);
        padding: 8vw 0 71vw;
    }
    .easy-banner__wrapper {
        max-width: 328px;
        margin: auto;
    }
    .easy-banner__right,
    .easy-banner__left {
        width: 36px;
        height: 51px;
    }
    .easy-banner__left {
        margin-bottom: -30px;
    }
    .easy-banner__right {
        margin-top: -30px;
    }
    .easy-banner__logo {
        margin-bottom: 14px;
    }
    .easy-banner__title {
        font-size: 26px;
    }
    .easy-banner__text {
        font-size: 21px;
    }
    .easy-banner__content div {
        padding: 17px 15px;
        max-width: 80%;
    }
    
}

@media(max-width: 576px) {

}

/* easy-advantages */

.easy-advantages {
    margin-bottom: var(--section-margin);
}

.easy-advantages .easy-container {
    padding: 32px;
}

.easy-advantages__list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.easy-advantages__item {
    display: block;
    text-align: center;
}

.easy-advantages__item img {
    margin-bottom: 16px;
    max-width: 114px;
}

.easy-advantages__item p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4em;
}


@media(max-width: 1200px) {
    .easy-advantages__list {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;

    }
}

@media(max-width: 992px) {
    .easy-advantages__item:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media(max-width: 768px) {
    .easy-advantages__list {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }
}

@media(max-width: 576px) {
    .easy-advantages__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* easy-row */

.easy-row {
    margin-bottom: var(--section-margin);
}

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

.easy-row__content {
    width: 100%;
    max-width: 42%;
    padding: 32px;
}

.easy-row__title {
    margin-bottom: 24px;
}

.easy-row__images {
    width: 100%;
    max-width: 68%;

}

.easy-row__images--row {
    display: flex;
}

.easy-row__images--row video {
    width: 100%;
    max-width: 50%;
    height: 370px;
    object-fit: cover;
}

.easy-row__images--row img {
    width: 100%;
    max-width: 50%;
}

.easy-row__mobile {
    display: none;
}

@media(max-width: 1280px) {
    .easy-row__images--row video {
        height: 30vw;
    }
}

@media(max-width: 992px) {
    .easy-row .easy-container {
        flex-direction: column;
    }
    .easy-row__images {
        order: -1;
        max-width: none;
    }
    .easy-row__content {
        max-width: none;
        padding: 16px;
    }
    .easy-row__images--row video {
        height: 52vw;
    }
}

@media(max-width: 768px) {
    .easy-row__images--row video {
        height: auto;
        max-width: none;
    }
    .easy-row__images--row img {
        display: none;
    }
    .easy-row__mobile {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .easy-row__mobile-card {
        position: relative;
    }
    .easy-row__mobile p {
        position: absolute;
        font-size: 14px;
        left: 20px;
        bottom: 16px;
    }
}

@media(max-width: 576px) {

}

/* easy-reciepts */

.easy-reciepts {
    margin-bottom: var(--section-margin);
}

.easy-reciepts .easy-container {
    display: flex;
    gap: 20px;
}

.easy-reciepts__slider {
    width: 100%;
}

.easy-reciepts__slider .swiper-slide {
    display: flex;
}

.easy-reciepts__slider-images {
    position: relative;
    width: 100%;
    max-width: 38%;
}

.easy-reciepts__slider-images img {
    height: 100%;
}

.easy-reciepts__slider-pagination {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.easy-reciepts__slider-pagination.easy-mob {
    display: none;
}

.easy-reciepts__slider-content {
    padding: 20px;
    width: 100%;
    max-width: 62%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.easy-reciepts__slider-count {
    display: flex;
    align-items: center;
    gap: 8px;
}

.easy-reciepts__slider-count span {
    font-size: 145px;
    font-weight: 700;
    line-height: 0.9em;
    letter-spacing: -0.04em;
}

.easy-reciepts__slider-count h2 {
    font-size: 28px;
    text-transform: uppercase;
    max-width: 49%;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.4em;
}

.easy-reciepts__slider-how {
    display: flex;
    gap: 18px;
    margin-bottom: 16px;
}

.easy-reciepts__slider-name {
    font-size: 16px;
    margin: 0;
}

.easy-reciepts__slider-time {
    opacity: .3;
    margin: 0;
}

.easy-reciepts__slider-text {
    font-size: 16px;
    margin: 0;
    line-height: 1.5em;
}

.easy-reciepts__slider-buttons {
    display: flex;
    gap: 20px;
}

.easy-reciepts__book {
    width: 100%;
    max-width: 24%;
}

.easy-reciepts__book div {
    padding: 20px;
    margin-bottom: -38px;
}

.easy-reciepts__book-title {
    font-size: 32px;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.easy-reciepts__book-btn {
    background-color: #fff;
    border-color: transparent;
    color: #000;
}

.swiper-pagination-bullet {
    opacity: 1;
    background: #fff;
}

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

.swiper-button-disabled {
    opacity: .5;
}

.easy-reciepts__slider-prev,
.easy-reciepts__slider-next {
    cursor: pointer;
}

@media(max-width: 1200px) {
    .easy-reciepts__book-title {
        font-size: 28px;
    }
    .easy-reciepts__slider-count h2 {
        font-size: 24px;
    }
}

@media(max-width: 992px) {
    .easy-reciepts .easy-container {
        flex-direction: column;
    }
    .easy-reciepts__book {
        max-width: none;
    }
    .easy-reciepts__slider .swiper-slide {
        flex-direction: column;
    }
    .easy-reciepts__slider-content {
        padding: 16px 20px;
        max-width: none;
    }
    .easy-reciepts__slider-images {
        max-width: none;
    }
    .easy-reciepts__slider-images img {
        width: 100%;
    }
    .easy-reciepts__slider-count span {
        font-size: 98px;
    }
    .easy-reciepts__slider-count h2 {
        font-size: 19px;
        max-width: none;
    }
    .easy-reciepts__slider-how {
        margin-bottom: 10px;
    }
    .easy-reciepts__slider-name,
    .easy-reciepts__slider-text {
        font-size: 14px;
    }
    .easy-reciepts__slider-count {
        margin-bottom: 24px;
    }
    .easy-reciepts__slider-buttons {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 23vw;
        left: 0;
        width: 100%;
        padding: 0 16px;
    }
    .easy-reciepts__book div {
        margin-bottom: -10px;
    }
    .easy-reciepts .easy-reciepts__book {
        background-color: #333F48;
    }
    .easy-reciepts__slider-pagination.easy-mob {
        display: flex;
    }
    .easy-reciepts__slider-pagination {
        display: none;
    }
    .easy-reciepts__slider-discription {
        margin-bottom: 24px;
    }
}

/* easy-app */

.easy-app {
    margin-bottom: var(--section-margin);
    margin-top: 160px;
}

.easy-app .easy-container {
    display: flex;
    align-items: center;
    padding: 42px 32px;
}

.easy-app__title {
    max-width: 54%;
}

.easy-app__img-phone {
    margin: -97px 0 -43px auto;
}

.easy-app__img-qr {
    margin-left: auto;
}

.easy-app__buttons {
    display: none;
}

@media(max-width: 768px) {
    .easy-app {
        margin-top: 0;
    }
    .easy-app__img-qr {
        display: none;
    }
    .easy-app__buttons {
        display: block;
    }
    .easy-app .easy-container {
        flex-direction: column;
        padding: 24px 16px 0;
    }
    .easy-app__title {
        max-width: none;
        margin-bottom: 12px;
        text-align: center;
    }
    .easy-app__buttons a {
        display: block;
        margin-bottom: 14px;
    }
    .easy-app__img-phone {
        margin: 0 auto;
    }
}

/* easy-functions */

.easy-functions {
    margin-bottom: var(--section-margin);
}

.easy-functions .easy-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.easy-functions__card {
    display: grid;
}

.easy-functions__card div {
    grid-column: -1 / 1;
    grid-row:  -1 / 1;
    padding: 32px;
}

.easy-functions__title {
    margin-bottom: 24px;
}

.easy-functions__image {
    grid-column: 1 / -1;
    grid-row:  1 / -1;
}

@media(max-width: 992px) {
    .easy-functions .easy-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
    .easy-functions__card div {
        padding: 20px;
    }
}

@media(max-width: 576px) {
    .easy-functions__title {
        font-size: 19px;
    }
    .easy-functions__text {
        max-width: 150px;
    }
}

/* easy-characteristics */

.easy-characteristics {
    margin-bottom: var(--section-margin);
}

.easy-characteristics .easy-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.easy-characteristics__card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
}

@media(max-width: 992px) {
    .easy-characteristics .easy-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
}

@media(max-width: 768px) {
    .easy-characteristics__card.easy-bg-grey {
        background-color: #333F48;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
}


/* easy-table */

.easy-table {
    margin-bottom: var(--section-margin);
}

.easy-table .easy-container {
    padding: 32px;
}

.easy-table__title.easy-title {
    text-align: center;
    margin-bottom: 24px;
}

.easy-table__swiper-pagination-pc {
    position: absolute;
    display: flex;
    justify-content: center;
}

.easy-table__slider {
    width: 100%;
}

.easy-table__content {
    display: flex;
    width: 100%;
    position: relative;
    margin: auto;
    padding-bottom: 50px;
}

.easy-table__type {
    display: block;
    align-self: flex-end;
    width: 100%;
    max-width: 320px;
}

.easy-table__list {
    padding-left: 0;
    margin: 16px 0 0;
}


.easy-table__list li {
    display: flex;
    align-items: center;
    height: 80px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    border-bottom: 1px solid #70787f;
}

.easy-table__item {
   height: 100%; 
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: flex-end;
   text-align: center;
   width: 100%;
}

.easy-table__images {
    margin-bottom: 16px;
    padding: 0 8px;
}

.page-easy .easy-table__name {
    font-size: 22px;
    text-transform: uppercase;
    min-height: 36px;
    margin: 0 auto 18px;
    line-height: 1.3em;
}

.page-easy .easy-table__code {
    font-size: 16px;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.easy-table__slider-text {
    font-size: 14px;
    min-height: 68px;
    text-align: center;
    margin: 0 0 11px;
    line-height: 1.2em;
}

.page-easy .easy-table__price {
    font-size: 28px;
    margin: 0 0 12px;
    font-weight: 700;
}

.page-easy .easy-table__btn {
    padding: 11px 17px;
}

.easy-table__pharacteristics {
    width: 100%;
    padding-top: 0;
    padding-left: 0;
    display: block;
    margin: 16px 0 0;
}

.easy-table__pharacteristics li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    gap: 10px;
    border-bottom: 1px solid #70787f;
}

.easy-table__pharacteristics img {
    display: block;
}

.easy-table__pharacteristics p {
    font-size: var(--text-size);
    margin: 0;
}

.easy-table__click {
    display: flex;
    align-items: center;
    gap: 12px;
}

.easy-table__mob-text {
    display: none;
}

.easy-table__arrow {
    position: absolute;
    cursor: pointer;
}

.easy-table__arrow-prev {
    top: 30%;
    left: 25%;
    z-index: 111;
}

.easy-table__arrow-next {
    right: 1%;
    top: 30%;
    z-index: 111;
}

.swiper-button-disabled {
    opacity: 0.5;
}

@media(max-width: 576px) {
    .easy-table {
        margin-bottom: 48px;
    }
    .easy-table__pharacteristics li {
        height: auto;
        padding: 16px 0;
    }
    .easy-table__pagination, .easy-table__arrow {
        display: block;
    }
    .easy-table__arrow {
        width: 44px;
        height: 44px;
        top: 10%;
    }
    .easy-table__slider .swiper-slide {
        max-width: none;
    }
    .easy-table__slider {
        overflow: hidden;
    }
    
    .easy-table__type {
        display: none;
    }
    .page-easy .easy-table__name {
        font-size: 24px;
        margin-bottom: 4px;
    }
    .page-easy .easy-table__code {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .easy-table__pharacteristics p {
        margin: 0 auto;
        font-weight: 400;
        font-size: 20px;
    }
    .easy-table__pharacteristics p.easy-table__mob-text {
        display: block;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 8px;
    }
    .easy-table__pharacteristics li {
        flex-direction: column;
        margin: 0;
        padding: 14px 0;
        height: auto;
    }
    .easy-table__btn {
        margin-bottom: 56px;
    }
    .easy-table__content {
        padding: 0;
    }
    .easy-table__swiper-pagination-pc {
        top: 49%;
    }
    .easy-table__images  {
        max-width: 320px;
    }
    .easy-table__arrow-next {
        right: 0;
    }
    .easy-table__arrow-prev {
        left: 0;
    }
    .easy-table .easy-container {
        padding: 16px 8px;
    }
}

/* easy-videos */

.easy-videos {
    margin-bottom: var(--section-margin);
}

.easy-videos__title {
    text-align: center;
    margin-bottom: 24px;
}

.easy-videos__slider .swiper-slide {
    cursor: pointer;
}

.easy-videos__slider p {
    text-align: center;
    margin: 12px 0;
    font-size: var(--text-size);
}

@media(max-width: 768px) {
    .easy-videos__slider img {
        width: 100%;
    }
    .easy-videos__slider {
        padding-bottom: 50px;
    }
}

/* easy-disclaimer */

.easy-disclaimer {
    display: block;
    margin: 0;
    padding: 0;
}

.easy-disclaimer li {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 500;
    display: block;
    margin: 0;
    padding: 0;
}

@media(max-width: 576px) {
    .easy-disclaimer {
        padding: 0 16px;
    }
}


@media(max-width: 768px) {
    
    .easy-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .easy-text {
        font-size: 14px;
    }
    .easy-btn {
        font-size: 14px;
        padding: 8px 14px;
    }
    .easy-container {
        padding: 0 12px;
    }
    :root {
        --section-margin: 40px;
        --text-size: 14px;
        --title-size: 28px;
    }
    .easy-bg-grey {
        background: transparent;
    }
    .easy-container {
        padding: 0;
    }
    .easy-pc {
        display: none;
    }
    .easy-mob {
        display: block;
    }
}


/* modal-table */

.easy-modal-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    position: relative;
}

#btn-open {
    width: 150px;
    height: 40px;
    background-color: red;
    color: #ffffff;
    font-size: 22px;
    border-radius: 20px;
    cursor: pointer;
}

.easy-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    display: none;
    
    z-index: 10000;
}

.easy-wrapper-modal__content {
    text-align: center;
}

.easy-wrapper-modal__content p {
    font-size: var(--text-size);
    font-family: 'Roboto', sans-serif;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.5em;
}

.easy-modal.active {
    display: flex;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: gray;
    opacity: 0.5;
}

#modal-window {
    background: #2E3941;
    max-width: 280px;
    width: 100%;
    padding: 86px 32px 32px;
    margin: auto;
    position: relative;
    border-radius: 16px;
    z-index: 1;
}

.close-modal {
    background: transparent;
    outline: none;
    border: none;
    position: absolute;
    right: 32px;
    top: 32px;
    cursor: pointer;
}

.open-modal {
    cursor: pointer;
}

/* popup */

.modal{
    position:fixed;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    display:none;
    background:#2b2b2beb;
    z-index:10000
}
.modal__x{
    position:absolute;
    right:40px;
    top:20px;
    cursor:pointer
}
.modal_yt-bg{
    position:absolute;
    width:100%;
    height:100%
}
#yt_iframe{
    z-index:100
}

