@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #F8F8F8;
    font-size: 18px;
    font-weight: 500;
    line-height: 21.6px;
    height: 100vh;
}

h1,
p,
span {
    color: #373D47;
    margin: 0;
}

.main {
    padding: 80px 0;
}

.item {
    max-width: 514px;
    flex: auto;
}

.variant-h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 31.2px;
}

.variant-h2 {
    font-size: 26px;
    font-weight: 500;
    line-height: 31.2px;
}

.variant-h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 26.4px;
}

.variant-h4 {
    font-size: 18px;
    line-height: 21.6px;
}

.variant-thin {
    font-weight: 400;
}

.variant-body2 {
    font-size: 16px;
    line-height: 19.2px;
}

.variant-body3 {
    font-size: 14px;
    line-height: 16.8px;
}

.mobile {
    display: none;
}

.paper-img.paper-pharma_img {

    display: flex;
    justify-content: center;
    margin-bottom: -40px;
    margin-top: 8px;
    flex: auto;
}

.paper-img.paper-pharma_img img {
    max-width: 257.88px;
    object-fit: contain;
}

.paper .paper-img {
    display: flex;
    justify-content: center;
    margin-bottom: -36px;
    margin-top: 8px;
}

.paper .paper-img img {
    max-width: 234px;
    max-height: 468px;
    object-fit: contain;
}

.paper {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px;
    border-radius: 20px;
}

.paper-pad {
    padding: 55px 36px;
}

.gradient-wrapper_info {
    z-index: 2;
}

.bonus-icon {
    position: absolute;
    mix-blend-mode: overlay;
    z-index: 1;
}

.footer_support-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 268px;
}

.bonus-icon_filled {
    position: absolute;
}

.card-media {
    position: relative;
    background-color: #E5E5EE;
    padding: 0 36px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    justify-content: center;
    height: 220px;
}

.card-image img {
    max-width: 227px;
    max-height: 454px;
}

.card-count {
    width: 38px;
    height: 38px;
    position: absolute;
    top: 22px;
    left: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 26.4px;
    color: #ffffff;
    background-color: #373D47;
}

.card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.card-image {
    display: flex;
    justify-content: center;
}

.card-image-top {
    align-items: flex-start;
    padding-bottom: 22px;
}

.card-image-bottom {
    padding-top: 22px;
    align-items: flex-end;
}

