@media screen and (max-width: 1024px) {

    /* === Shared Resets & Typography === */
    .about_txt,
    .about_txt p,
    .engines_container,
    .engines_container > div,
    #engineInner p,
    .skillBox h3,
    .skillTags p,
    .resumeBtn {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* === About Section === */
    .about_txt {
        width: 100%;
        margin-bottom: 3px;
    }

    .about_txt p {
        padding: 10px 5px;
        font-size: 1rem;
        font-weight: 250;
        letter-spacing: 0.5px;
        line-height: 1.2;
        text-align: left;
    }

    /* === Engines Section === */
    .engines_container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin-top: 5px;
        
        grid-gap: 1vh 2vh;
    }

    .engines_container > div {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 8px;
        background-color: var(--div-background-color);
        border-radius: 1vh;
    }

    #engineInner i,
    #engineInner img {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1vw;
    }

    #engineInner i {
        font-size: 4.5vw;
    }

    #engineInner img {
        width: 4.5vw;
        height: 4.5vw;
        object-fit: contain;
        vertical-align: middle;
    }

    #engineInner p {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-size: 3.5vw;
        font-weight: 550;
        font-family: serif;
        font-variant-caps: petite-caps;
        letter-spacing: 1px;
        text-align: center;
    }

    .theme-icon1 {
        filter: invert(0);
    }

    body.light-mode .theme-icon1 {
        filter: invert(1);
    }

    .inner:hover img,
    .inner:hover i {
        animation: spin 1s ease-in-out 1;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* === Skills Section === */
    .mainSkills {
        display: flex;
        flex-direction: column;
        border-radius: 15px;
        box-shadow: var(--skill-box-shadow);
        margin: 5px 0;
        padding: 2px;
    }

    .skill-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
        
        border-bottom: var(--border-bottom2);
        border-right: 0;
        
        padding: 0 0 50px;
    }

    .skillBox {
        width: 100%;
        text-align: center;
    }

    .skillBox h3 {
        font-size: 5vw;
        font-family: serif;
        font-weight: 550;
        letter-spacing: 1px;
        margin: 3vw 0;
        position: relative;
    }

    .skillBox h3::after {
        content: "";
        position: absolute;
        width: 50%;
        height: 2px;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--underline-color);
    }

    .skillTags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1vw;
        margin-top: 2vw;
    }

    .skillTags p {
        background: var(--lable-background-color);
        min-width: 25%;
        border-radius: 10px;
        padding: 5px;
        font-size: 3vw;
    }

    /* === Resume Button === */
    .resume-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        
        padding: 30px 0;
    }

    .resumeBtn {
        font-size: 5vw;
        font-family: serif;
        font-weight: 550;
        font-variant-caps: petite-caps;
        letter-spacing: 1px;
        padding: 2vw 4vw;
        border-radius: 30px 5px;
        background: none;
        color: var(--text-color1);
        border: 0;
        border-right: var(--border-right2);
        border-bottom: var(--border-bottom2);
        cursor: pointer;
    }

    .resumeBtn:hover {
        border-top: var(--border-top2);
        border-left: var(--border-left2);
        border-bottom: 0;
        border-right: 0;
    }
}
