/*
 * I use Google's Raleway font for all of the headings on the page:
 * https://fonts.google.com/specimen/Raleway
 */
 @import url('https://fonts.googleapis.com/css?family=Raleway');
 @import url('https://fonts.googleapis.com/css?family=Open+Sans');

body {
  margin: 20px 50px;
  min-width: 800px;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header p {
  /* display: inline; */        /* not needed inside a flex container */
  font-size: 38px;
  font-family: Georgia, serif;  /* find something thinner, cleaner */
}

/* not needed inside a flex container
#header ul {
  display: inline;
}
*/

#nameplate {
  text-decoration: none;
  color: black;
}

#header li {
  display: inline;
  list-style-type: none;
}

.button {
  font-family: Raleway, sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;

  color: black;
  margin: 0 8px;
  padding: 10px;
  text-decoration: none;
}

/* When hovering over the list, gray all anchors ... */
nav ul:hover a {
  color: gray;
}

/* ... then ungray the hovered list item */
.button:hover {
  color: black;
}

#contact {
  border: 1px solid black;
  border-radius: 5px;
}

#contact:hover {
  color: rgb(255, 181, 0);             /* Old Gold (goldenrod) */
  background-color: rgb(80, 7, 120);   /* Panther Purple */
}

#main {
  display: flex;
  margin: 30px 0;
}

#main img {
  width: 400px;
  align-self: start;             /* to prevent distortion */
  border: solid lightgray 2px;
  margin-right: 50px;
}

#main h1 {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 50px;
}

#main p {
  font-family: 'Open Sans', sans-serif;
  line-height: 140%;
  margin-bottom: 20px;
}