
/* Navbar */
.common-navbar {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: white !important;
}

.common-navbar.navbar-scrolled {
    height: 74px;
    overflow: visible;
}
/* End Navbar */


/* Header */
.header-background {
    background: url(../../../../images/pages/donasi/landing/header-bg.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 101vh;
}

.header-input-group {
    max-width: 771px;
    width: auto;
    margin: 0 auto;
}

.page-header {
    padding-top: 40px;
}

.header-input-group input {
    height: 70px !important;
    border: 2px solid #CED4DA;
}

.header-input-group .btn {
    padding: 16px;
}

.header-input-group .fas {
    font-size: 32px;
}

.header-btn-prev,
.header-btn-next {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    box-shadow: var(--transition);
    border-radius: 50%;
}

.header-card {
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.header-img {
    width: 100%;
    height: 425px;
    object-fit: cover;
}

.header-card .card-body {
    padding: 32px;
}

.header-divider {
    margin-top: 0;
    margin-bottom: 16px;
    border-color: var(--primary);
}

.header-progress-container {
    width: 80%;
}

.header-progress-container .progress-bar {
    background-color: var(--accent);
}

.header-description {
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* End Header */

/* Donations */
#donations {
    margin-top: 64px;
}

.donations-title {
    font-family: var(--font-1);
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    text-align: center;
    color: var(--black);
    margin-bottom: 8px;
}

.donations-subtitle {
    font-family: var(--font-1);
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    color: var(--grey);
    margin-bottom: 32px;
}

.donation-item {
    margin-bottom: 48px;
}

.donation-item .card {
    box-shadow: var(--shadow);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
    height: 100%;
}

.donation-item .card-body {
    padding: 16px;
}

.donation-item .card-img-top {
    width: 100%;
    height: 204px;
    object-fit: cover;
}

.donation-item .card-footer {
    padding: 0 16px 16px 16px;
    background: white;
}

.donation-item-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.donation-item-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.donation-item-divider {
    margin: 0;
    border-color: var(--primary);
}

.donation-item .card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.donation-btn {
    background-color: var(--primary) !important;
    font-size: 20px !important;
}
/* End Donations */

/* Divider */
.divider hr {
    border-color: var(--primary);
    margin-top: 64px;
    margin-bottom: 64px;
}
/* End Divider */

/* Category */
#category .card {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

#category .card .card-body {
    padding: 32px;
}

.category-icon-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 16px;
}

.category-icon-container > img {
    width: 50px;
    height: 50px;
}

.category-btn-prev {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    box-shadow: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: absolute;
    top: 50%;
    left: 2%;
    border: 0;
}

.category-btn-next {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    box-shadow: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: absolute;
    top: 50%;
    right: 2%;
    border: 0;
}
/* End Category */

/* Story */
#story {
    margin-bottom: 64px;
}

#story .card {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

#story .card .card-body {
    padding: 32px;
}

.story-title {
    font-family: var(--font-1);
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.story-subtitle {
    font-family: var(--font-1);
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    color: var(--black);
    margin-bottom: 16px;
}

.story-img {
    width: 100%;
    height: 386px;
    object-fit: cover;
}

.story-btn-prev {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    box-shadow: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 2%;
    border: 0;
}

.story-btn-next {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    box-shadow: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2%;
    border: 0;
}
/* End Story */

@media (min-width: 768px) and (max-width: 997.98px) {

    /* Header */
    .header-img {
        height: 460px;
    }

    .page-header {
        padding-bottom: 40px;
    }

    .header-background {
        height: auto;
    }

    .header-carousel .slick-dots li button:before {
        color: white !important;
    }

    .header-card .card-body {
        padding: 16px;
    }
    /* End Header */

    /* Divider */
    .divider hr {
        margin-top: 48px;
        margin-bottom: 48px;
    }
    /* End Divider */

    /* story */
    .story-img {
        height: 240px;
    }
    /* End story */

}

@media (max-width: 767.98px) {
    /* Header */
    .page-header {
        padding-bottom: 40px;
    }

    .header-background {
        height: auto;
    }

    .header-carousel .slick-dots li button:before {
        color: white !important;
    }

    .header-card .card-body {
        padding: 16px;
    }

    .header-img {
        height: 200px;
    }
    /* End Header */

    /* Donations */
    #donations {
        margin-top: 48px;
    }

    .donations-title {
        font-size: 22px;
    }

    .donations-subtitle {
        font-size: 17px;
    }
    /* End Donations */

    /* Category */
    #category .card .card-body {
        padding: 16px;
    }
    /* End Category */

    /* Story */
    #story .card .card-body {
        padding: 16px;
    }

    .story-title {
        font-size: 17px;
    }

    .story-subtitle {
        font-size: 22px;
    }

    .story-img {
        height: 204px;
    }

    .story-btn-next,
    .story-btn-prev {
        width: 32px;
        height: 32px;
        padding: 8px;
    }
    /* End Story */
}
