@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}


.img-thumbnail 
{
    max-width: 150px;
    height: auto;

}
/*
    Formatting header
*/
header {
    font-family: 'Crimson Text', serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:"wdth 100";
    font-size:17px;
   
}

.navbar-brand 
{
    font-size: 20px;
    
    
}

.nav-item .nav-link,
.nav-item .nav-link::after,
.nav-item .nav-link::before {
    transition: all .5s;
}

 .nav-item .nav-link:hover {
        color: #ff0000;
    }

/* stroke */
.nav-item .nav-link,
.nav-item .nav-link {
    position: relative;
}

.nav-item .nav-link:after,
.nav-item .nav-link:after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0%;
        content: '.';
        color: transparent;
        background: #aaa;
        height: 1px;
    }

.nav-item .nav-link:hover:after {
        width: 100%;
 }

.nav-item .nav-link {
    transition: all 2s;
}

.nav-item .nav-link:after {
        text-align: left;
        content: '.';
        margin: 0;
        opacity: 0;
    }

.nav-item .nav-link:hover {
        color: #fff;
        z-index: 1;
    }
.nav-item .nav-link:hover:after {
            z-index: -10;
            animation: fill 1s forwards;
            -webkit-animation: fill 1s forwards;
            -moz-animation: fill 1s forwards;
            opacity: 1;
        }



/*Formatting Carousel*/
/* CSS to make transitions smoother for the carousel */
.carousel-item {
    transition: transform 0.5s ease-in-out; 
}

