/*==============================================================
ETERNITY COVER
Editorial Luxury
==============================================================*/

.cover-screen{

    position:fixed;

    inset:0;

    z-index:99999;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

    background:
        linear-gradient(
            rgba(255,255,255,.18),
            rgba(255,255,255,.30)
        ),
        url('{{ $invitation->cover_image }}');

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}

/*==============================================================
OVERLAY
==============================================================*/

.cover-overlay{

    width:100%;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

/*==============================================================
CONTENT
==============================================================*/

.cover-content{

    width:100%;

    max-width:760px;

    text-align:center;

}

/*==============================================================
SUBTITLE
==============================================================*/

.cover-subtitle{

    display:inline-block;

    margin-bottom:34px;

    color:var(--primary);

    font-family:var(--body-font);

    font-size:.9rem;

    font-weight:600;

    letter-spacing:6px;

    text-transform:uppercase;

}

.cover-subtitle::after{

    content:"";

    display:block;

    width:80px;

    height:1px;

    margin:18px auto 0;

    background:var(--primary);

}

/*==============================================================
COUPLE
==============================================================*/

.cover-couple{

    margin-bottom:30px;

    color:var(--primary);

    font-family:var(--heading-font);

    font-size:clamp(4rem,8vw,6.8rem);

    font-weight:500;

    line-height:1.1;

}

.cover-couple span{

    display:block;

}

.cover-couple span:nth-child(2){

    margin:14px 0;

    font-size:2rem;

    font-style:italic;

}

/*==============================================================
DATE
==============================================================*/

.cover-date{

    margin-bottom:40px;

    color:var(--text);

    font-family:var(--body-font);

    font-size:1rem;

    letter-spacing:4px;

    text-transform:uppercase;

}

/*==============================================================
GUEST
==============================================================*/

.guest-name{

    max-width:360px;

    margin:0 auto 45px;

}

.guest-name h5{

    margin-top:12px;

    color:var(--primary);

    font-family:var(--heading-font);

    font-size:2rem;

    font-weight:500;

}

.guest-name::before{

    content:"Kepada Yth.";

    display:block;

    color:#777;

    font-family:var(--body-font);

    font-size:.8rem;

    letter-spacing:3px;

    text-transform:uppercase;

}

/*==============================================================
BUTTON
==============================================================*/

.btn-open{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    min-width:240px;

    height:54px;

    padding:0 36px;

    background:transparent;

    border:1px solid var(--primary);

    color:var(--primary);

    font-family:var(--body-font);

    font-size:.95rem;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    transition:.35s;

}

.btn-open:hover{

    background:var(--primary);

    color:#fff;

}

.btn-open i{

    font-size:16px;

}

/*==============================================================
RESPONSIVE
==============================================================*/

@media(max-width:768px){

    .cover-overlay{

        padding:24px;

    }

    .cover-subtitle{

        font-size:.75rem;

        letter-spacing:3px;

    }

    .cover-subtitle::after{

        width:55px;

    }

    .cover-couple{

        font-size:3.2rem;

    }

    .cover-couple span:nth-child(2){

        font-size:1.4rem;

    }

    .cover-date{

        font-size:.8rem;

        letter-spacing:2px;

    }

    .guest-name{

        margin-bottom:35px;

    }

    .guest-name h5{

        font-size:1.45rem;

    }

    .btn-open{

        width:100%;

        max-width:290px;

        height:48px;

        font-size:.85rem;

        letter-spacing:1px;

    }

}