* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    box-sizing: border-box;
    background-color: none;
    border: none;
    font-family: 'poppins', sans-serif;
    font-weight: 400;
    text-decoration: none;
}

button {
    background-color: inherit;
}

.body {}


/*----------------*/
/*Header styling*/


@keyframes fade-in-from-top {
    0% {
        transform: translateY(-70px);
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.header {
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0px 10px;
    border-bottom: 1px solid #d4d4d4;

}

.sidemenu-toggle {
    font-size: 36px;
    padding: 10px 15px;
    color: rgb(54, 52, 77);
    display: none;
    animation: fade-in-from-top 0.5s;
    cursor: pointer;
}

.sidemenu__close_btn {
    position: fixed;
    top: 10;
    left: 210px;
    align-self: self-end;
    font-size: 30px;
    padding: 5px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 1px 1px 3px #888888;
    display: none;
    z-index: 1;
    cursor: pointer;


}



.sidemenu__close_icon {}

.sidemenu {
    width: 0;
    position: fixed;
    z-index: 3;
    height: 100%;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 10px;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #d4d4d4;
    background-color: white;





}

.sidemenu_overlay {
    width: 0%;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    transition: all 0.5s;
    background-color: #0000007e;
    z-index: 3;
}

.sidemenu__ul {
    margin-top: 50px;
    width: 100%;
    padding: 10px;

}

.sidemenu__li {
    display: block;
    width: 100%;
    /* padding: 10px 5px; */
    cursor: pointer;
    transition: all 0.5s;
    margin-bottom: 5px;
    border-radius: 7px;
}

.sidemenu_link {
    display: inherit;
    width: 100%;
    padding: 10px 5px;
    color: black;
    text-decoration: inherit;
    font-weight: bold;
    border-radius: 7px;
}

.general-bg-color {
    background-color: #e1e8f7;
}

.sidemenu__li:hover {
    background-color: #e1e8f7;
}

.sidemenu__icon {}

.sidemenu__text {}




/*----Header Logo--*/
.logo {
    width: 160px;
    height: 60px;
    object-fit: contain;
    animation: fade-in-from-top 0.5s;
}

/*-----Header user area------*/

.user-area {
    margin-left: auto;
    /* animation: fade-in-from-top 0.5s; */
    display: flex;
    flex-direction: row;
    align-items: center;
}

.user__btn {
    font-size: 36px;
    color: rgb(54, 52, 77);
    padding: 10px 15px 10px 0px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
}

.user__icon {}

.user__name {

    font-size: 12px;

}


/*----main body design---*/


@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

.app-container {
    display: flex;
    height: auto;


}

.sidebar {
    width: 200px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
    border-right: 1px solid #d4d4d4;




}

/* .sidebar-toggle-container
{
    text-align: right;
}

.sidebar__toggle_btn
{
    color: rgb(58, 25, 25);
    font-size: 36px;
    padding: 2px 5px;
    cursor: pointer;
} */
.sidebar__ul {
    margin-top: 50px;
    width: 100%;
    padding: 10px;
}

.sidebar__li {

    /* padding: 10px 15px; */
    transition: all 0.5s;
    margin-bottom: 5px;

}

.sidebar__link {
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: black;
    text-decoration: inherit;
    font-weight: bold;
    border-radius: 7px;
}

.active__link {
    background-color: #e1e8f7;
    color: rgb(64, 106, 184);
    border-radius: 7px;

}

.sidebar__link:hover {
    background-color: #e1e8f7;
    color: rgb(64, 106, 184);
    border-radius: 7px;

}

/* .sidebar__li:hover
{
    background-color: #e1e8f7;
} */



.a__reset {
    color: white;
    text-decoration: none;
}

.sidebar__icon {}

.sidebar__text {
    color: inherit;
}



/*----app design ----*/
.app {
    background-color: #F4F5FF;

    flex: 1;
    padding: 0px 30px 10px 30px;
    animation: fade-in 0.9s;
    display: flex;
    flex-direction: column;
    height: inherit;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;

}


.app__header {
    display: flex;
    border-bottom: 1px solid #00000036;
    align-items: center;
    padding: 10px 0px;
    justify-content: space-between;
    height: 50px;
    margin-top: 30px;
}

.app__header__title {
    font-size: 26px;
    margin: 0;
}

.app__header__title i {
    margin-right: 5px;
}

.app__header__btn {}

.app__header__text {}

.app__table {}


.app__middle {
    /* height: calc(100vh - 40px - 70px); */
    overflow-x: scroll;




}

.app-forms {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    z-index: -1;
    overflow: hidden;



}

.app_form__main {}


.app_form__footer {

    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: auto;
    padding: 10px;
    column-gap: 10px;


}


@media (max-width: 1000px) {
    .logo {
        display: none;
    }

    .sidemenu-toggle {
        display: block;
    }

    .sidebar {
        display: none;
    }
}




/* homepage design */

.hp-container {
    display: flex;
    flex-direction: column;
    height: 100%;

}

/*header design*/
.topheader {
    width: 100%;

}

.topheader h5 {
    width: 100%;
    text-align: left;
    background-color: #37aada;
    padding: 5px;
    text-transform: capitalize;
    color: white;
}

.hp-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #00000036;
    align-items: center;
    padding-right: 20px;
    height: 70px;

}

.hp-logo {
    width: 160px;
    height: 60px;
    object-fit: contain;
}

.hp-reg_log {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    border-bottom: 1px solid white;
    padding: 0px 3px;
    gap: 10px;
    height: 37px;
    align-items: center;
    border-radius: 7px;
}

.hp-reg_log a {

    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 13px;
    padding: 10px 5px;
    border-radius: 7px;
    background-color: #37aada;
    height: 100%;


}

.hp-reg_log a:hover {
    /* background-color: #313131; */
    background-color: #2f6177;
}

.donate_btn {
    background-color: #37aada;
    color: white;
    border-radius: 7px;
}


@media (max-width: 500px) {
    .hp-logo {
        display: none;
    }

    .donate_btn {
        margin-left: 10px;
    }

}

/*main section design*/

.hp-first {
  /*  background-color: #F4F5FF; 
    background-image: linear-gradient(to right, #ffffff, #9c9c9c);*/
   
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    height: 400px;
}

.hp-first_left {

    width: 100%;
    padding: 30px 10px;
    color: white;
    display: flex;
    flex: 8;
    

}

.left__h {

    font-size: 45px;
    text-transform: uppercase;

}

.left__p {
    text-align: justify;
}

.hp-first_right {

    flex: 6;
 
    display: flex;
    justify-content: center;
    align-items: center;
}

.inforgraphic
{
    width: 90%;
    object-fit: cover;
}
.right__img {
    width: 500px;
}

.hp-second {

    margin: 40px 30px;
    border-radius: 17px;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    column-gap: 40px;
}

@media (max-width: 1000px) {
    .hp-first {
        display: block;
        height: auto;
        text-align: center;
    }

    .left__p {
        text-align: center;
    }

    .right__img {
        width: 450px;
        object-fit: contain;
    }
}


/* 
login page design strats here */


.hp-login {

    height: auto;
    display: flex;
    justify-content: center;
    padding: 5%;



}

.login__left {
    flex: 6;
    width: 60%;

}




.login__right {

    flex: 4;
    background-color: white;
    position: relative;
    border-radius: 17px;
    border: 1px solid #37a9da33;
    padding: 30px;
}

.login__right-top {
    position: absolute;
    top: 7;
    right: 5px;

}

.right__top-text {
    font-size: 12px;
}

.right__top-link {
    background-color: #37aada;
    border-radius: 17px;
    padding: 2px 4px;
    color: white;
    text-decoration: none;
}

.login__right-bottom {
    padding: 5px;
}

@media (max-width: 1000px) {
    .login__left img {
        width: 400px;
    }

}

@media (max-width: 800px) {

    .hp-login {
        flex-direction: column;
        flex-direction: column-reverse;
    }

    .login__left {
        text-align: center;
    }

    .login__left img {
        width: 70%;
    }
}


/* 
login page design ends here */



/*

error message
*/

#message {
    padding: 20px 20px;
    margin: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.error_message {
    background-color: #ff2c2c;

}

.success_message {
    background-color: rgb(111, 175, 125);

}

.closebtn_message {
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/*  ----  index page form design*/
.form-donate {

    flex: 4;
    display: flex;
    justify-content: center;
}

.donate-form-header {
    padding: 30px 0px;
    text-transform: uppercase;
    text-align: center;
}

.donate-form-holder {

    height: auto;
    margin: 10px;
    padding: 10px;
    border-radius: 17px;
    border: 1px solid rgba(0, 0, 0, 0.137);
    /* box-shadow: 0 0 10px .25rem rgba(13, 110, 253, .25); */
}

.campign-image {
    width: 100%;
    object-fit: contain;
    height: 150px;
    border-radius: 17px 17px 0px 0px;
}

.btn-donate {
    padding: 13px 16px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 20px;
    border: 1px solid #31313123;
    color: #313131;
}

.btn-donate-now:hover {
    background-color: #40bcf1;
}

.btn-donate-now {
    background-color: #37aada;
    color: white;
}

.btn-donate:active,
.btn-donate:Focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    background-color: #37aada;
    color: white;


}

.donate-info {
    flex: 6;
    text-align: center;
    margin: 10px;
    border-radius: 17px;
    border: 1px solid red;
    height: auto;
    padding: 10px;

    border: 1px solid rgba(0, 0, 0, 0.137);
}

.donate-form-header-p {
    background-color: #37aada;
    color: white;
}

#donate-form-h4 {
    margin: 30px;
}

