@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Young+Serif&display=swap');

*{
    font-family: 'Young Serif', serif;
}

.btn-my-hadist{
    width: 200px;
}

.home{
    background: url(https://bimbinganislam.com/wp-content/uploads/2019/06/Quraniyyun-Menolak-Hadits.jpg);
    background-size: cover;
    height: 80vh;
    width: 100%;
}

.about{
    height: 60vh;
    width: 100%;
}

#output{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.tengah{
    margin-top: 2rem;
    max-width: 45rem;
    text-align: center;
    font-weight: 100;
    font-size: 24px;
    margin-left: 30px;
}

.tengah1{
    margin-top: 10rem;
    max-width: 45rem;
    text-align: center;
    font-weight: 100;
    margin-left: 30px;
}

.card{
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
}

.img-hadist{
    width: 100%;
    height: 380px;
}


.img-hadist img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boxnya{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.tects{
    text-align: center;
    margin-bottom: 30px;
}


.arabnya{
    padding-right: 6px;
}

.container-hadits{
    padding: 20px 20px;
}

.paragraphnya{
   white-space: normal; 
   margin-left: 6pt;
}

footer{
    position: fixed;
    bottom: 0;
}

.footer{
    background-color: #050915;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: bold 16px sans-serif;
    padding: 50px 50px 60px 50px;
    margin-top: 80px;
}

.footer .footer-left,
.footer .footer-center,
.footer .footer-right{
    display: inline-block;
    vertical-align: top;
}

@media(max-height:800px){
    footer{
        position: static;
    }
}

.footer .footer-left{
    width: 30%;
}

.footer h3{
    color: #f5f5f5;
    margin: 0;
    padding-bottom: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.footer .footer-left img{
    width: 25%;
    vertical-align: middle;
}

.footer .footer-left .credit-cards{
    width: 100%;
}

.footer .footer-copyright{
    color: #8f9296;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    padding-top: 10%;
}

.footer .footer-center{
    width: 35%;
}

.footer .footer-center i{
    background-color: #33383b;
    color: white;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer .footer-center i.fa-envelope{
    font-size: 17px;
    line-height: 38px;
}

.footer .footer-center p{
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0px;

}


.footer .footer-center p span{
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

.footer .footer-center p a{
    color: rgb(22, 255, 177);
    text-decoration: none;
}

.footer .footer-right{
    width: 30%;
}

.footer .footer-about{
    line-height: 20px;
    color: #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

.footer .footer-about span{
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer .footer-media{
    margin-top: 25px;
}

.footer .footer-media i{
    display: inline-block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 50px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.footer .footer-media i:hover{
    background-color: rgb(0, 122, 82);
}

@media (max-width: 880px){

    .footer .footer-left,
    .footer .footer-center,
    .footer .footer-right{
        display: block;
        width: 100%;
        margin-bottom: 40px;
        text-align: left;
    }

    .footer .footer-center i{
        margin-left: 0px;
    }

}