.cursos-galeria {
    background-color: #1b253d;
    overflow: hidden;
    white-space: nowrap;
    padding: 1.4rem 0;
    position: relative;
}

.cursos-galeria-track {
    display: flex;
    gap: 1.4rem;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.cursos-imagem {
    flex: 0 0 auto;
    border-radius: 1.6rem;
    overflow: hidden;
    line-height: 0;
}

.cursos-img {
    width: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all 0.3s;
    opacity: 0.5;
}

.cursos-img:hover {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cursos-galeria:hover .cursos-galeria-track {
    animation-play-state: paused;
}

.cursos-section {
    padding: 9.6rem 0;
    background-color: #f0edfe;
}

.cursos-cards-in {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.4rem;
}

.curso-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 2.4rem;
    border-radius: 2.4rem;
}

.curso-card:nth-child(1) {
    grid-column: 2 / 4;
}

.curso-card:nth-child(2) {
    grid-column: 4 / 6;
}

.vagas-tag {
    display: flex;
    justify-content: end;
    margin-bottom: 16px;
}

.vagas-limitadas-span {
    color: #fff;
    background-color: #6e4cf5;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
}

.curso-titulo {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.6rem;
    height: 11.2rem;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to left, transparent, #6e4cf5) 1;
}

.curso-titulo p {
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 500;
}

.precos span {
    display: inline-block;
    background-color: #f0edfe;
    color: #45536d;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.precos p {
    color: #45536d;
    margin-left:0.8rem;
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
}

.curso-inscricao-link:link,
.curso-inscricao-link:visited {
    display: block;
    font-size: 2rem;
    color: #f8f9fa;
    background-color: #6e4cf5;
    text-decoration: none;
    padding: 1.6rem 3.2rem;
    border-radius: 10rem;
    font-weight: 600;
    /* border: 2px solid #f8f9fa; */
    text-align: center;
    transition: all 0.3s;
}

.curso-inscricao-link:hover,
.curso-inscricao-link:active {
    background-color: #402d8f;
    /* border: 2px solid #402d8f; */
    color: #f8f9fa;
}