.carousel-control-prev,
.carousel-control-next {
    cursor: pointer;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    transition: opacity 0.5s ease-in-out; 
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev {
    left: 0;
}


.carousel-control-next {
    right: 0;
}

/* Optional: Add some padding to the carousel for better display */
.carousel-inner {
    padding: 20px;
}

.carousel-inner {
    max-height: 500px; 
}

.carousel-item img {
    max-height: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}


/*  Formatting Home Page*/
.home {
    
    font-family: "Merriweather", serif;
}
.home h1
{
    padding-top: 2%;
    font-size: 40px;
    text-align: center;
    font-weight: 800;
    font-family: 'Sitka Heading';
}
.homeone {
    padding-top: 8%;
}

.hometwo {
    padding-right: 5%;
}


.homethree
{
    padding-top: 1%;
    
}

.hometwo,.homethree 
{
    font-size: 22px;
}

.homeone img {
    width: 90%;

}

.homepagetwo h2 {
    font-weight: 600;
    font-family: 'Sitka Heading';
}


.homepageone,.homepagetwo
{
    display: grid;
    grid-template-columns: 35% 58%;
    grid-template-rows: auto;


}
.homepagetwo {
    display: grid;
    grid-template-columns: 58% 40%;
    grid-template-rows: auto;
   
}
.homefour 
{
    padding-top: 12%;

}
.homefour img {
    padding-left: 4%;
    width: 80%;
    height: auto;
  
}

.donatebutton {
    color: black;
    font-weight: 600;
    border: 2px solid black;
    border-radius: 20px;
    padding: 10px 14px;
    display: inline-block;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 darkgreen;
    -webkit-transition: ease-out 0.6s;
    -moz-transition: ease-out 0.6s;
    transition: ease-out 0.6s;
    text-decoration: none;
    font-family:'Spicy Rice', serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.donatebutton:hover {
    box-shadow: inset 400px 0 0 0 darkgreen;
    color: black;
}

.affilates h3 {
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    font-family: 'Sitka Heading';
}
.affilates div a{

    text-decoration: none;
}
.affilates div a img{

    width: 16%;
    height: auto;
    margin: 2% 4%;
    
}

.affilates div a:nth-child(1) img:nth-of-type(1) {
        width: 16%;
        height: auto;
        margin: 1% 2%;
    
        }

.affilates div a:nth-child(2) img:nth-of-type(1) {
        width: 15%;
        height: auto;
        margin: 1% 2%;
}

.affilates div a:nth-child(3) img:nth-of-type(1) {
        width: 25%;
        height: auto;
        margin: 1% 2%;
    }
.affilates div a:nth-child(4) img:nth-of-type(1) {
        width: 15%;
        height: auto;
        margin: 1% 2%;
    }

/*
    Formatting aboutus page
*/

.aboutus h1, h2, h3 {

    font-family: 'Crimson Text', serif;
}

.aboutus p, li {
    font-family: "Merriweather", serif;
}


.aboutus h1 {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    padding-top: 1%;
}

.aboutus li,p
{
    text-align:justify;
    font-size: 16px;
}
.aboutus li {
    margin: 10px;
    text-align: justify;
    
}

.aboutus h2
{
    font-size: 30px;
    font-family: cursive;
    font-weight: 600;
    padding-bottom:2%;
    text-decoration:underline;
}

/*Formatting Members in AboutUS section*/
.chairman,.vicechair,.secretary,.admin,.members{
    display: flex;
    margin: 0px;
    padding: 0px;
   
}

.chairman h3:nth-of-type(1), .secretary h3:nth-of-type(1), .admin h3:nth-of-type(1), .vicechair h3:nth-of-type(1), .secretary h3:nth-of-type(1){
    font-size: 22px;
    text-align: center;
    font-weight: 800;
    
    

}


.chairman div h3:nth-of-type(2), .vicechair h3:nth-of-type(2), .admin h3:nth-of-type(2), .secretary h3:nth-of-type(2) {
    font-family: cursive;
    text-align: center;
    text-decoration:underline;
    font-size: 18px;

}


.chairman div p, .secretary div p, .admin div p, .vicechair div p {
        font-size: 16px;
        text-align: justify;

        
 }

.chairman div img, .vicechair div img, .admin div img, .secretary div img, .members div img {
    
    border: double 10px;

}


.chairman div img {   
    height: 75%;
    width: auto;

}

.vicechair div img {
        height: 55%;
        width: auto;
        margin-left: 18%;
}

.admin div img {
        width: auto;
        height: 60%;
}

.secretary div img {
        width: 45%;
        height: auto;
        margin-left: 25%
}


.members div img {
        border: solid 2px;
        border-radius: 15px;
    }
.members div:nth-child(1) img{
    width: 42%;
    height: auto;
   
}
.members div:nth-child(2) img{
    width: 50%;
    height: auto;

}
.members div:nth-child(3) img{
    width: 52%;
    height: auto;

}.members div:nth-child(4) img{
    width: 55%;
    height: auto;

}
.members div:nth-child(5) img {
    width: 65%;
    height: auto;

}

.membersheader {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding: 1% 0%;
    text-decoration: underline;

}
    .members div h3 {

        padding-top: 2%;
        font-size: 20px;
        font-family:'Spicy Rice', serif;
    }

.members div:nth-child(4) h3{
        padding-left: 10%;
        
}

/*
    formatting Contact us page

*/

.contactpage {
  
    font-family:"Merriweather", serif;
}
    .contactpage h1 {
        padding-top: 1%;
        text-align: center;
        font-weight: 800;
        font-size: 40px;
        font-family: 'Crimson Text', serif;
    }

    .contactpage h2 {
        font-weight: 600;
        font-family: 'Crimson Text', serif;
    }
.contactpage {
    font-size: 20px;
}


.contact{

    margin-bottom: 2%
}

.contactlogo {

   padding-left: 40%;
   padding-bottom: 2%

}
.contact .contactlogo img{
    width: 50%;
    height: auto;
    border-style: solid;
    border-radius: 10px;
    border-color: black;
    border-width: 4px;
    padding-left: 5%;
    padding-bottom: 1%
}

.contactpage {
padding-bottom: 19%;

}
#flush-headingOne
{
    font-size: 26px;
}
.accordion-button 
{
    font-size: 20px;
}
.accordion-body {
background-color: deepskyblue;
font-size: 16px;
}
/*
    Formatting Activities Page
*/

.events h1 {
    text-align: center;
    padding: 1%;
    font-size: 32px;
    font-weight: 600;
}
.upcomingevents {
    margin-left: 22%;

}
.upcomingevents h2 {
        padding-left: 25%;
        font-family: "Merriweather", serif;
        font-size: 22px;
}
.upcomingevents .carousel-item img {
    height: 425px;
    object-fit: contain;
    width: 50%;
    background-color: #000;
}

/*Formatting Carousels*/
.GM .carousel-item img,.communityActivities .carousel-item img{
    height: 600px;
    object-fit: contain;
    width: 100%;
    background-color: black;
}


.GM h3, .communityActivities h3 {
    padding-left: 20%;
    font-weight: 600;
    font-family: "Merriweather", serif;
    font-size: 20px;
}



.GM, .communityActivities {
    margin-left: 22%;

}

.GM .indicators-left, .communityActivities .indicators-left {
    justify-content: flex-start;
    
}

 .communityActivities .indicators-left {
    
    padding-left: 12%;   
    
    
 }



.activityheading h1 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
}
.activityheading h2 {
    font-size: 40px;
    font-weight: 600;

}



.activity article h2 {
    text-align: center;
    font-weight: 800;
    font-size: 1px;
    padding-top: 5%;
    font-style: italic;
    color: whitesmoke;
    font-weight: 800;
    font-family: "Merriweather", serif;
    font-size: 20px;
    font-style: normal;
}

.activity article p {
    text-align: center;
    padding-top: 5%;
    color: white;
    font-family: "Merriweather", serif;
    text-align: center;
    font-size: 14px;
    margin-right: 10px;
    letter-spacing: 1px;
}

.activity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    

}

    .activity article {
        flex: 200px;
        margin: 25px;
        padding: 8px;
        border-style: solid;
        border-color: black;
        border-width: 8px;
     
    }


