body{
    background-color: #f6f4f1;
    opacity: 0;                            /* Used AI to generate emerge slowly*/
    animation: fadeIn 1s ease forwards;
}

*{
    font-family: "Elms Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


@keyframes fadeIn {
    from {
        opacity: 0;             /* Used AI to generate emerge slowly*/
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 640px){
    .home-btn{
        flex-direction: column;       /*Used the method of work shop -- When using on the phone*/
        gap: 20px;
    }
}


/* Drop down ⬇️ */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f7f2;
    list-style: none;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown items */
.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
  color: black;
  font-size: 16px;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}

/* drop down ⬆️*/





/* Navigation */
.navigation{
    list-style: none;  /* No bullit points */
    display: flex;
    gap: 1.5cm;
    margin-right: 50px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.navigation a{
    text-decoration: none;
    color: rgb(86, 86, 86);
}

.navigation a:hover{
    text-decoration: underline;
}

.navigation li{
    position: relative;
}

.header{
    display: flex;
    justify-content: space-between;  /* Align the left and right */
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);  /* Shadow is generated by AI*/
}





/* Home Page */
#main-home img{
    max-width: 1430px;
    height: auto
}

.logo img{
    width: 150px;
    height: auto;
    padding: 10px;
    margin-left:30px ;
}

.home-text{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);  /* in the middle */
    color: white;
    width: 2000px;
    text-align: center;
}

.home-text h2{
    font-size: 70px;
    font-weight: 900;
    color: rgb(143, 183, 23);
    font-weight: 800;
    transform: scaleY(1.5);
}

.home-text p{
    font-size: 25px;
}

.home-btn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 100px;
}

.home-btn1{
    display: flex;
    width: 300px;
    height: 80px;
    background-color:rgba(255, 255, 255, 0.85);  
    justify-content: center;
    align-items: center;       /* In the middle of the rectengle*/
    border-radius: 8px;
    margin-top: -700px;
    margin-left: 100px;
}

.home-btn2{
    display: flex;
    width: 300px;
    height: 80px;
    background-color:rgba(255, 255, 255, 0.85);  
    justify-content: center;
    align-items: center;       /* In the middle of the rectengle*/
    border-radius: 8px;
    margin-top: -700px;
    margin-right: 100px;
}

.home-btn a{
    font-size: 25px;
    font-weight: bold;
    color: #366500;
    text-decoration: none;
}

.home-btn a:hover{
    color: #83ba44;
}


/* About us page */

#meetourteam h3{
    font-weight: 800;
    color:#8fb717 ;
    font-size: 30px;
}

#meetourteam h4{
    font-weight: 800;
    font-size: 20px;
}

#meetourteam p{
    gap: 0;
    font-size: 18px;
}

.team-image {
    width: 250px;       
    height: 250px;         
    object-fit: cover;     /* cut off the excess parts */
    border-radius: 8px;  
}

.team-member{
    display: grid;         
    gap: 3cm;    
    margin-top: 50px;   
    grid-template-columns: 1fr;
}

@media screen and (min-width: 640px) {
    .team-member {
        grid-template-columns: repeat(2, 1fr);
    }
}


.meetourteam {
    flex: 1;             /* same space */ /* Used AI to fix the location*/
}

#meetourteam{
    padding: 20px;
    margin-top: 20px;
}

.team-content{
    padding: 20px;
    margin-top: 20px;
}

.about-text{
    padding: 20px;
    margin-top: 20px;
}

.about-video{
    padding: 20px;
    margin-top: 20px;
}

#board{
    margin-top: 40px;
    padding: 20px;
}

.board{
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    justify-content: center;
    padding-top: 2cm;
}

@media screen and (min-width: 640px) {
    .board {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media screen and (min-width: 960px) {
    .board {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

.board-members img{
    width: 220px;
    height: 220px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

#board h3{
    font-size: 30px;
}

iframe{
    width: 1000px;
    height: 600px;         /* Video */
}





/* ambassadors page */

#ambassadors{
    padding: 20px;
    margin-top: 20px;
}

#ambassadors h3{
    color:#8fb717 ;
    font-size: 30px;
}

#ambassadors h4{
    font-size: 20px;
}

#ambassador p{
    font-size: 18px;
}

