#s-proyectos{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 130px;
}

#s-proyectos> h1,
#s-proyectos> h3{
    font-size: 40px;
    
    color: var(--azul);
    border-bottom: 3px  solid var(--azul);
    margin-top: 40px;
    margin-bottom: 40px;
}

#s-proyectos> h2{
    width: 80%;
    font-size: 18px;
    color: #606060;
    line-height: 30px;
    text-align: justify;
    font-family: "GothamRounded-Light";
}

#content-cards-proyectos {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 30px 50px;
    padding: 60px 0px;
}

.card-proyectos {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--gris);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-proyectos img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-proyectos p{
    font-size: 18px;
    color: #606060;
    line-height: 30px;
    text-align: center;    
    padding: 10px 20px 0px;
}

.card-proyectos a{
    font-size: 18px;
    color: #fff;
    background-color: var(--naranja);
    padding: 2px 10px;
    	font-family: "GothamRounded-Bold";
    border-radius: 4px;
    margin: 20px 0px;
}

@media screen and (max-width: 1024px) {
    #s-proyectos {
        padding: 20px;
    }

    #s-proyectos> h3 {
        font-size: 35px;
    }

    #s-proyectos> p {
        width: 100%;
    }

    #content-cards-proyectos {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0px;
    }
}