/**
 * Banner component
 */
.banner {
    display: block;
    position: relative;
    background-color: var(--card-background);
}

@media screen and (max-width: 599px) {
    .banner {
        aspect-ratio: 9 / 16;
    }
}

@media screen and (min-width: 600px) and (max-width: 899px) {
    .banner {
        aspect-ratio: 16 / 9;
    }
}

@media screen and (min-width: 900px) {
    .banner {
        aspect-ratio: 16 / 6;
    }
}

.banner > .banner__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.banner__content {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    padding-left: 45px;
    padding-right: 45px;
}