.activity article img {
        width: 200px;
        height: auto;
        

    }


.getinvolved p {
    font-size: 18px;
    font-weight: 300;
   
}
.getinvolved img
{
    width: 300px;
    height: auto;
}

.activityheading .upcomingevents img {
    width: 25px;
    height: 25px;


}

.activity_heading h3 {
    text-align: center;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: 34px;
}

        /*Designing each activity*/

  
        .activity article:nth-child(1){
            height: 50%;
            width: auto;

        }
        .activity article:nth-child(1) img {
                width: auto;
                height: 330px;
                margin-left: 55px;
                border: solid 5px;
                border-color: white;
         }

        .activity article:nth-child(2) {
            height: 22%;
            width: auto;
          }


        .activity article:nth-child(2) img {
            width: 270px;
            height: auto;
            margin-left: 32px;
            border: solid 5px;
            border-color: white;
            
            
        }
        .activity article:nth-child(3){
                width: auto;
                height: 60%;
                
         }


        .activity article:nth-child(3) img {
            width: 325px;
            height: auto;
            margin-left: 10px;
            border: solid 5px;
            border-color: white;
           
        }

        .activity article:nth-child(4) img {
            width: 255px;
            height: auto;
            margin-left: 35px;
            border: solid 5px;
            border-color: white;
        }

        .activity article:nth-child(5) img {
            width: 300px;
            height: auto;
            margin-left: 30px;
            border: solid 5px;
            border-color: white;
        }

        .activity article:nth-child(6){
                height: 20%;
                width: auto;

        }

        .activity article:nth-child(6) img {
            width: auto;
            height: 238px;
            margin-left: 70px;
            border: solid 5px;
            border-color: white
        }
        .activity article:nth-child(7) img {
            width: 300px;
            height: auto;
            margin-left: 15px;
            border: solid 5px;
            border-color: white
        }
        .activity article:nth-child(8) img {
            width: 185px;
            height: auto;
            margin-left: 70px;
            border: solid 5px;
            border-color: white
        }
        .activity article:nth-child(8){
            height: 50%;
            width: auto;
        }

        .activity article:nth-child(9) img {
            width: 200px;
            height: auto;
            border: solid 5px;
            border-color: white;
            margin-left: 60px;
        }



.activity article {
    transition: transform .3s ease-in-out;
    width: 500px;
    height: 500px;
    background-color: grey;
    border-radius: 15px;
    font-family: "Merriweather" , serif;
    
}

.activity article:hover {
    -ms-transform: scale(1.06);
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
    
}




