* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

main,
section {
    width: 100%;
    height: 100%;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo {
    position: absolute;
    width: 80vw;
    top: 10vh;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ------------ Scene2 ------------ */
#scene2 {
    display: none;
}

.scene2bg {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    touch-action: none;
}

.arrow {
    position: absolute;
    width: 32vw;
    top: 67.5vh;
    left: 52%;
    transform: translate(-50%, -50%);

    animation: arrowMove 1s ease-in-out infinite;
}

.text {
    position: absolute;
    width: 100vw;
    top: 88vh;
    left: 50%;
    transform: translate(-50%, -50%);

    animation: textSlideUp 0.4s ease-out forwards;
}

/* ---------------------- Scene3 --------------------- */
#scene3 {
    display: none;
}

/* ---------------------- Popout --------------------- */
#popout {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.popout {
    position: absolute;
    width: 90vw;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.sunburstWrap {
    position: absolute;
    width: 120vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.sunburst {
    width: 100%;
    display: block;

    animation: rotate 3s linear infinite;
}

/* ----------------------- Animation ---------------------- */
@keyframes arrowMove {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes textSlideUp {
    0% {
        transform: translate(-50%, -50%) translateY(200vh);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) translateY(-3vh);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}