@font-face {
    font-family: "Noto Light";
    src: url("../assets/fonts/Noto_Serif_Display/static/NotoSerifDisplay-Light.ttf");
}

.banner-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    width: 100%;
    height: 27.1vw; /*60vh*/
    /* max-height: 420px; */
    font-family: "Noto Light";
    color: var(--light-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}
.banner-wrapper::before {
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}
.banner-text {
    width: 70%;
    font-size: 46px;
    text-align: center;
    margin: 0px auto;
    opacity: 0;
    transform: translateY(100%);
    z-index: 10;
    transition: all 1500ms;
}
@keyframes animateBannerText {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-10%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}
.banner-text-active {
    animation: animateBannerText 1500ms forwards;
}

@media screen and (max-width: 2560px) and (min-width: 1537px) {
    .banner-text { font-size: 3vw; }
}

@media screen and (max-width: 1024px) {
    .banner-text { font-size: 36px; }
}

@media screen and (max-width: 768px) {
    .banner-text { font-size: 18px; }
}

@media screen and (max-width: 426px) {
    .banner-wrapper { height: 30vh; }
}