html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    margin: 0px auto;
    border: 5px solid black;
    padding: 5px 0px 0px 5px;
    max-width: 800px;
    font-size: 20px;
    /* background-color: gray; */
  }
header, p {
    padding-left: 5px;
    padding-right: 5px;
}



ul {
    padding-left: 24px;
    padding-right: 24px;
}

.padding {
    padding-left: 5px;
    padding-right: 5px;
}

.figure2 {
    width: 268px;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    }
figcaption {
    background-color: rgb(141, 93, 4);
    color: #fff;
    font: italic smaller sans-serif;
    padding: 3px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 10px;
    }
.container-header {
    display: flex;
    flex-direction: column;
}
.none {
    text-decoration: none;
}

.aside {
    margin: auto;
}

h1 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 0;
  }
h2 {
    text-align: center;
  }
h3 {
    text-align: center;
    margin-bottom: 0;
    margin-top: 10px;
  }

footer {
    display: flex;
    justify-content: space-around;
    }
.year-of-app {
    font-weight: bold;
    }
.cv-photo {
    border-radius: 50%;
}
.section__code {
    margin-top: 15px;
    padding: 5px;
  
    font-family: "Source Code Pro", monospace;
    line-height: 1.8;
  
    background-color: #ebe6e6;
  
    overflow: auto;
  }
.nav {
    display: flex;
    flex-direction: column;
    max-height: 50px;
    flex-wrap: wrap;
    align-content: space-around;
}
.Projects {
    display: flex;
    flex-direction: column;
}
.ProjectsIn {
    text-align: center;
}
.cssSlider {
    width: 300px;
}

.updating {
  font-weight: normal;
  font-size: 24px;
}

@media (min-width: 670px) {
    .container-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    p, header {
        padding-left: 40px;
        padding-right: 40px;
    }
    .Projects {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .ProjectsIn {
        max-width: 300px;
        text-align: center;
    }
    .HTMLAcad {
        height: 211px;
    }
    ul {
        padding-left: 59px;
        padding-right: 59px;
    }

    h3 {
        text-align: left;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 0;
        margin-top: 10px;
      }
    .aside {
        position: absolute;
        left: 45px;
        top: 50px;
    }
    .nav {
        margin-top: 10px;
        max-height: 400px;
        max-width: 150px;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
    }
    .nav a:hover {
        background-color: #ddd;
        color: black;
    }
    .nav2 {
        padding: 14px 16px;
        text-decoration: none;
    } 
    .active {
        background-color: #4CAF50;
        color: white;
    }    
    .section__code {
        margin-top: 15px;
        padding: 5px;
      
        font-family: "Source Code Pro", monospace;
        line-height: 1.8;
      
        background-color: #ebe6e6;
      
        overflow: auto;
      }
    .padding {
        padding-left: 40px;
        padding-right: 40px;
    }
}