/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  :root {
    --primary100: #cde3c7;
    --primary300: #8ebd85;
    --primary500: #589451;
    --primary700: #316a2d;
    --primary900: #1b4119;
    --dark500: #222c34;
    --dark700: #1a212b;
    --dark900: #040c13;
    --accent: #fbf9f7;
    --darkAccent: #091825;
    --textInactive: #777;
    --text: #000;
    --textWhite: #cdcdcd;
    --smallFont: clamp(0.75rem, 1.3671875vw, 0.875rem);
    --mediumFont: clamp(0.875rem, 1.5625vw, 1rem);
    --largeFont: clamp(1.125rem, 2.1484375vw, 1.375rem);
  }
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    src: url("/assets/fonts/montserrat-v25-latin-regular.woff2") format("woff2");
  }
  /* montserrat-700 - latin */
  @font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: url("/assets/fonts/montserrat-v25-latin-700.woff2") format("woff2");
  }
  body,
  html {
    margin: 0;
    padding: 0;
    min-width: 20rem;
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--text);
    overflow-x: hidden;
  }
  body ::-webkit-scrollbar,
  html ::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }
  body {
    transition: background-color 0.3s ease-out;
    /* To check dark mode before rendering */
  }
  body.hidden {
    display: none;
  }
  section {
    padding: 3.75rem 1rem;
    margin: auto;
  }
  .container {
    width: 100%;
    max-width: 90rem;
    margin: auto;
    position: relative;
  }
  *,
  *:before,
  *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  h1,
  h2,
  h3 {
    margin: 0;
    color: var(--primary700);
    font-weight: 400;
  }
  h1 {
    font-size: clamp(1.875rem, 4.8828125vw, 3.125rem);
  }
  h2 {
    font-size: clamp(1.75rem, 4.8828125vw, 2.875rem);
  }
  h3 {
    font-size: clamp(1.5rem, 4.8828125vw, 2.5rem);
  }
  p,
  li,
  a {
    color: var(--text);
    font-size: var(--smallFont);
    line-height: 1.5em;
    margin: 0;
  }
  a {
    color: var(--primary500);
    text-decoration: none;
  }
  a:hover {
    color: var(--primary900);
    cursor: pointer;
  }
  .cs-button {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    min-width: 3.75rem;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding: 0.5rem;
    font-size: var(--mediumFont);
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .cs-button.primary {
    background-color: var(--primary700);
    color: #fff;
    border: 1px solid transparent;
  }
  .cs-button.secondary {
    background-color: #fff;
    color: var(--primary700);
    border: 1px solid var(--primary700);
  }
  .cs-button:hover {
    -webkit-filter: brightness(120%);
            filter: brightness(120%);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  .cs-icon,
  .cs-picture,
  svg {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .skip {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1000;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  section {
    padding: 3.75rem 2rem;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  body,
  html {
    padding: 0;
    margin: 0;
  }
  section {
    padding: 6.25rem clamp(2.5rem, 5.20833333vw, 6.25rem);
  }
}
/* Scale full website with the viewport width */
@media only screen and (min-width: 2500px) {
  body,
  html {
    font-size: 0.65vw;
  }
}
/* Dark mode */
@media only screen and (min-width: 0em) {
  body.dark {
    background-color: var(--dark900);
  }
  body.dark h1,
  body.dark h2,
  body.dark h3,
  body.dark p,
  body.dark li {
    color: var(--textWhite);
  }
  body.dark .cs-button {
    color: #fff;
  }
  body.dark .cs-button.secondary {
    background-color: var(--dark500);
    border: 1px solid var(--textWhite);
  }
  body.dark .cs-button:hover {
    box-shadow: 1px 1px 3px rgba(150, 150, 150, 0.5);
  }
}
