/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  color: var(--primary-white);
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"],
li {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  width: 100vw;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  outline: none;
  overflow-x: hidden;
  /* cursor: none; */
}

div {
  outline: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
  cursor: pointer;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
  border: none;
}

/* 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;
  }
}

@keyframes animateline {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  45% {
    transform-origin: top;
    transform: scaleY(1);
  }

  55% {
    transform-origin: bottom;
    transform: scaleY(1);
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

@keyframes animatelinered {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }

  45% {
    transform-origin: left;
    transform: scaleX(1);
  }

  55% {
    transform-origin: right;
    transform: scaleX(1);
  }

  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

@keyframes bounce {
  0% {
    transform: translateX(0) rotate(-45deg);
  }

  50% {
    transform: translateX(20px) rotate(-45deg);
  }

  100% {
    transform: translateX(0) rotate(-45deg);
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
    transform: scale(2);
  }

  100% {
    opacity: 0;
  }
}

:root {
  --primary-red: #ed1c24;
  --secondary-red: #950101;
  --primary-black: #171717;
  --primary-blue: #17252f;
  --primary-white: #ededed;
  --agr-green: #3dae2b;
  --agr-yellow: #fec015;
  --agr-white: #cecece;
  --agr-secondary-green: #194612;
  --agr-brown: #3a2822;
  --re-primary: #fde08d;
  --re-secondary: #e2a531;
  --re-tertiary: #8f6b29;
  --re-orange: #f9964e;
  --tr-orange: #ff4301;
  --tr-secondary-orange: #fa7d09;
  --tr-brown: #1a1815;
  --tr-secondary-brown: #4a3f35;
  --law-white: #f0f5f9;
  --law-primary-grey: #c9d6df;
  --law-secondary-grey: #404b52;
  --law-dark: #1e2022;
  --cs-dark: #222831;
  --cs-blue-primary: #19a7ce;
  --cs-blue-secondary: #146c94;
  --cs-white: #f6f1f1;
  --box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
}

::-webkit-scrollbar {
  background-color: var(--primary-black);
  width: 8px;
  scroll-behavior: smooth;
}

::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: var(--primary-red);
}

::-moz-selection {
  /* Code for Firefox */
  color: var(--primary-white);
  background: var(--secondary-red);
}

::selection {
  color: var(--primary-white);
  background: var(--secondary-red);
}

.cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-white);
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 100;
  transition: 0.3s;
  mix-blend-mode: difference;
}

.cursor2 {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--primary-red);
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: 0.1s;
  z-index: 100;
  mix-blend-mode: difference;
}

.cursor.focus {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: var(--primary-white);
  opacity: 1;
}

.cursor2.focus {
  opacity: 0;
  visibility: hidden;
}

.scrollTop {
  position: fixed;
  bottom: 1000px;
  left: 94vw !important;
  width: 50px;
  height: 50px;
  background-color: var(--primary-red);
  box-shadow: 0 10px 30px #0005;
  cursor: pointer;
  color: white;
  border: none;
  z-index: 999;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
}

.scrollTop.active {
  bottom: 40px;
  visibility: visible;
  opacity: 1;
  transition: 0.5s;
  border-radius: 10px;
}

.scrollTop:hover {
  border-radius: 50% !important;
}

.primary-btn {
  background-color: var(--primary-red);
  color: var(--primary-white);
  border: 3px solid var(--primary-red);
  font-weight: 400;
  text-transform: uppercase;
}

.secondary-btn {
  background: transparent;
  color: var(--primary-white);
  border: 3px solid var(--primary-white);
  border-radius: 4px;
  text-transform: uppercase;
}

.tertiary-btn:hover {
  color: var(--primary-white);
}

.tertiary-btn {
  background: transparent;
  color: var(--primary-white);
  border: 3px solid var(--primary-red);
  border-radius: 4px;
  text-transform: uppercase;
}

.secondary-btn:hover {
  background-color: var(--primary-white);
  color: var(--primary-black);
  transition: 0.5s;
}

.tertiary-btn:hover {
  background-color: var(--primary-red);
  transition: 0.5s;
}
