* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto Mono', monospace;
  color: #464655;
}

body,
html {
  max-height: 100vh;
  height: 100%;
  width: 100%;
}

a {
  text-decoration: none;
  color: white;
  &:hover {
    background-color: #ff70a6;
    color: white;
  }
}

button {
  border-radius: 20px;
  cursor: pointer;
  border: 3px solid darken(#44ffd1, 5%);
  background-color: #44ffd1;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0.5, 0.5);
  font-size: 14px;
  padding: 5px;
  outline: none;
  &:hover {
    background-color: lighten(#44ffd1, 10%);
  }
  &:disabled {
    opacity: 0.5;
    cursor: default;
  }
}

h1,
h3 {
  font-family: 'Lobster', cursive;
}

input {
  height: 4vh;
  padding: 1%;
  border: none;
  border-radius: 20px;
  outline: none;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0.5, 0.5);
}

::-webkit-scrollbar {
  width: 0.5em;
  background: none;
}

::-webkit-scrollbar-thumb {
  background: black;
  outline: 1px solid slategrey;
}

.game-card {
  padding: 0.5%;
  flex-grow: 1;
}

.rulespage {
  margin-bottom: 10px;
}
.linkbutton {
  background-color: Transparent;
  background-repeat: no-repeat;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  &:hover {
    background-color: none;
  }
}

.button-color {
  background-color: #a06cd5;
  border: 3px solid #a06cd5;
  color: white;
  &:hover {
    background-color: #a06cd5;
  }
}

.landingbox {
  background: #ff70a6;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5), inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  flex-grow: 1;
  margin: 30px auto 100px auto;
  width: 50%;
  min-width: 50%;
  max-height: 60vh;
  padding: 3%;
}

.entrance-title {
  font-family: 'Lobster', cursive;
  font-size: 8vw;
  color: #464655;
}

@media (max-width: 600px) {
  div,
  button {
    font-size: 10px !important;
  }
  .entrance-title {
    font-size: 70px !important;
  }
  .phone-time {
    font-size: 20px !important;
  }
  .phone-signup {
    min-width: 85vw;
  }
  .phone-game {
    max-width: 10vw;
  }
  .phone-entrance {
    min-width: 90%;
  }
  .landingbox {
    min-width: 95% !important;
  }
  button {
    padding: 0 !important;
  }
}

// animations
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.infinite {
  animation-iteration-count: infinite;
}

@keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    transform: translate3d(0, -4px, 0);
  }
}

.bounce {
  animation-name: bounce;
  transform-origin: center bottom;
}

@keyframes rollIn {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.rollIn {
  animation-name: rollIn;
}
