@import url('/assets/styles/global.css');

/* ##### HERO SECTION ##### */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
	margin-bottom: -20px;
}

@media screen and (max-height: 700px) {
    .hero {
        padding-top: 50px;
        align-items: start;
    }
}

.hero .hero-inner {
    display: flex;
    flex-direction: column;
}

/* HERO TEXT */
.hero .hero-text {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 376px) {
    .hero .hero-text {
        padding-top: 100px;
    }
}

@media screen and (max-width: 550px) {
    .hero .hero-text {
        /*padding-top: 100px;*/
    }
}

@media screen and (max-height: 900px) {
    .hero .hero-text {
        /*padding-top: 100px;*/
    }
}

.hero .hero-text-item {
    font-size: 8em;
    font-family: 'Montserrat-Semi-Bold';
    font-weight: 800;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .hero .hero-text-item {
        font-size: 6em;
    }
}

@media screen and (max-width: 900px) {
    .hero .hero-text-item {
        font-size: 5em;
    }
}

@media screen and (max-width: 750px) {
    .hero .hero-text-item {
        font-size: 3.5em;
    }
}

@media screen and (max-width: 550px) {
    .hero .hero-text-item {
        font-size: 3em;
    }
}

@media screen and (max-width: 415px) {
    .hero .hero-text-item {
        font-size: 2.8em;
    }
}

@media screen and (max-width: 376px) {
    .hero .hero-text-item {
        font-size: 2em;
    }
}

@media screen and (max-width: 345px) {
    .hero .hero-text-item {
        font-size: 1.6em;
    }
}

@media screen and (max-height: 900px) {
    .hero .hero-text-item {
        font-size: 5em;
    }
}

@media screen and (max-height: 900px) and (max-width: 550px) {
    .hero .hero-text-item {
        font-size: 3em;
    }
}

@media screen and (max-height: 700px) and (max-width: 376px) {
    .hero .hero-text-item {
        font-size: 2em;
    }
}

.hero .hero-text-item .hero-text-item-word {
    position: absolute;
    top: 0;
    width: 100%;
    text-transform: uppercase;
    opacity: 0;
    display: flex;
    justify-content: center;
}

.hero .hero-text-item:nth-child(1) .hero-text-item-word {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px;
    -webkit-text-stroke-color: #ffffff;
}

@media screen and (max-width: 550px) {
    .hero .hero-text-item:nth-child(1) .hero-text-item-word {
        -webkit-text-stroke: 1px;
    }
}

.hero .hero-text-item .hero-text-placeholder {
    position: relative;
    display: block;
    opacity: 0 !important;
}

.hero .hero-text-item .hero-text-item-word .letter {
    transform-origin: center center 25px;
}

.hero .hero-text-item .hero-text-item-word .letter.out {
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6, 0, 0.7, 0.2);
}

.hero .hero-text-item .hero-text-item-word .letter.in {
    transition: 0.38s ease;
}

.hero .hero-text-item .hero-text-item-word .letter.behind {
    transform: rotateX(-90deg);
}

@keyframes heroTextChange {
    0% {
        opacity: 0;
        transform: translateY(-50px);
        -webkit-transform: translateY(-50px);
        -moz-transform: translateY(-50px);
        -ms-transform: translateY(-50px);
        -o-transform: translateY(-50px);
    }
    2% {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }
    18% {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }
    20% {
        opacity: 0;
        transform: translateY(50px);
        -webkit-transform: translateY(50px);
        -moz-transform: translateY(50px);
        -ms-transform: translateY(50px);
        -o-transform: translateY(50px);
    }
    100% {
        opacity: 0;
        transform: translateY(50px);
        -webkit-transform: translateY(50px);
        -moz-transform: translateY(50px);
        -ms-transform: translateY(50px);
        -o-transform: translateY(50px);
    }
}

/* HERO BUTTONS */
.hero .hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2em;
    padding-top: 50px;
}

@media screen and (max-width: 700px) {
    .hero .hero-cta-buttons {
        flex-direction: column;
        padding: 80px 20px 20px 20px;
        align-items: center;
    }
}

.hero-cta-button-move-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.hero-cta-button-arrow-text {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Montserrat';
}

.hero-cta-button-arrow-icon {
    margin-left: 15px;
}

/* SCROLL DOWN ICON */
.hero .hero-scroll-down {
    display: flex;
    justify-content: center;
    padding-top: 50px;
    position: relative;
    top: 200px;
}

@media screen and (max-height: 1200px) {
    .hero .hero-scroll-down {
        top: 0px;
    }
}

.hero .hero-scroll-down-icon {
    width: 80px;
    height: 80px;
}

/* ######################## */

/* VIDEO BACKGROUND */
.video-background-container {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

/*.video-background {
    width: 100%;
    width: 110vw;
    height: 115vh;
    object-fit: cover;
    position: absolute;
    z-index: -1;
    overflow: hidden;
    top: -140px;
    left: -20px;
}*/

.video-background {
    width: 100%;
    height: 120vh;
    overflow: hidden;
    object-fit: cover;
    position: relative;
    top: -150px;
}
