/* Tarjeta quienes somos */
.tarjeta-nosotros{
    background-color: var(--light-color);
    width: 300px;
    height: 200px;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.tarjeta-nosotros h2{
    font-weight: 900;
    color: var(--white);
}

.tarjeta-nosotros p{
    color: var(--white);
}

.tarjeta-nosotros a{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.tarjeta-boton{
    display: flex;
    align-items: center;
    gap: 20px;
}

.caja{
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    /* background-color: var(--white); */
}



/* Tarjeta Servicios */
.tarjeta-servicio{
    width: 300px;
    height: 300px;
    background-color: var(--light-color);
    border-radius: 20px;
    box-sizing: border-box;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.tarjeta-servicio h1{
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
}

.tarjeta-servicio p{
    font-size: 1.25rem;
    text-align: justify;
    color: var(--white);
}

.tarjeta-servicio a{
    font-size: 1.25rem;
    text-align: justify;
    color: var(--white);
}

.tarjeta-servicio .tarjeta-boton{
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.tarjeta-servicio .caja{
    background-color: var(--white);
}



/* Tarjetas formacion */
.tarjeta-cursos-a{
    width: 300px;
    height: 300px;
    background-color: var(--light-card);
    border-radius: 20px;
    box-sizing: border-box;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.tarjeta-cursos-a h2{
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--main-color);
}

.tarjeta-cursos-a p{
    font-size: 1.25rem;
    text-align: justify;
    color: var(--secondary-color);
}

.tarjeta-cursos-a a{
    font-size: 1.25rem;
    text-align: justify;
    color: var(--black);
}

.tarjeta-cursos-a .tarjeta-boton{
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.tarjeta-cursos-a .caja{
    background-color: var(--black);
}

@media screen and (min-width: 500px) {
    .tarjeta-nosotros{
        width: 350px;
    }

    .tarjeta-servicio p{
        font-size: 1.5rem;
        text-align: left;
    }

    .tarjeta-servicio a{
        font-size: 1.5rem;
        text-align: left;
    }

    .tarjeta-servicio{
        justify-content: space-between;
    }

    .tarjeta-cursos-a p{
        font-weight: 600;
    }
}

@media screen and (min-width: 1023px) {
    .tarjeta-nosotros{
        width: 400px;
        height: auto;
        gap: 20px;
    }

    .tarjeta-servicio {
        width: 400px;
        height: 350px;
        gap: 20px;
    }

    .tarjeta-cursos-a {
        width: 400px;
        height: 500px;
        gap: 20px;
    }
}

@media screen and (min-width: 1082px) {
    /* Tarjetas nosotros */
    .tarjeta-nosotros {
        height: 250px;
        width: 350px;
        transition: all 0.2s ease;
        cursor: pointer;
        box-shadow: 5px 5px 10px var(--shadow);
    }

    .tarjeta-nosotros:hover {
        transform: scale(1.05);
        box-shadow: 5px 5px 20px var(--shadow);
    }

    /* Tarjetas servicios */
    .tarjeta-servicio {
        width: 350px;
        height: 350px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .tarjeta-servicio:hover{
        transform: scale(1.05);
        background-color: var(--white);
    }

    .tarjeta-servicio:hover h1{
        color: var(--black);
    }

    .tarjeta-servicio:hover p{
        color: var(--black);
    }

    .tarjeta-servicio:hover a{
        color: var(--black);
    }

    .tarjeta-servicio:hover .caja{
        background-color: var(--black);
    }  



    /* Tarjetas cursos */
    .tarjeta-cursos-a {
        cursor: pointer;
        transition: all 0.2s ease;
        width: 350px;
        height: auto;
    }

    .tarjeta-cursos-a:hover{
        transform: scale(1.05);
    }
}