#fabricacion {
    padding: 80px 7vw 50px 7vw;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 30%), url('../img/Contenedor.jfif');
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

#fabricacion-textos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fabricacion-textos h1{
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--main-color);
    text-align: center;
}

#fabricacion-textos p{
    font-size: 1.5rem;
    text-align: justify;
    color: var(--main-color);
    width: 100%;
}

.cursos-tarjetas{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media screen and (min-width: 500px) {
    #fabricacion-textos p{
        font-size: 1.75rem;
    }
}

@media screen and (min-width: 700px) {
    .cursos-tarjetas{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-items: center;
    }
}

@media screen and (min-width: 1023px) {
    #fabricacion{
        padding-top: 200px;
        justify-content: flex-start;
    }

    #fabricacion-textos h1{
        font-size: 5.5rem;
    }

    #fabricacion-textos p{
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1082px) {
    #fabricacion{
        padding: 30px 10vw 30px 10vw;
        /* justify-content: center; */
        background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 30%), url('../img/Contenedor.jfif');
        background-position: right;
    }

    #fabricacion-textos h1{
        font-size: 3.5rem;
    }

    #fabricacion-textos p{
        font-size: 1.75rem;
    }

    #fabricacion-textos p{
        text-align: center;
        width: 100%;
    }

    .cursos-tarjetas{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}