/*
    Footer formatting
*/
.footer-dark {
    padding: 10px 0;
    color: whitesmoke;
    background-color: black;
}
    .footer-dark h3 {
        margin-top: 0;
        margin-bottom: 12px;
        font-weight: bold;
        font-size: 26px;
    }

    .footer-dark ul {
        padding: 0;
        list-style: none;
        line-height: 1.6;
        font-size: 20px;
        margin-bottom: 0;
       
    }
    .footer-dark h3 {
        font-family: 'Crimson Text', serif;
    }
   .footer-dark ul a {
     color: whitesmoke;
     text-decoration: none;
     font-weight: 500;
     font-family: 'Crimson Text', serif;
        
     }
    .footer-dark ul a:hover {
        opacity: 0.8;
    }
    .footer-dark .copyright {
        text-align: center;
        padding-top: 20px;
        opacity: 0.3;
        font-size: 18px;
        margin-bottom: 0;
    }
 

    @media (max-width:767px) {
        .footer-dark .item:not(.social) {
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-dark .icons 
    {
        margin-left: 40%;
    
    }
}

/*reposnsive Design*/

@media only screen and (max-width: 600px) {
    
    /*Adjusting Header/HomePage*/
    .nav-item {
    
    
        font-size: 14px;
    
    }
    .home h1 {
    
        font-size: 20px;
    
    }
    .homeone im, .homefour img{
        width: 100%;
        height: auto;

    }
    .hometwo p, .homethree p {
        font-size: 12px;
    }

    .homethree h2, .affilates h3 {
    
        font-size: 18px;
    
    }

    .donatebutton {
        border-radius: 15px;
        padding: 6px 8px;
        font-size: 12px;
        letter-spacing: 1px;
        
    }

    .row {
    
        display: flex;
        flex-direction: row;
    }


    .affilates div a img {
    
        width: 90%;
        height: auto;

    
   
    }

    .affilates div a:nth-child(3) img:nth-of-type(1) {
        width: 30%;
        height: auto;
        margin: 1% 2%;
    }



    /*Adjusting Footer*/
     footer .row h3 {
        font-size: 16px;
    
     }
    footer ul li {
    
        font-size: 12px;
    
    }
    .footer-dark .icons p{
        font-size: 11px;
        margin-right: 25%;
        
    }
  
    /*Formatting Activities Page*/
    .events h1 {
        font-size: 26px;
        padding-left: 12%;
    }

    .events h2 {
        font-size: 22px;
        padding-left: 18%;
    }

    .GM h3, .communityActivities h3 {
       font-size: 18px;
       padding-left: 1%;
    
    }

    .GM .indicators-left{

     padding-right: 25%;
        
    }

    .communityActivities .indicators-left {
    
      padding-right: 30%;
    
    }

    .activity_heading h3 {
    
        font-size: 26px;
    
    
    }

    .activity article h2 {
        font-size: 16px;
    }

    .activity article p {

        font-size: 12px;
   
    }



    .activity article:nth-child(1), .activity article:nth-child(2), .activity article:nth-child(3), .activity article:nth-child(4), .activity article:nth-child(5), .activity article:nth-child(6), .activity article:nth-child(7), .activity article:nth-child(8), .activity article:nth-child(9) 
    {
        width: auto;
        height: 40%;
    }

        .activity article:nth-child(1) img {
            width: auto;
            height: 300px;
            margin-left: 110px;
        }

        .activity article:nth-child(2) img {
            width: 250px;
            height: auto;
            margin-left: 100px;
            
        }

        .activity article:nth-child(3) img {
            width: 300px;
            height: auto;
            margin-left: 85px;
            
        }

        .activity article:nth-child(4) img {
            width: 300px;
            height: auto;
            margin-left: 80px;
        
        }

        .activity article:nth-child(5) img {
            width: 300px;
            height: auto;
            margin-left: 80px;
         
        }

        .activity article:nth-child(6) img {
            width: auto;
            height: 340px;
            margin-left: 90px;
           
        }

        .activity article:nth-child(7) img {
            width: 325px;
            height: auto;
            margin-left: 60px;
            
        }

        .activity article:nth-child(8) img {
            width: 275px;
            height: auto;
            margin-left: 80px;
        
        }

        .activity article:nth-child(9) img {
            width: 250px;
            height: auto;
            margin-left: 95px;
        }










}


