@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: 44px;
    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: 8px;
    border-style: groove;
    border-color: black;

}


.chairman div img {   
    height: 75%;
    width: auto;

}

.vicechair div:nth-child(2){
    width: auto;
    height: 240px;
 

}

.vicechair{
    padding-bottom: 6%;
}

.vicechair div:nth-child(2) img {
        height: 100%;
        width: auto;
        margin-left: 5%;
}
.admin{
    padding-bottom: 6%;
}

.admin div:nth-child(1) {
    width: auto;
    height: 250px;
    padding-right: 1%;

}

.admin div:nth-child(1) img {
        width: auto;
        height: 100%;      
        
}

.admin div h3:nth-of-type(2){
    white-space: nowrap;
}

.secretary div img {
        width: 45%;
        height: auto;
        margin-left: 25%
}


.members div img {
        border: groove 5px;
        border-color: grey;
        
    }
.members div:nth-child(1) img{
    width: 45%;
    height: auto;
    aspect-ratio: 1/1.5;
    object-fit: cover;
   
}
.members div:nth-child(2) img{
    width: 55%;
    height: auto;

}
.members div:nth-child(3) img{
    width: 55%;
    height: auto;

}.members div:nth-child(4) img{
    width: 60%;
    height: auto;

}
.members div:nth-child(5) img {
    width: 73%;
    height: auto;

}

.membersheader h3 {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    padding: 1% 0%;
    text-decoration: underline;

}
.members div h3 {
    padding-top: 2%;
    font-size: 18px;
    font-family: "Merriweather", serif;
    font-weight: 600;
}

.members div:nth-child(1) h3 {
    padding-left: 0.5%;
}

.members div:nth-child(2) h3 {
    padding-top: 2%;
}

.members div:nth-child(3) h3 {
    padding-top: 2%;
}

.members div:nth-child(4) h3{
        padding-left: 8%;
        
}

.members div:nth-child(5) h3 {
    padding-top: 4%;
}

/*
    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: 70%;
    height: auto;
    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;
                border: solid 5px;
                border-color: white;
                align-content: center;
                display: block;
                margin: auto;
               
                
            }

        .activity article:nth-child(2) {
            height: 22%;
            width: auto;
          }


            .activity article:nth-child(2) img {
                width: 270px;
                height: auto;
                border: solid 5px;
                border-color: white;
                display: block;
                margin: auto;
            }
        .activity article:nth-child(3){
                width: auto;
                height: 60%;
                
         }


            .activity article:nth-child(3) img {
                width: 325px;
                height: auto;
                display: block;
                margin: auto;
                border: solid 5px;
                border-color: white;
            }

        .activity article:nth-child(4) img {
            width: auto;
            height: 300px;
            display: block;
            margin: auto;
            border: solid 5px;
            border-color: white;
        }

        .activity article:nth-child(5) img {
            width: 300px;
            height: auto;
            display: block;
            margin: auto;
            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;
            display: block;
            margin: auto;
            border: solid 5px;
            border-color: white
        }
        .activity article:nth-child(7) img {
            width: 300px;
            height: auto;
            display: block;
            margin: auto;
            border: solid 5px;
            border-color: white
        }
        .activity article:nth-child(8) img {
            width: 185px;
            height: auto;
            display: block;
            margin: auto;
            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;
            display: block;
            margin: auto;
        }



.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%;
    
    }
}

/*Reponsive Design*/