#donate-form-p {
    padding: 10px 0px;
    text-align: justify;
}

#campaign_image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    animation: fade-in 0.5s;
    transition: 0.5s all;

}

@media (max-width: 1200px) {

    .donate-form-holder {
        width: 100%;
    }

    .hp-second {
        flex-direction: column;
    }

}

@keyframes fade_in_d {
    0% {
        content: url('../img/kc.png');
        width: 65%;
    }
    50%
    {
        content: url('../img/kcback.webp');
        width: 70%;
    }
    100% {
        content: url('../img/stepfirst.webp');
        width: 75%;
    }
}

#imgtochange
{
 animation: fade_in_d 8s linear  infinite;
 box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.06);
 border-radius: 17px;
 border: 5px solid white;
    /* animation: flip-back-forth 6s ease-in-out infinite;
    transform-style: preserve-3d */
} 


.tohide_sub_items {

    visibility: hidden;

}
.show_sub_items
{
    visibility:visible;
}

.toshowtext
{
    visibility: visible;
}
/* .frontside {
    animation: fade_in_d 0.7s linear infinite;
    content: url('../img/kc.png');
    width: 100%; 
    transition-property: all;
    transition-duration: 0.8s;
} */

/* .backside {
    animation: fade_in_d 0.7s linear infinite;
    /content: url('../img/kcback.webp');
    width: 60%; 
    transition-property: all;
    transition-duration: 0.8s;
   
} */