.ambassadors-box{
    display: grid;         
    gap:250px;    
    margin-top: 50px;  
    grid-template-columns: 1fr;
}

@media screen and (min-width: 640px) {
    .ambassadors-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.ambassadors img{
    width: 250px;       
    height: 250px;         
    object-fit: cover;     /* cut off the excess parts */
    border-radius: 8px; 
}





/* Volunteer page */
.involved-main{
    padding: 30px;
}

.involved-main h2{
    color:rgb(143, 183, 23) ;
    font-size: 35px;
}

.involved-main h4{
    font-size: 25px;
}

.involved-main p{
    font-size: 20px
}

.involved-content{
    margin-top: 2cm;
}

.involved-img{
    width: 800px;
    height: auto;
    margin: 30px;
}

.sponsorship{
    font-size: 15px;
    color: rgb(165, 162, 162);
    gap: 100px;
}

.involved-button {
    display: inline-block;
    background-color: #8BC34A; 
    padding: 12px 25px;
    border-radius: 6px;
    margin-top: 20px;
    margin-left: 40%;
}

.involved-button a{
    color: white; 
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
}

.involved-button:hover {
    background-color: #689F38;
}


/* register- volunteer page */

#register-volunteer{
    padding: 30px;
}

#register-volunteer h2{
    color:#8fb717 ;
    font-size: 35px;
}

#register-volunteer h4{
    font-size: 23px;
}

#register-volunteer p{
    font-size: 18px;
    color: grey;
}

.register-main{
    margin-top: 2cm;
}

.register-form h1{
    color:rgb(143, 183, 23) ;
    margin-left: 40%;
    padding-top: 2cm;
}

.register-form{
    padding: 20px;
    margin-bottom: 20px;
    font-size: 18px;
}

fieldset {
    border: 1px solid #cacaca;
    padding: 20px;
    margin-bottom: 20px;
    width: 50%;
    margin: 40px auto;
}


label {
    display: block;
    margin-top: 10px;
}


.btn{
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #8BC34A;
    color: white;
    font-size: 20px;
    border: none;
}

.btn:hover{
    background-color: #57842f;
}


/* Fundraise page*/

#fundraise h2{
    color:#8fb717 ;
    font-size: 35px;
    margin-bottom: 5px;
}

.fundraise-gray {
    color: rgb(163, 162, 162);
    margin-top: 0;   
}

#fundraise{
    padding: 30px;
    margin-left: 10px;
}

.fundraise-main h4{
    font-size: 20px;
}

.fundraise-main p{
    font-size: 18px;
}

.fundraise-main{
    margin-top: 2cm;
}

fieldset {
    border: 2px solid #ccc;
    padding: 20px;
}

.fundraise-form{
    width: 50%;
    margin: 40px auto;
    margin-top: 3cm;
    
}

.fundraise-form p{
    font-size: 30px;
    color: #8fb717;
    font-weight: 600;
}

.fundraise-content{ 
    margin-top: 2cm;
}

.fundraise-group{
    background-color: #dadada;
    padding: 15px;
    margin-bottom: 10px;
}

.fundraise-group label {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.fundraise-group input{
    width: 95%;
    
}

.fundraise-other{
    font-size: 17px;
    background-color: #e1f8cd;
    border: 1px solid #cacaca;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fundraise-other-text{
    margin-top: 50px;
}

.fundraise-other-text1{
    font-weight: bold;
}
    

/* Donate page */
#donate h2{
    color:#8fb717 ;
    font-size: 35px;
    margin-bottom: 5px;
}

#donate h4{
    margin-top: 0; 
}

#donate{
    padding: 30px;
}

.donate-text1{
    color: grey;
    font-size: 15px;
}

.donate-text h4{
    font-size: 20px;
}

