.projects-section {
    padding: 4rem 3rem 5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10rem;
    margin-bottom: 7rem;
}

.projects-header-box {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.projects-sign-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 0.5rem 2rem;
    background-color: rgb(220, 165, 0);
    border: solid 0.1rem black;
    border-radius: 80%;
    font-size: 2rem;
    font-weight: 800;
    color: rgb(33, 37, 41);
    margin: 0;
    white-space: nowrap;
    width: fit-content;
}

.projects-wrapper {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.project-card {
    background-color: white;
    padding: 2rem 1.75rem;
    width: 22rem;
    box-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.08);
    border-radius: 0.4rem;
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: rgb(33, 37, 41);
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgb(70, 70, 70);
    margin-bottom: 1.2rem;
}

.project-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1.2rem;
    border-radius: 0.3rem;
    overflow: hidden;
    background-color: rgb(230, 230, 230);
}

.project-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgb(6, 41, 82);
    text-decoration: none;
    border-bottom: 0.1rem solid rgb(220, 165, 0);
    padding-bottom: 0.1rem;
}

.project-link:hover {
    color: rgb(220, 165, 0);
}

@media (max-width: 48rem) {
    .projects-section {
        padding: 3rem 2rem 4rem 2rem;
        align-items: center;
    }

    .projects-header-box {
        align-items: center;
    }

    .projects-sign-box {
        font-size: 1.6rem;
        padding: 0.45rem 1.5rem;
        min-height: 2.6rem;
    }

    .projects-wrapper {
        justify-content: center;
        gap: 2rem;
    }

    .project-card {
        width: 100%;
        max-width: 22rem;
    }
}

@media (max-width: 30rem) {
    .projects-section {
        padding: 2rem 1rem 3rem 1rem;
    }

    .projects-sign-box {
        font-size: 1.3rem;
        padding: 0.4rem 1rem;
        min-height: 2.2rem;
    }

    .project-card {
        padding: 1.4rem 1.2rem;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }
}