div.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
    "header"
    "intro"
    "cards"
    "footer";
    grid-gap: 15px;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    background-image: linear-gradient(#1c2833, #374c5f, #1c2833);
    color: #fff;
}
.title {
    font-size: 2.5rem;
}
.heading {
    font-size: 1.8rem;
}

div.header-container {
    grid-area: header;
    text-align: center;
}
span.arabic {
    font-size: 2.8rem;
}
div.header-container .title {
    letter-spacing: 5px;
}
header nav {
    display: flex;
    justify-content: space-evenly;
    max-width: 800px;
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
}
header nav a {
    color: #fff;
}

div.intro-container {
    grid-area: intro;
    padding: 15px;
}
figure.feature img {
    width: 100%;
    height: auto;
}
figure.feature figcaption {
    text-align: center;
    font-size: 0.7rem;
}

div.intro-container article {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

div.cards-container {
    grid-area: cards;
    padding-bottom: 15px;
}
div.cards-container h1 {
    text-align: center;
    color: #000;
}
div.cards-container .subscribe {
    display: flex;
    justify-content: center;
    color: #c70039;
    font-size: 1.1rem;
}

div.footer-container {
    grid-area: footer;
}

div.header-container, div.footer-container {
    color: #fff;
}

div.cards-container {
    background-color: #fff;
}
div.card-flex-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
div.card {
    background-size: cover;
    background-repeat: no-repeat;
    height: 280px;
    width: 100%;
    margin: 15px;
    box-shadow: 0 10px 10px 1px #ccc;
}
div.card.spiritual {
    background-image: url('../images/prayer-hands.jpg');
}
div.card.charity {
    background-image: url('../images/growth.jpg');
}
div.card.health {
    background-image: url('../images/fruit.jpg');
}
div.card-body {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    width: 55%;
    box-sizing: border-box;
    height: 100%;
    position: relative;
    padding: 15px;
}
div.card-body .category {
    text-decoration: none;
}
div.card-body .spiritual {
    color:#1898c2;
}
div.card-body .charity {
    color: #1a7434;
}
div.card-body .health {
    color: #f19125;
}
div.card-body h3, div.card-body p {
    color: #000;
}
div.card-body p {
    margin-top: 0;
    overflow: hidden;
}
div.card-body .continue {
    color: #c70039;
}

div.social-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 40px;
    padding-bottom: 55px;
}
footer div.credit {
    text-align: center;
    font-size: 0.7rem;
    color: #b3b6b7;
}
div.credit .credit-link, figcaption {
    color: #b3b6b7;
}

@media(min-width: 600px) {
    figure.feature img {
        max-width: 650px;
        height: auto;
    }
    figure.feature img.feature-img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    div.card {
        max-width: 500px;
        max-height: 350px;
    }
    div.card-body {
        width: 50%;
    }
}
