/* 
--- 01 TYPOGRAPHY SYSTEM

- Font size system (px):
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px):
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

- Font weights:
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Font heights:
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6
Large: 1.8

- Letter spacing:
0.5px
0.75

--- 02 COLORS

1.1 
background: #082F3D 
h1, links: #d1d1d1 // hover #9e9e9e
description: #c2c2c2  
buttons: #254D70 // hover #1b3a54

- Primary: 
- Tints: 
- Shades: 
- Accents:
- Greys: #555 #333 #767676 (lightest grey allowed on white) #888

--- 05 SHADOWS
box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS
Default: 9px
Medium: 11px
*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: var(--color-text-grey);
  overflow-x: hidden;
}

:root {
  --color-background: #082F3D;
  --color-white-background: #fff;
  --color-text-primary: #d1d1d1;
  --color-text-hover: #9e9e9e;
  --color-description: #c2c2c2;
  --color-button: #254D70;
  --color-button-hover: #1b3a54;
  --color-text-grey: #555;
  --color-grey-almost-black: #333;
  --color-ice: #DBE2EF;   
}

*:focus {
  outline: none;
  box-shadow: 
    0 0 0 0.4rem  hsla(219, 38%, 90%, 0.5),
    0 0 8px 0 hsla(219, 38%, 90%, 0.6);
  border-radius: 4px;
  padding: 4px;
}

.project-link:focus {
  box-shadow: 
    0 0 0 0.4rem hsla(195, 42%, 53%, 0.5),
    0 0 8px 0 hsla(195, 42%, 53%, 0.6);
}

.section {
  transition: all 0.6s ease-out;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

/************************/
/* GENERAL REUSABLE COMPONENTS */
/************************/
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.heading-primary {
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 3.2rem; 
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 4.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-background);
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-background);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.btn, .btn:link, .btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
}

.btn--full:link, .btn--full:visited {
  background-color: var(--color-button);
  color: var(--color-text-primary);
}

.btn--full:hover, .btn--full:active {
  background-color:  var(--color-button-hover);
}

.btn--outline:link, .btn--outline:visited {
  background-color: #f9f7f7;
  color: #555;
}

.btn--outline:hover, .btn--outline:active {
  background-color: #DBE2EF;
  box-shadow: 0 0 0 3px white;
}

/* HELPER/ SETTINGS CLASSES */
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.center-text {
  text-align: center;
}