@import url(./css/null.css);
@import url(./css/header.css);
@import url(./css/footer.css);
@import url(./css/buttons.css);
@import url(./css/variables.css);
@import url(./css/fonts.css);
body {
    margin: 0;
    padding: 0;
    font-family: 'Mulish', sans-serif;
}

.hero__img img,
.healthcare__img img,
.downloads__img img {
    max-width: 100%;
}

.site-wrapper {
    width: 100%;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
}

.column {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}


/* HERO */

.hero__container {
    max-width: 1260px;
    display: flex;
    margin: 100px auto;
}

.hero__text {
    max-width: 445px;
    width: 100%;
}

.hero__text-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 20px;
}

.hero__text-sub {
    font-weight: 300;
    font-size: 21px;
    line-height: 32px;
    text-align: left;
    color: var(--color-primary);
}

.hero__img {
    max-width: 693px;
    max-height: 598px;
}


/* SERVICES */

.services {
    background: url(./img/services-bg.png) no-repeat;
}

.services__container {
    width: 100%;
    margin-top: 190px;
}

.services__title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 56px;
}

.services hr {
    width: 56px;
    height: 2px;
    background-color: var( --color-secondary);
}

.services__text {
    max-width: 950px;
    text-align: center;
    margin: auto;
    margin-top: 33px;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
    color: var(--color-primary);
}

.services__grid {
    width: 100%;
    max-width: 1120px;
    margin: auto;
    margin-top: 83px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 34px;
    row-gap: 37px;
}

.services__grid-item {
    width: 100%;
    max-height: 374px;
    height: 100%;
    box-shadow: 10px 40px 50px rgba(229, 233, 246, 0.4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: 1s;
    transform-style: preserve-3d;
}

.item__wrap {
    max-width: 262px;
    max-height: 260px;
    margin: 50px 45px 50px 39px;
}

.services__grid-item-img {
    width: 98px;
    height: 90px;
}

.services__grid-item h4 {
    height: 56px;
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 15px;
}

.services__grid-item span {
    width: 265px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 300;
    padding-top: 0;
    margin-top: 20px;
    line-height: 28px;
}

.services__grid-item:hover {
    transition: 2s;
    transform: rotateY(360deg);
    background-color: var( --color-secondary);
    color: #fff;
}


/* HEALTHCARE */

.healthcare__container {
    max-width: 1273px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 220px;
    align-content: flex-start;
}

.healthcare__img {
    height: auto;
    max-height: 100%;
}

.healthcare__text {
    width: 100%;
    max-width: 486px;
}

.healthcare-title {
    font-size: 36px;
    line-height: 56px;
    font-weight: 700;
    max-width: 481px;
    margin-top: 0;
}

.healthcare-title::after {
    content: " ";
    border: 1px solid var( --color-secondary);
    margin-top: 31px;
    margin-bottom: 15px;
    display: block;
    max-width: 56px;
}

.healthcare__text p {
    width: 100%;
    font-weight: 300;
    font-size: 18px;
    color: var(--color-primary);
    max-width: 400px;
    line-height: 30px;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0;
}

.healthcare__text .btn {
    margin-right: auto;
    margin-top: 50px;
}


/* DOWNLOADS */

.downloads__container {
    max-width: 1273px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 230px;
}

.downloads__text {
    width: 100%;
    max-width: 405px;
}

.downloads-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
}

.downloads-title::after {
    content: " ";
    border: 1px solid var( --color-secondary);
    margin-top: 35px;
    margin-bottom: 15px;
    display: block;
    max-width: 56px;
}

.downloads-description {
    font-weight: 300;
    font-size: 18px;
    color: var(--color-primary);
    line-height: 30px;
    display: block;
    margin-top: 10px;
    padding-top: 0px;
}

.downloads__img {
    max-width: 642px;
    height: 100%;
    max-height: 419px;
    margin-left: 68px;
}


/* SLIDER */

