/**************Font Imports***********/
@font-face {
    font-family: dyna-puff-variableFont-wdth-wght;
    src: url("../fonts/DynaPuff-VariableFont_wdth,wght.ttf");
}

@font-face {
    font-family: poppins-semi-bold_3;
    src: url("../fonts/Poppins-SemiBold_3.ttf");
}

@font-face {
    font-family: poppins-bold_3;
    src: url("../fonts/Poppins-Bold_3.ttf");
}

@font-face {
    font-family: poppins-light_3;
    src: url("../fonts/Poppins-Light_3.ttf");
}

@font-face {
    font-family: poppins-thin_3;
    src: url("../fonts/Poppins-Thin_3.ttf");
}

@font-face {
    font-family: poppins-extra-light_3;
    src: url("../fonts/Poppins-ExtraLight_3.ttf");
}

@font-face {
    font-family: poppins-regular_0;
    src: url("../fonts/Poppins-Regular_0.ttf");
}

@font-face {
    font-family: poppins-medium_3;
    src: url("../fonts/Poppins-Medium_3.ttf");
}

/**************Font Imports***********/

html {
    width: 100%;
    height: auto;
}

body {
    background-image: url("../images/background.png");
    background-repeat: no-repeat;
    /* background-size: contain; */
    width: 100%;
}

.hover-link:hover {
    opacity: 0.5;
}

.article-link:link {
    text-decoration: none;
    font-family: poppins-bold_3;
    color: #14743a;
}

.article-link:hover {
    text-decoration: underline;
}

.article-div {
    border-radius: 20px;
    width: 90%;
    margin: -60px auto 0;
    position: relative;
}

.article-div a:link {
    color: #07320f;
    text-decoration: none;
}

.article-div a:visited {
    color: #07320f;
}

.article-div a:hover {
    text-decoration: underline;
}

.event-list-main .row {
    row-gap: 40px;
    margin-top: 20px;
}

nav,
.poppins-bold-text {
    font-family: poppins-bold_3;
}

a.poppins-bold-text:link {
    text-decoration: underline;
    color: white;
}

a.poppins-bold-text:visited {
    text-decoration: underline;
    color: white;
}

a.poppins-bold-text:hover {
    color: #07320f;
    background-color: white;
}

.fa-purple {
    color: #421983;
}

.fa-nav-button {
    background-color: #421983;
    border-radius: 50%;
}

.fa-nav-button:hover {
    color: #421983;
    background-color: white;
}

.fa-brands-link:hover {
    color: #07320f;
}

a.pagination-page-link:link {
    font-family: poppins-bold_3;
    color: #421983;
    text-decoration: none;
    padding: 0.1em 0.5em;
    font-size: 0.9em;
}

a.pagination-page-link:visited {
    color: #421983;
    text-decoration: none;
}

a.pagination-page-link:hover {
    color: #07320f;
    background-color: #cfe2d7;
    border-radius: 50%;
}

a.general-page-link:link {
    font-family: poppins-extra-light_3;
    color: white;
    text-decoration: underline;
}

/* a.general-page-link:hover {
    color: #07320f;
    background-color: white;
} */

a.page-link-dark:link {
    font-family: poppins-extra-light_3;
    color: #07320f;
    font-size: 1em;
    text-decoration: none;
    font-weight: bold;
}

a.page-link-dark:visited {
    color: #07320f;
}

a.page-link-dark:hover {
    color: white;
    background-color: #07320f;
}

.links-footer {
    background-color: #14743a;
    background-image: url("../images/links-footer-pattern.png");
    background-repeat: repeat;
    color: white;
    padding: 50px 0;
}

.donate-banner {
    background-color: #14743a;
    background-repeat: no-repeat;
    background-position: right;
}

.courses-banner {
    background-color: #14743a;
    background-image: url("../images/courses-page-banner.png");
    background-repeat: no-repeat;
    background-position: right;
    object-fit: contain;
}

.links-footer-row {
    margin: 0.5em 0.5em;
}

.links-footer-row a {
    color: #fff;
    text-decoration: none;
}

.footer-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link a {
    color: #fff;
    text-decoration: none;
}

.green-button,
.green-button-small {
    font-family: poppins-bold_3;
    color: white;
    font-size: 1.3em;
    background-color: #14743a;
    padding: 0.7em 2em;
    border: none;
    border-radius: 1.5em 1.5em 1.5em 1.5em;
}

.green-button:hover,
.green-button-small:hover {
    background-color: #07320f;
}

.green-button-small {
    font-size: 0.8em;
}

