.projects {
    background-color: #12140E;
    padding: 10rem 3rem 3rem 3rem;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowUnderline {
    0%, 100% {
        box-shadow: inset 0 -2px 0 0 rgba(255, 186, 74, 0.15);
    }
    50% {
        box-shadow: inset 0 -2px 0 0 rgba(255, 186, 74, 0.36);
    }
}

.projects .musical-projects {
    display: flex;
    justify-content: space-between;
    align-items: last baseline;
    margin-bottom: 5rem;
    opacity: 0;
    animation: slideUpFade 0.8s ease-out 0.1s forwards;
}

.projects .musical-projects .title {
    position: relative;
}

.projects .musical-projects .title span {
    color: #FFBA4A;
    display: inline-block;
    animation: glowUnderline 2.8s ease-in-out infinite;
}

.projects .featured-project {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.projects .featured-project:nth-of-type(2) {
    animation-delay: 0.3s;
}

.projects .featured-project:nth-of-type(3) {
    animation-delay: 0.4s;
}

.projects .featured-project:nth-of-type(4) {
    animation-delay: 0.5s;
}

.projects .featured-project:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.projects .featured-project .podcast img {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.projects .featured-project:hover .podcast img {
    transform: scale(1.01);
    filter: brightness(1.03);
}

.projects .featured-project .title-description {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.projects .featured-project:hover .title-description {
    transform: translateX(8px);
}

.projects .featured-project .title-description .project-title {
    transition: color 0.3s ease;
}

.projects .featured-project:hover .title-description .project-title {
    color: #FFBA4A;
}

.projects .musical-projects .title {
    font-size: 7rem;
    font-weight: 400;
    color: #E3E3D9;
}

.projects .musical-projects .title span {
    color: #FFBA4A;
}

.projects .musical-projects .label {
    max-width: 400px;
    padding: 0 1.625rem;
    font-family: 'Manrope', sans-serif;
    font-size: 1.125rem;
    color: #C3C8BC;
    line-height: 30px;
    border-left: solid 2px #3b3d38;
}

.projects .featured-project {
    display: flex;
    align-items: center;
    background-color: #1A1C16;
    border-radius: 8px;
    margin-bottom: 8rem;
    width: 100%;
}

.projects .featured-project .podcast {
    width: 100%;
}

.projects .featured-project .podcast img {
    width: 100%;
    height: auto;
    display: block;
}

.projects .featured-project .iframe {
    align-self: stretch;
    min-width: 400px;
}

.projects .featured-project .title-description {
    padding: 4rem 3rem;
}

.projects .featured-project .title-description .project-title {
    font-size: 3rem;
    color: #E3E3D9;
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 1.5rem;
}

.projects .featured-project .title-description .description {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    color: #C3C8BC;
    margin-bottom: 1.5rem;
}

.projects .featured-project .title-description .buttons {
    display: flex;
    flex-direction: column;
    max-width: 30%;
    gap: 1rem;
}

.projects .featured-project .title-description .buttons .button {
    padding: 0.75rem 1.5rem;
    border: 1px solid #3b3d38;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}

.projects .featured-project .title-description .buttons .button:hover {
    background-color: #FFBA4A;
    color: #442B00;
}

@media (max-width: 992px) {

    .projects {
        padding: 6rem 2rem 3rem 2rem;
    }

    /* Título e label viram coluna */
    .projects .musical-projects {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .projects .musical-projects .title {
        font-size: 5rem;
    }

    .projects .musical-projects .label {
        max-width: 100%;
        border-left: none;
        border-top: solid 2px #3b3d38;
        padding: 1.5rem 0 0 0;
    }

    /* Featured project vira coluna */
    .projects .featured-project {
        flex-direction: column;
        margin-bottom: 3rem;
    }

    /* Iframe ocupa largura toda e tem altura fixa */
    .projects .featured-project .iframe {
        width: 100%;
        min-width: unset;
        height: 350px;
    }

    .projects .featured-project .iframe iframe {
        width: 100%;
        height: 100%;
    }

    .projects .featured-project .title-description {
        padding: 2.5rem 2rem;
    }

    .projects .featured-project .title-description .project-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }

    .projects .featured-project .title-description .description {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .projects .featured-project .title-description .buttons {
        max-width: 50%;
    }
}

@media (max-width: 768px) {

    .projects {
        padding: 8rem 1.5rem 3rem 1.5rem;
    }

    .projects .musical-projects .title {
        font-size: 4rem;
    }

    .projects .featured-project .iframe {
        height: 280px;
    }

    .projects .featured-project .title-description {
        padding: 1rem 1.5rem;
    }

    .projects .featured-project .title-description .project-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .projects .featured-project .title-description .description {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .projects .featured-project .title-description .buttons {
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    .projects {
        padding: 8rem 1rem 2rem 1rem;
    }

    .projects .musical-projects .label {
        font-size: 1rem;
        line-height: 1.625rem;
    }

    .projects .featured-project .iframe {
        height: 220px;
    }

    .projects .featured-project .title-description {
        padding: 2rem 1.5rem;
    }

    .projects .featured-project .title-description .project-title {
        margin-bottom: 1rem;
    }

    .projects .featured-project .title-description .description {
        margin-bottom: 1.25rem;
    }

    .projects .featured-project .title-description .buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 375px) {

    .projects {
        padding: 7rem 1rem 2rem 1rem;
    }

    .projects .musical-projects .title {
        font-size: 3rem;
    }

    .projects .musical-projects .label {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }

    .projects .featured-project {
        margin-bottom: 2rem;
    }

    .projects .featured-project .iframe {
        height: 200px;
    }

    .projects .featured-project .title-description {
        padding: 1.5rem 1rem;
    }

    .projects .featured-project .title-description .project-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .projects .featured-project .title-description .description {
        font-size: 0.9rem;
        line-height: 1.5rem;
        margin-bottom: 1rem;
    }

    .projects .featured-project .title-description .buttons {
        flex-direction: column;
    }

    .projects .featured-project .title-description .buttons .button {
        text-align: center;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}