@font-face {
    font-family: 'Helvetica Neue LT Std Heavy';
    src: url('../assets/fonts/Helvetica\ Neue\ LT\ Std\ 85\ Heavy.otf') format('opentype');
}

@font-face {
    font-family: 'Helvetica Neue LT Std Bold';
    font-style: normal;
    font-weight: 700;
    src: url('../assets/fonts/Helvetica\ Neue\ LT\ Std\ 75\ Bold.otf') format('opentype'),
}

@font-face {
    font-family: 'Helvetica Neue LT Std Light';
    font-style: normal;
    font-weight: 700;
    src: url('../assets/fonts/Helvetica\ Neue\ LT\ Std\ 45\ Light.otf') format('opentype'),
}

@font-face {
    font-family: 'NotoSansTC100';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-Thin.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC200';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-ExtraLight.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC300';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-Light.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC400';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-Regular.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC500';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-Medium.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC600';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-SemiBold.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC700';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-Bold.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC800';
    font-style: normal;
    src: url('../assets/fonts/NotoSansTC-ExtraBold.ttf') format('truetype'),
}

@font-face {
    font-family: 'NotoSansTC900';
    src: url('../assets/fonts/NotoSansTC-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

h1 {
    font-family: 'Helvetica Neue LT Std Heavy', Helvetica, sans-serif;
    /* font-size: 4.2vh; */
    font-size: min(4.2vh, 5.2vw);
    color: #474C55;
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.25em;
}

/* a {
    font-family: 'NotoSansTC700', 'Helvetica Neue LT Std Light'
        , Helvetica, sans-serif;
    font-size: 4.2vh;
    font-weight: 900;
    color: #fff;
    text-align: center;
    font-weight: 300;
    text-decoration: none;
} */

p {
    font-family: 'NotoSansTC300', 'Helvetica Neue LT Std Light'
        , Helvetica, sans-serif;
    line-height: 1.38em;
    /* font-size: 2.7vh; */
    /* font-size: 1.96vh; */
    /* font-size: min(3vw, 2.75vh); */
    font-size: min(3vw, 2.4vh);
    color: #474C55;
    text-align: center;
    font-weight: 300;
    /* margin-bottom: 0.48em; */
    margin-bottom: 0.9em;
}

p.chinese {
    letter-spacing: -0.03em;
    margin-bottom: 1.7em;
}

img {
    width: 100%;
}

.videoWrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* margin-top: 3vw; */
    /* margin-top: 5.5vw; */
    margin-top: calc(12vw - 4.2vh);
}

@media (min-aspect-ratio: 16/9) {
    .videoWrapper {
        margin-top: 17vh;
    }

}

@media (max-aspect-ratio: 8.3/9) {
    .videoWrapper {
        margin-top: 5vh;
    }
}


video {
    width: auto;
    height: 100vh;
    object-fit: cover;
}

@media (max-aspect-ratio: 8.3/9) {
    video {
        width: 193%;
        height: auto;
    }
}

.introWrapper {
    position: absolute;
    width: 100%;
    /* aspect-ratio: 16/9; */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: #ff00004a; */
    /* padding: min(53vw, 41vh) 2vw 0; */
    /* padding: min(53vw, 41vh) 7vw 0; */
    /* padding: 35vw 7vw 0; */
    padding: 22.5vh 5vw 0;
}

@media (max-aspect-ratio: 8.3/9) {
    .introWrapper {
        width: 229%;
        height: auto;
        aspect-ratio: 177 / 100;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* padding: min(50vw, 41vh) 68vw 0; */
        padding: 35vw 68vw 0;
    }

    h1 {
        font-size: min(4.2vh, 5.2vw);
        margin-bottom: 0.3em;
    }

    p {
        /* font-size: min(2.65vh, 3.5vw); */
        font-size: 3vw;
        margin-bottom: 0.6em;
    }
}

.button {
    /* position: absolute; */
    /* bottom: 4.65em; */
    width: 12.5em;
    /* background-color: red; */
    /* opacity: 0.5; */
    background-color: #04A6E1;
    cursor: pointer;
    font-family: 'Helvetica Neue LT Std Bold', 'NotoSansTC700', Helvetica, sans-serif;
    font-size: min(3.35vh, 4.5vw);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    /*line-height: 1.1em;*/
    padding: 0.3em 0;
    border-radius: 0.65em;
}

.button p {
    font-family: 'Helvetica Neue LT Std Bold', 'NotoSansTC700'
        , Helvetica, sans-serif;
    font-size: min(2.75vh, 3.55vw);
    color: #fff;
    margin-bottom: 0;
}


@media (max-aspect-ratio: 8.3/9) {
    .button {
        width: 45vw;
        font-size: min(3.35vh, 4.5vw);
        bottom: 20.35vw;
    }


    .button p {
        font-size: min(2.75vh, 3.55vw);
    }
}

#fadeInTitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#fadeInTitle.show {
    opacity: 1;
    transform: translateY(0);
}

#fadeInContent,
#fadeInBtn {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

#fadeInContent.show,
#fadeInBtn.show {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
}