/* Projects Page */

/* Projects */
.projects {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1130px;
    gap: 2rem;
}

.projects .items {
    display: flex;
    row-gap: 3rem;
    column-gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.projects .items .project {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: default;
}

.projects .items .project img {
    width: 100%;
    max-width: 360px;
    border-radius: 5px;
}

.projects .items .project .main-text {
    display: flex;
    padding: 0 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--gray);
    transition: all 0.5s;
}

.projects .items .project .main-text:hover {
    border-color: var(--purple);
    transform: scale(1.05);
}

.projects .items .project .main-text:active {
    border-color: var(--black);
    transform: scale(0.95) rotateZ(1.7deg);
}

.projects .items .project .buttons {
    display: flex;
    justify-content: space-between;
}

.projects .items .project .buttons .other-links {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Projects GitHub */
.git-hub .items .project {
    display: flex;
    width: 20rem;
    padding: 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--gray);
    transition: all 0.5s;
}

.git-hub .items .project img {
    height: 12rem;
    width: 100%;
    background-image: url("../../images/GitHub-IconlyPro/GitHub-white.svg");
    opacity: 80%;
    transition: background-image 0.5s;
}

.git-hub .items .project:hover img {
    background-image: url("../../images/GitHub-IconlyPro/GitHub-black.svg");
}

.git-hub .items .project:hover {
    border-color: var(--purple);
    transform: scale(1.05);
}

.git-hub .items .project:active {
    border-color: var(--black);
    transform: scale(0.95) rotateZ(1.7deg);
}
