html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #851313;
}

#playby {
    order: 2;
    max-height: 100vh;
    max-width: 100%;
    height: 100%;
    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;
}

#name {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    opacity: 0;
    animation: nameFade 3s ease 2s 1 normal forwards;

}

@keyframes nameFade {
    from {
        opacity: 0;
        transform: translateX(-10%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#title {
    opacity: 0;
    z-index: 98;
    animation: fadeTitleRight 3s ease 3s 1 normal forwards;
}

@keyframes fadeTitleRight {
    from {
        opacity: 0;
        transform: translateX(150%);
    }
    to {
        opacity: 1;
        transform: translateX(90%);
    }
}

#border {
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeBorder 3s ease 0.5s 1 normal forwards;
}

@keyframes fadeBorder {
    from {
        opacity: 0;
        transform: scale(0.99);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

