* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
}

.loading {
    height: 100vh;
    width: 1000vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(100,100,100, 0.5);
    z-index: 101;
    display: none;
}

.overlay {
    display: block;
}

/* all surah styles */

/* navbar style */

.navigation {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 60px;
    background-color: #C5D3C5;
    z-index: 100;
}

.logo {
    background-color: #C5D3C5;
}

.logo a{
    font-size: 1.8rem;
    font-family: 'Lateef', cursive;
    text-decoration: none;
    color: #101010;
}

ul {
    display: flex;
    align-items: center;
}

ul li {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 10px;
    height: 100%;
}

ul li:last-child {
    margin-right: 5px;
}

ul li:first-child {
    margin-left: 0;
}

ul li .home,
ul li .about {
    text-decoration: none;
    color: #101010;
    font-weight: bold;
}

ul li .home:hover, 
ul li .about:hover {
    color: #555;
}

.container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.cards {
    width: 200px;
    margin: 50px 20px 10px;
    display: grid;
    place-content: center;
    grid-template-areas: 
    'name name surahNumbers'
    'nameTranslate nameTranslate surahNumbers';
    grid-template-rows: 1fr;
    border: 2px solid rgba(65, 110, 63, 0.5);
    border-radius: 10px;
}

.cards .name {
    grid-area: name;
    display: grid;
    place-content: center;
    width: 150px;
    height: 40px;
    text-align: left;
    padding: 5px 10px;
    padding-bottom: 0;
}

.cards .name .nameData {
    display: inline-block;
    width: 150px;
    height: 40px;
    text-align: center;
    padding-top: 10px;
    text-decoration: none;
    color: #101010;
    font-size: 1.2rem;
}

.cards .nameTranslate {
    grid-area: nameTranslate;
    display: grid;
    place-content: center;
    width: 150px;
    height: 40px;
    text-align: center;
    padding: 5px 10px;
    padding-top: 0;
    font-size: 0.9rem;
}

.cards .surahNumbers {
    grid-area: surahNumbers;
    display: grid;
    place-content: center;
    text-align: center;
    width: 50px;
    height: 80px;
    color: #333;
    font-weight: bold;
    border-left: 1px solid rgba(65, 110, 63, 0.5);
}

/* display surah styles */

.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 50px auto 70px;
}

.header .title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px auto 0;
    font-family: 'Lateef', cursive;
    font-weight: 400;
    font-size: 3.5rem;
}

.header .translateAr {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    font-family: 'Lateef', cursive;
    font-weight: 400;
    font-size: 2.7rem;
}

.header .translateId {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 10px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    text-align: center;
}

.content {
    padding: 10px 20px 30px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.arabic {
    font-weight: 400;
    width: 100%;
    text-align: right;
    margin-right: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 0;
    font-family: 'Lateef', cursive;
    font-size: 2.3rem;
    color: #101010;
}

.translation {
    font-weight: 300;
    position: relative;
    text-align: left;
    width: 100%;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
}

.buttons {
    width: 100%;
    height: 70px;
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 0px;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: white;
}

.buttons #next {
    width: 150px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(65, 110, 63, 0.3);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    border: 1px solid rgba(65, 110, 63, 0.3);
    transition: 0.3s;
    color: #333;
}

.buttons #prev {
    width: 150px;
    height: 40px;
    border-radius: 10px;
    margin-right: 30px;
    background-color: rgba(65, 110, 63, 0.3);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #333;
    border: 1px solid rgba(65, 110, 63, 0.3);
    transition: 0.3s;
}

.buttons #next:hover {
    background-color: rgba(65, 110, 63, 0.5);
    box-shadow: 0 0 2px 2px rgba(65, 110, 63, 0.3);
    border: 1px solid rgba(65, 110, 63, 0.3);
    transition: 0.3s;
}

.buttons #prev:hover {
    background-color: rgba(65, 110, 63, 0.5);
    box-shadow: 0 0 2px 2px rgba(65, 110, 63, 0.3);
    border: 1px solid rgba(65, 110, 63, 0.3);
    transition: 0.3s;
}

span {
    margin: 0 25px;
    font-size: 1.2rem;
    font-weight: bolder;
    color: rgba(65, 110, 63, 0.7);
}

h1.judul {
    font-weight: 400;
    font-family: 'Lateef', cursive;
    font-size: 2.5rem;
    line-height: 2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

h3.deskripsi {
    margin-bottom: 50px;
    font-weight: 300;
    text-align: center;
}

.deskripsi a {
    text-decoration: none;
    color: #101010;
}

.abouts {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin: 70px 30px;
    padding: 10px 20px;
}


/* mobile styles*/
@media screen and (max-width:500px) {

    .navigation {
        padding: 0 20px;
    }

    ul li .about{
       margin-left: 10px;
    }

    ul li {
        margin: 0;
    }

    .cards {
        width: 130px;
        margin: 50px 20px 10px;
        grid-template-areas:
        'surahNumbers surahNumbers' 
        'name name'
        'nameTranslate nameTranslate';
    }

    .cards .name {
        width: 130px;
        height: 45px;
        padding: 20px 10px 0;
    }

    .cards .name .nameData {
        width: 130px;
        height: 45px;
    }

    .cards .nameTranslate {
        width: 130px;
        height: 60px;
    }

    .cards .surahNumbers {
        width: 130px;
        height: 40px;
        border-radius: 10px 10px 0 0;
        border-bottom: 1px solid rgba(65, 110, 63, 0.5);
    }
}

