@font-face {
  font-family: "Luciole";
  src: url("fonts/Luciole-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Luciole";
  src: url("fonts/Luciole-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: "Luciole", sans-serif;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
  background: #000;
}

.background-image {
  position: fixed;
  inset: 0;
  background-image: image-set(url("images/webb-NGC602.webp") type("image/webp"),
      url("images/webb-NGC602.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
  pointer-events: none;
}

main {
  margin: 0;
}

h1 {
  font-size: 3rem;
  margin: 2rem 0 1rem 0;
}

.logo {
  display: block;
  filter: drop-shadow(0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.7));
  width: auto;
  height: 5.3rem;
}

h1,
#days,
#hours,
#minutes,
#seconds {
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.7);
}

p,
.label,
.social-icons {
  text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.7);
}

#countdown {
  font-size: 2rem;
  margin-top: 1rem;
}

.time-box {
  display: inline-block;
  margin: 0 0.625rem;
}

.time-box span {
  display: block;
}

.label {
  font-size: 0.8rem;
  color: #ccc;
}

.social-icons {
  margin: 2rem 0;
}

.social-icons a {
  font-size: 1.6rem;
  margin: 0 0.5rem;
  color: #fff;
  transition: transform 0.2s;
  text-decoration: none;
}

.credit {
  position: fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.75rem;
  color: #ccc;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  max-width: 100%;
  font-weight: 300;
  white-space: normal;
  z-index: 1000;
}

small, .small {
  font-size: 0.75rem !important;
  line-height: 1.2;
  font-weight: 300;
}