/* FONTS */

@font-face {
  font-family: 'Noticia Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/NoticiaText.woff') format('woff'),
    url('./fonts/NoticiaText.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/Nunito-Light.woff') format('woff'),
    url('./fonts/Nunito-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/Nunito-Bold.woff') format('woff'),
    url('./fonts/Nunito-Bold.woff2') format('woff2');
}

/* TAGS */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: Nunito, Arial, sans-serif;
  margin: 0;
}

/* CONTAINER */

.container {
  position: relative;
  max-width: 960px;
  padding: 0 20px;
  margin: 0 auto;
}

.container--tiny {
  max-width: 500px;
}

/* HERO */

.hero {
  background: #222e67;
  padding: 40px 0;
}

.hero__image {
  display: block;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
  margin: auto;
}

.hero__image--small {
  max-height: 150px;
}

/* SECTION */

.section {
  position: relative;
  padding: 40px 0;

  color: #222e67;
  font-size: 20px;
}

.section--white {
  background: white;
}

.section--blue {
  background: #b3c9d8;
}

.section--16-9 {
  max-height: 50vh;

  background-position: center top;
  background-size: cover;
  overflow: hidden;
}

.section--16-9::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.section__title {
  margin: 0;
  color: #222e67;
  font-size: 40px;
  font-weight: normal;
  line-height: 1.25;
  font-family: 'Noticia Text', Georgia, 'Times New Roman', serif;
  text-align: center;
}

.section__subtitle {
  margin: 0;
  display: flex;
  font-size: 28px;
  font-weight: normal;
  line-height: 1.25;
  font-family: 'Noticia Text', Georgia, 'Times New Roman', serif;
}

.section__subtitle-anchor {
  display: flex;
}

.section__subtitle-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  margin-top: 0.125em;
}

.section__subtitle-icon path {
  fill: currentColor;
}

@media (max-width: 800px) {
  .section__subtitle {
    font-size: 24px;
  }
}

.section__anchor {
  height: 0;
}

.section__target {
  position: relative;
  z-index: 1;
}

.section__anchor:target + .section__target::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -20px;
  right: -20px;
  bottom: -40px;
  z-index: -1;
  background: #ffffea;
}

.section__gap {
  margin-top: 80px;
}

.section__part {
  margin-top: 40px;
}

.section__description {
  text-align: left;
}

.section__action {
  display: flex;
  flex-wrap: wrap;
}

.section__action-item {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  padding: 50px 10px 10px;
  margin: 0 auto;
}

.section__action-icon {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  width: 100px;
  height: 100px;
  margin: auto;

  transition: transform 0.3s;
}

.section__action-icon--white path {
  fill: white;
}

.section__action-icon--blue path {
  fill: #b3c9d8;
}

.section__list-item {
  padding: 10px 0;
}

/* GHOST BUTTON */

.ghost-button {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10px 20px;
  background: white;
  border: 2px solid #222e67;

  color: #222e67;
  font-size: 20px;
  text-align: center;
  text-decoration: none;

  transition: all 0.3s;
}

.ghost-button:hover,
.ghost-button:focus {
  background: #222e67;
  color: white;
}

.ghost-button--blue-shadow:hover,
.ghost-button--blue-shadow:focus {
  box-shadow: 0 0 15px #b3c9d8;
}

.ghost-button--white-shadow:hover,
.ghost-button--white-shadow:focus {
  box-shadow: 0 0 15px white;
}

.ghost-button:hover + .section__action-icon,
.ghost-button:focus + .section__action-icon {
  transform: translateY(-10px);
}

/* TIMELINE */

.timeline {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-left: 160px;
  margin: 0 auto;
  list-style: none;
}

.timeline--wide {
  max-width: 960px;
}

.timeline__item {
  position: relative;
  min-height: 60px;
  padding-right: 50px;
  padding-bottom: 50px;
  margin: 0;
}

.timeline__item--current:before,
.timeline__item--soon:before,
.timeline__item:target:before {
  content: '';
  display: block;
  position: absolute;
  top: -20px;
  left: -160px;
  right: 0;
  bottom: 30px;
  z-index: -1;
  background: #ffffea;
}

.timeline__hours,
.timeline__status {
  color: #666;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 25px;
  text-transform: uppercase;
}

.timeline__hours--big-blue {
  color: #222e67;
  font-size: 18px;
  margin-bottom: 20px;
}

.timeline__status {
  position: absolute;
  right: calc(100% + 44px);
  width: 100px;
  text-align: right;
}

.timeline__item--done .timeline__hours,
.timeline__item--done .timeline__status {
  color: #98abb9;
}

.timeline__item--pause .timeline__status {
  top: 45px;
}

.timeline__item--pause .timeline__content {
  position: relative;
  left: -30px;
  padding: 30px 0;
}

.timeline__title {
  margin: 10px 0;
  color: #222e67;
  font-size: 24px;
  font-family: Courier Prime, Courier, monospace, monospace;
  font-weight: 700;
  line-height: 1.5;
  text-transform: capitalize;
}

.timeline__item--done .timeline__title {
  color: #000;
  opacity: 0.5;
}

.timeline__description {
  padding: 5px 0;
  margin: 0;
  font-size: 16px;
}

.timeline__description--grey {
  color: #666;
}

.timeline__item--done .timeline__description {
  opacity: 0.5;
}

.timeline__link {
  display: inline-block;
  margin-top: 10px;
  border-bottom: 1px solid;
  color: #0074d9;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
}

.timeline__link:focus,
.timeline__link:hover {
  color: #222e67;
}

.timeline__link > svg {
  display: inline-block;
  height: 14px;
  width: 14px;
  margin-left: 0.5rem;
  vertical-align: baseline;
}

.timeline__link path {
  fill: currentColor;
}

.timeline__bullet {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: -30px;
  background: #222e67;
  border: 3px solid #222e67;
}

.timeline__item--done .timeline__bullet {
  background: #fff;
  border-color: #98abb9;
}

.timeline__item--current .timeline__bullet {
  background: #fff;
}

.timeline__line {
  display: block;
  width: 3px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24px;
  background: #b3c9d8;
}

.timeline__bullet + .timeline__line {
  top: 25px;
}

.timeline__line--before {
  bottom: auto;
  height: 0;
}

.timeline__line--after {
  top: auto;
  height: 50px;
}

.timeline__line--start:after {
  top: 0;
}

.timeline__line--end:after,
.timeline__line--start:after {
  content: '';
  display: block;
  width: 15px;
  height: 0;
  position: absolute;
  left: -6px;
  border-bottom: 3px solid #b3c9d8;
}

.timeline__line--end:after {
  bottom: 0;
}

@media (max-width: 750px) {
  .timeline--wide {
    padding-left: 40px;
  }
}

@media (max-width: 600px) {
  .timeline {
    padding-left: 40px;
  }
  .timeline__item--current:before,
  .timeline__item--soon:before,
  .timeline__item:target:before {
    left: -60px;
    right: -20px;
  }
  .timeline__item {
    padding-right: 0;
  }
  .timeline__status {
    position: static;
    text-align: left;
  }
}
