@media (max-width:820px){
    .content{
        padding-left: 2rem;
        padding-right: 2rem;
        justify-items: center;
        margin-bottom: 2rem;
    }

    /* Used to create 1 column for the mobile view of the entire projects and research ections. */
    #projects, 
    #research{
        display:grid;
        gap: 5rem;
        justify-items:center;
        margin-bottom: 10rem;
        grid-template-columns: 1fr;
    }

    .project-title{
        font-weight: bold;
    }

    .project-description{
        font-size: 0.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .projects-img{
        width: 15.5rem;
        height: auto;
    }
    
    /* 
        The boxes that contains information about 
        the project or research are split into "two"
        sides on desktop. They are brought together
        here into a single column instead.
     */
    .projects-research-info-wrapper{
        display: grid;
        background-color: var(--color-primary-2);
        border-radius: 1rem;
        width: 18rem;
        text-align: center;
        justify-items: center;
        gap: 1rem;
        grid-template-columns: repeat(1, 1fr);
    }

    /* ==============================
       BUTTONS
       ============================== */
    .buttons-wrapper{
        /* Used if more than one button displays on a project's information "box". */
        color: var(--color-white);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        justify-items: center;
    }
    
    .buttons-wrapper a{
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    /* If the last child is also an odd-numbered element (like 1st, 3rd, 5th…), make it span across both columns and center it. */
    .buttons-wrapper a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .project-showcase-button{
        background-color: var(--color-accent);
        border-radius: 2rem;
        height: 3rem;
        width: 7rem;
        overflow: hidden;
        align-content: center;
        box-shadow: 3px 3px 5px var(--color-box-shadow);
        justify-content: center;
    }

    /* ==============================
       TECH STACK
       ============================== */
    .tech-stack-wrapper{ /*inheriting from style.css*/
        margin-bottom: 1rem;
        display:grid;
        gap: 0.5rem;
    }

    .skills-techs-img{
        height: 30px;
        width: auto;
    }

    .skills-techs-img--smaller{
        height: 15px;
        width: auto;
    }

    .small-text{
        font-size: 0.70rem;
    }
}