/* common styles  */
* {
    padding: 0;
    margin: 0;
}

.inter-font {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.donate-container {
    max-width: 1440px;
    margin: 0 auto;
}

.donate-title {
    font-size: 2.5rem;
    color: #121212;
    font-weight: 700;
    margin-bottom: 20px;
}

.donate-description {
    font-size: 1.12rem;
    color: #707070;
    font-family: "Poppins", sans-serif;
    max-width: 690px;
    margin: 0 auto;
}

.donate-btn {
    color: white;
    background-color: #FF5959;
    font-size: 1.25rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    padding: 16px 12px;
}

.text-center {
    text-align: center;
}

.margin-top {
    margin-top: 130px;
}

/* header  */
header {
    background-image: linear-gradient(0deg, #121212 0%, rgba(18, 18, 18, 0.30) 100%), url('../images/donation0.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donate-banner-container {
    max-width: 800px;
}

.donate-banner-container p {
    color: white;
    margin-top: 20px;
    margin-bottom: 30px;
}

.donate-banner-title {
    font-size: 3.75rem;
    color: white;
    font-weight: 700;
}

/* main related styles  */

/* today donate  */
.today-donate-amount-card {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 50px auto;
}

.amount-card {
    background-color: #FAFAFA;
    color: #707070;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 5px;
    padding: 45px 25px;
}

.amount-card:hover {
    color: #FF5959;
    background-color: #FEE;
    border: 2px solid #FF5959;
}

.other-amount {
    color: #B3B3B3;
    font-size: 1.12rem;
}

hr {
    max-width: 765px;
    margin: 10px auto 30px;
    border: none;
    background-color: #DADADA;
    height: 1px;
}

/* donate plane  */
.donate-plan-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.donate-plan {
    padding: 65px 25px 55px;
    border-radius: 5px;
    text-align: left;
}

.donate-plan:nth-child(1) {
    background-color: rgba(79, 157, 166, 0.10);
}

.donate-plan:nth-child(2) {
    background-color: rgba(255, 89, 89, 0.10);
}

.donate-plan:nth-child(3) {
    background-color: #FFF4D6;
}

.donate-plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #121212;
    margin-top: 30px;
    margin-bottom: 10px;
}

.donate-plan p {
    color: #707070;
}

/* donation-contribute-section */
.donation-contribute-section-1 {
    display: flex;
    align-items: center;
    gap: 100px;
}

.donation-contribute-section-2 {
    display: flex;
    align-items: center;
    gap: 100px;
}

.donation-contribute-section-1 img {
    max-width: 100%;
    border-radius: 5px;
}

.donation-contribute-section-2 img {
    max-width: 100%;
    border-radius: 5px;
}


.donation-contribute-content .donate-btn {
    margin-top: 30px;
}

/* my updates  */
.my-updates {
    background-color: #FFF4D6;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 75px 190px;
    border-radius: 8px;
}

input[type='email'] {
    background-color: #D9D9D9;
    color: #AA9F9F;
    border: none;
    border-radius: 5px 0 0 5px;
    padding: 20px 200px 15px 17px;

}

.my-updates .donate-btn {
    border-radius: 0 5px 5px 0;
    padding: 14px 40px;
    margin-left: -8px;
}

/* footer  */
footer {
    background-color: black;
    padding: 45px 0;
}

footer h3 {
    color: #FF5959;
    font-size: 2.12rem;
    font-family: "Lobster", sans-serif;
}

footer p {
    color: gray;
    margin-top: 25px;
}

/* responsive layout  */
/* small device  */
@media screen and (max-width:576px) {
    header {

        background-image: none;
    }

    .donate-banner-title {
        color: #FF5959;
    }

    .donate-banner-container p {
        color: #707070;
    }

    .today-donate-amount-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-plan-container {
        grid-template-columns: 1fr;
    }

    .margin-top {
        margin-top: 30px;
    }

    .donation-contribute-section-1 {
        flex-direction: column;
    }

    .donation-contribute-section-2 {
        flex-direction: column-reverse;
    }

    .donation-contribute-section-1,
    .donation-contribute-section-2 {
        gap: 50px;
    }

    .my-updates {
        padding: 30px;
    }

    input[type='email'] {
        width: 100%;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .my-updates .donate-btn {
        border-radius: 5px;
    }

}

/* medium device  */
@media screen and (min-width:577px) and (max-width:996px) {
    .donation-contribute-section-1 {
        flex-direction: column;
    }

    .donation-contribute-section-2 {
        flex-direction: column-reverse;
    }


    .my-updates .donate-btn,
    input[type='email'] {
        margin-top: 10px;
        border-radius: 5px;
    }
}