.purple-button {
    font-family: poppins-bold_3;
    color: white;
    font-size: 1em;
    background-color: #421983;
    padding: 0.7em 2em;
    border: none;
    border-radius: 1.5em 1.5em 1.5em 1.5em;
}

.purple-button:hover {
    color: #421983;
    background-color: white;
    border: 1px solid #421983;
}

.opaque-purple-button {
    font-family: poppins-bold_3;
    color: #421983;
    background-color: transparent;
    font-size: 0.8em;
    padding: 0.7em 2em;
    border: 2px solid #421983;
    text-decoration: none;
    border-radius: 1.5em 1.5em 1.5em 1.5em;
}

.opaque-purple-button:hover {
    background-color: white;
}

.subscribe-button {
    border-radius: 0 1.5em 1.5em 0;
}

.green-button-white-border {
    border: 1px solid white;
}

.purple-bg {
    background-color: #421983;
}

.login-field {
    border-radius: 1.5em 1.5em 1.5em 1.5em;
}

form {
    display: flex;
    flex-direction: row;
    padding: 1px;
}

.amount-div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.amount-div .help-block {
    order: 3;
    width: 100%;
}
.purple-text {
    color: #421983;
}

.upcoming-events:hover {
    box-shadow: 1px 4px 3px 3px #dad3e7;
    border-radius: 20px;
}

.information-hub-section:hover {
    box-shadow: 1px 2px 2px #747474;
    border-radius: 15px;
    background-color: #dff6e4;
}

.amount-div input,
form input {
    flex-grow: 2;
    border-radius: 1.5em ;
    padding: 0.5em;
    font-size: 1em;
}

input.subscribe_email,
.amount-div input {
    border-radius: 1.5em 0 0 1.5em;
}

.amount-div input:focus {
    outline: none;
}

input.subscribe-field {
    flex-grow: 2;
    border-radius: 1.5em 0 0 1.5em;
    padding: 1em;
}

input.subscribe-field:focus {
    outline: none;
}

.form-header {
    border-radius: 20px 20px 0px 0px;
    font-family: dyna-puff-variableFont-wdth-wght;
}

.grey-form-section,
.general-form-section {
    border-radius: 0px 0px 20px 20px;
    color: #333333;
    font-family: poppins-medium_3;
    font-size: 0.8em;
}

.grey-form-section input {
    background-color: #ededed;
    color: #747474;
    border-radius: 20px;
}

.grey-form-section input::placeholder {
    color: #747474;
    opacity: 1;
    /* Firefox */
}

::-ms-input-placeholder {
    /* Edge 12 -18 */
    color: #747474;
}

select.form-select {
    border-radius: 20px;
    background-color: #ededed;
    color: #747474;
}

.grey-form-section textarea {
    background-color: #ededed;
    border-radius: 25px;
    padding: 1em;
}

.general-form-section input::placeholder,
.general-form-section textarea::placeholder {
    color: #747474;
    opacity: 1;
    /* Firefox */
}

.general-form-section input,
.general-form-section textarea,
.general-form-section-grey-input input {
    background-color: white;
    border-radius: 25px;
    padding: 1em;
}

.general-form-section-grey-input input {
    background-color: #ededed;
    border: 1px solid #747474;
}

.general-form-section textarea,
.grey-form-section textarea {
    resize: none;
}

.full-width-banner-image {
    width: 100%;
}

.h6-poppins-regular_0 {
    font-family: poppins-regular_0;
    color: white;
}

.regular-text-poppins-regular_0 {
    font-family: poppins-regular_0;
    color: #333333;
}

.rounded-div {
    border-radius: 20px;
}

.rounded-div-with-bg {
    border-radius: 20px;
    background-image: url("../images/cream-background.png");
    background-repeat: repeat;
    background-size: contain;
}

.h2-dyna-puff {
    font-family: dyna-puff-variableFont-wdth-wght;
    color: white;
}

.green-text {
    font-size: 1.2em;
    color: #07320f;
}

.green-text-light {
    color: #14743a;
    font-size: 0.8em;
}

.h1-dyna-puff-purple,
.h1-dyna-puff-purple-small {
    font-family: dyna-puff-variableFont-wdth-wght;
    color: #421983;
}

.h1-dyna-puff-grey {
    font-size: 2em;
    color: #b9b9b9;
    font-family: dyna-puff-variableFont-wdth-wght;
}

.h1-dyna-puff-purple {
    font-size: 3em;
}

.h1-dyna-puff-green {
    font-family: dyna-puff-variableFont-wdth-wght;
    color: #14743a;
    font-size: 3em;
}

.h1-dyna-puff-white {
    font-family: dyna-puff-variableFont-wdth-wght;
    color: white;
}

