:root {
  --aqua-blue: rgb(34, 124, 128);
  --aqua-marine: aquamarine;
  --green: rgb(6, 231, 17);
  --white: honeydew; 
  --tan: cornsilk;
}
body{
    background: var(--aqua-marine);
  }
  main{
    display: flex;
    flex-direction: column;
    padding: 2% 4%;
  }

  header {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    background-color: var(--aqua-blue);
    color: honeydew;
    flex-flow: column;
  }

  nav ul {
    display: flex;
    justify-content: space-between;
    min-width: 250px;
  }
  nav a::after{
    content: ' ';
    width: 0% ;
    display: block;
    height: 1px;
    background: var(--green);
    position: relative;
    right: 0%;
    transition: all 1s linear;
}

nav a:hover::after{
    width: 100%;
}

  nav a {
    font-weight: bold;
    text-decoration: none;
    color:cornsilk;
  }
  
  #contact-me {
    flex-direction: column;
    padding: 1%;
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: blue;
  }

  section ul {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
  }

  section a {
    color: black;
  }

  #image {
    display: flex;
    min-height: 100px;
    padding: 1%;
    position: relative;
    right: 10%;
  }
  article{
    min-height: 350px;
  }

  .aside {
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #about-me {
    padding: 5%;
    text-align: center;
    line-height: inherit; 
  }

  .work {
    padding: 0;
    width: 88%;
    height: 90%;
    overflow: hidden;
    border: 5px solid var(--tan);
    filter: brightness(0.5);
  }

  .work:hover {
    transform: scale(1.1);
    border-style: dashed;
    filter: brightness(1);
    cursor: grab;
  }

  #photo {
    width: 100%;
    overflow: hidden;
    border: 6px solid var(--white)
  }

  @media screen and (min-width: 768px) {
  main{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
  }

  header {
    flex-direction: row;
  }
  
  nav ul {
    display: flex;
    justify-content: space-between;
    min-width: 350px;
  }

  h2 {
    flex: 2 1 30%;
  }
  section {
    display: flex;
    flex: 2 1 70%;
  }

  #contact-me {
    min-height: 100px;
    flex-direction: row;
    display: flex;
    justify-content: unset;
    min-height: 100px;
  }

  section ul {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    min-width: 550px;
  }

  article{
    flex: 0 1 49%;
    margin-top: 2%;
  }

  h1{
    font-size: 200%;
    flex: 0 1 100%;
  }

  #photo {
    width: 120% 
  }
  
  #photo:hover {
    transform: scale(1.3);
    cursor: pointer;
  }

  #article-2{
    flex: 0 1 20%;
  } 
  
  #style {
  display: flex;
  flex: 0 1 27%;
  justify-content: flex-end;
}

#about-me {
  padding-top: 17%;
  text-decoration: underline;
  text-align: justify;
}
  }