/* css reset */
*{
    user-select: none;
    font-size: 14px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight:normal;
    letter-spacing: .02em;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color:grey;
}
.error{
    padding-top: 5px;
    max-width: 90%;
    color: rgb(200, 0, 0);
    font-size: .8em;
}

/* for all forms */
.form{
    margin:0px auto;
    width:100%;
    max-width: 700px;
}
.form-row{
    display: flex;
    flex-direction: column;
    margin: 30px 0;
}
.form-row:last-child{
    display: flex;
    flex-direction: column;
    margin: 60px 0;
}
.form-row label{
    text-transform: capitalize;
    letter-spacing: 1px;
}
.form-row :is( input:not(.button, .radio), textarea ){
    font-size: 16px;
    padding: 5px;
    width: 100%;
    margin-top: 5px;
    box-sizing: border-box;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
.button{
    font-size:1.2em;
    letter-spacing: 1.5px;
    border: none;
    padding: 10px 30px;
    text-transform: capitalize;
    background-color: #19a6b0;
    color: white;
    cursor: pointer;
}
.button:hover{
    background-color: #255869;
}
.button.pay{
    outline-offset: -7px;
    outline: 2px solid red;
    border:2px solid red;
    padding: 12px 60px;
    background-color: transparent;
    color: red;
    transition: .2s all;
}
.button.pay:hover{
    color:rgb(255, 255, 255);
    background-color: red;
}
.button.de-emphasize{
    background-color: #ff9800;
}
.radio-container{
    margin:20px 50px 0;
}
.radio{
    margin-right:7px;
    zoom: 2;
    vertical-align: text-top;
}

/* flash message */
.flash-close{
    opacity: 0;
    transform: translateX(100%);
    overflow: hidden !important; 
}
.flash-message-box{
    display: grid;
    grid-template-columns: auto 30px;
    grid-auto-rows: 30px;
    column-gap: 20px;
    align-items: center;
    position:fixed; 
    bottom:10%; 
    right:0; 
    padding:10px;
    background-color: #54b4d3; 
    border-left:5px solid  #255869;
    transition:  1s all;
}
.flash-message-box .text{
    color:white;
    text-wrap: nowrap;
}
.flash-message-box .close-button{
    background-color: transparent;
    border: none;
    display: flex;
    cursor: pointer;
}
.flash-message-box .close-button svg{
    pointer-events: none;
    stroke:white;
}

/* home page banner */
.home-page-banner{
    --height:300px;
    position: relative;
    width:100%;
    height: var(--height);
    background-image: url("/images/wall.webp");
    background-size: cover;
    background-position: center, center;
}
.home-page-banner .banner{
    display: flex;
    flex-direction: column;
    padding-top:calc( var(--height) / 3);
    box-sizing: border-box;   
    width:100%;
    height: var(--height);
    background: rgba(0,0,0,.5);
}
.home-page-banner .banner h1{
    width: fit-content;
    font-size:1.8em;
    margin: 0 auto;    
    color:white !important ;
}
.banner-text-underline{
    margin-top:10px;
    margin-bottom: 20px;
}
.home-page-banner .banner h3{
    font-size:1.5em;
    margin: 0 auto;
    color:white !important ;
}
@media only screen and (min-width:400px) {
    .home-page-banner .banner{
        padding-left: 5%; 
    }
    .home-page-banner .banner h1{
        margin: 0;
    }
    
    .home-page-banner .banner h3{
        margin: 0;
    }
}
@media only screen and (min-width:600px) {
    .home-page-banner{
        --height: 500px;
    }    
    .home-page-banner .banner h1{
        font-size:3em;
        letter-spacing: 2px;
    }
    
    .home-page-banner .banner h3{
        font-size:2em;
    }
}
/* banner for all pages */

.page-banner h1{
    height: 4em;    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 3em;
    font-weight: bolder;
    letter-spacing: 5px;
    background-image: linear-gradient(
            rgba(0,0,0,.5),
            rgba(0,0,0,.5)
        ),
        url("/images/bg-page-banner.webp");
    background-position: center, center;
    background-size: 100% 100%, cover;
}

/* ends banner for all pages */
body{
    background-color: #ddd;
}
img.logo{
    box-sizing: border-box;
    padding: 10px;
}
.main{
    margin:100px 0;
    padding: 10px;
    /* min-height: 50vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; */
    background-color: white;
}
/* main heading of main content */
.main .heading-box{
    display: flex;
    justify-content: center;
}
.main .heading{
    position: relative;
    display: inline-block;
    width: fit-content;
    font:bolder 1.5em sans-serif;
    text-transform: uppercase;
    margin: 40px 0;
    color: #005f72;
}
.main .underline-halfpage:after{
    position: absolute;
    right: 0;
    z-index: 1;
    content: '';
    display: block;
    height: 3px;
    width: 1500px;
    background-color:cadetblue;
}
.main .box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.main .text-box .text{
    padding:20px;
    line-height: 1.5em;
    text-align: justify;
}


.home{
    margin-bottom: 250px;
}
.home .heading2{
    font-size: 1.3em;
    margin:30px 0;
    color: darkcyan;
    text-align: center;
}

.home .img-box{
    position: relative;
    padding-top: 50%;
    margin: 0;
    width: 100%;
    height: 0;
}
.home .img-box img{
    display: block;
    position: absolute;
    top:0;
    right: 0;
    left: 0;
    /* bottom: 0; */
    transform: rotate(90deg);
    height: 170%;
    margin: auto;
}

.about-us .text-box{
    max-width:600px;
    display: flex;
    flex-direction: column;
    justify-content:space-between
}
.about-us .figure-box{
    flex-basis: 300px;
    max-width: 600px;
    min-width: 300px;
    flex: 1;
}

.aims-objects .list{
    padding: 5%;
    box-sizing: border-box;
    list-style-type: none;
}
.aims-objects .list .item{
    --bar-width:10px;
    margin-top: 40px;
    line-height: 1.8em;
    display: block;
    position: relative;
    padding: 10px;
    border-left: 5px solid #005f72 ;
}
.aims-objects .figure-box{
    display: none;
}


.our-team .box{
    padding-top:20px;
}
.our-team .members-showcase{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.our-team .member{
    position: relative;
    margin:20px;
    width: 300px;
    height: 400px;
    overflow: hidden;
    box-sizing: border-box;
}
.our-team .member .photo{
    display: block;
    width: 300px;
}
.our-team .members-showcase .text{
    background-color: rgba(0,0,0,.5);
    padding: 10px;
    position: absolute;
    bottom:0;
    left: 0;
    right: 0;
}
.our-team .members-showcase .text>*{
    display: block;
    color:white;
    text-align: center;
    font: 1.5em/1.5em "arial narrow" ;
}


.activities-showcase{
    flex:1;
}
.activity-box:not(:last-of-type){
    border-bottom: 1px solid #3a6935;
    display: block;
}
.activity{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 50px 0;
}
.activities .activity .text{
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.activities .activity .text .date{
    font-size: 1em;
    padding-bottom: 20px;    
}
.activities .activity .text .name{
    font-size: 1.5em;
    line-height: 1.5em;
}
.activities .activity .text .description{
    padding-top: 20px;
    width: 100%;
}
.activities .activity .img-box{
    margin: auto;
    max-width: 300px;
    padding: 20px;
}
.activities .activity .img-box .image{
    width: 100%;
}


.contact-us .text-box{
    box-sizing: border-box;
    flex:0 0 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 50px;
}
.contact-us .form-box{
    flex:1 1 auto;
    margin: 50px;
}
.contact-us .form .text{
    font-size: 1.2em;
}
.contact-us .text-field{
    display: flex;
    margin: 30px 0;
}
.contact-us .text-field .contact-heading{
    font-size: 1.1em;
    line-height: 1.5em;
}
.contact-us .text-field .contact-text{
    font-size: 1.2em;
    line-height: 1.5em;
}
.contact-us .icon-box{
    padding:0 10px;
}
.contact-us .icon-box .icon{
    height: 40px;
}
.contact-us .map{
    height: 500px;
    margin:0 -10px -10px;
}


.login{
    padding: 40px;
}

.login .form-row:not(:last-child){
    flex-direction: row;
    margin-top:20px;
}
.login .form-row:not(:last-of-type){
    border: 1px solid grey ;
}
.login .form .form-logo{
    justify-content: center;
    border:none;
}
.login .form .logo{
    height: 200px;
}
.login .form-row .icon{
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid grey;
    padding: 10px;
}
.login .form-row .icon svg{
    width: 20px;
}
.login .icon+input{
    border:none;
    outline: none;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}


.donate .tab-buttons-container .tab-button{
    display: inline-block;
    padding: 15px 30px;
    background-color: #19a6b0;
    border:2px solid #19a6b0;
    cursor: pointer;
}
.donate .tab-buttons-container .tab-button.selected{
    position: relative;
    color: #19a6b0;
    background-color: white;
}
.donate .tab-buttons-container .tab-button .text{
    position: relative;
    color: white;
}
.donate .tab-buttons-container .tab-button.selected .text{
    position: relative;
    color:#19a6b0;
}
.donate .tab-buttons-container .tab-button.selected .text::after{
    content: '';
    position: absolute;
    width: 100%;
    bottom: -4px;
    display: block;
    border-bottom:2px solid #19a6b0;

}
.donate .tab-buttons-container .tab-button.selected:after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    display: block;
    border:3px solid white;

}
.donate .tab{
    padding: 15px;
    border:2px solid #19a6b0
}
.donate .tab .paragraph{
    margin-top: 20px;
}
.donate .subheading{
    text-align: center;
    width: 100%;
    font-size: 1.3em;
    margin-bottom: 20px;
}
.donate dl{
    display: flex;
    flex-wrap: wrap;
    max-width: 500px ;
    margin: auto;
}
.donate dt{
    line-height: 2em;;
    flex-basis: 40%;
}
.donate dd{
    flex-basis: 60%;
    text-align: right;
}
.donate dd::before{
    content: ': ';
}


.checkout .details{
    margin:50px;
    display: grid;
    grid-auto-rows: 80px;
}
.checkout .details .record{
    padding:0 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.checkout .details .record:not(:last-child){
    border-bottom: 1px solid lightgray;
}
.checkout .details .record :first-child{
    text-transform: capitalize;
}
.checkout .button-box{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 50px;
}


.policy .text-box{
    padding: 50px;    
}
.policy .text-box .text:not(:first-of-type){
    padding-top: 30px;
    padding-bottom:0;
    line-height: 2em;
}
.policy .text-box .list{
    margin-left: 50px;
    line-height: 2em;
}


.join-us{
    background-image: 
        linear-gradient(
            to left,
            rgba(0,80,255,.8),
            rgba(0,80,255,.8)
            ), 
        url('/images/join.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px 0;
    
}
.join-us .heading, .join-us .text{
    color:white;
    font-size: 3em;
    line-height: 1.5em;;
    text-align: center;
}
.join-us .text{
    font-size: 2em;
    margin-bottom: 80px;
}
.join-us .button{    
    font-size:26px;
    letter-spacing: 1.5px;
    padding: 15px 50px;
    text-transform: capitalize;
    border:2px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
}
.join-us .button:hover{ 
    background-color: #ec0867;
}


@media screen and (max-width:300px) {
    /* css reset */
    *{
        font-size:10px;
    }
    .login{
        padding: 10px;
    }
}
@media screen and (min-width:640px) {
    /* css reset */
    .main .heading{
        font-size:1.9em;
    }
    .login{
        margin:100px auto;
        max-width: 500px;
    }
}
@media screen and (min-width:768px) {
    /* css reset */
    *{
        font-size:14px;
    }
    .main{
        margin:100px 10px;
    }
    .login{
        margin:100px auto;
        max-width: 500px;
    }
    .home{
        margin-bottom: 400px;
    }
}
@media screen and (min-width:1024px) {
    /* css reset */
    *{
        font-size:15px;
        font-weight: 500;
        letter-spacing: .01em;
    }
    .main{
        margin:100px 50px;
    }
    
    .login{
        margin:100px auto;
    }
    .home{
        background-image: linear-gradient(
            90deg, 
            white 0%, 
            white 85%, 
            #ddd 85%, 
            #ddd 100%
            );
    }
    .home .box{
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .home .img-box{
        position: relative;
        padding-top:0 ;
        margin: 0;
        width: auto;
        height: auto;
    }
    .home .img-box img{
        display: block;
        position:relative;
        top:50%;
        right: 0;
        left: 0;
        bottom: 0;
        transform: rotate(0deg) translateY(-50%);
        height: 400px;
        margin: auto;
    }
    
}
@media screen and (min-width:1280px) {
    /* css reset */
    *{
        font-size:16px;
    }
    .main{
        max-width: 1100px;
        margin:100px auto;
    }
    
    .login{
        max-width: 500px;
    }
    .aims-objects .list{
        width: 800px;
    }
    .aims-objects .figure-box{
        position: relative;
        flex:1;
        overflow: hidden;
        display: flex;
        justify-content: center;
        padding: 100px 0;
    }
    .aims-objects .figure-box .img{    
        position:absolute;    
        max-height: calc(100vh - 100px);
    }
}
@media screen and (min-width:1536px) {
    /* css reset */
    *{
        font-size:18px;
        font-weight: 100;
    }
    .page-banner h1{
        aspect-ratio: 1920/301;
        height: auto;
        font-size: 3.5em;
    }
    .main{
        max-width: 1300px;
        margin:100px auto;
    }
    .login{
        max-width: 500px;
    }
    .activity{
        flex-direction: row;
    }
    .activities .activity .text{
        flex:2;
        display: grid;
        grid-template-columns: 300px auto;
        align-content: center;
    }
    .activities .activity .text .date{
        font-size: .8em;
        line-height: 2em;
    }
    .activities .activity .text .name{
        text-align: center;
        font-size: 1em;
    }
    .activities .activity .text .description{
        padding-top: 0;
        display: inline;
        grid-column-start:1;
        grid-column-end: 3;
    }

}


/* for js */
.hide{display: none;}
