body {
    transition: opacity 0.4s ease;
}


.prevent-select {
  -webkit-user-select: none; 
  -ms-user-select: none; 
  user-select: none; 
}

#cutscene {
    position: fixed;
    inset: 0;
    background: black;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9999;
}

#dialogue-box {
    width: 80%;
    max-width: 800px;
    border: 3px solid white;
    padding: 20px;
    margin-bottom: 40px;
    font-family: monospace;
    color: white;
    background: black;
}

#dialogue-text {
    font-size: 25px;
    min-height: 60px;
}

#continue-hint {
    font-size: 12px;
    opacity: 0;
    margin-top: 10px;
}

#continue-hint {
    opacity: 0.6;
    font-size: 12px;
}



#character {
    position: absolute;
    bottom: 200px;



    display: flex;
    justify-content: center;
    pointer-events: none;
}

#character-img {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease;
    width: 900px;
    height: auto;
}

#character-img.visible {
    opacity: 1;
    transform: scale(1);
}


body.fade-white {
    background: white;
    opacity: 0;
    transition: opacity 0.6s ease;
}