/* .showimg {
    transition: 0.5s all;
} */

/* checkout page donationsummery page design */

.checkout {

    border: 1px solid black;
    margin: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.137);
    border-radius: 17px;
}


.checkout_header {
    width: 80%;
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
}

.checkout_donatebtn {
    background-color: #37a9da;
    padding: 10px 0px;
    cursor: pointer;
    border-radius: 4px;
    color: white;
    font-size: 17px;

}

.checkout_donatebtn:hover {
    background-color: #2f6177;
    color: white;

}

.donation_summery {
    width: 80%;
}

@media (max-width: 1200px) {

    .checkout {
        margin: 40px;

    }

    .donation_summery,
    .checkout_header {
        width: 95%;

    }

    .hp-second {
        flex-direction: column;
    }


}

@media (max-width: 1000px) {

    .checkout_header {
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        flex-flow: column-reverse;
        padding: 20px;
        height: 100%;


    }



}



/* db styles */
.db {



    /* height: calc(100vh - 90px); */
    height: 100%;
    margin: 10px 0px;
    padding: 5px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.082);



}

.db h3 {
    height: 50px;

}

.theadd {
    background-color: red;
}

/* admin log in design */


.admin-login {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: rgb(219, 219, 219);
    align-items: center;
    justify-content: center;
}

.admin-form {
    width: 60%;
    height: 400px;
    background-color: white;
    padding: 10px;
    border-radius: 17px;


}

.admin-form h3 {
    text-align: center;
    font-size: 42px;
    margin-top: 10px;
}