/* global */
:root {
    --color-blue: #4858e7;
    --color-cyan: #7f9af9;
    --color-green: #87e22b;
    --color-white: #ffffff;
    --color-black: #000000;
}
main {
    padding-bottom: 0;
}
/* END global */

/* section__preview */
.section__preview > .container {
    padding: 6rem;
    max-width: initial;
    width: 368rem;
    height: 722rem;
    background: url(../media/courses/preview_back-mobile.svg) center / contain no-repeat;
    position: relative;
}
.preview__info {
    z-index: 2;
    position: relative;
    padding: 60rem 25rem;
}
.spreview__subtitle {
    margin-bottom: 20rem;
    font-family: "Jura", sans-serif;
    font-size: 20rem;
    line-height: normal;
    text-transform: uppercase;
    color: var(--color-blue);
}
.spreview__subtitle span {
    margin-top: 5rem;
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 16rem;
    line-height: 140%;
    text-transform: none;
}
.preview_title {
    font-size: 26rem;
}
.preview_desc {
    margin-top: 20rem;
}
.preview__adds {
    position: absolute;
    left: 50%;
    top: 540rem;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 40rem 30rem;
    width: 360rem;
    background: var(--color-green);
    -webkit-clip-path: polygon(60rem 0%, 100% 0, 100% calc(100% - 40rem), calc(100% - 60rem) 100%, 0 100%, 0 40rem);
    clip-path: polygon(60rem 0%, 100% 0, 100% calc(100% - 40rem), calc(100% - 60rem) 100%, 0 100%, 0 40rem);
}
.preview__add {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10rem;
}
.preview__add:not(:last-child) {
    margin-bottom: 25rem;
}
.preview__add-title {
    font-family: "Jura", sans-serif;
    font-size: 40rem;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}
