.icon-links {
  display: flex;
  vertical-align: bottom;
}

img {
  max-height: 100px;
}

main {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20%;
}

p {
  text-align: left;
  margin: auto;
  max-width: 600px;
  font-size: 1.3rem;
  line-height: 1.6;
  font-family: "Roboto";
}

h1 {
  text-align: left;
  font-size: 2.5rem;
  max-width: 600px;
  font-weight: 900;
  font-family: "Roboto";
}

a {
  font-family: "Roboto";
  color: black;
  text-decoration: none;
  background-image: linear-gradient(120deg, #ffd60a 0%, #ffd60a 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.1em;
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
}

a:hover {
  background-size: 100% 88%;
  text-decoration: none;
}

a.icon-a {
  background-image: none;
}
#intro {
  display: flex;
  max-width: 500px;
  text-align: left;
  align-content: flex-start;
  align-items: center;
  column-gap: 3rem;
  margin: auto;
}
.face {
  height: 10rem;
  display: block;
  position: relative;
}
.spin {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.face.spin {
  animation: face-spin 2s infinite linear;
}

@keyframes face-spin {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(30deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-30deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 740px) {
  main {
    max-width: none;
    padding: 0;
  }

  p {
    font-size: 1.1rem;
  }

  #intro {
    column-gap: 1rem;
  }
}

/* layout */
#nav {
  display: flex;
  column-gap: 2rem;
  margin-top: 0;
  padding-top: 0;
  max-width: 500px;
  margin: auto;
  text-align: left;
}

h2 {
  font-size: 1.1rem;
}

.bold {
  font-weight: 900;
  font-family: "Roboto";
}

/* mobile */
@media (max-width: 740px) {
  p {
    font-size: 1.1rem;
  }

  #intro {
    column-gap: 1rem;
  }
}
