

/* =========================================================
   03. BODY
   ========================================================= */

/* 
body {
    font-family: "Space Mono", monospace;
    background: #ffffff;
    color: #111;
    line-height: 1.9;
    font-size: 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
} 
*/


body {

    /* Page Load Animation */
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;

    /* Main Layout */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* =========================================================
   04. PAGE LOADED
   ========================================================= */

body.page-loaded {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   05. FADE ANIMATION
   ========================================================= */

.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.fade.show {
    opacity: 1;
    transform: none;
}


/* =========================================================
   06. GLOBAL IMAGE
   ========================================================= */

img {
    display: block;
    width: 100%;
}


/* =========================================================
   07. GLOBAL LINK
   ========================================================= */

a {
    color: #111;
    text-decoration: none;
}


/* =========================================================
   08. CONTAINER
   ========================================================= */

.container {
    width: 1180px;
    max-width: 92%;
    margin: auto;
}


/* =========================================================
   09. PROJECT GRID
   ========================================================= */

/* ================================= */

.project-grid {
    width: 100%;
    max-width: 1440px;

    margin: 40px auto 80px;
    padding: 0 40px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    box-sizing: border-box;
}


/* =========================================================
   10. PROJECT CARD - LINK
   ========================================================= */

.project-card a {
    display: block;
    text-decoration: none;
    color: #222;
}


/* =========================================================
   11. PROJECT CARD - IMAGE
   ========================================================= */

/* 
.project-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: 0.35s;
    aspect-ratio: 4 / 3; 
    object-fit: cover;
    background-color: red;
} 
*/


.project-card img {
    display: block;
    width: 100%;

    aspect-ratio: 4 / 3;
    max-height: 280px;

    object-fit: cover;
    border-radius: 6px;

    transition: 0.35s;
}


/* =========================================================
   12. PROJECT CARD - HOVER
   ========================================================= */

.project-card:hover img {
    transform: scale(1.03);
}


/* =========================================================
   13. PROJECT CARD - TITLE
   ========================================================= */

.project-card h3 {
    font-family: "Jakarta-Sans";
    font-weight: 600;
    margin-top: 12px;
    font-size: 16px;
    letter-spacing: 0.2px;
    text-transform: lowercase;
    text-decoration:none;
}


/* =========================================================
   14. RESPONSIVE - TABLET
   Max Width: 991px
   ========================================================= */

@media (max-width: 991px) {

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   15. RESPONSIVE - MOBILE
   Max Width: 640px
   ========================================================= */

/* 
@media (max-width: 640px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
} 
*/


@media (max-width: 640px) {

    .project-grid {
        grid-template-columns: 1fr;

        margin: 20px auto 20px;
        padding: 0 20px;
    }

    .project-card img {
        max-height: 220px;
    }

}


/* =========================================================
   16. SCROLLBAR
   ========================================================= */

/* ==========================================
SCROLLBAR
========================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}


/* =========================================================
   17. FOOTER
   ========================================================= */

footer {
    margin-top: auto;
}
