* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Source Sans Pro', sans-serif;
}

body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #fdfcb0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

i {
  color: #caeee9;
  font-size: 2.1em;
  padding: 0.3em 0.3em 0.3em 0.9em;
}

/* Header */
header {
  background-color: #2F4858;
  color: #f3adad;
  display: flex;
  justify-content: space-between;
}

header p {
  color: #caeee9;
  margin: auto 0;
  font-size: 1.2em;
}

header ul {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  padding: .25em 0;
}

header li {
  font-size: 1em;
  padding: 0 1em;
}

header a {
  color: #caeee9;
  text-decoration: none;
  border-radius: .25em;
  padding: .25em .75em;
  transition: 0.5s;
}

header a:hover {
  color: #ffffff;
  transition: 0.5s;
}

header div {
  display: flex;
}

section {
  display: flex;
  flex-direction: row;
}

main {
  padding: 1.5em;
  background-color: #fdfcb0;
  color: #2F4858;
  margin: 1em;
  text-align: center;
  border-radius: 0.5em;
}

main .main-presentation {
  width: 70%;
  margin: auto;
}

main .images {
  margin: 1em;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: #b2e6a5;
  border-radius: 1em;
  box-shadow: 0.1em 0.1em 0.625em #1d454e;
}

main img {
  width: 10em;
  margin-top: 1.2em;
  border-radius: 0.3em;
  box-shadow: 0.1em 0.1em 0.625em #1d454e;
  transition: 1s;
}

main img:hover {
  transform: translateY(-.75em);
  transition: 1s;
}

main h2 {
  margin-top: 1em;
}

main h3 {
  margin: 1em 0;
  width: 10em;
}

main p {
  margin: 1em 0;
}

main a {
  color: #1d454e;
}

.story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  margin: 0 auto 3em;
  font-size: 1.1em;
}

.story p {
  text-align: center;
}

.author {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30%;
  margin: 1em auto;
  background-color: #b2e6a5;
  border-radius: 0.5em;
  padding: 0 1.75em 1em;
  box-shadow: 0.1em 0.1em 0.625em #1d454e;
}

.author h3, .story h3 {
  width: 100%;
  margin: 1em auto 0;
}

.author img {
  box-shadow: .2em .2em .5em #1d454e;
  width: 6.25em;
  border-radius: 100%;
}

.author i {
  color: #1d454e;
  padding: 0 .5em;
}

/* Footer */
footer {
  background-color: #1d454e;
  color: #EEEEEE;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

footer h3 {
  padding: .5em 0;
  text-align: center;
}

footer img {
  width: 9em;
}

footer div {
  margin: auto;
}

footer .copyright {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 35%;
}

footer .contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer .contact p i {
  padding: .3em .3em .3em 0;
  font-size: 1.5em;
}

@media only screen and (max-width: 768px) {
  header i {
    font-size: 3em;
  }

  header p {
    font-size: 1.75em;
  }

  header li {
    font-size: 1.5em;
    padding: 0;
  }
  
  main img {
    width: 8em;
  }

  main .main-presentation {
    font-size: 1.25em;
  }

  main .images {
    flex-wrap: wrap;
  }

  .images h3 {
    font-size: 1.2em;
  }

  footer img {
    width: 7em;
  }

  footer .copyright, .contact {
    margin: 1em 1.25em;
  }

  footer p{
    font-size: 1.25em;
  }

  .story {
    width: 100%;
    font-size: 1.5em;
  }

  .author {
    width: 90%;
  }

  .author img {
    width: 12em;
  }

  .author h3 {
    font-size: 2em;
  }

  .author p {
    font-size: 1.4em;
  }

  .author i {
    font-size: 3em;
  }

}