body {
  font-family: "Open Sans", Calibri, sans-serif;
  margin: 1em auto;
  padding: 0;
  width: 100%;
  height: 100%;
}

header,
nav,
footer,
section,
article,
div {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/*
  ========================= Header =========================
*/

header {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 1em;
  border-bottom: solid medium #bcbbbb;
  margin-bottom: 2em;
}

.logo {
  color: white;
  font-size: 4em;
  font-weight: 800;
  letter-spacing: -0.15em;
  text-shadow: 0.1em .05em 0 black;
  text-align: center;
  width: 15%;
  order: 0;
}

.logo-bg {
  background-color: #f8981c;
  border-radius: 50%;
}

.heading {
  text-transform: uppercase;
  text-align: right;
  word-spacing: 0.4em;
  width: 85%;
  order: 1;
}

h1 {
  font-size: 2em;
  font-weight: 300;
  margin: 0 auto;
}

h2 {
  font-size: 1em;
  font-weight: 400;
  margin: 0 auto;
}

/*
  ========================= Main =========================
*/

.content {
  width: 100%;
}

.star {
  text-align: center;
}

.featured {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.featured h3 {
  color: #bcbbbb;
  font-size: 1.2em;
  font-weight: 400;
  padding-left: 10px;
  margin-bottom: 0.35em;
  width: 100%;
  order: 0;
}

.featured figure {
  margin: auto 0;
}

.featured figcaption {
  text-align: center;
}

.featured .caption-title {
  text-transform: uppercase;
  margin: 0.5em auto;
}

.featured .caption-link {
  display: none;
}

.featured_list {
  display: flex;
  flex-wrap: wrap
}

.resume {
  width: calc((100% - 2em)/3);
  order: 1;
}

.github {
  padding: 0 1em;
  width: calc((100% - 2em)/3);
  order: 2;
}

.photography {
  width: calc((100% - 2em)/3);
  order: 3;
}


/*
  ========================= Breakpoints =========================
*/

@media screen and (max-width: 20em) {
  .resume,
  .github,
  .photography {
    width: 100%;
  }
}

@media screen and (min-width: 30em) {
  .logo {
    font-size: 4em;
  }
  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 1.2em;
  }
  .featured h3 {
    font-size: 1.8em;
  }
  .featured .caption-title {
    font-size: 1.2em;
    letter-spacing: 0.25em;
  }
}

@media screen and (min-width: 40em) {
  .logo {
    font-size: 6em;
  }
  h1 {
    font-size: 3.5em;
  }

  h2 {
    font-size: 1.5em;
  }
  .featured h3 {
    font-size: 2em;
  }
  .featured figcaption {
    text-align: left;
  }
  .featured .caption-title {
    font-size: 1.4em;
    letter-spacing: 0.5em;
  }
  .featured .caption-link {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.2em;
  }
}

@media screen and (min-width: 50em) {
  header,
  footer,
  .content {
    width: 50em;
    margin-left: auto;
    margin-right: auto;
  }
}
