:root {
  --primary-light-color: #1ed9b3;
  --primary-color: #1abc9c;
  --primary-dark-color: #16a085;

  --black: #1c2a39;
  --gray-50: #2c3a49;
  --gray-100: #3c4a59;
  --gray-200: #4c5a69;
  --gray-300: #5c6a79;
  --gray-400: #6c7a89;
  --gray-500: #7c8a99;
  --gray-600: #8c9aa9;
  --gray-700: #9caab9;
  --gray-800: #acbac9;
  --gray-900: #bccad9;
  --white: #c5d3e2;
  --pure-white: #fff;
}

html, * {
  box-sizing: border-box;
}

body {
  background-color: var(--black, #1c2a39);
  color: var(--gray-800, #acbac9);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 100%;
  text-align: left;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--pure-white, #fff);
  line-height: 1.3;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.75em; }

a {
  color: var(--primary-color, #1abc9c);
  text-decoration: none;
}

a:hover {
  color: var(--primary-light-color, #1ed9b3);
}

a:focus {
  color: var(--black, #1c2a39);
  background-color: var(--white, #c5d3e2);
  border-color: var(--white, #c5d3e2);
  outline: 1px solid var(--black, #1c2a39);
}

/*** BUTTONS ***/

.button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.button.left { justify-content: flex-start; }
.button.center { justify-content: center; }
.button.right { justify-content: flex-end; }

.button .btn {
  background-color: var(--primary-color, #1abc9c);
  color: var(--black, #1c2a39);
  display: inline-block;
  padding: .625rem .825rem;
  font-weight: 600;
  border: 1px solid var(--primary-color, #1abc9c);
  border-radius: .25rem;
  transition: all 300ms ease-in-out;
}

.button .btn.primary {
  background-color: var(--primary-color, #1abc9c);
  color: var(--black, #1c2a39);
}

.button .btn.primary:hover {
  background-color: var(--primary-light-color, #1ed9b3);
}

.button .btn.secondary {
  background-color: transparent;
  color: var(--primary-color, #1c2a39);
}

.button .btn.secondary:hover {
  background-color: var(--primary-light-color, #1ed9b3);
  border-color: var(--primary-light-color, #1ed9b3);
  color: var(--black, #1c2a39);
}

.button .btn:focus {
  color: var(--black, #1c2a39);
  background-color: var(--white, #c5d3e2);
  border-color: var(--white, #c5d3e2);
  outline: 1px solid var(--black, #1c2a39);
}


.skip-link {
  background: var(--gray-900, #bccad9);
  color: var(--black, #1c2a39);
  height: 30px;
  line-height: 15px;
  left: 50%;
  padding: 8px;
  position: absolute;
  transform: translateY(-100%);
  transition: transform 0.3s;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0%);
}

/*** STRUCTURE ***/

/** HEADER **/

body > .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
  padding: 0 6rem;
  z-index: 100;
}

body > .header.scrolled {
  background-color: var(--primary-dark-color, #16a085);
}

.header .logo {
  flex: 0 1 auto;
  font-size: 1.5rem;
}

.header .logo a {
  color: var(--pure-white);
}

.nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/** HERO **/

.hero {
  background: url('/assets/img/hero-photo.webp');
  height: 100vh;
  position: relative;
  width: 100%;
}

.hero-content {
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-overlay {
  display: flex;
  padding: 6rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 42, 57, .4);
  z-index: 1;
}

.main {
  min-width: 12rem;
}

.section {
  height: 100vh;
  padding: 6rem;
}

.section#categories {
  background-color: var(--primary-dark-color, #16a085);
}

.section .container {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  width: calc(100vw - 12rem);
}

.section .header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.section .header p.tagline {
  color: var(--primary-light-color, #1ed9b3);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .5rem 0;
}

.section .header h2 {
  margin-top: 0;
}

.section .article {
  font-size: 1.125em;
  
}

.section .article .row {
  display: flex;
  flex-direction: row;
}

.section .article .col-40 { width: 40%; }
.section .article .col-50 { width: 50%; }
.section .article .col-60 { width: 60%; }

.section .article .column.illustration {
  margin-top: -10vw;
}

.section .footer {
  width: 100%;
}

.card {
  background-color: var(--gray-50, #2c3a49);
  border-radius: .5rem;
  padding: 2rem;
  color: var(--white, #c5d3e2);
}






