/* 
=============
GLOBAL STYLES
=============
*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    height: 100vh;
}

.body{
    margin: 0;
    padding: 0;
    height: 100vh;
    grid-template-columns: 100vw;
    display: grid;
    grid-template-rows: repeat(6, auto);
    font-family: roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.adjust-body{
    grid-template-rows: repeat(5, auto);
    margin-top: 200px;
}

.projects-page-body{
    margin: 0;
    padding: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: auto auto auto;
    font-family: roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1, h2, h3, h4, h5{
    text-align: center;
    text-transform: capitalize;
    font-family: merriweather;
}

a{
    text-decoration: none;
    color: black;
    border: none;
    outline: none;
}

.back-to-top-btn{
    position: fixed;
    bottom: 50px;
    right: 40px;
    z-index: 1;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #2a245c;
    border-radius: 10px;
    visibility: hidden;
    cursor: pointer;
    opacity: 0.3;
    transition: 0.75s;
}

.show-btt-btn{
    visibility: visible;
    animation-name: pulse;
    animation-iteration-count: 1;
    animation-delay: 2s;
    animation-duration: 3s;
    visibility: visible;
}

.pulse{
    animation-name: pulse;
    animation-iteration-count: 1;
    animation-duration: 3s;
}

.show-btt-btn:hover{
    opacity: 1;
}

/* 
===================
TOP BANNER & NAVBAR
===================
*/

.banner{
    margin: 0;
    min-width: 100%;
    min-height: 92px;
    background-color: rgb(184,214,107);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 2rem;
}

.banner-project{
    margin: 0;
    width: auto;
    min-width: 100vh;
    min-height: 92px;
    background-color: rgb(184,214,107);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 2rem;
}

.fixed-banner{
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    padding-right: 1rem;
}

.logo-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 15rem;
}

.logo-container img{
    width: inherit;
    height: inherit;
    width: 15rem;
}