/*Max-Width: 700px*/
@media only screen and (max-width: 700px) {

    .home h1 {
        font-size: 26px;
        white-space: nowrap;
    }
    .homeone img{
        width: 80%;
        height: auto;
        padding-bottom: 3%;

    }
    .homepageone{
        display:flex;
        flex-direction: column;
        margin: 0px;
        padding: 0px;


    }

    .homepagetwo {
        display: flex;
        flex-direction: column;
        margin: 0px;
        padding: 0px;
    }
    
    .homefour img{
        width: 70%;
        height: auto;
    }
    .home p{
        font-size: 14px;
    }

    .donatebutton {
        border-radius: 15px;
        padding: 12px 14px;
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .homefour img {
    
        width: 60%;
        height: auto;
    
    }
    .affilates h3{
        font-size: 28px;
    }

    .affilates div a:nth-child(1) img:nth-of-type(1) {
        width: 18%;
        height: auto;
        
    }

    .affilates div a:nth-child(2) img:nth-of-type(1) {
        width: 18%;
        height: auto;
     
    }

    .affilates div a:nth-child(3) img:nth-of-type(1) {
        width: 28%;
        height: auto;
        
    }

    .affilates div a:nth-child(4) img:nth-of-type(1) {
        width: 16%;
        height: auto;
        
    }

    footer ul li {
        font-size: 15px;
    }
    .footer-dark .row h3 {
    
        font-size: 20px;
    }

    .footer-dark .icons p {
        font-size: 11px;
        text-align: left;
        text-decoration: none;
        margin: 0px;
        white-space: nowrap;
    }


    /*Formatting Activities Page*/
    .events h1 {
        font-size: 25px;
        padding-left: 12%;
    }

    .events h2 {
        font-size: 20px;
        padding-left: 20%;
    }

    .GM h3, .communityActivities h3 {
        font-size: 18px;
        padding-left: 1%;
    }

    .activity article h2 {
        font-size: 14px;
    }

    .activity article p {
        font-size: 10px;
    }

    .activity article:nth-child(1) img {
        width: auto;
        height: 300px;
    }

    .activity article:nth-child(2) img {
        width: 250px;
        height: auto;
    }

    .activity article:nth-child(3) img {
        width: 300px;
        height: auto;
    }

    .activity article:nth-child(4) img {
        width: auto;
        height: 300px;
    }

    .activity article:nth-child(5) img {
        width: 300px;
        height: auto;
    }

    .activity article:nth-child(6) img {
        width: auto;
        height: 340px;
    }

    .activity article:nth-child(7) img {
        width: 325px;
        height: auto;
    }

    .activity article:nth-child(8) img {
        width: 275px;
        height: auto;
    }

    .activity article:nth-child(9) img {
        width: 250px;
        height: auto;
    }
}


/*Max-Width: 650px*/
@media only screen and (max-width: 650px) {
    .events h1 {
        font-size: 24px;
        padding-left: 12%;
    }

    .events h2 {
        font-size: 20px;
        padding-left: 20%;
    }

    .GM h3, .communityActivities h3 {
        font-size: 18px;
        padding-left: 1%;
    }

    .activity article h2 {
        font-size: 14px;
    }

    .activity article p {
        font-size: 10px;
    }

    .activity article:nth-child(1) img {
        width: auto;
        height: 300px;
    }

    .activity article:nth-child(2) img {
        width: 250px;
        height: auto;
    }

    .activity article:nth-child(3) img {
        width: 300px;
        height: auto;
    }

    .activity article:nth-child(4) img {
        width: auto;
        height: 300px;
    }

    .activity article:nth-child(5) img {
        width: 300px;
        height: auto;
    }

    .activity article:nth-child(6) img {
        width: auto;
        height: 340px;
    }

    .activity article:nth-child(7) img {
        width: 325px;
        height: auto;
    }

    .activity article:nth-child(8) img {
        width: 275px;
        height: auto;
    }

    .activity article:nth-child(9) img {
        width: 250px;
        height: auto;
    }

}

    /*Max-Width: 600px*/
    @media only screen and (max-width: 600px) {

        /*Adjusting Header/HomePage*/
        .nav-item {
            font-size: 14px;
        }
        /*Formatting HomePage*/
        .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;
            text-align: left;
            text-decoration: none;
            padding-right: 25%;
            margin: 0px;
        }

        /*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;
        }


        .upcomingevents .carousel-item img {
            height: 350px;
            object-fit: contain;
            width: 50%;
        }

        /*Formatting Carousels*/
        .GM .carousel-item img, .communityActivities .carousel-item img {
            height: 350px;
            object-fit: contain;
            width: 100%;
        }


        .activity article:nth-child(1) img {
            width: auto;
            height: 300px;
           
        }

        .activity article:nth-child(2) img {
            width: 250px;
            height: auto;
        }

        .activity article:nth-child(3) img {
            width: 300px;
            height: auto;
        }

        .activity article:nth-child(4) img {
            width: auto;
            height: 300px;
        }

        .activity article:nth-child(5) img {
            width: 300px;
            height: auto;
        }

        .activity article:nth-child(6) img {
            width: auto;
            height: 340px;
        }

        .activity article:nth-child(7) img {
            width: 325px;
            height: auto;
        }

        .activity article:nth-child(8) img {
            width: 275px;
            height: auto;
        }

        .activity article:nth-child(9) img {
            width: 250px;
            height: auto;
        }

        /*Formatting About Us Page*/

        .aboutus h1 {
            font-size: 30px;
        }

        .aboutus p, .aboutus ul li {
            font-size: 12px;
        }

        .aboutus h2 {
            font-size: 24px;
            text-align: center;
        }

        .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: 18px;
        }

        .chairman div p, .secretary div p, .admin div p, .vicechair div p {
            font-size: 12px;
        }


        .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-size: 14px;
        }

        .chairman div h3:nth-of-type(1), .chairman div h3:nth-of-type(2) {
            margin-right: 10%;
        }

        .vicechair div h3:nth-of-type(1), .vicechair div h3:nth-of-type(2) {
            margin-left: 40%;
        }

        .admin div h3:nth-of-type(1), .admin div h3:nth-of-type(2) {
            margin-right: 40%;
        }



        .chairman div img {
            height: 60%;
            width: auto;
        }

        .vicechair div img {
            height: 30%;
            width: auto;
            margin-left: 48%
        }

        .vicechair div:nth-child(1) p {
        }

        .admin div img {
            width: auto;
            height: 50%;
        }

        .secretary div img {
            width: 60%;
            height: auto;
            margin-left: 25%
        }

        .members div img {
            width: 100%;
            height: auto;
        }

        .membersheader {
            font-size: 15px;
        }

        .members div h3 {
            font-size: 12px;
        }
    }
    

    /*Max-Width:500px*/
