.project > section:first-child {
    margin: 0 auto !important;
}

main > .project section img {
    width: 100%;
}

main > .project section h3 {
    margin-top: 3px;
}

.f2 .project,
.projects > div {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 15px;
    background-color: var(--white);
}

.f2 .project a,
.projects a {
    text-decoration: none;
}

.f2 .project:hover h3,
.projects > div:hover h3 {
    color: var(--d-blue);
}

.f2 .project img,
.projects img {
    border-radius: 10px;
}

.f2 .project h3,
.projects h3 {
    margin-bottom: 0;
}

.project span,
.projects span {    
    font-size: 14px;
    background-color: var(--l-red);
    color: var(--white);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 7px;
    margin-top: 20px;
}

.f2 .project p,
.projects p {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 599.999px) {
    .f2 .project,
    .projects > div {
        margin-top: var(--gap);
    }

    .f2 .project img,
    .projects img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
    }
}

/* Tablet & Desktop */
@media (min-width: 600px) {
    .f2 > .project img,
    .projects > div img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
    }

    .f2 > div > .project:not(:first-child) {
        margin-top: var(--gap); 
    }

    .f2 > div > .project img,
    .projects > div img {
        width: 40%;
        aspect-ratio: 1/1;
        object-fit: cover;
        float: left;
        margin-right: 30px;
    }

    .f2 > div > .project,
    .projects > div {
        overflow: auto;
    }

    .f2 > div > .project h3,
    .projects h3 {
        margin-top: 3px;
    }
}