@import url('https://fonts.googleapis.com/css2?family=Arvo&family=Bebas+Neue&family=Open+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Oswald&family=Playfair+Display&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}

@font-face {
    font-family: "century-gothic";
    src: url(../fonts/century-gothic/CenturyGothic.ttf);
}

:root{
    --century-gothic: "century-gothic";
    --font1: 'Open Sans', sans-serif;
    --font2: 'Arvo', serif;
    --font3: 'Playfair Display', serif;
    --font4: 'Instrument Serif', serif;
    --font-head: 'Didact Gothic', sans-serif;
    --font-content: 'Oswald', sans-serif;
    --primary-color : #1A7248;
    --secondary--color : #816309;  
    --black1: #191919; 
}

h1{
    font-family: var(--century-gothic);
    font-weight: 400;
}

p{
    font-family: var(--century-gothic);
}

a{
    font-family: var(--century-gothic);
    text-decoration: none;
}


.main{
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--black1);
}

/* ==========section-1 ======== */

.section1{
    height: 100vh;
    width: 100%;
    /* padding-top: 100px; */
    display: flex;
    align-items: center;
    /* margin-top: 80px; */
    justify-content: center;
}

.heroImg{
    height: 100%;
    width: 100%;
    background-image: url(../images/project/hero-section.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.heroContent{
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.heroContent h1{
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 2px;
    color: white;
}

.heroContent p{
    font-size: 1rem;
    width: 50%;
    text-align: center;
    color: white;
}

.heroContent a{
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 500;
    transition: 0.5s ease-in-out;
}

.heroContent a i{
    color: white;
    font-size: 1.6rem;
    transition: 0.5s ease-in-out;
}

.heroContent a:hover {
    color: white;
    background-color: var(--primary-color);
    transition: 0.5s ease-in-out;
    transform: scale(0.95);
    border: 2px solid var(--primary-color);
}

.heroContent a:hover i{
    color: white;
    transition: 0.5s ease-in-out;
    transform: rotatez(-90deg);
}



/* ===========section 2========= */
/* 
.section2{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.projectsHead{
    height: 100%;
    width: 100%;
    padding: 40px 0px;
    text-align: center;
}

.projectsHead h1{
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.projectsContent{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projectsGrid{
    height: 100%;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    row-gap: 3rem;
    column-gap: 2rem;
    padding: 25px;
}

.project{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.prjImg{
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.prjImg img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: 0.5s;
}

.prjContent{
    height: 50px;
    width: 100%;
    padding-top: 5px;
}

.project:hover .prjImg img{
    transform: scale(1.05);
    transition: 0.5s ease-in-out;
} */




/* ======section 2 ========= */


.section2{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.projectGallery{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
}

.pojectHead{
    height: 100%;
    width: 90%;
    display: flex;
    align-items: start;
    justify-content: start;
    padding: 25px 0px;
}

.pojectHead h1{
    text-transform: uppercase;
    font-size: 2rem;
    padding: 5px;
    border-bottom: 2px solid var(--primary-color);
}

.projectDisplay{
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit , minmax(350px , 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    overflow: hidden;
    gap: 0.5rem;
}

.prj{
    width: 100%;
    height: 100%;
    max-width: 100vw;
    overflow: hidden;
    flex-wrap: wrap;
    display: flex;
    overflow: hidden;
}
.prj a{
    height: 100%;
    width: 100%;
    display: flex;
}

.prj img{
    max-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    filter: grayscale(100%);
    transition: 0.3s;
}

.prj:hover img{
    filter: grayscale(0%);
    transition: 0.3s;
}

.projectDisplay .wide{
    grid-column: span 2;
    overflow: hidden;
}

.projectDisplay .tall {
     grid-row: span 2;
}

.projectDisplay .big{
    grid-column: span 2;
    grid-row: span 2;
}

.prjWrapper{
    height: 250px;
    width: 20rem;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 25px;
    opacity: 0;
    overflow: hidden;
    transition: 0.5s ease-in-out;
    background-color: rgba(255, 255, 255, 0.404);
    /* background-color: rgba(255, 255, 255, 0.338); */
}

.prjWrapper h1{
    transform: translateY(20px);
    transition: 0.5s ease-in;
    color: var(--black1);
}

.prjWrapper p{
    transform: translateY(20px);
    transition: 0.5s ease-in;
    color: var(--black1);
}

.prj:hover .prjWrapper{
    opacity: 1;
    transition: 0.5s ease-in;
}

.prj:hover .prjWrapper h1{
    transform: translateY(0);
    transition: 0.5s ease-in-out;
}

.prj:hover .prjWrapper p{
    transform: translateY(0);
    transition: 0.5s ease-in-out;
}

/* ======display======= */

.design{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.designContent{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.designHead{
    height: 100%;
    width: 90%;
    padding: 10px 0px;
}

.designHead h1{
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 5px 0px;
    width: fit-content;
    border-bottom: 3px solid var(--primary-color);
}






/* ====section 3 ======== */

.section3{
    height: 100%;
    width: 100%;
    padding: 25px;  
    display: flex;
    align-items: center;
    justify-content: center;
}

.ourTeam{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.members{
    height: 100%;
    width: 100%;
    padding: 20px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.teamMember{
    height: 500px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 15px 0px; */
}

.memImg{
    height: 100%;
    width: 100%;
}

.memImg img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.memberDescription{
    position: absolute;
    height: 500px;
    width: 300px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    transition: 0.5s ease-in-out;
    background-color: rgba(255, 255, 255, 0.721);
}

.memberDescription h1{
    color: var(--black1);
}

.memberDescription p{
    color: var(--black1);

}


.memberDescription:hover {
    opacity: 1;
    transition: 0.5s ease-in-out;
}



/* ========section 4 ======== */

.section4{
    height: 100%;
    width: 100%;
}

.contact{
    padding: 50px 0px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgImg{
    height: 100%;
    width: 100%;
    overflow: hidden;
    /* object-fit: cover; */
    /* position: absolute; */
}

.bgImg img{
    object-fit: scale-down;
    width: 100%;
}

.contactContent{
    position: absolute;
    text-align: center;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px 0px;
}

.contactContent p{
    font-size: 2rem;
    letter-spacing: 1px;
}

.contactContent a{
    text-decoration: none;
    color: white;
    width: 150px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 2px solid white;
    transition: 0.8s;
}

.contactContent a:hover{
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: 0.8s;
}

@media screen and (max-width: 600px){

    .projectDisplay{
        /* grid-template-columns: repeat(auto-fit , minmax(100%, 1fr)); */
        display: flex;
        flex-direction: column;
    }
    .prj{
        height: 250px;
        width: 100%;
    }
    .heroContent p{
        width: 80%;
    }

    .prj a{
        height: 100%;
        width: 100%;
        display: flex;
    }

    .prj img{
        filter: grayscale(0%);
    }
    .prjWrapper{
        /* position: static; */
        align-self: flex-end;
        /* display: none; */
        height: 80px;
        width: 100%;
        padding: 5px 10px;
        opacity: 1;
        align-items: start;
        justify-content: center;
        transform: translatey(0);
    }

    .prjWrapper h1{
        font-size: 1.2rem;
        transform: translateY(0);
        font-weight: bold;
    }
    .prjWrapper p{
        transform: translateY(0);
        font-size: 0.8rem;
    }
    .memberDescription{
        /* display: none; */
        align-items: center;
        text-align: center;
    }

    .members{
        flex-direction: column;
    }
    .memberDescription{
        position: static;
        opacity: 1;
        align-items: center;
        text-align: center;
    }
    .memberDescription h1{
        font-size: 1.2rem;
    }
    .teamMember{
        width: 350px;
    }
    .bgImg{
        display: none;
    }
    .contactContent{
        position: relative;
        flex-direction: column;
        width: 90%;
    }

    .contactContent h1{
        font-size: 1.2rem;
    }
    .contact{
        padding: 0px 0px 20px 0px;
        border-bottom: 1px solid var(--primary-color);
    }

}