@font-face {
  font-family: "Brandon";
  src: url("../fonts/BrandonText-Regular.otf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brandon";
  src: url("../fonts/BrandonText-Bold.otf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brandon";
  src: url("../fonts/BrandonText-Black.otf");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brandon";
  src: url("../fonts/BrandonText-RegularItalic.otf");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeueLT";
  src: url("../fonts/HelveticaNeueLTStd-Lt.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  letter-spacing: normal;
}

@font-face {
  font-family: "Helvetica";
  src: url("../fonts/Helvetica.ttf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  letter-spacing: normal;
}

:root {
  --crisal-green: rgb(36, 82, 53);
  --crisal-green-light: #c0cfc6;
  --grey-light: #989898;
  --grey-mid: #676767;
  --grey-dark: #4e4d4d;
  --black: #000000;
  --font-xs: clamp(0.6rem, 0.8vw, 0.75rem); /* min 9.6px, max 12px */
  --font-sm: clamp(0.75rem, 1vw, 0.875rem); /* min 12px, max 14px */
  --font-md: clamp(0.9rem, 1.5vw, 1rem); /* min 14.4px, max 16px */
  --font-lg: clamp(1rem, 1.8vw, 1.125rem); /* min 16px, max 18px */
  --font-xl: clamp(1.1rem, 2vw, 1.25rem); /* min 17.6px, max 20px */
  --font-2xl: clamp(1.3rem, 2.5vw, 1.5rem); /* min 20.8px, max 24px */
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
  font-size: clamp(0.875rem, 1.5vw, 1rem); /* 14px min, 16px max */
  letter-spacing: 0.1rem;
  background-color: #fff;
  height: 100%;
}

body {
  font-family: "Helvetica", Helvetica, Arial, sans-serif;
  color: var(--grey-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.flex-grow-1 {
  flex-grow: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Brandon", sans-serif;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 4rem); /* 80px*/
  letter-spacing: 0.2rem;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 2.5rem); /* 48px or 36px */
  letter-spacing: 0.2rem;
}

h3 {
  font-size: clamp(1rem, 1vw, 1.8rem); /* 20px min, 40px max */
  letter-spacing: 0.2rem;
}

h4 {
  font-size: clamp(0.95rem, 1vw, 1.5rem); /* 14px min, 20px max */
  letter-spacing: 0.2rem;
}

h5 {
  font-size: clamp(0.875rem, 1.25vw, 1.17rem); /* 16px min, 24px max */
  letter-spacing: 0.2rem;
}

h6 {
  font-size: clamp(0.75rem, 1vw, 1rem); /* 12px min, 16px max */
  letter-spacing: 0.2rem;
}

small {
  color: var(--grey-mid);
}

a svg {
  pointer-events: none;
}

a p {
  margin: 0;
}

a {
  color: var(--crisal-green-light);
}

.topBtn {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: none;
  background-color: var(--crisal-green-light);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0px 0px 6px 0px #0000001a;
  animation: topBtn-fadeIn 0.3s ease-in-out forwards;
}

@keyframes topBtn-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.topBtn:focus {
  outline: 2px solid black !important;  
  outline-offset: 2px !important;     
}

.topBtn .bi-chevron-double-up {
    display: inline-block; 
    transition: transform 0.25s ease;
}

.topBtn:hover .bi-chevron-double-up {
    transform: translateY(-4px);
}

#snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  z-index: 9999;
}

.snowflake {
  position: absolute;
  top: -10px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
}