body {
  background-color: #5bca24;
  background-image: linear-gradient(#3d9613 1px, transparent 1px), linear-gradient(to right, #3d9613 1px, #5bca24 1px);
  background-size: 20px 20px;
  background-blend-mode: darken;
  font-family: 'Victor Mono', monospace;
}

.container {
  width: 70vw;
  margin: auto;
  display: grid;
  grid-gap: 0.5rem;
  grid-template:
    "header aside"
    "header aside"
    "main main"
    "footer footer"
    / 2fr 1fr;
  justify-content: center;
  align-content: center;
}

header {
  grid-area: header;
}

header h1 {
  color: #e4ffd6;
  text-shadow: 0.3rem 0.2rem #3d9613;
  font-size: 7rem;
  line-height: 2rem;
  font-style: italic;
  text-align: center;
}

header .speechbubble {
  height: 20vh;
  width: 40vw;
  position: relative;
  background: #e4ffd6;
  border-radius: 1rem;
  margin: auto;
  padding: 1rem;
  justify-content: center;
  align-content: center;
}

header .greeting {
  height: 20vh;
  width: 40vw;
  color: #3d9613;
  font-weight: 500;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #5bca24 #e4ffd6;
}

.greeting p {
  margin-top: 0;
}

aside {
  grid-area: aside;
  margin-top: 2rem;
  margin-bottom: -1rem;
  text-align: center;
}

aside .guy {
  max-height: 20rem;
  margin-left: -1rem;
}

aside img:hover {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

main {
  grid-area: main;
  color: #e4ffd6;
  font-size: 1rem;
  text-align: center;
  margin: 0.5rem;
}

main h2 {
  font-size: 2rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1rem;
  color: #e4ffd6;
  text-shadow: 0.1rem 0.2rem #3d9613;
}

main h3 {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1rem;
  color: #e4ffd6;
  text-shadow: 0.1rem 0.2rem #3d9613;
  margin-bottom: 2rem;
}

main p {
  margin: 1rem;
}

main b {
  font-weight: 700;
}

main hr {
  border: 4px dashed #e4ffd6;
  margin-top: 2rem;
}

main img {
  filter: drop-shadow(0 0 0.1rem #3d9613);
}

.web {
  filter: hue-rotate(70deg);
}

.web:hover {
  filter: hue-rotate(0);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

.socmed {
  margin-right: 1rem;
    transition: transform .5s;
}

.socmed:hover {
  transform: scale(1.5);
  image-rendering: pixelated;
}

footer {
  grid-area: footer;
  height: 10vh;
  color: #e4ffd6;
  font-size: 0.6rem;
  text-align: center;
  margin-bottom: 0.8rem;
  justify-content: center;
  align-content: center;
  width: 100%;
}

footer a {
color: #e4ffd6;
text-decoration: none;
}

footer a:hover {
color: #e4ffd6;
text-decoration: underline;
}

.credits {
  background-color: #5bca24;
  padding: 0.2rem;
}

@media only screen and (min-width:800px) {

  header .speechbubble:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 0.8em solid transparent;
    border-left-color: #e4ffd6;
    border-right: 0;
    margin-top: -0.8em;
    margin-right: -0.8em;
  }
}

@media only screen and (max-width: 800px) {
  .container {
    width: 90vw;
    grid-template:
      "header"
      "aside"
      "main"
      "footer";
  }

  header .speechbubble {
    height: 20vh;
    width: 70vw;
  }

  header .greeting {
    height: 20vh;
    width: 70vw;
  }

  header .speechbubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 0.625em solid transparent;
    border-top-color: #e4ffd6;
    border-bottom: 0;
    margin-left: -0.6em;
    margin-bottom: -0.6em;
  }

  aside {
    margin-top: 2rem;
  }

}