.main-logo {
    display: block;
    width: 134.33px;
    height: 32px;
}

.main-text {
    font-size: 1.75rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 2.5rem;
}

body {
    margin: 0;
    font-family: 'INGMe', arial, helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

div {
    box-sizing: border-box;
}

.container {
    display: grid;
    grid-template-areas:
        '. header .'
        '. content .'
        'footer footer footer';
    grid-template-columns: 16px 1fr 16px;
    grid-template-rows: auto 1fr auto;
    box-sizing: border-box;
    height: 100vh;
    max-width: 100%;

    overflow-x: hidden;
}

@media screen and (min-width: 1280px) {
    .container--default {
        grid-template-areas:
            '. header . aside'
            '. content . aside'
            'footer footer footer aside';
        grid-template-columns: 10% 3fr 24px 2fr;
        padding-right: 0;
        padding-left: 0;
    }
}

header {
    grid-area: header;
    margin: 40px 0;
}

.leftpart {
    grid-area: content;

    width: 775px;
}

footer {
    padding: 1rem 0;
    background-color: #f0f0f0;
    margin-top: 2rem;
    width: 100%;

    grid-area: footer;
    display: block;

    box-sizing: border-box;
}

.footer__wrapper {
    max-width: 775px;
    display: flex;
    justify-content: space-between;

    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: 24px;
}

/* .leftpart--wrapper {
    margin-right: 1rem;
    max-width: 775px;

    grid-area: content;
} */

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-left__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-copyright {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #5e5e5e;
}

.footer-link {
    color: #5e5e5e;
    border-bottom: 1px solid #5e5e5e;

    font-size: 0.75rem;

    text-decoration: none;
    display: block;
}

.footer-link-right {
    text-decoration: none;
    color: #2f2f2f;
    border-bottom: 1px solid #2f2f2f;
    font-weight: bold;
    font-size: 14px;

    display: block;
}

.rightpart {
    min-width: 50vw;
    position: relative;
    grid-area: aside;
}

.rightpart-container {
    position: sticky;
    top: 0;
}

.rightpart-image {
    position: sticky;
}

.second-logo {
    display: block;
    object-fit: cover;
    object-position: left top;
    width: 100%;
    height: 100vh;
}

.rightpart-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 1rem;

    line-height: 1.25rem;

    color: #333333;
    font-size: 0.875rem;

    background: #f0f0f0;
    opacity: 0.8;
}

@media (min-width: 600px) {
    .img {
        height: 40px;
    }
}

.login-text {
    margin-bottom: 4px;
    color: #333;
    font-size: 16px;
    line-height: 24px;
}

.login-input {
    width: 100%;
    margin-bottom: 16px;
}


.login-container {
    max-width: 330px;
    margin-right: 40px;
}