.card-footer {
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #ffffff;
    flex: auto;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.paper-container {
    display: flex;
    gap: 20px;


}

.paper-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.paper-container .paper-column {
    gap: 20px;
}

.icon-container {
    display: flex;
    justify-content: center;
}

.icon-container.mobile {
    display: none;
}

.qr-container {
    padding: 11.23px;
    border-radius: 16.04px;
    display: flex;
    background-color: #ffffff;
    max-height: 155.5px;
}

.qr-container.qr-container_colored {
    background-color: #EFF2FF;
}

.link-wrapper {
    display: flex;
    gap: 36px;
    justify-content: center;
}

.link-wrapper .link-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-wrapper .link-container .link-container_img-container {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 480px;
}

.gradient-wrapper {
    background: linear-gradient(255.4deg, #355BE0 0%, #FF4880 100%);
    padding: 68px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
    position: relative;
    text-align: center;
}

.gradient-wrapper .variant-h2,
.gradient-wrapper span {
    color: #ffffff;
}

.gradient-wrapper .gradient-container {
    display: flex;
    flex-direction: column;
    max-width: 554px;
    gap: 14px;
    align-items: center;
}

.main-container {
    max-width: 1048px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.centered {
    text-align: center;
}

h1 {
    font-family: "Lato", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 31.2px;
}

.colored-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #F5EAFB;
    padding: 68px 89px;
    border-radius: 20px;
    text-align: center;
    position: relative;

}

body {
    margin: 0;
    padding: 0;
}

.main-footer {
    background: #373D47;
    padding: 59px 0;
}

.footer-container {
    margin: 0 auto;
    max-width: 1048px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-container span {
    color: #ffffff;
}

.footer-container .footer_company-info {
    align-self: flex-start;
}

.main-paper {
    padding: 48px 60px 36px 36px;
    background-color: #ffffff;
    display: flex;
    gap: 62px;
    border-radius: 20px;
}

.main-paper .main-paper_container {
    display: flex;
    flex-direction: column;
}

.main-paper .main-paper_container .main-paper_paragraph {
    margin-top: 24px;
    margin-bottom: 36px;
}

.main-paper .main-paper_container .main-paper_paragraph h1 {
    margin-bottom: 16px;
}

.main-paper .main-paper_container .main-paper_paragraph p:first-of-type {
    margin-bottom: 12px;
}

.main-paper .main-paper_qr-text {
    margin-bottom: 14px;
}

.main-paper .main-paper_img-container {
    display: flex;
    margin-bottom: -36px;
    align-items: flex-end;
}

.main-paper .main-paper_img-container img {
    max-width: 329px;
    max-height: 643px;
    object-fit: contain;
}

@media screen and (max-width: 1048px) {
    body {
        font-size: 16px;
        line-height: 19.2px;
    }

    .main {
        padding: 0;
    }

    .gradient-wrapper_info {
        max-width: 730px;
    }

    .footer-container .footer_support-container {
        order: 1;
        align-items: center;
    }

    .footer-container .footer_company-info {
        order: 3;
        align-self: center;
    }

    .footer-container .footer_company-logo {
        order: 2;
    }

    .link-wrapper .link-container .link-container_img-container {
        justify-content: center;
    }

    .main-footer {
        padding: 40px 0;
    }

    .icon-container.mobile {
        display: inherit;
        margin-bottom: 6px;
    }

    .mobile {
        display: inherit;
    }

    .qr-container {
        display: none;
    }

    .main-paper {
        justify-content: center;
    }

    .main-paper .main-paper_paragraph {
        margin-top: 20px;
        margin-bottom: 24px;
        padding: 0 13.5px;
        max-width: 600px;
    }

    .main-paper .main-paper_container {
        align-items: center;
    }

    .main-paper .main-paper_container .logo-icon {
        width: 70px;
        height: 78px;
    }

    .main-paper {
        padding: 32px 12px;
        background-color: #ffffff;
        display: flex;
        gap: 62px;
        border-radius: unset;
    }

    .main-paper .main-paper_container {
        align-items: center;
    }

    .main-paper .main-paper_container .main-paper_paragraph {
        margin-top: 20px;
        margin-bottom: 24px;
        padding: 0 13.5px;
    }

    .main-paper .main-paper_container .main-paper_paragraph h1 {
        margin-bottom: 12px;
        text-align: center;
    }

    .main-paper .main-paper_container .main-paper_paragraph p:first-of-type {
        margin-bottom: 8px;
    }

    .main-paper .main-paper_container .logo-icon {
        width: 70px;
        height: 78px;
    }

    .main-paper .main-paper_img-container {
        display: none;
    }

    .colored-container {
        padding: 36px 14px;
        gap: 12px;
    }

    .main-container {
        gap: 40px;
    }

    .gradient-wrapper {
        border-radius: unset;
        padding: 60px 12px;
        gap: 26px;
    }

    .main-wrapper {
        gap: 28px;
        padding: 0 12px;
    }

    .card-container {
        gap: 18px;
    }

    .paper-column .mobile {
        justify-content: center;
    }

    .footer-container {
        padding: 0 12px;
        gap: 24px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .paper-container {
        flex-direction: column;
        align-items: center;
    }

    .variant-h1 {
        font-size: 22px;
        line-height: 26.4px;
    }

    .variant-h2 {
        font-size: 22px;
        line-height: 26.4px;

    }

    .variant-h3 {
        font-size: 18px;
        line-height: 21.6px;
    }

    .variant-h4 {
        font-size: 16px;
        font-weight: 400;
        line-height: 19.2px;
    }

    .desktop {
        display: none;
    }

    .paper-img.paper-pharma_img {
        display: flex;
        justify-content: center;
        flex: auto;
        margin-top: 12px;
        margin-bottom: -26px;
    }

    .paper-img.paper-pharma_img img {
        max-width: 226.33px;
        object-fit: contain;
    }

    .paper .paper-img {
        margin-top: 12px;
        margin-bottom: -26px;
    }

    .paper {
        padding: 26px 14px;
        gap: 12px;
    }

    .paper-pad {
        padding: 26px 14px;
    }


    .card-media {
        padding: 0;
    }

    .card-media .card-count {
        display: none;
    }

    .card-footer {
        padding: 20px 14px;
        gap: 12px;
    }


}