@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: black;
}

body {
    background: white
}

/* barra de navegacion */

.nav{
    margin: 1em 5em;
    padding: .15em;
    list-style: none; 
    text-decoration: none;
    background: #c7c7c7;

}

.nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    text-decoration: none;
    margin: 0 .3em;
    padding: 1em;
}



.navlink li, i, a{
    display: flex;
    justify-content: center;
    align-items: center;    
    margin: 0 1em;
    color: #ffffff;
    text-decoration: none;
    list-style: none;
    font-size: 1.3m;
}


.navlink li:hover{
    background: rgb(27, 26, 26);
    background: #8a8686; 
    text-decoration: none;
    padding: 0 .2em;
}



.contenedor{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-between;
    margin: 0 5em 1em 5em ;
    padding: 1em;
    font-size: .8em;

}



.imagen{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   
    text-align: center;
    margin: 1em 1em;
    width: 76%;
    
}


.imagen img{
    width: 100%;
    height: 100%;
    
}   

.gifani img{
    width: 100%;
}

.gif_animado{
    display: flex;
    justify-content: center;
    align-items: center;
}

footer{
    display: flex;
    margin: 1em 5em;
    padding: .15em;
    padding: 1em;
    background: #2a2a2a;
    
}

footer p{
    font-size: 0.60em;
    color:white;
    padding: .5em;;
    text-align: center;
} 

@media screen and (max-width: 700px){

    .nav{
        margin: 1em 2em;
        padding: .15em;
        list-style: none; 
        text-decoration: none;
        background: #c7c7c7;
    
    }
    
    .nav ul{
        display: block;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        margin: 0;
        padding: 1em;
    }
    
    
    .nav li{
        justify-content: center;
        margin: 1em;
    }

    .imagen{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;   
        text-align: center;
        margin: auto;
        width: 100%;
        
    }
    
    
    .imagen img{
        width: 100%;
        height: 100%;
        
    }  



    footer{
        display: flex;
        margin: 2em 2em 1em 2em ;
        padding: 1em;
        background: #2a2a2a;
        
    }



}

