@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  /* background-image: url("https://images.unsplash.com/photo-1467810563316-b5476525c0f9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1349&q=80"); */
  background-image: url("https://images.pexels.com/photos/906531/pexels-photo-906531.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
  color: #fff;
  font-family: "PT Sans", 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;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

body * {
  z-index: 1;
}

h1 {
  font-size: 60px;
  margin: -80px 0 40px;
}

.year {
  font-size: 160px;
  z-index: -1;
  opacity: 0.2;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.countdown {
  /* display: flex; */
  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;
}

.loading {
  position: absolute;
  top: 45%;
  left: 45%;
  width: 75px;
  height: 75px;
}
#copyright {
  font-size: 28px;
  opacity: 0.5;
  color: #fff;
  position: absolute;
  bottom: 10px;
  right: 20px;
  z-index: 400;
  padding: 0;
  margin: 0;
}

#audio {
  opacity: 0.2;
  position: absolute;
  bottom: 220px;
  width: 250px;
  height: 20px;
}
#play,
#pause {
  position: absolute;
  opacity: 0.2;
  top: 40px;
  width: 40px;
  height: 40px;
  display: none;
}

#play.active,
#pause.active {
  display: block;
}

@media (max-width: 500px) {
  h1 {
    font-size: 45px;
  }

  .time {
    margin: 5px;
  }

  .time h2 {
    font-size: 12px;
    margin: 0;
  }

  .time small {
    font-size: 10px;
  }
  #copyright {
    font-size: 28px;
    opacity: 0.5;
    color: #fff;
    position: absolute;
    bottom: 10px;
    z-index: 400;
    padding: 0;
    margin: 0;
  }
}
