/*CSS RESET */

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

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

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --marginX: 1.5rem;
  --marginY: 2rem;
  --marginXDesktop: 6rem;
  --marginYDesktop: 6rem;

  --primary-yellow: #daff00;
}
html {
  font-family: system-ui, sans-serif;
  background-color: #f5f5f5;
  font-size: 16px;
}

body {
  margin: 0;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/InterTight-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight Italic";
  src: url("/fonts/InterTight-BlackItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight Italic";
  src: url("/fonts/InterTight-Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

code {
  font-family:
    Menlo,
    Monaco,
    Lucida Console,
    Liberation Mono,
    DejaVu Sans Mono,
    Bitstream Vera Sans Mono,
    Courier New,
    monospace;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 3rem 0 1.38rem;
  font-family: "Inter Tight";
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.3;
}

h1 {
  margin-top: 0;
  font-size: 2.488rem;
}

h2 {
  font-size: 2.074rem;
}

h3 {
  font-size: 1.728rem;
}

h4 {
  font-size: 1.44rem;
}

h5 {
  font-size: 1.2rem;
}

small,
.text_small {
  font-size: 0.833rem;
}

section {
  margin: var(--marginY) var(--marginX);
}

.noscroll {
  overflow: hidden;
  width: 100%;
  position: fixed;
}

.homepageSectio__text {
  font-size: clamp(1.25rem, 1.1231rem + 0.5641vw, 1.8rem);
}

p {
  font-family: "Inter Tight";
  font-size: 1.1rem;
  line-height: 1.2;
}

@media (min-width: 1280px) {
  p {
    font-size: 1.4rem;
  }

  section {
    margin: 6rem;
  }

  section > p {
    max-width: 1024px;
  }

  .two-column-section {
    display: flex;
    align-items: center;
  }

  .two-column-section > h2 {
    margin: 0;
    margin-right: 1.5rem;
    font-size: 3rem;
  }

  .two-column-section > p {
    max-width: 1024px;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-device-width: 1024px) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

@media (min-width: 1920px) {
  body {
    max-width: 1920px;
    margin: 0 auto;
  }
}