.vertical {
    border-right: 2px solid #07320f;
}

.nav-item {
    margin: 0em 0.8em 0em 0.8em;
}

 .nav-item > a {
    color: #07320f;
    padding: 0.6em 16px;
    text-decoration: none;
}

/* .nav-item a:hover:not(.active) {
    background-color: #14743a;
    color: white;
    border-radius: 20px;
} */

.navbar-nav .dropdown-item:active{
    background-color: #14743a;
    color: #fff;
}

input.form-check-input {
    transform: scale(1.2);
}

.standard-text {
    font-size: 0.9em;
    font-family: poppins-semi-bold_3;
}

.bigger-text {
    font-size: 1.2em;
    font-family: poppins-semi-bold_3;
}

.purple-heading {
    color: #421983;
    font-size: 0.9em;
    font-family: poppins-thin_3;
}

.light-text {
    font-size: 0.9em;
    font-family: poppins-light_3;
}

.footer-text {
    font-size: 0.7em;
    font-family: poppins-regular_0;
}

.nav-item > a.active-link {
    background-color: #14743a;
    color: white;
    border-radius: 20px;
    text-decoration: none;
}

.nav-item > a.donate {
    color: #f0ed7b;
    background-color: #421983;
    border-radius: 20px;
}

.nav-item > a.donate:hover {
    background-color: #14743a;
    color: white;
}

.banner-section {
    padding: 50px 0 100px;
}
.banner-content h1 {
    margin-bottom: 15px;
}
.banner-content p {
    font-size: 16px;
    font-family: poppins-regular_0;
    line-height: 28px;
}
.information-hub-img {
    width: 110px;
    height: 110px;
}
.information-hub-content {
    width: calc(100% - 110px);
    padding-left: 20px;
}
.information-hub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.information-hub-main {
}
.information-hub-list {
    padding: 15px;
}
.about-content {
    padding-left: 40px;
}
.about-section {
    padding: 100px 0;
}
.upcoming-events-section {
    margin-top: 100px;
}
.about-image img {
    width: 100%;
}
.information-hub-list:hover {
    background: rgb(255 255 255 / 90%);
    border-radius: 10px;
    box-shadow: 5px 8.66px 12.5px rgba(66, 25, 131, 0.25);
}
.information-hub-content h6,
.information-hub-content b {
    font-family: poppins-semi-bold_3;
    font-size: 15px;
    color: #333333;
    line-height: 22px;
}

.information-hub-content b {
    color: #421983;
    display: flex;
    margin-bottom: 5px;
}

.information-hub-content h6 p {
    margin-bottom: 0;
}

.information-hub-content a {
    font-size: 15px;
    text-decoration: none !important;
    color: #14743a;
    font-family: poppins-semi-bold_3;
}
.information-hub-main {
    margin-left: -15px;
}
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
}

.marquee-track img {
    width: 330px;
    height: 250px;
    border-radius: 10px;
    margin-right: 20px;
    object-fit: cover;
    vertical-align: middle;
}

.our-memories-section {
    padding: 100px 0;
}

.btns {
    display: inline-flex;
    background-color: #137339;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    position: relative;
}

.btns-style::before {
    content: "";
    position: absolute;
    left: 0px;
    top: -14px;
    bottom: -14px;
    right: 1px;
    background: #137339;
    z-index: -1;
    border-radius: 50%;
}

.newsletter-section {
    background-color: #421983;
    position: relative;
    padding: 30px 0;
}

.newsletter-section::before {
    content: "";
    width: 100%;
    height: 100px;
    background: url(../images/newsletter-bg.png) no-repeat top center / 100%;
    position: absolute;
    top: -45px;
    left: 0;
    right: 0;
    z-index: -1;
}

.newsletter-content p {
    margin-bottom: 0;
    color: #fff;
    font-size: 16px;
    font-family: poppins-regular_0;
}

.event-section {
    padding: 50px 0 150px;
}

.events-box-img {
    position: relative;
    padding-top: 85%;
}

.event-show-img {
    position: relative;
    padding-top: 51.45%;
    min-width: 440px;
    margin-bottom: 50px;
}

.event-show-img img,
.events-box-img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.event-info-main {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    min-height: 440px;
}

.event-info-main h4 {
    font-family: dyna-puff-variableFont-wdth-wght;
    font-size: 20px;
    color: #421983;
    margin-bottom: 15px;
}

.event-show-section {
    padding: 50px 0 100px;
}

.event-info-main ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.event-info-main ul li {
    display: flex;
    flex-wrap: wrap;
}

