/* ------------------- */
/* Reset               */
/* ------------------- */

/* https://piccalil.li/blog/a-modern-css-reset/ */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
}

:root {
  /* colors */
  --clr-dark: 230 35% 7%;
  --clr-light: 231 77% 90%;
  --clr-white: 0 0% 100%;
  --clr-red: 353, 79%, 54%;

  /* font-families */
  --ff-serif: "Bellefair", serif;
  --ff-sans-cond: "Barlow Condensed", sans-serif;
  --ff-sans-roboto: "Roboto", sans-serif;
  --ff-sans-normal: "Barlow", sans-serif;

  /* font-sizes */
  --fs-900: 9.375rem;
  --fs-800: 6.25rem;
  --fs-700: 3.5rem;
  --fs-600: 2rem;
  --fs-500: 1.75rem;
  --fs-400: 1.125rem;
  --fs-300: 1rem;
  --fs-200: 0.875rem;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

/* set up the body */
body {
  font-family: var(--ff-sans-roboto);
  color: hsl(var(--clr-white));
  line-height: 1.5;
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}

.cursor_pointer {
  cursor: pointer;
}

/* typography */
.ff-serif {
  font-family: var(--ff-serif);
}

.ff-sans-cond {
  font-family: var(--ff-sans-cond);
}

.ff-sans-roboto {
  font-family: var(--ff-sans-roboto);
}

.ff-sans-normal {
  font-family: var(--ff-sans-normal);
}

/* font sizes */
.fs-900 {
  font-size: var(--fs-900);
}

.fs-800 {
  font-size: var(--fs-800);
}

.fs-700 {
  font-size: var(--fs-700);
}

.fs-600 {
  font-size: var(--fs-600);
}

.fs-500 {
  font-size: var(--fs-500);
}

.fs-400 {
  font-size: var(--fs-400);
}

.fs-300 {
  font-size: var(--fs-300);
}

.fs-200 {
  font-size: var(--fs-200);
}

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
  line-height: 1.1;
}

.bg-red {
  background-color: hsl(var(--clr-red)) !important;
}

.text-red {
  color: hsl(var(--clr-red)) !important;
}

.bg-gray {
  background-color: #e8e8e8;
}

.line-height-1 {
  line-height: 1.3;
}

.line-height-small {
  line-height: 0.65rem;
}

.d-grid {
  display: grid !important;
}

#scrollBtn {
  display: "none";
}

.scroll__nav {
  display: grid;
  place-items: center;
  padding: 0 1em;
  position: fixed;
  bottom: 3vh;
  right: 2vw;
  z-index: 99;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255);
  filter: drop-shadow(0 0 0.1rem #d3d3d3);
}

#alert-section {
  /* display: flex; */
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  position: fixed;
  width: 100vw;
  display: none;
  z-index: 10;
}

.success-alert {
  top: 0;
  right: 0;
  /* transition: 1s all; */
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
