.letter-contents {
    position:fixed;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    opacity: 1;
    background:#000;
    z-index:1000000;
    transition: opacity 800ms ease;
}

.letter-contents.fade-out {
    opacity: 0;
    pointer-events: none;
}

.letter-card {
    width: 100%;
    max-width: 500px;
    text-align: center;
    font-family: "Cinzel", serif;
    opacity:1;
    transition: opacity 800ms ease;
}

.letter-card.fade-out {
    opacity: 0;
}

.letter-container {
    border: 1px solid rgba(255,255,255,.1);
    margin: 0 auto 30px;
    width: 100%;
    padding: 15px 26px 1px;
    background:
        linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1)),
        url('/assets/image/INVITATION_BACKGROUND.jpg') center / cover no-repeat;
    box-shadow:
        0 0 10px inset #000,
        0 0 19px inset #000;
    max-height:65dvh;
    overflow:auto;
}

.letter-content {
    margin:0 auto;
    width:220px;
}

.letter-content {
    p {
    font-family:serif;
    margin:0 auto 20px;
    text-align:justify;
    font-size:15px;
    }
    img {
        display: block;
        width: 70vw;
        max-width: 270px;
        margin: 10px 0 26px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}