.opening {
    padding: 60px 20px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000;
    position: relative;
}

#opening {
    position: relative;
    z-index: 100;

    transform: translateY(120vh);

    transition: transform 1.3s cubic-bezier(.65, .05, .36, 1);
}

.invitation-open #opening {
    transform: translateY(0);
}

.quote-card {
    position: relative;
    width: 260px;
}


/* FOTO */

.quote-image {
    width: 230px;
    height: 420px;
    border-radius: 0 140px 0 0;
    overflow: hidden;
    border: solid 3px var(--primary-color);
}

.quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* TANGGAL DI SAMPING FOTO */

.date-opening {
    position: absolute;
    right: -40px;
    top: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: white;
    gap: 18px;
}


/* ANGKA TANGGAL */

.date-part {
    writing-mode: vertical-rl;
    text-orientation: upright;

    font-size: 16px;
    letter-spacing: 6px;
    font-weight: 600;
}


/* GARIS */

.line {
    width: 2px;
    height: 70px;
    background: white;
}


/* CARD PUTIH */

.quote-text {
    margin-top: -120px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 340px;

    background: white;
    color: black;

    padding: 150px 30px 80px;

    border-radius: 0 0 180px 0;

    position: relative;
    z-index: -1;
    text-align: start;
}


/* SUBTITLE */

.cover-subtitle {
    font-family: 'Cormorant Garamond';
    font-size: 18px;
    letter-spacing: 1px;
    text-align: start;
    font-weight: 500;
}


/* NAMA PASANGAN */

.nickname {
    font-family: 'Cormorant Garamond';
    font-size: 26px;
    margin: 10px 0 20px;
    text-align: start;
}


/* QUOTE */

.quote {
    font-family: 'Cormorant Garamond';
    font-size: 14px;
    line-height: 1.7;
    text-align: start;
    font-style: italic;
}