@import url('https://fonts.googleapis.com/css2?family=Amaranth&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amaranth&family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

li {
    margin-right: 10%;
}

.nav-container {
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 6px 0px rgb(0 0 0 / 5%);
}

header {
    font-family: 'Amaranth', sans-serif;
    font-size: 32px;
    padding: 8px 0px;
    position: relative;
}

.title {
    color: green;
    text-align: center;

}

.hamburger__container {
    position: absolute;
    cursor: pointer;
    right: 15%;
    top: 50%;
    transform: translate(-5%, -50%);
    z-index: 2;
}

.line {
    width: 30px;
    height: 3px;
    margin: 5px;
    background: black;
}

.hamburger__container.open .line:nth-child(2) {
    transform: translateX(-50px);
    background: transparent;
    box-shadow: none;
}

.hamburger__container.open .line:nth-child(1) {
    transform: rotate(45deg) translate(21px, -10px);
}

.hamburger__container.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(21px, 10px);
}

#navbar {
    display: none;
    text-align: center;
}

.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    list-style: none;
    padding: 20px 0px;
}

.nav-item__list {
    text-decoration: none;
    font-family: 'Montserrat',
        sans-serif;
    color: rgb(158, 158, 158);
    font-size: 18px;
    font-weight: bold;
}


@media screen and (max-width: 768px) {
    .nav-list {
        flex-direction: column;
    }

    .nav-item {
        padding-top: 5rem;
    }

    #navbar {
        height: 100vh;
    }

    .title {
        text-align: start;
        margin-left: 50px;
        font-size: 24px;
    }
}

@media screen and (max-width: 540px) {
    .hamburger__container {
        right: 10%;
    }

    .title {
        margin-left: 20px;
    }

    .nav-item__list {
        font-size: 21px;
    }

    .nav-item {
        padding-top: 3rem;
    }

    #navbar {
        height: 100vh;
    }
}

@media screen and (max-width: 420px) {
    .title {
        width: 200px;
        font-size: 20px;
    }

    .line {
        width: 25px;
    }
}

/* HomePage CSS */

.main__section {
    font-family: Lato,
        sans-serif;
    margin-top: 5rem;
}

#main-logo {
    width: 256px;
    max-width: 100%;
}

.home__header {
    font-family: 'Crimson Text',
        serif;
    font-size: 5rem;
    color: rgb(31, 30, 30);
}

.paragraph__container {
    font-family: 'Lora',
        sans-serif;
    line-height: 2rem;
    word-spacing: 0.01rem;
    margin-left: 15rem;
    margin-right: 11rem;
}

#facebook-btn {
    font-size: 18px;
    font-family: Lato, sans-serif;
    font-weight: 800;
}

#facebook-btn:hover {
    background-color: black;
    color: white;
}

.home__body {
    font-family: 'Crimson Text',
        serif;
    font-size: 5rem;
    color: rgb(31, 30, 30);
}

.body__section {
    background: linear-gradient(to bottom, #fff 0%, #eeeeee 100%);
}

#mosque-logo {
    width: 256px;
    max-width: 100%;
}

#app-title {
    font-family: 'Crimson Text',
        serif;
    font-size: 2rem;
}

#download-btn {
    font-size: 18px;
    font-family: Lato, sans-serif;
    font-weight: 800;
}

#download-btn:hover {
    background-color: black;
    color: white;
}

#donation-logo {
    padding-top: 10rem;
    width: 80%;
    height: 80%;
}

#donate-btn {
    font-size: 18px;
    font-family: Lato, sans-serif;
    font-weight: 600;
}

#donate-btn:hover {
    background-color: black;
    color: white;
}

.content__donation {
    padding-top: 15rem;
    font-family: 'Lora',
        sans-serif;
}

@media screen and (max-width: 1024px) {
    #main-logo {
        max-width: 100%;
    }

    .paragraph__container {
        margin-left: 7rem;
        margin-right: 5rem;
    }
}

@media screen and (max-width: 786px) {
    .home__header {
        font-size: 3rem;
    }

    .paragraph__container {
        margin-left: 2.5rem;
        margin-right: 10px;
    }

    .home__body {
        font-size: 3rem;
    }

    #donation-logo {
        padding-top: 2rem;
    }

    .content__donation {
        padding-top: 3rem;
        padding-left: 30px;
    }
}


/* About Pages CSS */
#header {
    text-align: center;
    font-size: 29px;
    font-family: "Crimson Text" !important;
    font-weight: 400;
}

#info {
    text-align: center;
    font-family: 'Lora', sans-serif;
}

#team-member-images,
#service_images {
    text-align: center;
    margin-top: 50px;
}

#team-member-info {
    text-align: center;
    margin: 10px;
    line-height: 3;
    font-family: 'Lora', sans-serif;
    font-weight: 800;
}

#join-our-team-btn {
    font-size: 18px;
    font-family: Lato, sans-serif;
    font-weight: 800;
}

#join-our-team-btn:hover {
    background-color: black;
    color: white;
}

footer {
    position: relative;
    bottom: 0;
    margin: 20px;
    text-align: center;
    font-weight: 700;
    color: green;
}

#email-row {
    text-align: center;
}

#email-btn {
    width: 60%;
    font-size: 20px;
    font-family: 'Crimson Text', sans-serif;
}

/* Service Page CSS */
#service-detail {
    word-wrap: break-word;
    text-align: center;
    font-family: 'Lora', sans-serif;
}

/* Product Showcase CSS */
.product_showcase_page-title {
    font-family: 'Crimson Text', serif;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 36px;
    /* color: rgb(139, 204, 139); */
    color: green;
}

.card-title {
    font-family: 'Crimson Pro', serif;
    font-weight: 400;
    font-size: 28px;
}

.checked {
    color: orange;
}

.modal-title {
    font-family: 'Crimson Pro',
        serif;
    font-weight: 900;
    font-size: 32px;
}

.img {
    width: 200px;
    height: 200px;
}

#app-title {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Crimson Pro',
        serif;
}

.app {
    padding-top: 2.2rem;
    margin-right: auto;
}

#carousel-img {
    width: 50%;
    height: 40%;
    margin-left: auto;
    margin-right: auto;
}

#carousel-btn {
    background-color: grey;
    border-radius: 50%;
}

.product_showcase_content {
    background-color: whitesmoke;
}

#product_card {
    width: 18rem;
    height: 27rem;
    border-radius: 20px;
}

#product_showcase_get_app {
    cursor: pointer;
}

.product__showcase__about__app {
    font-family: 'Crimson Pro',
        serif;
    font-size: 18px;
}

.action-style {
    color: rgb(56, 153, 56);
    font-weight: 600;
}

@media screen and (max-width: 990px) {
    .img {
        width: 100px;
        height: 100px;
    }

    #app-title {
        font-size: 18px;
    }

    .app {
        padding-top: 1rem;
    }

    #rates {
        font-size: 10px;
    }
}

@media screen and (max-width: 440px) {
    .product_showcase_page-title {
        font-size: 24px;
    }

    .app-container {
        flex-direction: column;
        text-align: center;
    }

    .app {
        margin-right: 0px;
    }

    .stars {
        padding-top: 20px;
    }

    #install-btn {
        width: 15rem;
        height: auto;
    }
}