.digital-card__wrapper {
    display: flex;
    justify-content: center;
    height: 100vh;
    min-height: 100vh;
    width: 100vw;
    min-width: 100vw;
    align-items: center;
}

.digital-card--close {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 99999;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    width: 30px;
    height: 30px;
}

.digital-card--close:focus,
.digital-card--close:active,
.digital-card--close:hover {
    text-decoration: none;
}

.digital-card--close::after {
    content: "\f057";
    font: var(--fa-font-solid);
    display: inline-block;
    text-rendering: auto;
    color: #333;
    font-size: 28px;
    cursor: pointer;
}

.digital-card {
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    height: 90vh;
    width: 56.7vh;
    max-height: 500px;
    max-width: 315px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    background-image: url('/static/img/digital-card/cord_basis.svg');
    background-color: rgb(115, 178, 201);
    position: relative;
    background-size: 80%;
    background-position: -100px 0px;
}

.digital-card-staff {
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    height: 90vh;
    width: 56.7vh;
    max-height: 500px;
    max-width: 315px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    background-image: url('/static/img/digital-card/card_staff.svg');
    background-color: rgb(0, 62, 34);
    position: relative;
    background-size: 100%;
    background-position: 0px 0px;
}

.digital-card--basis {
    background-image: url('/static/img/digital-card/cord_basis.svg');
    background-color: rgb(115, 178, 201);
}

.digital-card--bronze {
    background-image: url('/static/img/digital-card/cord_bronze.svg');
    background-color: rgb(115, 178, 201);
}

.digital-card--silver,
.digital-card--silber {
    background-image: url('/static/img/digital-card/cord_silver.svg');
    background-color: rgb(115, 178, 201);
}

.digital-card--gold {
    background-image: url('/static/img/digital-card/cord_gold.svg');
    background-color: rgb(115, 178, 201);
}

.digital-card__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.digital-card-staff__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.digital-card__holder {
    display: flex;
    flex-direction: column;
    width: 220px;
    margin-bottom: 40px;
    font-family: antonio-medium, arial;
    text-transform: uppercase;

}

.digital-card-staff__holder {
    display: flex;
    flex-direction: column;
    align-content: end;
    width: 100%;
    margin-top: auto;
    margin-bottom: 15px;
    font-family: antonio-medium, arial;
    background-color: #fff;
    color: #000;
    text-transform: uppercase;
}

.digital-card__holder--subheadline {
    font-size: 16px;
}

.digital-card__holder--headline {
    font-size: 20px;
}

.digital-card-staff__holder--subheadline {
    color: rgb(0, 62, 34);
    margin-left: 20px;
    font-size: 16px;
}

.digital-card-staff__holder--headline {
    margin-left: 20px;
    font-size: 20px;
}

.digital-card__barcode {
    background-color: #fff;
    width: 220px;
    height: 60px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

.digital-card__barcode span {
    flex: 1 0 100%;
    color: #000;
    font-size: 15px;
    text-align: center;
}

.digital-card__barcode svg {
    flex: 1 0 100%;
    margin-top: 1px;
}

.digital-card--logo {
    max-width: 140px;
    align-self: flex-end;
    margin-right: 20px;
    margin-top: 7%;
}

.digital-card-staff--logo {
    width: 50%;
    height: 20%;
    align-self: flex-end;
    margin-right: 16px;
    margin-top: 5%;
}

.digital-card--strip {
    max-height: 200px;
    max-width: 200px;
    align-self: center;
}

.digital-card-staff--text {
    width: 75%;
    height: 10%;
    background-color: rgb(0, 62, 34);
}

@media (orientation: landscape) and (max-width: 900px) {
    .digital-card {
        transform: rotate(270deg);
        height: 90vw;
        width: 56.7vw;
        max-height: 500px;
        max-width: 315px;
    }
    .digital-card-staff {
        transform: rotate(270deg);
        height: 90vw;
        width: 56.7vw;
        max-height: 500px;
        max-width: 315px;
    }
}
