@font-face {
    font-family: Campton;
    src: url('campton-book.woff');
};

.bilanguage::after {
    content: attr(data-fi);
  }


body, html {
    max-width: 100%;
    margin: 0;
    color: #343434;
    font-family: Campton, sans-serif;
}

p, h1, h2, div, .decoratedLink {
    font-family: Campton, sans-serif;
    letter-spacing: 0.03em;
}

p {
    line-height: 24px;
}

h1 {
    font-size: 24px;
    line-height: 32px; 
}

h2 {
    line-height: 28px;
}

header {
    height: 64px;
    width: 100%;
    left: 0px;
    top: 0px;
    background: #652B8E;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Campton, sans-serif;
}

.headerImage { 
    display: block;
    max-width: 100%;
    padding: 0 ;
    width: 8.5rem;
}

.headerButton {
    text-decoration-line: underline;
    color: #FFFFFF;
    background: transparent;
    border: none;
    cursor: pointer;
}

    
.headerContent {
    padding: 0 40px;
}

.titleContent {
    display: flex;
    font-family: Campton, sans-serif;

}

.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 40px;
    gap: 40px;

    max-height: 450px;
    left: 0px;
    top: 0px;
    margin: 0;
    background: #F7F7F7;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
}

.image {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
    max-height: 450px;
}

.content {
    max-width: 846px;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    margin: 0 auto;
}

.bankContent {
    max-width: 846px;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: stretch;
    margin: 0 auto 40px auto;
}

.basicInfo {
    margin: 40px 148px;
}

.decoratedLinks {
    display: flex;
    flex-flow: row nowrap;
    gap: 24px;
    width: calc(100% - 24px);
    margin-bottom: 64px;
    justify-content: center;
    align-items: stretch;
}

.decoratedLink {
    /* White */
    background: #FFFFFF;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 96px;
    gap: 16px;
    min-width: 180px;
    width: inherit;
    border-color: white;
    border: 0;
    border-radius: 0.625rem;
    color: #343434;
    text-decoration: none;

}


.decoratedLink:hover {
    text-decoration: underline;
    background: #f7f7f7;
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,.1), 0 0.125rem 0.25rem rgba(0,0,0,.05);
}

.decoratedLink:focus {
    outline: none;
    box-shadow: inset 0 0 0 0.0625rem #5d85f4, 0 0.625rem 1.25rem rgba(0,0,0,.1), 0 0.125rem 0.25rem rgba(210,221,252,.05);}

.cardInfo {
    display: flex;
    flex-direction: column;
    padding: 40px 148px;
    gap: 40px;
    background: #F7F7F7;
    border-radius: 8px;
}

ul {
    padding: 16px;
}

h2 {
    margin: 0;
}

.bankInfo {
    padding: 40px 148px;
    max-width: 550px;
}

a.textLink {
    color: #343434;
}


@media only screen and (max-width: 350px) {
    .headerContent {
        padding: 0 16px;
    }

    .title {
        padding: 24px 16px;
    }
}


@media only screen and (max-width: 650px) {
    body {
    }


    .titleContent {
        display: flex;
        flex-flow: column;
        flex-direction: column-reverse;
        font-family: Campton, sans-serif;
    }

    .title {
        height: 320px;
        font-size: 20px;
    }

    .image {
        max-height: 250px;
    }

    .content, .basicInfo, .bankInfo, .bankContent  {
        margin: 0;
        width: unset;
    }

    .basicInfo, .bankInfo, .cardInfo {
        padding: 24px;
    }

    .decoratedLinks {
        padding: 0;
        flex-flow: column;
        margin: 24px 0;
        width: calc(100% - 16px);
        align-items: center;
    }

    .decoratedLink {
        margin: 0 16px;
        color: #343434;
        text-decoration: none;
    }    
}