html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    background-color: black;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 0;       
}


body::after {
    content: "";
    inset: 0;
    position: absolute;   

    background-image: url('./background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    opacity: 0.05;
    z-index: -1;        
    pointer-events: none;    

}
p {
    font-family: "Major Mono Display", monospace;
    font-weight: 400;
    font-style: normal;
}


#playby {
    order: 2;
    max-height: 100%;
    max-width: 100%;
    height: 100vh;
    width: auto;
    object-fit: contain;
    animation: playbyFade 3s ease 0s 1 normal forwards;
}

@keyframes playbyFade {
    from {
        opacity: 0;
        transform: translateX(10%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


#content {
    flex: 1;
    order: 1;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    animation: contentFade 3s ease 0s 1 normal forwards;
}


@keyframes contentFade {
    from {
        opacity: 0;
        transform: translateX(-10%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#container {
    position: relative;
    margin: 0 auto; /* center container */
    display: flex;
    flex-direction: column; /* title on top, name below */
    align-items: center;
    transform-origin: center;
}



#name {
    z-index: 6;
    display: block;
    margin: 0 auto;
    width: 42vw; /* scales with viewport width */
    transform: translateY(0vh) scale(1); /* optional vertical offset */
    filter: drop-shadow(10px 10px 15px rgba(0,0,0,0.4));

}


#text {
    filter: drop-shadow(10px 10px 15px rgba(0,0,0,0.4));
    z-index: 2;
    text-align: center;
    opacity: 0;
    width: 50%;
    font-size: 1.0vw;
    color: #fff;
    font-family: 'Nanum Myeongjo', serif;
    opacity: 0;
    transform: translate(0, 10%);
    animation: fadef 3s ease 2.5s 1 normal forwards;
    margin-bottom: 6vh;
}

#rootbranch {
    display:flex;
    z-index: -5;
    position:absolute;
    opacity:0;
    right: 14vw;
    bottom: 2vw;
    animation: branchFade 7s ease 0s 1 normal forwards;

}

@keyframes branchFade {
    from {
        opacity: 0;
        transform: translateX(-30%) scale(0.4);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(0.4);;
    }
}


#flowers {
    z-index: -6;
    opacity:0;
    position:absolute;
    top: 0vw;
    filter: hue-rotate(-30deg);
    animation: flowersFade 7s ease 0s 1 normal forwards;
    

}
@keyframes flowersFade {
    0% {
        transform: scale(10);
    }

    100% {
        opacity: 1;
        transform: translate(0,0) scale(10);
    }
    
}





@keyframes fadef {
    0% {

    }

    100% {
        opacity: 1;
        transform: translate(0,0);
    }
    
}


@keyframes fadef {
    0% {

    }

    100% {
        opacity: 1;
        transform: translate(0,0);
    }
    
}

