* {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
    'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 300;
}

html,
body {
  background: #ddf;
}

h1,
h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 2.5rem;
}

a {
  text-decoration: none;
  color: #55f;
  transition: 0.5s;
}

a:hover {
  text-decoration: none;
  color: #a01a58;
}

p {
  font-size: 1.5rem;
  line-height: 2.25rem;
}

figcaption {
  font-style: italic;
  font-size: 0.8rem;
  margin-left: 10px;
}

.container {
  min-height: 100vh;
}

header {
  width: 100%;
  position: fixed;
  z-index: 100;
  display: flex;
  justify-content: space-between;
}

header .logo,
header .year {
  margin: 20px;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1.25rem;
  color: #487afa;
}

main {
}

main .title {
  width: 100%;
  margin-bottom: 20vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

main .title .title-headline {
  margin-top: 10rem;
  margin-left: 20px;
  width: 50%;
}

main .title .title-headline h1 {
  color: #266;
}

main .title .title-headline h2 {
  color: #664;
}

main .title .title-intro {
  margin-top: 10rem;
  margin-left: 20px;
  width: 40%;
}

main .title .title-intro p {
  color: #664;
}

main .selection {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-left: 15%;
  min-height: 50vh;
  margin-bottom: 20vh;
  width: 70%;
}

main .selection .selection-headline {
  width: 100%;
}
main .selection .selection-headline h2 {
  color: #266;
  font-size: 2rem;
}

main .selection .selected-project {
  width: 45%;
}

main .selection .selected-project a {
  font-size: 2rem;
  text-decoration: none;
  color: #331;
  transition: 0.5s;
}
main .selection .selected-project p {
  color: #266;
  padding-top: 1rem;
  font-size: 1.25rem;
  line-height: 1.5rem;
}
main .selection .selected-project a:hover {
  color: #55f;
}

footer {
  margin: 0;
  width: 100%;
  min-height: 20vh;
  background: rgb(200, 200, 236);
}

footer p {
  padding: 20px;
  font-size: 0.8rem;
}

@media only screen and (orientation: portrait) and (min-device-width: 375px) {
  h1,
  h2 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  main .title {
    margin-bottom: 4rem;
  }
  main .title .title-headline {
    width: 90%;
  }

  main .title .title-intro {
    margin-top: 3rem;
    width: 80%;
  }
  main .selection {
    margin-left: 20px;
    width: 80%;
  }

  main .selection .selected-project {
    width: 100%;
    margin-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid black;
  }

  main .selection .selected-project a {
    font-size: 1.5rem;
  }
}