.slider__container {
    max-width: 1120px;
    margin: auto;
    margin-top: 260px;
    background: linear-gradient(208.18deg, #67C3F3 9.05%, #5A98F2 76.74%);
    border: 1px solid var( --color-secondary);
    box-sizing: border-box;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
}

.slider__wrap {
    margin: auto;
    width: 100%;
    max-width: 884px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    align-items: center;
}

.slider-title {
    text-align: center;
    font-size: 36px;
    color: #fff;
    line-height: 48px;
    font-weight: 700;
    padding-top: 15px;
    margin-bottom: 30px;
}

.slider__title::after {
    content: " ";
    border: 1px solid #fff;
    display: block;
    max-width: 54px;
    margin: auto;
    margin-top: 31px;
    margin-bottom: 66px;
}

.slider-item {
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: space-between;
}

.prev,
.next {
    margin-top: -200px;
    cursor: pointer;
    width: auto;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 50px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    float: right;
}

.prev {
    float: left;
}

.text__wrap {
    max-width: 184px;
    align-items: flex-start;
}

.text__wrap span {
    color: #fff;
}

.slider-item h5 {
    display: inline-block;
    font-weight: 700;
    font-size: 22px;
    line-height: 48px;
    margin-bottom: 0;
    padding-bottom: 0px;
    color: #fff;
    margin-left: 0;
}

.slider__wrap p {
    width: 420px;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    color: #fff;
}


/* ARTICLES */

.articles__container {
    max-width: 1120px;
    text-align: center;
    margin: auto;
    margin-top: 220px;
}

.articles__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 56px;
}

.articles__title::after {
    content: " ";
    border: 1px solid var( --color-secondary);
    display: block;
    max-width: 54px;
    margin: auto;
    margin-top: 26px;
    margin-bottom: 70px;
}

.articles__wrap {
    width: 100%;
    max-width: 1120px;
    display: flex;
    justify-content: space-between;
}

.articles__item-media {
    position: relative;
    overflow: hidden;
    padding: 0px 0px 70% 0px;
}

.item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.articles__item {
    width: 30%;
    max-width: 350px;
    height: 512px;
    box-shadow: 10px 40px 50px rgba(229, 233, 246, 0.4);
    border-radius: 20px;
    position: relative;
}

.articles__text-wrap {
    max-width: 266px;
    margin: auto;
}

.articles__item-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 32px;
    width: 100%;
    text-align: left;
    margin: 20px 0 12px 0;
    padding-bottom: 0;
}

.articles__item-paragraph {
    margin-top: 0;
    padding-top: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
    text-align: left;
    color: var(--color-primary);
}

.articles-link {
    max-width: 266px;
    color: #4089ED;
    display: block;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    position: absolute;
    left: auto;
    bottom: 10px;
}

.img-link {
    display: block;
}

.articles__link::after {
    content: url('./img/arrow.svg');
    margin-left: 4px;
}


/* MEDIA QUERIES */

