/* <<< --- Banner --- >>> */


.banner {
    width: 100%;
    height: calc(700px + var(--top-message) + 100px);
    padding-top: calc(var(--top-message) + 100px);
    background-image: url(../imgs/home.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 50;
    padding-bottom: 20px;
    overflow: hidden;
}

#banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 20;
    width: auto;
    min-width: 102%;
    height: auto;
    min-height: 102%;
    overflow: hidden;
    border-bottom: 1px var(--white) solid;
    background-color: var(--black);
}

.banner-filter {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    height: calc(100% - 2px);
    background-color: #000;
    opacity: 0.7;
}

#banner-mask {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 102%;
    height: auto;
    pointer-events: none;
}

#banner-flag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: auto;
    z-index: 30;
    pointer-events: none;
    transition: .2s ease;
    transition-delay: .2s;
}

body.scroll #banner-flag {
    opacity: 0;
    transform: translateY(-70%);
}

.banner-title {
    font-family: 'rift';
    font-style: italic;
    font-size: 96px;
    font-weight: 900;
    color: var(--white);
    text-align: center;
    text-wrap: wrap;
}

#banner-title-2 {
    position: relative;
    color: var(--black);
    line-height: 100px;
}

#banner-title-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    width: 560px;
    height: 100%;
    background-image: url(../imgs/before-title-banner.svg);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (min-width: 1921px) {
    .banner {
        height: calc(900px + var(--top-message) + 100px);
    }
}

@media screen and (max-width: 900px) {
    .banner-title {
        font-size: 72px;
    }
    #banner-title-2 {
        line-height: 80px;
    }
    #banner-title-2::before {
        width: 450px;
    }
}

@media screen and (max-width: 600px) {
    .banner {
        height: calc(600px + var(--top-message) + 100px);
    }
    #banner-flag {
        width: 100px;
    }
    .banner-title {
        font-size: 64px;
    }
    #banner-title-2 {
        line-height: 70px;
    }
    #banner-title-2::before {
        width: 400px;
    }
}

@media screen and (max-width: 500px) {
    #banner-flag {
        width: 90px;
    }
    .banner-title {
        font-size: 52px;
    }
    #banner-title-2 {
        line-height: 60px;
    }
    #banner-title-2::before {
        width: 350px;
    }
}

@media screen and (max-width: 400px) {
    .banner {
        height: calc(500px + var(--top-message) + 100px);
    }
    #banner-flag {
        width: 80px;
    }
    .banner-title {
        font-size: 48px;
    }
    #banner-title-2 {
        line-height: 50px;
    }
    #banner-title-2::before {
        width: 300px;
    }
}