@import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');

* {
  box-sizing: border-box;
}
canvas {
	display: flex;
}
body {
  background-image: url('bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  overflow: hidden;
}

/* Add a dark overlay */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

body * {
  z-index: 1;
}

h1 {
  font-size: 60px;
  margin: -300px 0 40px;
}

a {
  color: #21dd00;
  text-decoration: none;
}

a:hover {
  color: #21dd00;
  text-decoration: underline;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}


.footer {
  bottom: 10px;
  text-align: center;
  padding: 2rem;

}

.year {
  font-size: 300px;
  z-index: -1;
  opacity: 0.5;
  position: absolute;
  bottom: 300px;
  left: 50%;
  transform: translateX(-50%);
}

.countdown {
  display: none;
  transform: scale(2);
}

.time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 15px;
}

.time h2 {
  margin: 0 0 5px;
}

@media (max-width: 500px) {
  h1 {
    font-size: 45px;
    margin: -600px 0 400px;
  }

  .year {
    font-size: 100px;
    z-index: -1;
    opacity: 0.5;
    position: absolute;
    bottom: 300px;
    left: 50%;
    transform: translateX(-50%);
  }

  .time {
    margin: 5px;
    display: flex;
  }

  .time h2 {
    font-size: 12px;
    margin: 0;
  }

  .time small {
    font-size: 10px;
  }
}
