/* =====================================
   STUFF PAGE
===================================== */

.stuff-page {

    width: min(1000px, 92%);

    margin: 0 auto;

    padding: 50px 0 80px;

}


/* =====================================
   TITLE
===================================== */

.stuff-title {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    margin-bottom: 10px;

}

.stuff-title h2 {

    margin: 0;

    font-size: 2.4rem;

}

.stuff-title span {

    font-size: 1.5rem;

}


.stuff-subtitle {

    text-align: center;

    margin: 0 auto 45px;

    opacity: 0.75;

}


/* =====================================
   GITHUB SECTION
===================================== */

.github-section {

    width: 100%;

    box-sizing: border-box;

    padding: 25px;

    border-radius: 18px;

    background: rgba(20, 20, 30, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25);

}


/* =====================================
   SECTION HEADER
===================================== */

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;

}


.section-heading h3 {

    margin: 0 0 5px;

    font-size: 1.5rem;

}


.section-heading p {

    margin: 0;

    opacity: 0.65;

    font-size: 0.9rem;

}


/* =====================================
   GITHUB PROFILE BUTTON
===================================== */

.github-profile {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    border-radius: 10px;

    color: inherit;

    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    transition:
        transform 0.2s ease,
        background 0.2s ease;

    white-space: nowrap;

}


.github-profile:hover {

    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.15);

}


/* =====================================
   PROJECT LIST
===================================== */

#github-projects {

    display: flex;

    flex-direction: column;

    gap: 14px;

}


/* =====================================
   PROJECT CARD
===================================== */

.github-project {

    box-sizing: border-box;

    width: 100%;

    padding: 20px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.1);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;

}


.github-project:hover {

    transform: translateX(5px);

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.25);

}


/* =====================================
   PROJECT TOP
===================================== */

.github-project-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

}


.github-project-header h4 {

    margin: 0;

    font-size: 1.25rem;

}


/* =====================================
   GITHUB ICON
===================================== */

.github-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border-radius: 10px;

    color: inherit;

    text-decoration: none;

    font-size: 1.35rem;

    background: rgba(255, 255, 255, 0.06);

    transition:
        transform 0.2s ease,
        background 0.2s ease;

}


.github-button:hover {

    transform: scale(1.1);

    background: rgba(255, 255, 255, 0.15);

}


/* =====================================
   DESCRIPTION
===================================== */

.github-description {

    margin: 10px 0 16px;

    line-height: 1.5;

    opacity: 0.7;

}


/* =====================================
   PROJECT INFORMATION
===================================== */

.github-info {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    font-size: 0.85rem;

    opacity: 0.75;

}


.github-language,
.github-stat {

    display: flex;

    align-items: center;

    gap: 6px;

}


.github-language i {

    font-size: 1.1rem;

}


.github-stat i {

    font-size: 0.8rem;

}


/* =====================================
   LOADING
===================================== */

.github-loading {

    text-align: center;

    padding: 40px;

    opacity: 0.6;

}


/* =====================================
   ERROR
===================================== */

.github-error {

    text-align: center;

    padding: 40px;

    opacity: 0.7;

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 600px) {

    .stuff-page {

        width: 94%;

    }


    .github-section {

        padding: 18px;

    }


    .section-heading {

        align-items: flex-start;

        flex-direction: column;

    }


    .github-profile {

        width: 100%;

        justify-content: center;

    }


    .stuff-title h2 {

        font-size: 2rem;

    }

}