@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body,html{
    height: calc(100% 2em);
    margin: 0;
    font-family: 'Montserrat';
}
body{
background: rgb(0,77,64); /* Old browsers */
background: -moz-linear-gradient(45deg,  rgba(0,77,64,1) 0%, rgba(167,255,235,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  rgba(0,77,64,1) 0%,rgba(167,255,235,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  rgba(0,77,64,1) 0%,rgba(167,255,235,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#004d40', endColorstr='#a7ffeb',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00695c', endColorstr='#a7ffeb',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
background-repeat: no-repeat;
background-attachment: fixed;
display: grid;
}
aside{
color: white;
display: grid;
grid-template-columns: auto 40px;
padding: 2em;
}

img{
    width: 40px;
    cursor: pointer;
}
figure{
    margin: 0;
}

figcaption{
    font-size: 1.3em;
    font-weight: bold;
}

nav{

    background: #ffffff;
}

.active {
    position: absolute;
    display: block;
    background: #fff;
    width: 50%;
    left: 0;
    top: 0;
    height: 100%;
}
ul{
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8em;
    display: block;
    padding:  1.5em 3em;
    background-color: rgba(255, 255, 255, .35);

}

main{

    background: #fff;
    padding: 1em 1.4em;

}
h1{
    margin: 0;
}

p{
    font-size: 1.1em;
    line-height: 1.5em;
}

.linkfb1{
    display:block;
    color: #fff;
    background: #7B1FA2;
    text-decoration: none;
    padding: 8px 50px;
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    margin: 2em 0;
}

@media only screen and (min-width: 768px){

    body{
        display: grid;
        grid-template-columns: 20% auto;
        padding: 2em;
        }
    #imag {

        display: none;
    }     
    
    aside {
        background: #DCE1F6;
        grid-template-columns: auto;
        grid-template-rows: 40% auto;
        padding: 0;
        height: 100%;
    }   

    main{

        background: #fff;
        padding: 4em ;
    
    }

    #avatar {

        border-radius: 50%;
        background: #fff;
        width: 50px;
        height: 50px;
        margin: 2em auto 1em auto;
    }

    h1{
        margin: 0;
    }
    
    p{
        font-size: 1.1em;
        line-height: 1.5em;
    }
    
    figcaption{
        text-align: center;
        color: #000000;
    }

    ul{
        display: block;
        margin-top: 2em;
        position: relative !important;
        background: none !important;
        width: 100% !important; 
    }
    ul li a:hover {
        background-color: #fff;
    }
    
    nav{
        background: none;
    }



}