@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiri&family=Roboto:wght@300&display=swap');

/* //local fonts */

@font-face {
    font-family: 'quranSurah';
    src: url('../tf/DTHULUTH.TTF');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Amiri', serif; */
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* quraan logo styling */

.quran-img {
    margin-top: 50px;
}

.noble {
    color: #00acc1;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 40px;
    margin: 25px;
}

.searchArea {
    width: 60%;
    position: relative;
    display: flex;
    flex-direction: row;
}


/* //input styling */

#search {
    width: 40%;
    padding: 22px 55px;
    margin-top: 30px;
    font-size: 20px;
    border: 1px solid #ced4da;
    background-color: #f9f8fa;
    border-radius: 0.25px;
}

#search:focus {
    color: #495750;
    background-color: #f9f8fa;
    border-color: #42eaff;
    box-shadow: 0 0 0 0.2rem rgba(0, 172, 193, 0.25);
    outline: none;
}


/* //loader img */

#loader {
    width: 300px;
    height: 300px;
    margin-top: 20px;
    display: none;
}


/* //staling container */

.container {
    max-width: 1370px;
    margin-top: 50px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-bottom: 50px;
    padding: 16px;
}

.surah-info {
    display: flex;
    position: relative;
    top: 0%;
    left: 0%;
    flex-direction: row;
    height: 120px;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
}

.surah-info:hover {
    border: 1px solid #00acc1;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.surah-names {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.surah-names a {
    margin: 30px;
    text-decoration: none;
    color: #00acc1;
    font-size: 20px;
}


/* //styling surah one by one */

#surah-ar {
    font-family: quranSurah;
    font-size: 25px;
}

#surah-en {
    font-family: 'Roboto', sans-serif;
}

#ayah-number {
    background-color: #00acc1;
    position: absolute;
    width: 50px;
    left: 0;
    font-size: 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-right-radius: 5px;
    font-family: 'Roboto', sans-serif;
}


/* //RESPONSIVE DEVISES */


/* //MOBILE */

@media (max-width:600px) {
    .container {
        grid-template-columns: 1fr;
    }
}


/* //tablates */

@media (min-width:600px) {
    .container {
        grid-template-columns: 1fr 1fr;
    }
}


/* //laptops */

@media (min-width:900px) {
    .container {
        grid-template-columns: 1fr 1fr 1fr;
        width: 1570px;
    }
    #search {
        width: 100%;
    }
    #surah-ar {
        font-size: 20px;
    }
}


/* @media (min-width:1400px) {
    .container {
        width: 1570px;
        grid-template-columns: repeat(3, 1fr);
    }
} */