h1 {
  color: var(--secondary);
  text-transform: uppercase;
  line-height: normal;
}

h2 {
    line-height: normal;
}

h3 {
    font-size: 20px;
    color: var(--secondary);
}

.proyectos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.proyecto-principal {
    box-sizing: border-box;
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    width: 500px;
    border: solid 3px var(--primary);
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    transform: translateX(0px);
    opacity: 1;
    animation: opacity-left 0.5s ease;

}

.proyecto-info {
    align-content: center;
    padding-left: 20px;
    
}

.proyecto-info ul {
    padding-left: 18px;
}

.proyecto-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(0px);
    opacity: 1;
    animation: opacity-left 1s ease;
}

@keyframes opacity-left {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


.proyecto-imagen img {
    width: 180px;
}

@media (max-width: 1200px) { 
    .proyectos {
        flex-direction: column;
    }

    .proyecto-principal {
        width: 600px;
    }
}

@media (max-width: 700px) { 
    .proyecto-principal {
        width: 100%;
    }
    .proyecto-imagen img {
        width: 150px;
    }
}

@media (max-width: 500px) { 
    .proyecto-imagen img {
        width: 100px;
    }
}

@media (max-width: 320px) { 
    .proyecto-principal {
        flex-direction: column-reverse;
        text-align: center;
    }
    ul {
        text-align: left;
    }
    .proyecto-imagen img {
        width: 125px;
        margin-top: 10px;
    }
}