body{
    background: #f7fafc;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    margin: 0 auto;
    text-shadow: 1px 1px 0 rgba(0,0,0,.3);
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}

main{
    background: #fff;
    padding: 30px;
}

#foto img{
    border-radius: 100%;
    height: 150px;
    margin: 0 auto;
    margin-top: 25vh;
    width: 150px;
}

header{
    background: #4c77ad;
    border-bottom: 1px solid #ddd;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: #ddd;
    background-image: url(../img/fondo.jpg);
    height: 100vh;
    
}

header section{
    display: inline-block;
    margin: 0 20px;
    font-size: 1.5em;
}

.tarjeta{
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
    margin: 1% auto;
    max-width: 300px;
    text-align: center;
    margin-bottom: 5%;
    height: 350px;
}

.tarjeta p{
    color: #000;
    font-size: 1.2em;
    margin: 0;
    padding: 10px;
    padding-bottom: 30px;
}

footer{
    background: #154255;
    border-top: 1px solid #ddd;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: #ddd;
    display: flex;
    justify-content: space-around;
    
}

footer section div{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin: 3%;
}

footer section div img{
    border-radius: 100%;
}

#proyectos{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 3%;
}

main section{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 3%;
}

progress{
    width: 100%;
    height: 20px;
    background: #ddd;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
    margin: 3%;
}

section div p{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

h1{
    font-size: 2em;
    
}

h2{
    margin: 0 auto;
    text-align: center;
    font-size: 1.5em;
}

#divprincipal{
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    flex-direction: column;
    margin: 3%;
}

a{
    text-decoration: none;
    color: #000;
}

i{
    font-size: 1.5em;
    margin: 20%;
    text-align: center;
}

#logos{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 3%;
    flex-direction: column;
}

@media (min-width: 480px) {

    #foto img{
        border-radius: 100%;
        height: 250px;
        margin: 0 auto;
        width: 250px;
        margin-top: 25vh;
    }
    
    #divprincipal{
        display: flex;
        justify-content: space-around;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: flex-start;

    }   
    
    h2{
        font-size: 2em;
    }

    h1{
        font-size: 2.5em;
    }

    #logos{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 3%;
        flex-direction: row;
    }
    
    
    
}

@media (min-width: 800px) {

    #foto img{
        border-radius: 100%;
        height: 300px;
        margin: 0 auto;
        width: 300px;
    }

    .tarjeta:hover{
        box-shadow: 0 0 12px rgba(0,0,0,1);

    }

    header{
        padding-top: 13%;
        padding-bottom: 13%;
        height: auto;
    }

    #proyectos{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 7%;
    }

    #parrafo{
        margin: 2em 0;
        padding: 0;
        font-size: 25px;
    }

    h2{
        margin: 0 auto;
        text-align: center;
        font-size: 3em;
    }

    h1{
        font-size: 2.5em;
        
    }

    .tarjeta{
        background: #fff;
        box-shadow: 0 0 3px rgba(0,0,0,.3);
        margin: 1% auto;
        max-width: 300px;
        text-align: center;
        margin-bottom: 5%;
        height: 400px;
    }

    #logos{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 7%;
        flex-direction: row;
    }

    
}
