:root {
  --primary: #aaaaee
}

@font-face {
  font-family: Geneva9;
  src: url("assets/fonts/FindersKeepers.ttf")
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.pixel {
  font-family: Geneva9;
}

.heading {
  font-size: 3em;  
}

.subheading {
  font-size: 2em;
}

.center {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 1rem;
  row-gap: 1rem;
}

.courier-prime-regular {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}

.courier-prime-bold {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: normal;
}

.courier-prime-regular-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
}

.courier-prime-bold-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: italic;
}

body {
  min-height: 100vh;
}

#hand {
  display: none;
}

#hand.active {
  display: inline;
}

#marnie {
  cursor: url(img/cursor/cursor1.png), grab;
}

#marnie.petting {
  -webkit-animation: cursor 400ms infinite;
  animation: cursor 800ms infinite;
}

@-webkit-keyframes cursor {
  0% {cursor: url(img/cursor/cursor1.png), auto;}
  10% {cursor: url(img/cursor/cursor2.png), auto;}
  20% {cursor: url(img/cursor/cursor3.png), auto;}
  30% {cursor: url(img/cursor/cursor4.png), auto;}
  40% {cursor: url(img/cursor/cursor5.png), auto;}
  50% {cursor: url(img/cursor/cursor6.png), auto;}
  60% {cursor: url(img/cursor/cursor7.png), auto;}
  70% {cursor: url(img/cursor/cursor8.png), auto;}
  80% {cursor: url(img/cursor/cursor9.png), auto;}
  90% {cursor: url(img/cursor/cursor10.png), auto;}
  100% {cursor: url(img/cursor/cursor1.png), auto;}
} 

@keyframes cursor {
  0% {cursor: url(img/cursor/cursor1.png), auto;}
  10% {cursor: url(img/cursor/cursor2.png), auto;}
  20% {cursor: url(img/cursor/cursor3.png), auto;}
  30% {cursor: url(img/cursor/cursor4.png), auto;}
  40% {cursor: url(img/cursor/cursor5.png), auto;}
  50% {cursor: url(img/cursor/cursor6.png), auto;}
  60% {cursor: url(img/cursor/cursor7.png), auto;}
  70% {cursor: url(img/cursor/cursor8.png), auto;}
  80% {cursor: url(img/cursor/cursor9.png), auto;}
  90% {cursor: url(img/cursor/cursor10.png), auto;}
  100% {cursor: url(img/cursor/cursor1.png), auto;}
}

.centered-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
  font-size: 0.8rem;
}

a:hover, .lavender {
    color: var(--primary);
}

a {
    text-decoration: underline;
    cursor: pointer;
    transition: color 100ms;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
  font-size: 1rem;
}

nav a{
  text-align: center;
}

input[type="text"],  input[type="email"]{
  width: 100%;
}

button, input[type="submit"] {
  background: var(--primary);
  color: white;
  margin-top: 0.6rem;
  padding-top: 0.6em;
  padding-bottom: 0.6em;
  border-radius: 0.5em;
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
  font-size: 1.2rem
}

.portrait {
  max-height: 400px;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 0;
  line-height: 3rem;
}

.note {
  font-size: 0.9rem;
}

.section-text {
  width: 400px;
  text-align: center;
  font-size: 1.1rem;
}

.section-heading {
  width: 400px;
  text-align: center;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0;
}

.section-heading img {
  max-height: 3rem;
}

.contact-form {
  width: 400px;
  text-align: center;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.honeypot {
  display: none;
}

.footer-nav {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .centered-content {
    margin-right: 1em;
    margin-left: 1em;
  }

  .page-title {
    font-size: 2rem;
    line-height: 2.2rem;
  }

  .section-text,
  .section-heading,
  .contact-form {
    width: 100%;
    max-width: 400px;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .portrait {
    max-width: 100%;
    height: auto;
  }

  nav {
    flex-wrap: wrap;
  }

  input,
  textarea,
  button {
    box-sizing: border-box;
  }

  textarea {
    width: 100%;
  }

}
