*{
    padding: 0;
    margin: 0;
    font-family: Helvetica;
    text-decoration: none;
}

body {
    
    padding: .5rem;
    display: block;
    align-self: center;
    background-color: #d1d1d1;
}
header {
    border-top-left-radius: 10px;
}

div{

    width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    
    }
    
    div ul{
          margin: 1px;
        width: 23%;
        display: flex;
        flex-flow: wrap;
        align-content: stretch;
        background-color: #ffffff;
        
        flex: auto;
        border-radius: 10px;
    
    }
    
    div ul li{
        display: block;
        flex: auto;
        text-align: center;
        border-radius: 10px;
        
    
    }
    
    div ul li:hover{
    font-weight: 700;
        background-color: #fe5a00;
        
    }
    
    div ul li a{
        color: #888888;
        display: block;
        padding-top: .5rem;
        padding-bottom: .5rem;
          
    }
    
    div ul li a:hover{
        color: #ffffff;
        
          
    }
    

#menu{

width: 100%;
display: flex;
flex-flow: wrap;
justify-content: flex-start;

}

#menu ul{
      margin: 1px;
    width: 23%;
    display: flex;
    flex-flow: wrap;
    align-content: stretch;
    background-color: #ffffff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    flex: auto;
    

}

#menu ul li{
    display: block;
    flex: auto;
    text-align: center;
    
    

}



#menu ul li a{
    
    font-weight: 700;

}

#menu ul li a:hover{
    color: whitesmoke;
    font-weight: 700;

}

#menu ul li:hover{
    background-color: #ff5a00;
    color: #ffffff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#clases{

    width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    
    }
    
    #clases ul{
         
        
        display: flex;
        flex-flow: wrap;
        align-content: stretch;
        background-color: #fe5a00;
        border-radius: 10px;
        margin-top: .5rem;
        
        flex: auto;
        
    
    }
    
    #clases ul li{
        display: block;
        flex: auto;
        text-align: center;
        margin: .3rem;
        background-color: rgba(255, 255, 255, 0.35);
         border-radius: 10px;
        
    }
    
    #clases ul li:hover{
        background-color: whitesmoke;
    }
    
    #clases ul li a{
        color: #ffffff;
        font-weight: 600;
    
    }

    #clases ul li a:hover{
        color: #fe5a00;
        
    
    }

main {
    display: inline-flex;
     width: 100%;
    margin-top: .5rem;
    justify-content: space-around;
}

article {
    width: 79%;
}

aside {
     width: 20%;
}

img { 
display: block;
    width: 100%;
    border-radius: 20px;
}

section {
    width: 80%;
    max-height: 80vh;
    display: flex;
    flex-flow: wrap;
    justify-content: space-around;
margin-top: 1rem;
}

section div {
    display: block;
    width: 31%;
    margin: 1%;
    background-color: black;
    border-radius: 30px;
    justify-content: center;
    text-align: center;
    box-shadow: 5px 10px 20px #888888;
    
}

section div img {
    border-radius: 0px;
    width: 90%;
    margin: 5%;
}

nav {
    margin-top: 1.5%;
    width: 25%;
    background-color: black;
    border-radius: 20px;
    box-shadow: 5px 10px 20px #888888;
    height: 92vh;
    
}

#sidebar {
    overflow: auto;
    height: 80vh;
    width: 90%;
    margin: 5%;
    
}

nav img {
    border-radius: 0px;
}




#menu-desple {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
    width: 100%;
    height: 100vh;
    padding: 0.5%;
    margin: 0;
    position: fixed;
    top: -200%;
    left: -100%;
    
    background-color: rgba(7, 7, 7, 0.39);
  
    
}

#menu-desple:target {
    position: fixed;
    transition: ease-in 300ms;
    top: 0;
    left: 0;
}

.cerrar-menu img {
    height: 5%;
    padding: 2px;
    margin: 1px
}

.main-container {
  background-color: rgba(113, 128, 212, 0.37);
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

canvas {
  background-color: rgba(0, 0, 0, 0.11);
    margin: .5%;
    
}

#dibujo {
    display: flex;
    width: 2%;
    padding: .5%;
    justify-content: center;
    position: fixed;
    top: 50%;
    left:0;
    background-color: white;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px
}

#dibujo img {
    width: 75%;
    margin: 10%;
}
