/* =========================================
   HAS FRAMEWORK 1.0
   File : 08-renungan.css
   Website : haldi.my.id
   Author : Haldi Ali Syukur
========================================= */


/* =========================================
   SEPENGGAL RENUNGAN
========================================= */

.daily-message{

    max-width:900px;

    margin:40px auto;

    padding:40px;

    background:linear-gradient(135deg,#ffffff,#f8fbff);

    border-radius:20px;

    text-align:center;

    box-shadow:var(--shadow);

}


/* =========================================
   JUDUL
========================================= */

.daily-message h3{

    color:var(--primary);

    font-size:32px;

    margin-bottom:10px;

}


/* =========================================
   TANGGAL
========================================= */

.renungan-tanggal{

    font-size:16px;

    color:#888;

    letter-spacing:1px;

    margin-bottom:25px;

}


/* =========================================
   ISI RENUNGAN
========================================= */

#pesanHari{

    font-size:28px;

    color:#555;

    line-height:1.8;

    font-style:italic;

    min-height:80px;

    transition:opacity .8s ease;

}


/* =========================================
   GARIS PEMBATAS
========================================= */

.daily-message::after{

    content:"";

    display:block;

    width:80px;

    height:4px;

    background:var(--primary);

    margin:30px auto 0;

    border-radius:10px;

    opacity:.25;

}


/* =========================================
   HOVER
========================================= */

.daily-message{

    transition:.35s;

}

.daily-message:hover{

    transform:translateY(-5px);

    box-shadow:

        0 18px 40px rgba(21,101,192,.12);

}


/* =========================================
   ANIMASI
========================================= */

@keyframes fadeRenungan{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

#pesanHari{

    animation:fadeRenungan .8s;

}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:768px){

.daily-message{

    margin:25px 15px;

    padding:25px;

}

.daily-message h3{

    font-size:26px;

}

.renungan-tanggal{

    font-size:14px;

}

#pesanHari{

    font-size:20px;

    min-height:60px;

}

}