* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --pri-color: #056305;
    --sec-color: rgb(207, 161, 7);
    --b-font-size: 12px;
    --s-font-size: 10px;
    --h1-font: 16px; 
    --h2-font: 17px; 
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 13px;
    font-style: normal;
    background-color: #f4fff6;
}

.illustration {
    width: 10rem;
    margin-top: 5%;
    display: flex;
    justify-self: center;
}


header {
    width: 100%;
    position: relative;
    margin-bottom: 3rem;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    font-size: var(--h1-font);
    color: var(--pri-color);
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.title-two {
    font-size: var(--h1-font);
    color: var(--pri-color);
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 2rem 0;
}

.links {
    display: none;
}

.fa-bars {
    font-size: 1.5rem;
    position: fixed;
    right: 2%;
    background-color: green;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: white;
    position: fixed;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1.5s ease-in-out;
}

.fa-close {
    font-size: 1.5rem;
    position: fixed;
    right: -100%;
    background-color: var(--sec-color);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: white;
    position: fixed;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1.5s ease-in-out;
}

.fa-close.open {
    right: 5%;
}
.fa-bars.close {
    right: -100%;
}

.links {
    width: 80%;
    height: 100vh;
    position: fixed;
    background-color: rgb(255, 253, 253);
    right: -100%;
    z-index: 1;
    top: 0;
    gap: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s ease-in-out
}

.links li {
    list-style: none;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    text-decoration: none;
    color: black;
    transition: 0.3s ease-in-out;
}
.links li a {
    text-decoration: none;
    color: black;
    list-style: none;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    width: 100%;
    padding: 15px;
    transition: 0.3s ease-in-out;
}


.links li:hover {
    width: 100%;
    padding: 20px;
    color: white;
    background-color: var(--sec-color);
    font-weight: 500;
    font-style: normal;
}

.links.open {
    right: 0;
}


.header-image {
    width: 100%;
    height: 30vh;
    position: relative;
    padding: 0px 20px;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.main-head {
    padding: 20px;
    background-color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.write-ups {
    font-size: var(--s-font-size);
    text-transform: capitalize;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

.contents {
    margin: 5rem 0;
    padding: 0 30px;
    text-align: justify;
}



.project-exp {
    padding: 20px;
}


.card-wrap {
    display: flex;
    flex-wrap: wrap;
    /* /* flex-direction: column;  */
    gap: 20px;
    width: 100%;
    /* /* max-width: 2000px;  */
    justify-content: center;
}

.card-container {
    position: relative;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.card-container .card-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

a {
    text-decoration: none;
    cursor: pointer;
    text-transform: capitalize;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    letter-spacing: 0.02rem;
    word-spacing: 0.1rem;
    text-align-last: left;
    font-size: var(--b-font-size);
    padding-bottom: 20px;
    color: white;
    z-index: 1;
}

.card-img:hover {
    transform: scale(1.5);
}

.bottom-blur {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    background-image: linear-gradient(to top,rgba(3, 20, 3, 0.952)30%, rgba(7, 211, 92, 0.062)100%);
}
.card-details {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 15px;
    color: white;
    pointer-events: none;
    text-align: left;
}


.card-title {
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    padding: 5px 0px;
    color: var(--sec-color);
}
.card-about {
    text-transform: capitalize;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    letter-spacing: 0.02rem;
    word-spacing: 0.1rem;
    text-align-last: left;
    font-size: var(--b-font-size);
    padding-bottom: 20px;
}

.card-about a {
    pointer-events: auto;
}


footer {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    background-color: rgb(228, 228, 228);
}

.dim {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #00000050;
    display: none;
}

.dim.open {
    display: block;
}



@media (min-width: 600px) {
    .card-wrap {
        flex-direction: row;
        justify-content: space-between;

    }

    .card-container {
        flex: 1 1 calc(50% - 20px);
    }

    .header-image {
        height: 50vh;
        margin: 0;
        padding: 0;
    }
    .header-image img {
        border-radius: 0;
    }

    body {
        text-align: center;
    }

    .contents {
        text-align: center;
    }

    .title-two {
        font-size: var(--h1-font);
        color: var(--pri-color);
        text-transform: uppercase;
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-style: normal;
        margin: 2rem;
    }
}


@media (min-width: 900px) {

    .card-container {
        flex: 1 1 calc(25% - 20px);
    }

    .links {
        gap: 10%;
        color: rgb(0, 0, 0);
        flex-direction: row;
        position: relative;
        justify-content: space-between;
        height: 100%;
        right: 20%;
        width: auto;
    }

    .links li {
        width: auto;
    }
    
    .links li a {
        text-decoration: none;
        text-align: center;
        color: black; 
        list-style: none;
        text-transform: uppercase;
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 10px;
        width: 0;
        padding: 15px;
        transition: 0.3s ease-in-out;
    } */
    
    
    .links li:hover {
        width: 100%;
        padding: 5px;
        color: white;
        background-color: var(--sec-color);
        font-weight: 500;
        font-style: normal;
    }

    .fa-bars {
        display: none;
    }
    


}




















/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(242, 249, 255);
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 13px;
    font-style: normal;
}

.contain-contents {
    padding: 15px;
}

.header {
    width: 100%;
    height: 10vh;
    background-color: green;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

nav {
    width: 80%;
    height: 100vh;
    position: fixed;
    background-color: rgb(255, 252, 247);
    right: -100%;
    z-index: 1;
    top: 0;
    gap: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s ease-in-out
}

nav.open {
    box-shadow: 0 0 200px 100px #000000ef;
    right: 0%;
}

nav li {
    list-style: none;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    transition: 0.3s ease-in-out;
}

nav li:hover {
    width: 100%;
    padding: 20px;
    color: white;
    background-color: green;
    font-weight: 500;
    font-style: normal;
}

.header .name {
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 15px;
}

.intro-image {
    margin: 5%;
    width: 90%;
    height: 35vh;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}


.int-img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.int-img:hover {
    transform: scale(1.5);
}

.intro {
    padding: 10px;
    text-align: justify;
}

.project-exp {
    padding-top: 10px;
}

.sub-head {
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    padding: 20px 0px;
}

.card-wrap {
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; 
    gap: 20px;
    width: 100%;
    /* max-width: 2000px; 
    justify-content: center;
}

.card-container {
    position: relative;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.card-container .card-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.card-img:hover {
    transform: scale(1.5);
}

.bottom-blur {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    background-image: linear-gradient(to top,rgba(3, 20, 3, 0.952)30%, rgba(7, 211, 92, 0.356)100%);
}
.card-details {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 15px;
    color: white;
    pointer-events: none;
    text-align: left;
}


.card-title {
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    padding: 20px 0px;
    color: rgb(255, 231, 16);
}
.card-about {
    text-transform: capitalize;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    letter-spacing: 0.02rem;
    word-spacing: 0.1rem;
    text-align-last: left;
    font-size: 11px;
    padding-bottom: 20px;
}


footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: green;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 10%;
    
}

footer .card-about {
    text-align: center;
}

.fa-bars {
    background-color: green;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: white;
    position: fixed;
    z-index: 5;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}










@media (min-width: 600px) {
    .card-wrap {
        flex-direction: row;
        justify-content: space-between;

    }

    .card-container {
        flex: 1 1 calc(50% - 20px);
    }

}


@media (min-width: 900px) {

    .card-container {
        flex: 1 1 calc(25% - 20px);
    }

} */