.navbar{
    padding: 2rem;
    background-color: rgb(46, 40, 88);
}

.navbar-collapse{
    align-items: center;
    justify-content: space-between;
}

.hero{
    background-color: aqua;
    min-height: 450px;
    text-align: center;
}

section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1{
    font-size: 2.5rem;

}

.sobre-mi{
    background-color: rgb(46, 40, 88);
}

.experiencia{
    background-color: aqua;
}

.experiencia .row div{
    height: 270px;
    background-color: rgb(44, 105, 228);
}

.experiencia i{
    font-size: 2rem;
    color: darkblue;
}

.seccion-descripcion{
    font-size: 1.2rem;
    color: rgb(46, 40, 88);
}

.proyectos-recientes img{
    height: 100%;
    width: 100%;
    display: block;
    transition: all 0.2s ease;
}

.overlay{
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    p{
        font-size: 25px;
        font-weight: bold;
        margin-bottom: 0;
    }
}

.proyecto{
    position: relative;
}

.proyecto:hover img{
    opacity: 0.2;
}

.proyecto:hover .overlay{
    opacity: 1;
}

.overlay i{
    color: black;
    font-size: 60px;
    margin: 10px;
}

.footer{
    background-color:rgb(46, 40, 88);
}

@media screen and (max-width: 400px){
    .overlay p{
        font-size:18px;
    }
    .overlay i{
        font-size: 40px;
    }
}

