/*

-- SET rem UNITS

16px - 100%
10px - X

I rem = 10px

html {
  font-size: 62.5%;
}

--- 01 TYPOGRAPHY

font-family: 'Rubik', sans-serif;

Font sizes (px):
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights:
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights:
Default: 1
Small: 1.05
Medium: 1.6
Large: 1.8

- Letter spacing:
-0.5px
0.75px

--- 02 WHITE SPACE

Spacing system (px):
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128


--- 03 COLORS

- Primary: 
- Tints: 
- Shades: 
- Accents: 
- Greys:
#333 #555 #6f6f6f #888 #767676

Text: #555
Heading: #333
Step Number: #ddd
Button: #e67e22
Hover: #cf711f

-- 04 SHADDOWS

0 2.4rem 4.8rem rgba(0,0,0, 0.075);

-- 05 BORDER RADIUS

Default: 9px;
Medium: 11px;

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  /* Only works if there is nothing absolutely positioned in relation to body */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/*******************************/
/* GENERAL REUSABLE COMPONENTS */
/*******************************/
.container--error {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container--error h1 {
  margin-bottom: 0%;
}

.img-404 {
  max-width: 80%;
}

.btn--404 {
  background-color: #0ea5e9;
  color: white;
}

.btn--404:hover {
  background-color: #0284c7;
}
.alert {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 1.6rem 15rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
}

.alert--success {
  background-color: #20bf6b;
}

.alert--error {
  background-color: #eb4d4b;
}

/* For centering content */
/* 1200px or 1140px */
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.grid {
  display: grid;
  row-gap: 9.6rem;
  -moz-column-gap: 6.4rem;
  column-gap: 6.4rem;
}

.grid--center-v {
  align-items: center;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}

/* When we have several grids in single section we want spacing 
  But when there is only one grid, menaing when grid that is a last child we do not want padding */
/* .grid:last-child {
    margin-bottom: 0;
  } */

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #333;
}

.heading-primary {
  line-height: 1.05;
  font-size: 5.2rem;
  margin-bottom: 3.2rem;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #cf711f;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  font-size: 2rem;
  padding: 1.6rem 3.2rem;
  border-radius: 0.9rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;

  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn--no-jump {
  height: 5rem;
}

.btn--up {
  position: fixed;
  opacity: 0.6;
  right: 0;
  top: 50%;
  width: 5rem;
  height: 5rem;
  margin-right: 1.7rem;
  transform: translate(0, -50%);
  z-index: 1001;
}

.btn--up img {
  width: 100%;
}

.hide {
  display: none;
}

.btn--full:link,
.btn--full:visited {
  color: white;
  /* color: #555; */
  /* background-color: #e67e22; */
  background-color: #a15818;
  /* background-color: #b20600; */
  /* background-color: #0078aa; */
}

.btn--full:hover,
.btn--full:active {
  background-color: #cf711f;
  /* background-color: #b8651b; */
  /* background-color: #8e0500; */
  -webkit-animation: rotate 0.5s;
  animation: rotate 0.5s;
}

@-webkit-keyframes rotate {
  22% {
    transform: perspective(100px) rotateY(15deg);
  }
  44% {
    transform: perspective(100px) rotateY(-15deg);
  }
}

@keyframes rotate {
  22% {
    transform: perspective(200px) rotateY(15deg);
  }
  44% {
    transform: perspective(200px) rotateY(-15deg);
  }
}

.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-top-sm {
  margin-top: 1.6rem !important;
}

.margin-top-md {
  margin-top: 3.6rem !important;
}

.margin-top-lg {
  margin-top: 9.6rem !important;
}

.margin-top-xlg {
  margin-top: 14rem !important;
}

.margin-bottom-sm {
  margin-bottom: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 3.6rem !important;
}

.margin-bottom-lg {
  margin-bottom: 9.8rem !important;
}

.link--no-decoration {
  text-decoration: none;
  color: inherit;
}