@media only screen and (max-width: 500px) {

    /*Formatting About Us Page*/

    .aboutus h1 {
        font-size: 24px;
    }

    .aboutus p, .aboutus ul li {
        font-size: 12px;
    }

    .aboutus h2 {
        font-size: 20px;
        text-align: center;
    }

    .chairman, .secretary, .admin, .members {
        display: flex;
        flex-direction: column;
        margin: 0px;
        padding: 0px;
    }

    .vicechair {
        flex-direction: column-reverse;
    }

    .secretary {
        flex-direction: column-reverse;
    }

        .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) {
            padding-top: 2%;
            font-size: 14px;
            margin: 0%;
        }

        .chairman div p, .secretary div p, .admin div p, .vicechair div p {
            font-size: 10px;
        }


        .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-size: 12px;
            padding-top: 0%;
        }

    .chairman div h3:nth-of-type(1), .chairman div h3:nth-of-type(2) {
        margin-right: 35%;
    }

    .vicechair div h3:nth-of-type(1), .vicechair div h3:nth-of-type(2) {
        margin-left: 55%;
    }

    .admin div h3:nth-of-type(1), .admin div h3:nth-of-type(2) {
        margin-right: 40%;
    }

    .chairman div p, .secretary div p, .admin div p, .vicechair div p {
        font-size: 10px;
    }

    .chairman div p {
        padding-left: 2%;
        text-align: justify;
    }

    .chairman div:nth-of-type(1) {
        padding-left: 25%;
    }

    .vicechair div:nth-of-type(2) {
        margin-right: 45%;
    }

    .admin div:nth-of-type(1) {
        padding-left: 30%;
    }

    .secretary div:nth-of-type(2) {
        padding-left: 5%;
    }
    /*Formatting images*/
    .chairman div img {
        height: auto;
        width: 60%;
    }

    .vicechair div img {
        height: auto;
        width: 90%;
    }

    .admin div img {
        width: 60%;
        height: auto;
    }

    .secretary div img {
        width: 45%;
        height: auto;
    }

    .members div {
        width: 95%;
        height: auto;
        padding-left: 35%;
    }

        .members div:nth-child(5) {
            width: 85%;
            height: auto;
        }

    .membersheader {
        font-size: 14px;
    }

    .members div h3 {
        font-size: 14px;
        padding-left: 10%;
    }

}


    /*Max-Width: 456px*/
    @media only screen and (max-width: 456px) {

            .events h1 {
                font-size: 24px;
                padding-left: 12%;
            }

            .events h2 {
                font-size: 20px;
                padding-left: 18%;
            }

            .GM h3, .communityActivities h3 {
                font-size: 16px;
                padding-left: 1%;
            }

            .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: 20%;
            }

            .activity article h2 {
                font-size: 14px;
            }

            .activity article p {
                font-size: 10px;
            }

            .activity article:nth-child(1) img {
                width: auto;
                height: 200px;
            }

            .activity article:nth-child(2) img {
                width: 200px;
                height: auto;
            }

            .activity article:nth-child(3) img {
                width: 250px;
                height: auto;
            }

            .activity article:nth-child(4) img {
                width: auto;
                height: 300px;
            }

            .activity article:nth-child(5) img {
                width: 230px;
                height: auto;
            }

            .activity article:nth-child(6) img {
                width: auto;
                height: 250px;
            }

            .activity article:nth-child(7) img {
                width: 225px;
                height: auto;
            }

            .activity article:nth-child(8) img {
                width: 200px;
                height: auto;
            }

            .activity article:nth-child(9) img {
                width: 180px;
                height: auto;
            }

        /*Adjusting Footer*/

        .copyright {
            display: block;
            width: 100%;
            white-space: nowrap;
            text-align: center;
        }

        .activity article h2 {
            font-size: 12px;
        }

        .activity article p {
            font-size: 9px;
        }

        .activity article:nth-child(1) img {
            width: auto;
            height: 230px;
        }

        .activity article:nth-child(2) img {
            width: 200px;
            height: auto;
        }

        .activity article:nth-child(3) img {
            width: 250px;
            height: auto;
        }

        .activity article:nth-child(4) img {
            width: 200px;
            height: auto;
        }

        .activity article:nth-child(5) img {
            width: 200px;
            height: auto;
        }

        .activity article:nth-child(6) img {
            width: auto;
            height: 250px;
        }

        .activity article:nth-child(7) img {
            width: 225px;
            height: auto;
        }

        .activity article:nth-child(8) img {
            width: 200px;
            height: auto;
        }

        .activity article:nth-child(9) img {
            width: 180px;
            height: auto;
        }
    }

    /*
        Max-Width: 370px
    */
    @media only screen and (max-width: 370px) {
        
        .home h1{
            font-size: 20px;
        }

        .aboutus h1 {
            font-size: 24px;
            padding-top: 2%;
        }

        /*Adjusting Footer*/

        .copyright {
            display: block;
            width: 100%;
            white-space: nowrap;
            text-align: center;
        }

        .aboutus p, .aboutus ul li {
            font-size: 10px;
        }

        .chairman div p, .secretary div p, .admin div p, .vicechair div p {
            font-size: 9px;
        }


        .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-size: 12px;
            padding-top: 0%;
        }

        .chairman div h3:nth-of-type(1), .chairman div h3:nth-of-type(2) {
            margin-right: 35%;
        }

        .vicechair div h3:nth-of-type(1), .vicechair div h3:nth-of-type(2) {
            margin-left: 55%;
        }

        .admin div h3:nth-of-type(1), .admin div h3:nth-of-type(2) {
            margin-right: 40%;
        }

        .chairman div p, .secretary div p, .admin div p, .vicechair div p {
            font-size: 10px;
        }

        .chairman div p {
            padding-left: 2%;
            text-align: justify;
        }

        .chairman div:nth-of-type(1) {
            padding-left: 25%;
        }

        .vicechair div:nth-of-type(2) {
            margin-right: 45%;
        }

        .admin div:nth-of-type(1) {
            padding-left: 30%;
        }

        .secretary div:nth-of-type(2) {
            padding-left: 5%;
        }
        /*Formatting images*/
        .chairman div img {
            height: auto;
            width: 50%;
            margin-left: 8%;
            
        }

        .vicechair div:nth-child(1) {
            margin: 0px;
        }

        .vicechair div:nth-child(2) {
            height: 60%;
            width: auto;
            margin: 0px;
           
        }

        .vicechair div:nth-child(2) img {
                height: auto;
                width: 42%;
                margin: auto;
                display: block;
         
        }

        .vicechair div:nth-child(2) h3 {
                margin: 0px;
                text-align: center;
        
        }

        .vicechair div:nth-child(2) h3:nth-of-type(2) {
                padding-bottom: 3%;
         
        }

        .admin div:nth-child(1) {
            height: 55%;
            width: auto;
            padding-bottom: 1%;
        }

        .admin div:nth-child(1) img {
                width: 55%;
                height: auto;
        }

        .admin div:nth-child(1) h3 {
                margin: 0px;
                text-align: left;
        }

        .members div {
            width: 95%;
            height: auto;
            padding-left: 35%;
        }

            .members div:nth-child(5) {
                width: 85%;
                height: auto;
            }

        .membersheader {
            font-size: 13px;
        }

        .members div h3 {
            font-size: 12px;
            padding-left: 7%;
        }


    }

    /*Max-Width: 320px*/
    @media only screen and (max-width: 320px) {

        .navbar-brand {
            font-size: 18px;
        }

        .nav-item {
            font-size: 12px;
        }

        .home h1 {
            font-size: 16px;
            margin-bottom: 5%;
        }

        .homeone img {
            width: 110%;
            height: auto;
        }

        .homefour img {
            width: 110%;
            height: auto;
        }

        .hometwo p, .homethree p {
            font-size: 10px;
        }


        .donatebutton {
            border-radius: 12px;
            padding: 4px 6px;
            font-size: 10px;
            letter-spacing: 1px;
        }


        .homethree h2, .affilates h3 {
            font-size: 16px;
        }

        .affilates div a img {
            width: 55%;
            height: auto;
        }

        .affilates div a:nth-child(3) img:nth-of-type(1) {
            width: 33%;
            height: auto;
        }

        /*Formatting About Us*/

         .aboutus h2{

             font-size: 18px;
         }
        /*Formatting images*/

        .vicechair div:nth-child(1){
            margin: 0px;
        }
        .vicechair div:nth-child(2){
            height: 60%;
            width: auto;
            margin: 0px;
            padding-top: 1%;
            padding-bottom: 3%;
          
           
        }

        .vicechair div:nth-child(2) img {
            height: auto;
            width: 40%;
            margin: auto;
            display: block;
           
        }
        .vicechair div:nth-child(2) h3{
            margin: 0px;
            text-align: center;
        

        }
        .admin div:nth-child(1){
            height: 55%;
            width: auto;
            padding-bottom: 1%;
        
        }
        .admin div:nth-child(1) img {
            width: 55%;
            height: auto;

        }

        .admin div:nth-child(1) h3 {
            margin: 0px;
            text-align: left;

            
        }

        .admin div:nth-child(1) h3:nth-of-type(1) {
               padding-left: 10%;
        }

        .admin div:nth-child(1) h3:nth-of-type(2) {
                padding-bottom: 4%;
        }

        /*Formatting Members*/
        .members div:nth-child(1) img {
            width: 45%;
            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 h3 {
            font-size: 20px;
           
        }

        .members div h3 {
            font-size: 12px;
          
        }

        .members div:nth-child(1) h3 {
            padding-left: 0.5%;
        }

        .members div:nth-child(2) h3 {
            padding-top: 2%;
            padding-left: 1%;
        }

        .members div:nth-child(3) h3 {
            padding-top: 2%;
            padding-left: 1%;
        }

        .members div:nth-child(4) h3 {
            padding-left: 8%;
            padding-left: 1%;
        }

        .members div:nth-child(5) h3 {
            padding-top: 4%;
            padding-left: 1%;
        }

        /*Adjusting Footer*/

        .footer-dark{
            margin: 0px;
        }
           
        footer .row h3 {
            font-size: 14px;
            text-align: center;
            padding-left: 4%;
           
        }

        footer ul li {
            font-size: 10px;
            text-align: center;
        }


        .icons {
            text-align: left; 
            margin-top: 2px; 
        }
       
        .copyright{
            display: block;
            width: 100%;
            white-space: nowrap;
            text-align: center;
            
        }
       
        /*Formatting Activities Page*/
        .events h1 {
            font-size: 20px;
            padding-left: 10%;
            padding-top: 2%;
        }

        .events h2 {
            font-size: 16px;
            padding-left: 15%;
        }

        .GM h3, .communityActivities h3 {
            font-size: 12px;
            text-align: center;
            padding-right: 10%;
        }

        .GM .indicators-left {
            padding-right: 25%;
        }

        .communityActivities .indicators-left {
            padding-right: 30%;
        }

        .activity_heading h3 {
            font-size: 20px;
        }

        .activity article h2 {
            font-size: 12px;
        }

        .activity article p {
            font-size: 9px;
            text-align: center;
        }



        .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: 200px;
            }

            .activity article:nth-child(2) img {
                width: 150px;
                height: auto;
            }

            .activity article:nth-child(3) img {
                width: 200px;
                height: auto;
            }

            .activity article:nth-child(4) img {
                width: 150px;
                height: auto;
            }

            .activity article:nth-child(5) img {
                width: 150px;
                height: auto;
            }

            .activity article:nth-child(6) img {
                width: auto;
                height: 200px;
            }

            .activity article:nth-child(7) img {
                width: 200px;
                height: auto;
            }

            .activity article:nth-child(8) img {
                width: 175px;
                height: auto;
            }

            .activity article:nth-child(9) img {
                width: 150px;
                height: auto;
            }

        /*Formatting Carousels*/
        .GM .carousel-item img, .communityActivities .carousel-item img {
            height: 275px;
            object-fit: contain;
            width: 100%;
        }

        .upcomingevents .carousel-item img {
            height: 275px;
            object-fit: contain;
            width: 50%;
        }
        /*
            formatting Contact us page

        */

        .contactpage h1 {
            padding-top: 2%;
            font-size: 25px;
        }

        .contactpage h2 {
            font-size: 16px;
            text-align: center;
        }

        .contactpage {
            font-size: 15px;
        }


        .contact {
            margin-bottom: 2%
        }

        .contactlogo {
            padding-left: 20%;
            padding-bottom: 2%
        }

        .contact .contactlogo img {
            width: 75%;
            height: auto;
            padding-top: 5%;
            padding-bottom: 5%
        }

        .contactpage {
            padding-bottom: 0%;
        }

        #flush-headingOne {
            font-size: 16px;
        }

        .accordion-button {
            font-size: 14px;
        }

        .accordion-body {
            font-size: 10px;
        }

        .contactpage btn {
            width: 2%;
        }


    }





