@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap");

* {
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}

body {
  /* background: url("https://images.unsplash.com/photo-1467810563316-b5476525c0f9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1349&q=80")
    no-repeat cover center center; */
  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-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  /* overflow: ; */
  /* overscroll-behavior-y: none; */
  position: relative;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

body * {
  z-index: 1;
}

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

.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: 700px) {
  h1 {
    font-size: 60px;
  }

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

  .time small {
    font: 12px;
  }
}

.year {
  font-size: 10rem;
  z-index: -1;
  opacity: 0.1;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}



@media (max-width: 500px) {
  h1 {
    font-size: 40px;
  }

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

  .time small {
    font: 10px;
  }
}