.event-info-main ul li b {
    width: 90px;
    padding-right: 20px;
    position: relative;
}

.event-info-main ul li b::after {
    content: ":";
    position: absolute;
    right: 10px;
}

.event-info-main ul li span{
    width: calc(100% - 90px);
}
@media (max-width: 992px) {
    .footer-text {
        font-size: 0.5em;
    }

    .green-button {
        font-size: 1em;
    }

    input::placeholder {
        font-size: 1em;
    }
}

@media (min-width: 992px) {
    a.pagination-page-link:link {
        font-size: 1.2em;
    }

    .mosque-image,
    .students-image {
        height: 300px;
    }

    .welcome-image {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .mosque-image,
    .students-image {
        height: 400px;
    }
}

@media (max-width: 1400px) {
    .nav-item {
        margin: 0.5em 1em 0.5em 1em;
    }

    .navbar-collapse {
        border: 2px solid #07320f;
        border-radius: 10px;
    }
}

@media (min-width: 1400px) {
    .donate-banner {
        background-image: url("../images/donate-page-banner.png");
    }
}

.register .card {
    border: 0;
    margin-bottom: 40px;
    background: transparent;
    text-align: left;
}

.register .card-header {
    padding: 0;
    border: 0;
    background-color: transparent;
}

.register .btn-link {
    font-family: "dyna-puff-variableFont-wdth-wght";
    font-size: 16px;
    color: #fff !important;
    text-decoration: none;
    background-color: #421983 !important;
    padding: 20px 50px 20px 30px;
    border-radius: 40px 40px 0 0;
}

.register .btn-link.collapsed {
    border-radius: 40px;
}

.register .card-body {
    padding: 25px 30px;
    --bs-bg-opacity: 1;
    background-color: rgba(
        var(--bs-white-rgb),
        var(--bs-bg-opacity)
    ) !important;
    box-shadow: var(--bs-box-shadow) !important;
    border-radius: 0 0 40px 40px;
}

.register form {
    outline: 0;
}

.register .form-group {
    margin-bottom: 20px;
}

.register label.my-1,
.register .standard-text {
    font-family: "poppins-semi-bold_3";
    font-size: 14px;
}

.register .form-select,
.register .form-control,
.register input {
    font-family: "poppins-regular_0";
    outline: none;
    box-shadow: none;
    border-width: 2px;
    border-color: #eeeeee;
    background-color: #eeeeee;
    font-size: 16px;
    font-weight: 400;
    padding: 11px 15px;
    margin: 0 !important;
    border-radius: 30px;
}

.register .required input {
    border-color: #ff0000;
}

.register input[type="file"] {
    padding: 0 30px;
    height: 50px;
    line-height: 50px;
}

.register .required .rmsg {
    float: right;
    margin-right: 15px;
    font-family: "poppins-regular_0";
    font-size: 12px;
    color: #ff0000;
    background-color: #f2f6d2;
    padding: 4px 10px;
    border-radius: 5px;
}

.register .purple-button {
    font-family: "poppins-semi-bold_3";
    font-size: 16px;
    padding: 11px 30px;
    border: 2px solid #421983;
    border-radius: 30px;
}

.register .form-check-input {
    padding: 0;
    width: 20px;
    height: 20px;
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.register .uploadbtn {
    font-family: "poppins-semi-bold_3";
    font-size: 16px;
    margin-top: 29px;
    padding: 13px 30px;
}

.register .collapsible-link {
    width: 100%;
    position: relative;
    text-align: left;
}

.register .collapsible-link::before {
    content: "+";
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: block;
    font-family: "poppins-medium_3";
    font-size: 25px;
}

.register .collapsible-link[aria-expanded="true"]::before {
    content: "-";
}

.mt-20 {
    margin-top: 20px;
}

@media screen and (max-width: 767px) {
    .registerpage h1 {
        font-size: 30px;
    }

    .register .btn-link {
        font-size: 16px;
        padding: 10px 50px 10px 20px;
        border-radius: 30px 30px 0 0;
    }

    .register .btn-link.collapsed {
        border-radius: 30px;
    }

    .register .card-body {
        padding: 20px;
        border-radius: 0 0 30px 30px;
    }

    .register .form-select,
    .register .form-control,
    .register input {
        padding: 5px 10px;
    }

    .register input[type="file"] {
        height: 38px;
        line-height: 38px;
        padding: 0 10px;
    }

    .register .uploadbtn {
        margin-top: 0;
    }

    .register .purple-button {
        padding: 5px 20px;
    }

    .mosque-image,
    .students-image,
    .welcome-image {
        width: 90%;
    }
}

.help-block {
    color: red;
}
