.projects {
    width: 100%;
    padding: 120px 5%;
    opacity: 1;
    background-color: #D9D9D9;

    a {
        display: inline-flex;
        align-items: center;
        gap: 10px;

        padding: 12px 22px;

        background: white;
        border-radius: 999px;

        width: fit-content;

        margin-left: auto;
        margin-bottom: 60px;

        text-decoration: none;
        color: #2E293B;
    }
}

.projects-header {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    margin-bottom: 60px;
}


@media(max-width:900px){

    .projects{
        padding:80px 20px;
    }

    .projects-header{

        flex-direction:column;

        align-items:center;

        justify-content:center;

        text-align:center;

    }

    .projects .botoes{

        margin:32px auto 0;

        display:flex;

    }

}

.projects-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-title h2 {
    font-size: 64px;
    line-height: 1;
    font-weight: 400;
    color: #2E293B;
}

.projects-title h2 span {
    color: #ff5b75;
}

.projects-title p {
    margin-top: 14px;
   font-size: clamp(.9rem, 1vw, 1.1rem);
    opacity: .7;
    color: #2E293B;
}

.projects-button {
    position: absolute;

    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 22px;

    border-radius: 999px;

    background: #ffffff80;
    backdrop-filter: blur(10px);

    text-decoration: none;
    color: #111;

    transition: .4s;
}

.projects-button:hover {
    transform: translateY(-3px);
}

.projects-button img {
    width: 18px;
}

/* GRID */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

/* CARDS */

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: 1s;
}

.project-card:hover img {
    transform: scale(1.05);
}


/* INFO */

.project-info {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 5;
}

.project-info h3 {
    font-family: "Outfit", sans-serif;
    text-align: left;
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
    mix-blend-mode: difference;
}

.project-tags {
    font-family: "Outfit", sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    color: #fff;
    font-size: 13px;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(10px);
}

/* TAMANHOS */

.horizontal {
    grid-column: span 7;
    height: 480px;
}

.vertical {
    grid-column: span 5;
    height: 480px;
}

.full {
    grid-column: span 12;
    height: 420px;
}

.small {
    grid-column: span 4;
    height: 480px;
}

/* RESPONSIVO */

@media(max-width:900px) {

    .projects {
        padding: 80px 20px;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-title h2 {
        font-size: 42px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .horizontal,
    .vertical,
    .full,
    .small {
        grid-column: span 1;
        height: 300px;
    }

}