.accounts {
    position: relative;
    margin-top: 2rem;
    width: 100%;
}
.accounts .bank-account {
    display: flex;
    /*align-items: center;*/
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.accounts .bank-account .img-box {
    background: #F5F5F5;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.accounts .bank-account .img-box img {
   max-width: 100%;
    max-height: 200px;
    padding: 1rem;
}
.accounts .bank-account .content {
    background: #FFFFFF;
    padding: 3rem 2rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

@media (max-width: 575.98px) {
    .accounts .bank-account {
        flex-direction: column;
    }

    .accounts .bank-account .img-box {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding: 20px;
        text-align: center;
        height: 150px;
    }

    .accounts .bank-account .content {
        width: 100%;
        height: 100%;
        background: #FFFFFF;
        padding: 20px;
        border-top-left-radius: 0;
        border-bottom-right-radius: 1rem;
    }
}
