:root {
  --text-dark: #141624;
  --text-primary: #fe0000;

  --bg-primary: #d40000;
}

*,
*::before,
*::after {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  word-break: break-word;
  transition: all 0.2s ease-in-out;
}

button,
a,
svg,
input {
  transition: all 0.2s ease-in-out;
  outline: none !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
  color: var(--text-dark);
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  overflow: auto !important;
  overflow-x: hidden !important;
}

body {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 7px !important;
}

/* reusable class  */
/* colors */
.text-dark {
  color: var(--text-dark);
}

.text-primary {
  color: var(--text-primary);
}

.arial {
  font-family: Arial, sans-serif !important;
}

.rale {
  font-family: "Raleway", sans-serif !important;
}

.robo {
  font-family: "Roboto", sans-serif !important;
}

.text-center {
  text-align: center !important;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.hidden {
  display: none !important;
}

.ga-3 {
  grid-gap: 16px;
}

/* flex */
.flex_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.align_auto {
  display: flex;
  align-items: center;
  grid-gap: 24px;
  width: 100%;
}

.align_auto > * {
  width: 100%;
  flex: auto !important;
}

.justify_auto {
  display: flex;
  flex-direction: column;
  grid-gap: 24px;
  width: 100%;
}

.justify_auto > * {
  height: 100%;
  flex: auto !important;
}

.flex-auto {
  flex: auto;
}

/* positioning */
.relative {
  position: relative !important;
}

.absolute {
  position: absolute !important;
}

.fixed {
  position: fixed !important;
}

/* text formatting */
.capital {
  text-transform: capitalize;
}

.upperCase {
  text-transform: uppercase;
}

.clamp {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* structure */
.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.h-mc {
  height: max-content !important;
}

.w-mc {
  width: max-content !important;
}

.mw-mc {
  max-width: max-content !important;
}

.minw-mc {
  min-width: max-content !important;
}

.max_container {
  width: 100% !important;
  max-width: 1213px;
  padding-inline: 16px;
  margin-inline: auto;
  position: relative;
}

main {
  margin-top: 70px;
  padding-top: 47px;
}

.action_button {
  background-color: var(--bg-primary);
  border-radius: 9px;
  min-height: 64px;
  border: 1px solid transparent;
  padding-inline: 30px;
}

.action_button span {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  text-align: center;
  color: #fff;
}

.action_button:is(:hover, :focus) {
  background-color: transparent;
  border-color: var(--bg-primary);
}

.action_button:is(:hover, :focus) span {
  color: var(--bg-primary);
}

.action_button.outlined {
  background-color: transparent;
  border-color: var(--text-primary);
}

.action_button.outlined span {
  color: var(--text-primary);
}

.action_button.outlined:is(:hover, :focus) {
  background-color: var(--text-primary);
}

.action_button.outlined:is(:hover, :focus) span {
  color: #fff;
}

/* general spacing  */
#hero-index {
  padding-bottom: 81px;
}
#top-notch {
  padding-block: 62px;
}

.transIn {
  animation: transIn 0.3s ease-in-out;
}

@keyframes transIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keyframes for animations */
@keyframes moveBlue {
  to {
    transform: translateY(20px) rotate(90.73deg);
  }
}

@keyframes moveYellow {
  to {
    transform: translateX(-20px);
  }
}

@keyframes moveRed {
  to {
    transform: translateY(-20px);
  }
}

@keyframes moveLightRed {
  to {
    transform: translateX(20px);
  }
}

@keyframes moveDarkRed {
  to {
    transform: translateY(20px);
  }
}

/* Keyframes for animations */
@keyframes moveEllipseRed {
  to {
    transform: translateY(-20px);
  }
}

@keyframes moveRectangleLightRed {
  to {
    transform: translateX(20px);
  }
}
