:root {
  --color-text: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Work Sans", sans-serif;
  font-size: clamp(16px, 0.25vw + 1rem, 24px);
  line-height: 1.6;
  color: var(--color-text);
  background-image: url("./assets/images/main-bg.avif");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Footer Credits */
.footer-credits {
  background-color: #b3283c;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(12px, 0.2vw + 0.75rem, 16px);
  margin: 0;
  padding: .5rem 0.75rem;
  white-space: nowrap;
  z-index: 10;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .footer-credits {
    left: auto;
    right: 0;
    bottom: 4%;
    padding: 1rem 0.75rem;
    transform: none;
    text-align: right;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .footer-credits {
    bottom: 2%;
    padding: .75rem 4%;
  }
}

@media (min-width: 1600px) {
  .footer-credits {
    padding:.85rem 7%;
  }
}

@media (min-width: 2200px) {
  .footer-credits {
    padding:.75rem 3%;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Print */
@media print {
  body {
    background: white;
    color: #333;
  }
}