.logo-container span{
    display: grid;
    padding-top: 14px;
    grid-template-rows: auto auto;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.links-container{
    align-items: center;
    justify-content: end;
    justify-self: end;
    width: 50%;
    visibility: hidden;
    display: none;
}

.banner-link{
    color: rgb(41, 35, 92);
    font-size: 22px;
    margin: 0 15px 0 15px;
    transition: 0.75s;
}

.banner-link:hover{
    color: #0A8754;
}

.bars-icon-container{
    width: 1rem;
    font-size: 2.5rem;
    padding-right: 30px;
    color: rgb(41, 35, 92);
    visibility: visible;
    cursor: pointer;
}

.fixed-menu-btn{
    position: fixed;
    transition: 2s;
    right: 3%;
    top: 6%;
    opacity: 0.1;
    animation-name: pulse;
    animation-iteration-count: 1;
    animation-delay: 2s;
    animation-duration: 3s;
    visibility: visible;
}

.fixed-menu-btn:hover{
    opacity: 1;
}

.sidebar-menu{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: #ede3da;
    color: rgb(41, 35, 92);
    display: grid;
    grid-template-columns: 12rem;
    grid-template-rows: repeat(5, auto);
    gap: 0;
    cursor: pointer;
    visibility: hidden;
    opacity:0;
    transition: 0.75s;
}

.show-sidebar{
    visibility: visible;
    opacity: 1;
}

.sidebar-menu a{
    background-color: #ede3da;
    width: 100%;
    height: 100%;
    transition: 0.75s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-link:hover{
    background-color: white;
    color: rgb(184,214,107);
}

@media screen and (min-width: 1380px) {
    .bars-icon-container{
        visibility: hidden;
        display: none;
    }

    .display-bars-icon{
        visibility: visible;
        display: inline;
    }

    .links-container{
        visibility: visible;
        display: flex;
    }
}


@media screen and (min-width: 0) {
    .body{
        grid-template-columns: 100vw;
    }
    .about{
        font-size: 1rem;
    }
}

@media screen and (min-width: 500px) {
    .about{
        font-size: 1.5rem;
    }
}

@keyframes pulse {
    0% {opacity: 0.1}
    50% {opacity: 1}
    100% {opacity: 0.1}
}



/* 
================
ABOUT US SECTION
================
*/

.about{
    background-image: linear-gradient(to bottom, white, #ede3da);
    color: rgb(41, 35, 92);
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    justify-self: center;
    min-width: 100%;
}

.about h1{
    margin-bottom: 30px;
    display: inline-block;
    text-align: center;

}

.about p{
    margin-bottom: 50px;
    font-size: 20px;
}

@media screen and (min-width: 100vw) {
    .about{
        max-width: 100vw;
    }
}

/* 
================
PROJECTS SECTION
================
*/

.projects-section{
    padding: 60px 0;
    box-shadow: inset 0 0 10px 2px lightgrey;
}

.project-outer-container{
    display: flex;
    display: space-between;
    padding: 20px;
}

.project-outer-container button{
    background-color: transparent;
    border: none;
    outline: none;
    color: #2a245d;
    font-size: 30px;
    opacity: 0.1;
    cursor: pointer;
    transition: 0.5s;
    min-width: 27.85px;
}

.project-outer-container button:hover{
    opacity: 1;
}

.project-outer-container button:active{
    font-size: 20px;
    transition: 0.125s;
}

.project-cards-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 60px;
    gap: 120px;
    overflow: hidden;
}



.card{
    min-width: 300px;
    max-width: 300px;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px lightgrey;
    opacity: 0;
    transition: 2s;
}

.show {
    opacity: 1;
  }

.project-thumbnail{
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: inherit;
}

.project-title{
    text-align: center;
    margin-top: 15%;
}

/* 
=================
DIRECTORS SECTION
=================
*/

.directors-section{
    color: #fcfbfb;
    background-color: #535863;
}

.directors-section h3{
margin: 40px 0 50px 0;
}

.directors-inner-sect {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(4, (30rem,auto));
    grid-row-gap: 1rem;
    background: transparent;
}

.director-img-cont{ 
    display: flex;
    justify-content: center;
}

.director-img{
    min-width: 360px;
    width: 70%;
    height: 80%;
    max-height: 20rem;
    border-radius: 50%;
    margin: 20px;
}

.description{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 40px;
}

.description p{
    text-transform: none;
}

@media screen and (min-width: 600px){
    .director-img{
        max-width: 500px;
    }
}

@media screen and (min-width: 900px){
    .directors-inner-sect{
        grid-template-columns: 50% 50%;
        grid-template-rows: repeat(3, 27rem);
    }

    .description{
        justify-content: center;
    }

    .director-img-cont{
        align-items: center;
    }

    .director-img{
        max-width: 450px;
        height: 70%;
    }
}
/* 
================
PARTNERS SECTION
================
*/

.partners-section{
    padding: 40px;
    box-shadow: inset 0 0 20px 20px lightgrey;
}

.partners-section ul li{
    text-align: center;
    list-style: none;
}

/* 
===========================
CONTACT US & DONATE SECTION
===========================
*/

.footer{
    width: 100%;
    background-color: #6d7969;
    color: #ede3da;
    justify-self: flex-end;
}

.footer h3{
    text-align: center;  
}

.contact-details-container{
    display: grid;
    height: inherit;
}

.contact-details-container ul li{
    margin: 30px;
    list-style: none;
    text-align: center;
}

.emails{
    height: inherit;
}

.phone{
    height: inherit;
}

@media screen and (min-width:900px){
    .contact-details-container{
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 
=============
PROJECTS PAGE
=============
*/

.project-heading{
    font-family: "crimson pro";
    color: #424466;
    font-size: 60px;
}

.project-body{
    background: #ede3da;
    height:fit-content;
}

.project-container{
    display: grid;
    grid-template-rows: auto auto;
    background: transparent;
}

.project-description{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    font-size: 20px;
    line-height: 2;
}

.project-gallery-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10px;
    background-color: #fcfbfb;
    border-radius: 6px;
    box-shadow: inset 0 0 20px lightgrey;
}

.project-gallery{
    background-color: transparent;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2rem;
    align-content: space-between;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
    column-gap: 4rem;
}

.project-video{
    background-color: transparent;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2rem;
    align-content: space-between;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
    column-gap: 4rem;
    width: 100%;
}

.img-box{
    width: 300px;
    height: 300px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 10px 3px lightgrey;
}

.img-box img{
    width: inherit;
    height: inherit;
    border-radius: inherit;
}

@media screen and (min-width: 900px){
    .project-gallery{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1180px){
    .project-gallery{
        grid-template-columns: repeat(3, 1fr);
    }
}