.login-input input {
    padding: 10px 12px;
    border: 1px solid #696969;
    border-radius: 4px;
    font-size: 16px;
    height: 40px;

    display: block;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.login-input input:focus {
    border: 2px solid #335d7d;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.login-button__wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.button-wroc {
    background: none;
    border: none;
    color: #ff6200;

    cursor: pointer;
    outline: none;
    font-size: 1rem;
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-button {
    background-color: #ff6200;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.button-mobile {
    display: none;
}

.help-container>a {
    text-decoration: underline;
}

.icons {
    flex-shrink: 0;
    margin-top: 2px;
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.link-container__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.link-container--items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.link-container-item {
    display: flex;
    align-items: center;
}

.link-container-item a {
    color: #48488a;
    text-decoration: underline;
    text-underline-offset: 4px;

    font-weight: 500;
}

.link-container {
    width: 100%;
}

.links {
    display: flex;
    margin-bottom: 12px;
}

.links a {
    color: #48488a;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.card-container {
    margin-top: 24px;
    display: flex;
    gap: 1.5rem;

    width: 100%;
}

.triugol {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 8px;
}

.card {
    border-radius: 4px;
    width: 100%;
    height: 200px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12),
        0 1px 5px 0 rgba(0, 0, 0, 0.2);

    line-height: 1.5;
}

.card-content {
    padding: 1.5rem;
    display: flex;
}

.card-texts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-content a {
    /* color: #ff6200; */
    color: #921c5a;
    border-bottom: 1px solid #921c5a;
    text-decoration: none;
    max-width: fit-content;
}

.card-content p {
    margin: 0;
}

.card-content a:hover {
    text-decoration: underline;
}

.card-content b {
    display: block;
}

.line {
    width: 100%;
    display: block;
    border: none;
    border-top: 1px solid #d9d9d9;
    margin: 24px 0;
}

.svg-container {
    flex-shrink: 0;
    fill: #525199;
    margin-left: 4px;
    margin-bottom: -2px;
    width: 1rem;
    height: 1rem;
}

.under-link {
    margin-top: 24px;
}

.rightpart-texts {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: fit-content;

    gap: 0.5rem;

    position: absolute;
    top: 2rem;
    left: 52px;
}

.rightpart-texts div {
    background-color: #ff6200;
    color: #fff;

    font-size: 2.25rem;
    line-height: 3rem;
    font-weight: bold;
    padding: 4px 16px;

    border-radius: 5px;
}

.text-second {
    margin-left: 64px;
}

.text-third {
    margin-left: 2rem;
}

@font-face {
    font-family: 'INGMe';
    src: url(fonts/3c61ef3553284e176612.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'INGMe';
    src: url(fonts/c46819568c63444d6f6a.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: INGMe;
    font-style: normal;
    font-weight: 400;
    src: url(fonts/3c61ef3553284e176612.woff2) format("woff2"), url(fonts/20f3093d7c722a5aab8e.woff) format("woff"), url(fonts/fa03d06070dca54a9f0f.ttf) format("truetype"), url(https://login.ingbank.pl/mojeing/app/e8193b5cd7bc3f4b67f5.svg#INGMeWeb-Regular) format("svg");
}

@font-face {
    font-family: INGMe;
    font-style: normal;
    font-weight: 700;
    src: url(fonts/c46819568c63444d6f6a.woff2) format("woff2"), url(fonts/dbb01bf24b7cc76615ec.woff) format("woff"), url(fonts/c2daa11759f510880de1.ttf) format("truetype"), url(https://login.ingbank.pl/mojeing/app/6ba26f72e2db843eab1e.svg#INGMeWeb-Bold) format("svg");
}

/* @font-face {
    font-family: ing-icons;
    src: url(https://login.ingbank.pl/mojeing/app/037dcdf557c5df5f2e97.eot);
    src: url(https://login.ingbank.pl/mojeing/app/037dcdf557c5df5f2e97.eot?#iefix) format("embedded-opentype"), url(https://login.ingbank.pl/mojeing/app/f62fa5693dad0c162a96.woff) format("woff"), url(https://login.ingbank.pl/mojeing/app/6285e8df504550bbf31d.ttf) format("truetype"), url(https://login.ingbank.pl/mojeing/app/704780b9cc35c954bcce.svg#ing) format("svg");
} */

@media screen and (max-width: 1279px) {
    .leftpart {
        width: 100%;
    }

    .rightpart {
        display: none;
    }

    .card {
        height: auto;
        /* height: 176px; */
    }

    .link-container {
        max-width: 100%;
    }

    .footer__wrapper {
        max-width: 100%;

        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 560px) {
    .card-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 599px) {
    .leftpart {
        padding: 0;
    }

    .leftpart--wrapper {
        margin: 0;
    }

    header {
        margin: 0px -16px 16px;
        padding: 1rem;
        box-shadow: rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px, rgba(0, 0, 0, 0.2) 0px 5px 5px -3px;
    }

    .login-container {
        max-width: 100%;
        margin: 0;
    }

    .card-container {
        flex-direction: column;
        gap: 1rem;
    }

    .card {
        min-height: auto;
    }

    .card-texts {
        gap: 0.5rem;
    }

    .card-content {
        padding: 1rem;
    }

    .main-text {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

    .login-button__wrapper {
        display: none;
    }

    .button-mobile {
        display: block;
    }

    .footer {
        padding: 1rem;
    }

    .footer__wrapper {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .footer-copyright {
        display: none;
    }
}