@font-face {
  font-family: "Graphik";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/Graphik-Regular.woff")
    format("woff");
}

@font-face {
  font-family: "Graphik";
  font-style: normal;
  font-weight: 500;
  src: url("/assets/Graphik-Medium.woff")
    format("woff");
}

@font-face {
  font-family: "Greycliff CF";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/GreycliffCF-SemiBold.woff2")
    format("woff2");
}

@font-face {
  font-family: "Greycliff CF";
  font-style: normal;
  font-weight: 800;
  src: url("/assets/GreycliffCF-ExtraBold.woff2")
    format("woff2");
}

html {
  margin: 0;
}

body {
  font-family: "Graphik", sans-serif;
  line-height: 1.4;
  background-color: #2c3e50;
}

header {
  background-color: #fef5e7;
  color: #2c3e50;
}

.parent {
  max-width: 1000px;
  margin: 0 auto;
}

.child {
  margin: 0 50px;
  padding: 192px 0;
}

h1 {
  font-family: "Greycliff CF", sans-serif;
  font-weight: 800;
  color: #008080;
  font-size: 60px;
  margin: 0;
}

.top {
  font-size: 20px;
  font-weight: 500;
}

.subtitle {
  font-size: 20px;
  font-weight: 400;
  margin: 15px 0;
  max-width: 448px;
}

.wave { 
  height: 60px;
  vertical-align: -8px; 
  animation-name: wave-animation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

.email:hover {
  color: #008080;
  background-color: #fef5e7;
}

.arrow {
  font-family: "BlinkMacSystemFont", "Graphik", sans-serif;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

a {
  color: #2c3e50;
}

.avatar {
  height: 250px;
  float: right;
}

@media screen and (max-width: 650px) {
  .avatar {
    display: none;
  }
}

footer {
  padding: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: "Greycliff CF", sans-serif;
  color: white;
  background-color: #2c3e50;
}