@media screen and (min-width:1025px) and (max-width:1200px) {
    .hero__container .row {
        flex-direction: column;
    }
    .hero__text {
        width: 100%;
        max-width: 1170px;
        text-align: center;
        margin-top: 150px;
    }
    .hero__text .btn {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width:901px) and (max-width:1024px) {
    .hero__container .row {
        flex-direction: column;
    }
    .hero__text {
        width: 100%;
        max-width: 1170px;
        text-align: center;
        margin: 150px auto;
    }
    .hero__text .btn {
        margin-left: auto;
        margin-right: auto;
    }
    .services__grid {
        max-width: 1000px;
        row-gap: 10px;
        column-gap: 10px;
    }
    .healthcare__container {
        margin-top: 100px;
    }
    .healthcare__container .row {
        flex-direction: column-reverse;
    }
    .healthcare__container .column {
        width: 100%;
    }
    .healthcare__text {
        max-width: 1000px;
        text-align: center;
    }
    .healthcare__text h4 {
        max-width: 1000px;
    }
    .healthcare-img {
        max-width: 650px;
    }
    .healthcare__img img {
        margin: 0 auto;
    }
    .healthcare__text p {
        margin: 0 auto;
        max-width: 1000px;
    }
    .healthcare__text .btn {
        margin-left: 40%;
        margin-bottom: 70px;
    }
    .downloads__container {
        margin-top: 100px;
    }
    .downloads__container .row {
        flex-direction: column;
    }
    .downloads__text {
        max-width: 1000px;
        text-align: center;
    }
    .downloads-title::after {
        display: none;
    }
    .downloads__text .btn {
        margin-left: 40%;
        margin-bottom: 100px;
    }
    .slider__container {
        margin-top: 100px;
    }
    .articles__wrap {
        flex-direction: row;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
    }
    .articles__item {
        max-width: 250px;
        height: 325px;
    }
    .articles__text-wrap p {
        display: none;
    }
    .articles__container {
        margin-top: 100px;
    }
    .healthcare-title::after {
        display: none;
    }
}

@media screen and (max-width:900px) {
    .header__nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: -100%;
        left: 0;
        transition: top .6s ease-in-out;
        max-width: 100%;
        height: 100%;
        justify-content: center;
        background-color: #fff;
        overflow: auto;
    }
    .header.active .header__nav {
        top: 0;
        left: 0;
    }
    .header__nav-item {
        color: #000;
        opacity: 0.5;
        margin-top: 2em;
        font-size: calc(24px + 16 * (100vw / 1280));
        padding: 0;
    }
    .header__nav-item:first-child {
        padding: 0;
        margin-top: 0;
    }
    .header__container {
        padding-top: 25px;
        z-index: 50;
        justify-content: center;
        align-items: center;
    }
    .header__logo {
        padding-left: 10px;
        z-index: 20;
    }
    .header__burger {
        margin-left: auto;
        margin-right: 10px;
        position: relative;
        width: 50px;
        height: 30px;
        display: block;
        z-index: 100;
    }
    .header__burger::after,
    .header__burger::before {
        content: '';
        background-color: var( --color-secondary);
        position: absolute;
        width: 100%;
        height: 6px;
        left: 0;
        transition: 0.4s ease;
    }
    .header.active .header__burger span {
        opacity: 0;
    }
    .header.active .header__burger::after,
    .header.active .header__burger::before {
        background-color: #000;
    }
    .header.active .header__burger::before {
        transform: rotate(45deg);
        top: 8px;
    }
    .header.active .header__burger::after {
        transform: rotate(-45deg);
        bottom: 17px;
    }
    .header__burger span {
        position: absolute;
        background-color: var(--color-secondary);
        left: 0;
        width: 100%;
        height: 6px;
        top: 12px;
        opacity: 1;
        transition: 0.2s linear;
    }
    .header__burger::before {
        top: 0;
    }
    .header__burger::after {
        bottom: 0;
    }
    .hero__container .row {
        flex-direction: column;
        margin-top: 50px;
    }
    .hero__text {
        width: 100%;
        max-width: 1170px;
        text-align: center;
        margin-top: 150px;
        margin-bottom: 100px;
    }
    .hero__text-sub {
        width: 100%;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero__text .btn {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-img img {
        width: 100%;
        max-width: 600px;
    }
    .services__grid {
        max-width: 1000px;
        row-gap: 10px;
        column-gap: 10px;
    }
    .services__text {
        padding: 0 10px;
    }
    .healthcare__container {
        margin-top: 100px;
    }
    .healthcare__container .row {
        flex-direction: column-reverse;
    }
    .healthcare__container .column {
        width: 100%;
    }
    .healthcare__text {
        max-width: 1000px;
        text-align: center;
    }
    .healthcare-title {
        max-width: 1000px;
    }
    .healthcare__img {
        margin-left: auto;
        margin-right: auto;
    }
    .healthcare__img img {
        margin: 0 auto;
    }
    .healthcare__text p {
        margin: 0 auto;
        max-width: 1000px;
    }
    .healthcare__text .btn {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 70px;
    }
    .healthcare-title::after {
        display: none;
    }
    .downloads__container {
        margin-top: 100px;
    }
    .downloads__container .row {
        flex-direction: column;
    }
    .downloads__text {
        max-width: 1000px;
        text-align: center;
    }
    .downloads-img img {
        max-width: 600px;
    }
    .downloads-img {
        max-width: 600px;
    }
    .downloads-title::after {
        display: none;
    }
    .downloads__text .btn {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 100px;
    }
    .downloads-description {
        padding: 0 10px;
    }
    .services__container {
        margin: 60px auto;
    }
    .services__grid-item {
        max-width: 250px;
        max-height: 250px;
    }
    .services__grid-item span {
        display: none;
    }
    .slider__container {
        margin-top: 100px;
        max-width: 650px;
    }
    .slider__wrap {
        flex-direction: column;
    }
    .slider__wrap p {
        text-align: center;
    }
    .articles__wrap {
        flex-direction: row;
        margin: auto;
        align-items: flex-start;
    }
    .articles__text-wrap p {
        display: none;
    }
    .articles__container {
        margin-top: 100px;
    }
    .articles__item {
        max-width: 300px;
        height: 350px;
    }
    .articles-link {
        bottom: 5px;
    }
    .footer__container {
        flex-direction: column;
        padding-top: 30px;
        max-width: 650px;
    }
    .footer__text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-bottom: 20px;
    }
    .footer__wrap {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width:768px) {
    .hero__container .row {
        flex-direction: column-reverse;
    }
    .hero__container .column {
        max-height: 600px;
    }
    .services__grid {
        max-width: 500px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .services__grid-item {
        max-width: 225px;
    }
    .articles__item {
        max-width: 450px;
        height: 325px;
    }
    .articles__item-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 639.98px) {
    .header__nav {
        padding: 100px 0 0 0;
    }
    .header__nav-item {
        margin-top: 60px;
    }
    .hero__text-title {
        font-size: 30px;
    }
    .hero__text-sub {
        font-size: 16px;
    }
    .hero__container .row {
        flex-direction: column;
    }
    .hero__text {
        margin-top: 0;
    }
    .services__grid {
        max-width: 300px;
    }
    .services__title {
        font-size: 25px;
    }
    .services__text {
        font-size: 16px;
    }
    .services__grid-item {
        max-width: 160px;
        max-height: 200px;
    }
    .item__wrap {
        margin: 60px auto;
        text-align: center;
        width: 100%;
    }
    .item__wrap h4 {
        font-size: 18px;
    }
    .services__item-img {
        margin-left: auto;
        margin-right: auto;
        max-width: 55px;
        max-height: 55px;
    }
    .healthcare-title {
        font-size: 25px;
    }
    .healthcare__text p {
        font-size: 16px;
    }
    .downloads-title {
        font-size: 25px;
    }
    .downloads__img {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .downloads-description {
        font-size: 16px;
    }
    .slider-title {
        font-size: 25px;
    }
    .slider-item {
        max-width: 300px;
        align-items: center;
    }
    .slider-icon {
        max-width: 90px;
        max-height: 90px;
    }
    .text__wrap {
        text-align: center;
        width: 100%;
    }
    .text__wrap h5 {
        margin-top: auto;
        font-size: 18px;
    }
    .slider__wrap p {
        font-size: 16px;
        line-height: 16px;
        width: 100%;
        margin-top: 20px;
    }
    .articles__wrap {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .articles__item-title {
        display: inline-block;
        font-size: 20px;
        width: 100%;
        max-width: 150px;
    }
    .articles__text-wrap {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-left: 20px;
    }
    .articles__item-media {
        width: 50%;
        height: auto;
        padding: 0px 0px 50% 0px;
    }
    .articles__item {
        width: 100%;
        margin-bottom: 25px;
        height: auto;
        min-height: 225px;
        display: flex;
        padding: 0;
        flex-direction: row;
    }
    .articles-link {
        margin-left: 0;
        margin-right: auto;
    }
    .footer__wrap {
        text-align: center;
    }
    .footer__region {
        margin-left: 30px;
    }
    .footer__help {
        margin-left: 30px;
    }
    .footer__text-title {
        font-size: 18px;
    }
    .footer__text-paragraph {
        font-size: 16px;
    }
    .footer__text-copyright {
        font-size: 14px;
    }
    .footer__company-title {
        font-size: 14px;
    }
    .region-title {
        font-size: 14px;
    }
    .help-title {
        font-size: 14px;
    }
    .company-link {
        font-size: 14px;
        line-height: 14px;
    }
    .region-link {
        font-size: 14px;
        line-height: 14px;
    }
    .help-link {
        font-size: 14px;
    }
}

@media screen and (max-width: 359.98px) {
    .services__grid-item {
        max-width: 140px;
        max-height: 160px;
    }
    .services__item-img {
        max-width: 45px;
        max-height: 45px;
    }
    .services__grid-item h4 {
        font-size: 16px;
        height: 40px;
    }
    .item__wrap {
        margin: 40px auto;
    }
    .articles__item {
        min-height: 150px;
        height: 170px;
    }
    .articles__text-wrap {
        width: 50%;
    }
    .articles__item-title {
        font-size: 14px;
        line-height: 25px;
    }
    .articles-link {
        font-size: 14px;
    }
}