/* Main Style */
html {
    box-sizing: border-box;
  }
  
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  body {
    font-family: 'Karla', sans-serif;
    font-size: 1em;
    font-weight: 300;
    margin: 0;
    background-color: hsla(0, 0%, 90%, 1);
  }
  
  nav a {
    color:black;
    font-size: .8em;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
    background:hsla(169, 52%, 66%, 0.2);
    border: 1px solid white;
    padding:20px 5px;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition:all 0.1s;
  }

  nav a:hover {
    background: hsla(169, 52%, 66%, 0.9);
    /* background:rgba(0,0,0,0.3); */
  }

  .toggleNav {
    display: none;
  }

  a {
      color: hsla(169, 52%, 40%, 1);
      text-decoration: underline;
      font-weight: 600;
  }
  
  .wrapper {
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border: 10px solid hsla(0, 0%, 90%, 1);
  }

  h1{
      font-size: 3.5em;
      font-weight: bold;
      padding-top: 0px;
      padding-bottom: 0px;
      /* text-shadow: 0px 0px 10px hsla(0, 0%, 70%, 1); */
  }

h3{
  font-size: 1.1em;
  font-weight: bold;
}

nav li{
  list-style: none;
}

li{
    list-style: url("chevron-right-solid.svg");
    line-height: 1.75;
  }

/* Flex Container */
.flex-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display:flex;
  }

  /* Flex Item */
  .flex-nav li {
    flex:5;
  }
  
  .flex-nav .social {
    flex:1;
  }

/* for all media devices 501px to 800px */
@media all and (max-width:800px) {
    .flex-nav ul {
      flex-wrap:wrap;
    }
    .flex-nav li {
      flex:1 1 33.333%;
    }
    /* Needed to solve bugs with social nav */
    .flex-nav .social {
      flex:1 1 calc(100/6);
    }
    header{
        display: none;
    }  
}
  
/* for all media devices up to 500px */
  @media all and (max-width:500px) {
    .flex-nav li {
      flex-basis:100%;
    }
    .toggleNav {
        display: block;
    }
    .flex-nav ul {
    display: none;
    }
    .flex-nav ul.open {
        display:flex;
    }

    header{
        display: none;
    }

  }