.donate-text p{
    font-size: 18px;
}

.donate-text{
    margin-top:50px;
}

.donate-form-group {
  display: flex;
  gap: 16px;         
  align-items: center;
}

#donate-form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
    padding-left: 10px;
    font-size: 18px;
    margin-top: 30px;
}

#donate-form h4{
    font-size: 18px;
}

.donate-form1{
    width: 90%;
    height: auto;
    background-color: #f4faec;
    border: 3px solid #8BC34A;
    border-radius: 15px;
    padding: 20px;
}

.donate-form1 h3{
    font-size: 30px;
    color: #8BC34A;
    margin-top: 10px;
    font-weight: 800;
}

#donate-gift{
    padding: 30px;
    width: 90%;

}

#donate-gift h4{
    font-size: 30px;
    color: #8BC34A;
}

#donate-gift p{
    font-size: 18px;
}


/* Become a sponsor page */

.sponsor-main h2{
    color:#8fb717 ;
    font-size: 35px;
    margin-bottom: 5px;
}

#sponsor h4{
    font-size: 20px;
}

.sponsor-main p{
    font-size: 18px;
    margin-top: 0;
}

#sponsor{
    padding: 20px;
    max-width: 1500px;     /* Used AI to help me adjust the space*/
}

.sponsor-text{
    margin-top: 50px;
}

.sponsor-text1{
    color: gray;
}

.sponsor-box{
    width: 95%;
    height: auto;
    background-color: #e8e9e7;
    border: 1px solid #949494;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.sponsor-container{
    display:flex;     
    flex-direction: column;   
    gap: 40px;
    padding-top: 2cm;   
    align-items: center; 
}

.sponsor-btn:hover{
    background-color: #3e3e3e;
}

.sponsor-container img{
    width: 300px;
    height: auto;
}

.sponsor-boxtext{     
    margin-left: 90px;
}

.sponsor-btn{
    width: 90px;
    height: 40px;
    font-size: 18px;
    background-color: #626262;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    margin-left: 40%;
}




/* Our sponsor page */

.oursponsor-box{
    width: 90%;
    height:auto;
    margin-top: 30px;
    border: 1px solid #949494;
    border-radius: 8px;
    padding: 15px;
    background-color: #e1f8cd;
}

.oursponsor-box1{
    width: 90%;
    height: 450px;
    margin-top: 30px;
    border: 1px solid #949494;
    border-radius: 8px;
    padding: 15px;
    background-color: #e1f8cd;
}

.oursponsor-box2{
    width: 90%;
    height: 600px;
    margin-top: 30px;
    border: 1px solid #949494;
    border-radius: 8px;
    padding: 15px;
    background-color: #e1f8cd;
}

#our-sponsors h4{
    font-size: 20px;
    color: #3d415a;
}

#our-sponsors h3{
    font-size: 25px;
    color: #8BC34A;
}

#our-sponsors{
    padding: 30px;
}

#our-sponsors h2{
    font-size: 35px;
    color: #8BC34A;
    margin-bottom: 5px;
}

#our-sponsors h5{
    font-size: 18px;
    color: #949494;
    margin-top: 0;
    font-weight: 400;
}

.oursponsor-container{
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media screen and (min-width: 640px) {
    .oursponsor-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 960px) {
    .oursponsor-container {
        grid-template-columns: repeat(3, 1fr);
    }
}




/* Upcoming events page */

#popup{
    position: fixed;
    width: 100%;
    margin-top: 3cm;
    height: auto;
    display: flex;
    justify-content: center;
}

.popup-box h4{
    font-size: 25px;
    color: rgb(182, 5, 5);
}

.popup-box p{
    font-size: 19px;
}

.popup-box{
    background: #e1f7de;
    padding: 20px;
    border: 2px solid rgb(172, 171, 171);
}




/* Our project page */


#mobile-kitchen img{
    width: 100%;
    height: 500px;
    object-fit: cover;        /* cut off the excess parts */
}

#mobile-kitchen h2{
    font-size: 35px;
    color: #8BC34A;
}