@media (min-width: 900px) {
    .section__preview > .container {
        width: 972rem;
        height: 422rem;
        background-image: url(../media/unit/preview_back-table.svg);
    }
    .preview__info {
        padding: 60rem 60rem 40rem;
    }
    .spreview__subtitle {
        margin-bottom: 15rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .spreview__subtitle span {
        margin: 0 0 0 10rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 10rem;
    }
    .spreview__subtitle span::before {
        content: "";
        display: block;
        width: 5rem;
        height: 5rem;
        border-radius: 50%;
        background: var(--color-green);
    }
    .preview_title {
        max-width: 390rem;
        font-size: 30rem;
    }
    .preview_desc {
        max-width: 390rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        overflow: hidden;
    }
    .preview__adds {
        left: auto;
        top: 125rem;
        right: 30rem;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        padding: 40rem 30rem 30rem;
        width: 470rem;
        background: var(--color-green);
        -webkit-clip-path: polygon(40rem 0%, 100% 0, 100% calc(100% - 40rem), calc(100% - 40rem) 100%, 0 100%, 0 40rem);
        clip-path: polygon(40rem 0%, 100% 0, 100% calc(100% - 40rem), calc(100% - 40rem) 100%, 0 100%, 0 40rem);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20rem;
    }
    .preview__add {
        display: block;
    }
    .preview__add:not(:last-child) {
        margin: 0;
    }
    .preview__add-title {
        font-size: 60rem;
        line-height: normal;
    }
    .preview__add-desc {
        margin-top: 5rem;
    }
}
@media (min-width: 1390px) {
    .section__preview > .container {
        width: 1370rem;
        height: 480rem;
        background-image: url(../media/courses/preview_back-desk.svg);
    }
    .preview__info {
        padding: 70rem 100rem;
    }
    .preview_title {
        max-width: 560rem;
        font-size: 46rem;
    }
    .preview__img {
        right: 130rem;
        max-width: 550rem;
    }
    .preview__adds {
        right: 80rem;
        padding: 30rem 50rem 40rem;
        width: 600rem;
        gap: 50rem;
    }
    .preview__add-title {
        font-size: 80rem;
        line-height: normal;
    }
    .preview__add-desc {
        margin-top: 8rem;
    }
}
/* END section__preview */

/* section__about */
.section__about {
    padding-top: 200rem;
}
.about__line {
    display: grid;
    gap: 30rem;
}
.about__fisrt {
    margin-top: 90rem;
    display: grid;
    gap: 40rem;
}
.about__desc {
    margin-top: 20rem;
}
.about__files {
    display: grid;
    gap: 15rem;
}
.about__file {
    display: grid;
    grid-template-columns: 39rem auto;
    gap: 20rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.about__file-format {
    -webkit-box-flex: 0;
    -ms-flex: 0;
    flex: 0;
    width: 39rem;
    height: 47rem;
    background: url(../media/course-item/about__file.svg) center / contain no-repeat;
    color: var(--color-green);
    font-weight: 600;
    font-size: 10rem;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.about__second {
    margin-top: 90rem;
    display: grid;
    gap: 40rem;
}
.about__second-img {
    width: 100%;
    height: 185rem;
    border-radius: 20rem;
}
.about__imgs {
    margin-top: 20rem;
}
.about__imgs img:nth-child(1) {
    display: block;
    width: 100%;
    height: 210rem;
    border-radius: 20rem;
}
.about__imgs img:nth-child(2) {
    margin: -40rem 0 0 auto;
    display: block;
    width: 200rem;
    height: 150rem;
    border-radius: 20rem;
}
.about__second-right img:nth-child(1) {
    width: 100%;
    height: 185rem;
    border-radius: 20rem;
}
.about__second-right img:nth-child(2) {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    display: block;
    width: 100%;
    height: 210rem;
    border-radius: 20rem;
}
.about__second-right img:nth-child(3) {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin: -80rem 0 0 auto;
    display: block;
    width: 200rem;
    height: 150rem;
    border-radius: 20rem;
}
@media (min-width: 900px) {
    .section__about {
        padding-top: 120rem;
    }
    .about__line {
        grid-template-columns: repeat(2, auto);
        gap: 40rem;
    }
    .about__fisrt {
        margin-top: 80rem;
        grid-template-columns: 560rem auto;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }
    .about__second {
        margin-top: 95rem;
        grid-template-columns: 560rem auto;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .about__second-img {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        height: 220rem;
    }
    .about__imgs {
        margin-top: 45rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 40rem;
    }
    .about__imgs img:nth-child(1) {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: 360rem;
        height: 335rem;
    }
    .about__imgs img:nth-child(2) {
        margin: 0;
        width: 300rem;
        height: 220rem;
    }
    .about__second-right img:nth-child(1) {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        height: 220rem;
    }
    .about__second-right img:nth-child(2) {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        margin-top: -110rem;
        width: 360rem;
        height: 330rem;
    }
    .about__second-right img:nth-child(3) {
        margin: 0 0 auto auto;
        width: 300rem;
        height: 220rem;
    }
}
@media (min-width: 1200px) {
    .section__about {
        padding-top: 100rem;
    }
    .about__fisrt {
        margin-top: 75rem;
    }
    .about__second {
        margin-top: 105rem;
        grid-template-columns: 710rem auto;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 90rem;
    }
    .about__desc {
        margin-top: 40rem;
        max-width: 560rem;
    }
    .about__imgs {
        margin-top: -20rem;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 100rem;
    }
    .about__imgs img:nth-child(1) {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: 360rem;
        height: 335rem;
    }
    .about__imgs img:nth-child(2) {
        margin: 0;
        width: 300rem;
        height: 220rem;
    }
    .about__second-right .about__text {
        grid-area: 1 / 1 / 4 / 2;
    }
    .about__second-right img:nth-child(1) {
        grid-area: 1 / 2 / 2 / 3;
    }
    .about__second-right img:nth-child(2) {
        grid-area: 2 / 2 / 3 / 3;
        margin-left: -110rem;
    }
    .about__second-right img:nth-child(3) {
        grid-area: 3 / 2 / 4 / 3;
        margin: -110rem 0 0 30rem;
    }
}
/* END section__about */

/* section__team */
.section__team {
    padding-top: 90rem;
}
.team__subtitle {
    margin-bottom: 10rem;
    color: var(--color-blue);
}
.team__desc {
    margin-top: 20rem;
}
.team__slider {
    margin-top: 40rem;
}
.team__slide {
    position: relative;
    width: 100%;
    height: 340rem;
    border-radius: 20rem;
    overflow: hidden;
}
.team__slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -o-linear-gradient(top, rgba(72, 88, 231, 0) 0%, rgba(72, 88, 231, 0.6) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(72, 88, 231, 0)), to(rgba(72, 88, 231, 0.6)));
    background: linear-gradient(180deg, rgba(72, 88, 231, 0) 0%, rgba(72, 88, 231, 0.6) 100%);
}
.team__slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.team__slide-info {
    position: relative;
    z-index: 2;
    padding: 25rem 20rem;
    height: 100%;
    color: var(--color-white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: 10rem;
}
.team__slide-title {
    color: var(--color-white);
}
.team__slider-arrow {
    margin-top: 30rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: 20rem;
}
.team__slider-prev,
.team__slider-next {
    width: 40rem;
    height: 40rem;
    background: var(--color-blue);
    -webkit-mask-image: url(../media/unit/team__slider-arrow.svg);
    mask-image: url(../media/unit/team__slider-arrow.svg);
    cursor: pointer;
}
.team__slider-prev {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.team__slider-prev.swiper-button-lock,
.team__slider-next.swiper-button-lock {
    pointer-events: none;
    opacity: 0;
}
@media (min-width: 900px) {
    .section__team {
        padding-top: 150rem;
    }
    .team__line {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 20rem;
    }
    .team__title {
        max-width: 440rem;
    }
    .team__desc {
        margin: 0;
        max-width: 500rem;
    }
    .team__slide {
        width: 260rem;
    }
    .team__slide-info {
        padding: 30rem 20rem;
    }
    .team__slider-arrow {
        margin-top: 40rem;
    }
}
@media (min-width: 1200px) {
    .team__title {
        max-width: 560rem;
    }
    .team__desc {
        max-width: 560rem;
    }
    .team__slider-arrow {
        margin-top: 50rem;
    }
}
/* END section__team */
