/*! main.css */

body {
  margin: 10px;
}
article {
  font-family: Verdana;
  color: grey;
}
p {
  margin-top: auto;
}
h1 {
  font-family: 'Averia Sans Libre', cursive;
  text-transform: lowercase;
  color: #666;
  margin-bottom: 0;
  margin-top: 0;
}
h3 {
  margin-bottom: 0px;
  padding-bottom: 0px;
}
a:link, a:visited, a:active {
  color: grey;
  text-decoration: none;
}
a:hover {
  color: #69f;
}
a {
  border-bottom: 1px dotted;
}
#biophoto {
  background-color: #666;
}

@media only screen and (min-width: 768px) {
  body {
    width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }
  #biophoto {
    float: left;
    width: 26%;
    border-radius: 6px;
  }
  article {
    float:right;
    width:70%;
  }

  nav ul {
    padding: 0;
    margin: 0;
    white-space: nowrap;
    list-style-type: none;
  }
  nav li {
    display: inline;
  }
  nav a .description {
    display: none;
  }
  nav a {
    border-bottom: 0px;
  }
  nav i.fa {
    font-size: x-large;
  }
}

/* Large desktop */
@media only screen and (min-width: 1070px) {
  body { width: 950px;}
  h1 { font-size: 3em; }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  #biophoto {
    width: 15%;
  }
  h1 { font-size: 1.4em; }
  article {
    float: right;
    width: 80%;
  }
}

/* Landscape phones and down */
@media (max-width: 480px) {
  #biophoto {
    width: 100%;
    margin: 0px;
  }
  h1 { font-size: 1.4em; }
  article {
    float: none;
    width: 100%;
  }
}
