:root {
  --primary-color: #65bfd2;
  --primary-color-light: #7ae7ff;
  --background-color: #dfdfd8;

  font-family: "century-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@keyframes fadeInFromAbove {
  0% {
    opacity: 0;
    transform: translateY(-200px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slidingBackground {
  0% {
    transform: translateX(0%) translateY(0%) rotate(30deg);
  }

  100% {
    transform: translateX(calc(100vw * cos(30deg))) translateY(calc(100vw * sin(30deg))) rotate(30deg);
  }
}

html {
  min-height: 100svh;
  width: 100svw;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow: hidden !important;
  overflow-y: auto !important;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-height: 100svh;
  width: 100%;
  position: relative;
  margin: 0;
  background-color: var(--background-color);
}

#background {
  position: absolute;
  display: inline-block;
  height: 100%;
  width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: -1;
}

#background::before {
  content: "";
  position: absolute;
  width: 400%;
  height: 400%;
  top: -200%;
  left: -200%;
  background: rgba(0, 0, 0, 0.1) url("./wood_sign_silhouette_opaque.png") 0 0 repeat;
  filter: brightness(0.9) drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
  transform: rotate(30deg);
  animation-name: slidingBackground;
  animation-duration: 25s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

header {
  margin: 0;
  padding: 2em;
  background: rgba(101, 191, 210, 0.6);
  box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  margin: 0;
  color: white;
  text-align: center;
  letter-spacing: 0.25em;
  font-size: 7em;
  font-weight: 400;
  animation: fadeInFromAbove 1.5s ease 0s 1 forwards;
}

h1>span {
  text-wrap: nowrap;
}

header>a {
  display: block;
  text-align: center;
}

img {
  padding: 1em;
}

.link {
  text-align: center;
}

.link>a {
  position: relative;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: black;
  padding: 1em;
  width: 85%;
  margin: 2em auto;
  margin-bottom: 0;
  border-radius: 2em;
  overflow: hidden;
}

.link:last-child>a {
  margin-bottom: 2em;
}

.link>a::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 225%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(120deg, #a2ecff 0%, #94eaff 50%, white 50%, white 100%);
  transform: translateX(-52.5%);
  transition: transform 0.5s ease;
  z-index: -1;
}

.link>a:hover::before {
  transform: translateX(0%);
}

@media only screen and (max-width: 700px) {
  h1 {
    font-size: 3em;
    padding-top: 0.5em;
  }

  .link>a {
    padding: 1em 0.5em;
    font-size: 16px;
  }
}