html {
  height: 100vh;
  position: relative;
  font-family: "McLaren", sans-serif;
  font-size: 18px;
  overflow: hidden; }

html.scroll {
  height: auto;
  overflow: auto; }

* {
  font-family: "McLaren", sans-serif; }

body {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, #f9f9f9 0px, #f9f9f9 109px, #eaeaea 109px, #eaeaea 218px, #f2f2f2 218px, #f2f2f2 327px);
  margin: 0;
  font-size: 18px; }

.chalice-ad {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  display: inline-block; }

.chalice-ad img {
  width: 40px;
  vertical-align: bottom; }

.chalice-ad a {
  color: #cc0; }

@media (min-width: 600px) {
  body {
    font-size: 24px; }
  h1 {
    font-size: 60px; } }

.main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px; }

input,
button {
  font-size: 24px; }

.center {
  text-align: center;
  position: relative; }

.content {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px; }

.small {
  font-size: 20px; }

.clipboard-button {
  font-size: 20px;
  background: none;
  border: none;
  color: black;
  background: #ddd; }

h1 {
  font-family: "Titan One", cursive;
  font-weight: normal;
  font-size: 40px;
  text-align: center;
  text-shadow: -5px 0 0px white, 5px 0 0px white, 0 -5px 0px white, 0 5px 0px white, -5px -5px 0px white, 5px 5px 0px white, -5px 5px 0px white, 5px -5px 0px white;
  margin: 0; }

input {
  padding: 10px;
  border-radius: 10px;
  min-width: 60%; }

code {
  display: inline-block;
  font-family: monospace;
  background-color: #eee;
  border-radius: 5px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); }

button {
  padding: 10px;
  border-radius: 10px;
  background: radial-gradient(circle at center center, #56c571, #4db55f, #43a54d, #3a953b, #308529);
  color: white;
  margin: 10px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }

button:hover {
  transform: scale(1.1, 1.1); }

.purpose-container {
  min-height: 55px;
  margin: 0.5em -20px; }

.purpose {
  font-size: 30px;
  font-weight: bold;
  background: #eee;
  padding: 5px 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  margin: 0 0; }

.straws-container {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  pointer-events: none; }

.straw-container {
  position: absolute;
  top: 80%;
  width: 30px;
  pointer-events: all; }

.straw {
  box-shadow: inset 0 0px 10px rgba(0, 0, 0, 0.5), 0 0 4px rgba(0, 0, 0, 0.3);
  width: 30px;
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px; }

.straw-container--unclaimed {
  cursor: pointer; }

.straw::before {
  content: "";
  width: 30px;
  height: 26px;
  border-radius: 20px;
  background: black;
  position: absolute;
  top: -15px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.7), 0 0 4px rgba(0, 0, 0, 0.3); }

.pointer {
  position: absolute;
  top: 0;
  left: 0;
  background: #f00;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 2px black;
  pointer-events: none;
  opacity: 0.7; }

.pointer__name {
  position: absolute;
  top: 0;
  font-size: 16px;
  background: white;
  padding: 2px;
  border-radius: 5px; }

.pointer__name--left {
  right: calc(100% + 5px); }

.pointer__name--right {
  left: 25px; }

.users {
  text-align: center;
  min-height: 55px; }

.user {
  background: #ccc;
  border-radius: 10px;
  padding: 5px 10px;
  margin: 5px;
  display: inline-block; }

.straw-user {
  position: absolute;
  top: 30px;
  left: 0;
  transform: translate(calc(-50% + 15px), 0);
  padding: 10px 20px;
  border-radius: 20px;
  pointer-events: none; }

.straw-press-hint {
  position: absolute;
  top: 30px;
  left: 0;
  transform: translate(calc(-50% + 15px), 0);
  padding: 10px 20px;
  border-radius: 20px;
  background-color: mintcream;
  white-space: nowrap;
  z-index: 100; }

.straw-container--revealed {
  animation: straw-reveal 300ms ease-out forwards; }

.winner p {
  font-family: "Titan One", cursive;
  font-size: 80px; }

.hint {
  font-size: 60px;
  opacity: 0.3;
  text-align: center;
  position: absolute;
  top: 40%;
  width: 100%; }

.spectator {
  font-size: 60px;
  opacity: 0.3;
  text-align: center;
  position: absolute;
  top: 40%;
  width: 100%; }

.hint i {
  font-size: 120px; }

.footer {
  font-size: 16px;
  position: absolute;
  bottom: 0px;
  background: #ddd;
  padding: 5px 10px;
  text-align: right;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }

.scroll .footer {
  position: static;
  margin-top: 50px; }

.winner-underlay {
  position: absolute;
  top: -50px;
  font-size: 200px; }

.winner-underlay i {
  transform: translate(-50%, 0) rotate(0deg);
  position: absolute;
  top: 0;
  left: 15px;
  opacity: 0.3;
  z-index: -1; }

.winner-underlay i:first-child {
  color: #f00;
  animation: pulsate 2s ease-in-out infinite alternate; }

.winner-underlay i:last-child {
  color: #0f0;
  top: 25px;
  animation: pulsate 1s ease-in-out infinite alternate;
  font-size: 150px; }

.countdown-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  overflow: hidden;
  pointer-events: none; }

.countdown-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; }

.countdown-number {
  font-size: 400px;
  text-align: center;
  position: absolute;
  width: 100%;
  color: white;
  margin: 0;
  padding: 0;
  line-height: 100vh;
  top: 0;
  left: 0; }

@media (min-width: 600px) {
  body {
    font-size: 24px; }
  h1 {
    font-size: 60px; } }

@keyframes pulsate {
  from {
    transform: translate(-50%, 0) scale(0.5, 0.5); }
  to {
    transform: translate(-50%, 0) scale(1, 1); } }

@keyframes straw-reveal {
  from {
    transform: translateY(0); }
  to {
    transform: translateY(-80px); } }