#mobile-kitchen{
    padding: 30px;
}

.kitchen-text{
    position: relative;
    font-size: 20px;
    color: #75a63c;
    font-weight: bold;
    width: 950px;
    height: auto;
    background-color:rgba(255, 255, 255, 0.85);
    margin-top: -130px;
    margin-left:10px;
    padding: 3px;
    border-radius: 15px;
}

.kitchen-note p{
    font-size: 20px;
    color: #ae0101;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.kitchen-note h4{
    font-size: 22px;
    font-weight: bold;
    color: #ae0101;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.kitchen-note{
    margin-top: 2cm;
}

.kitchen-text1 p{
    font-size: 20px;
    margin-bottom: 40px;
}

.kitchen-text1{
    margin-top: 2cm;
}



/* Intouch charity section*/

#community img{
    width: 300px;
    height: auto;
    margin-left: 1000px;
}

#community{
    padding: 30px;
}

#community h2{
    font-size: 35px;
    color: #ff7d27;
}

.community-top{
    width: 70%;
    height: auto;
    margin-top: -140px;
}

.community-top p{
    font-size: 20px;
}

.community-content{
    margin-top: 2cm;
}

.community-content p{
    font-size: 18px;
}

.community-content h3{
    font-size: 22px;
    color: #ff7d27;
}

.community-content h4{
    color: #707070;
}

.community-content1{
    margin-top: 15px;
    color: #767474;
    font-size: 18px;
}

.community-content2 {
    width: 95%;
    height: auto;
    border: 1px solid #ff7d27;
    border-radius: 8px;
    padding: 10px;
    font-size: 18px;
}

.skip-btn{
    display: inline-block;
    background-color: #d9d7d7;
    border-radius: 8px;
    border: 1px solid #424141;
    text-decoration: none;
    font-weight: bold;
    padding: 2px;
    margin: 10px;
}

.skip-btn:hover{
    background-color: #e6f9cf;
}



/* Contact page */

#contact h2{
    font-size: 35px;
    color: #8BC34A;
}

#contact{
    padding: 30px;
}

.contact-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 2cm;
    margin-left: 100px;
}

.contact-topleft a img{
    width: 500px;
    height: auto;
    border: 2px solid #8BC34A;
    border-radius: 10px;
}

.contact-topleft1{
    font-size: 22px;
    font-weight: 500;
}

.contact-topright{
    font-size: 22px;
    font-weight: 500;
}

.contact-topright p{
    margin-top: 60px;
}

.contact-topright a{
    font-size: 50px;
    text-decoration: none;
    color: #8BC34A;
}

.contact-topright a:hover{
    color: #588530;
}

.contact-form{
    margin-top: 2cm;
}

.contact-form h4{
    font-size: 25px;
    color: #8BC34A;
    margin-bottom: 5px;
}

.contact-form p{
    font-size: 18px;
    color: #5b5b5b;
    margin-top: 0;
}

#contact-message{
    width: 100%;
    height: 100px;
    margin-top: 5px;
}

fieldset{
    font-size: 19px;
    font-weight: 400;
}




/* Footer */

#footer{
    background-color: #aeadad;
    color: #f6f4f1;
    padding: 15px;
    font-size: 18px;
    display: flex;
    gap:2cm;
    justify-content: center;
    margin-top: 50px;
}

#footer > div{                      /* span is not correct, so use div*/
    position: relative;
    padding:20px;
    text-align: center;
}

/* Used AI to help me the lines in footer*/
#footer > div:not(:last-child)::after{
    content: "";
    position: absolute;
    right: 0;                             /* The string between text */
    top: 35%;
    bottom: 0;
    height: 120px;
    width: 1px;
    background: #f6f4f1;
    margin-right: -35px;
}

.footer-sm a{
    font-size: 40px;
    text-decoration: none;
    color: #f6f4f1;
}

.footer-sm-inner{
    margin-top: 1cm;
}

.footer-copyright{
    margin-top: 2cm;
}