*{
  margin:0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;

  }
.headerClass{
  background-color: #e9edc9;
  border-radius: 10px;
  padding: 1%;
  height: 15vh;
  display: flex;
  justify-content: end;
  flex-direction: column;
}

.bodyWrapper{
  height: 100vh;
  border-radius: 20px;
  width: 80vw;
  margin: 0 auto;
  background-color: #fefae0;
}

.navbar{
  width: 25%;
  margin-right: 1vw;
  background-color: #faedcd;
  height: 80vh;
}

.navbar ul{
  justify-self: center;
  list-style-type:none;
  padding-left: 0;
  width: 80%;
}
.navbar a{
  display: block;  
  text-align: center;
  text-decoration: none;
  color: black;
  border: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 5%;
}

.navbar li{
  margin-top: 5vh;
}

#lastNav{
  margin-bottom: 18vh;
}

.mainWrapper{
  padding: 2%;
  margin-top: 3vh;
  width: 80%;
}
.photoAndDescription{
  margin-top: 5vh;
  display: flex;
  align-items: center;
}
#description {
  margin-top: 3vh;
  margin-left: 2vw;
}

#headshot{
  display: block;
  width: 50%;
}

.centralBody{
  display: flex;
}

.footer{
  background-color: #ccd5ae;
  padding: 2%;
  border-radius: 0 0 10px 10px;
}


@media screen and (max-width: 750px){  
  .headerClass{
    align-items: center;
    justify-content: center;
  }
  .bodyWrapper{
    margin: 0;
    width: 100%;
    background-color: #fefae0;
    border-radius: 0;
    height: 100vh;
  }
  .navbar{
    margin-left: 0;
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: center;
  }
  .navbar ul{
    list-style-type:none;
    padding-left: 0;
    display: flex;  
    justify-content: space-evenly;
    width: 100%;
  }
  .navbar a{
    width: 80%;
    font-size: calc(2vw - 2px);
  }
  .navbar li{
    flex: 1; /* makes the buttons same sized src=w3school*/
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2vh auto;
  }
  #lastNav{
    margin: 2vh auto;
  }
  .centralBody{
    display: block;
  }
  .mainWrapper{
    margin-top: 0vh;
    width: 100%;
    height: 75vh;


  }
  .mainWrapper img{
    width: 50%;
  }
  #description {
    width: 100%;
  }
  .footer{
    font-size: 12px;
  }
  .photoAndDescription{
    flex-direction: column;
  }
}