
.portfolio {
    padding-bottom: 5rem;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;

    max-width: 25rem;
    margin: 0 auto;
    padding-inline: 3rem;
}

@media (max-width: 768px) {

    .project-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }

    .project-card {
        padding: 1rem;
        gap: 0.5rem;
    }
}


.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;


    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgb(44, 82, 139);
    background: rgb(39, 34, 86);

    box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.326);
}


.btn-container {
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
    margin-top: auto;
}

.btn-project {
    display: flex;

    justify-content: center;
    text-align: center;

    width: fit-content;
    min-width: 80px;
    max-width: 200px;
    min-height: 32px;

    margin-block: 1rem;
    padding: 0.75rem 1rem;

    border: none;
    border-radius: 3rem;

    background: rgb(97, 33, 140);
    color: rgb(233, 233, 233);

    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.1s ease,
        box-shadow 0.2s ease;
}

.btn-project a {
    font-family: inherit;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 500;
    text-decoration: none;
    color: inherit;
}

.btn-project:hover {
    background-color: rgb(121, 49, 169);
    color: white;
}

.btn-project:visited {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 850px) {

    .project-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1rem;
        gap: 0.5rem;
    }
}

@media (max-width: 550px) {

    .project-grid {
        grid-template-columns: 1fr;
    }

}

.project-card img {
    width: 100px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 1rem;
}

.testimonials {
    inline-size: 100%;
    padding-inline: 2rem;

}

.testimonials .wrapper h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.testimonials .wrapper p {
    font-size: clamp(1.05rem, 2.5vw, 1.4rem);
    line-height: 1.6;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;

    max-width: 56rem;
    margin: 0 auto;
    padding: 3rem;
    padding-bottom: 5rem;
}

@media (max-width: 550px) {
    .test-grid {
        grid-template-columns: 1fr;
    }
}

.test-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    height: 100%;
    min-height: 200px;
    gap: 0.8rem;

    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgb(28, 86, 105);
    background: rgb(51, 43, 99);

    box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.326);
}

.test-card p {
    text-align: center;
}