/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}

/* start styling */
:root {
  --color-white: #fff;
  --color-alert: #f4364c;
  --color-bg-dark: #212121;
  --color-mint: #0abab5;
  --page-max-width: 1440px;
  --paragraph-max-width: 860px;
  --font-sans: europa, sans-serif;
  --font-serif: span-condensed, serif;
  --line-height-global: 1.618;
  --font-size-main: 1.125rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}
body {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: var(--line-height-global);
  padding: 0 1rem;
  -webkit-font-smoothing: antialiased;
}

body > * {
  margin: 4rem auto 0;
  max-width: var(--page-max-width);
}

main {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-main);
}

section {
  padding-top: 4vh;
}

h1 {
  font-family: var(--font-serif);
  font-size: calc(4.625rem + 1.6vw);
  font-weight: 200;
  margin-bottom: 0.3rem;
}

h2 {
  font-size: 1.5;
  letter-spacing: 0.1rem;
  line-height: 1.1;
  margin: 2rem 0;
}

h2 span {
  font-size: 1.3rem;
  opacity: 0.4;
}

a {
  color: var(--color-white);
  transition: all 0.25s ease-in-out;
}

a:active,
a:focus,
a:hover {
  color: var(--color-alert);
  text-decoration: underline;
  transition: all 0.5s ease-in-out;
}

.salutation {
  font-size: calc(0.5vw + 1.681rem);
}

/* content */
.content {
  background-color: var(--color-bg-dark);
  border: 1px solid var(--color-white);
  max-width: none;
  padding: 2rem;
}

.content + .content {
  margin-top: 3rem;
}

.content p {
  margin: 2rem 0;
  max-width: var(--paragraph-max-width);
}

.action {
  display: flex;
  flex-direction: column;
}

.btn {
  border: 2px solid var(--color-alert);
  color: var(--color-alert);
  padding: 1rem 2rem;
  text-align: center;
  text-decoration: none;
}

.btn + .btn {
  margin-top: 2rem;
}

.btn:active,
.btn:focus,
.btn:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  text-decoration: none;
}

.btn--inverted {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--inverted:active,
.btn--inverted:focus,
.btn--inverted:hover {
  border-color: var(--color-mint);
  color: var(--color-mint);
  text-decoration: none;
}

.content--summary div {
  border-top: 2px dashed var(--color-white);
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
}

footer {
  height: 20px;
}

footer h3 {
  padding: 2rem 0;
}

.fixed main {
  margin-top: 560px;
}

.fixed .content--fixed {
  border-left-color: var(--color-bg-dark);
  border-right-color: var(--color-bg-dark);
  border-top-color: var(--color-bg-dark);
  position: fixed;
  left: 0;
  /* top: -3rem; */
  top: 2px;
  transition: opacity 0.3s ease-in-out;
  width: 100%;
}
.fixed .content--fixed:before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  background: linear-gradient(
    45deg,
    #e8f74d,
    #ff6600d9,
    #00ff66,
    #13ff13,
    #ad27ad,
    #bd2681,
    #6512b9,
    #ff3300de,
    #5aabde
  );
  background-size: 400%;
  width: calc(100% + 5px);
  height: calc(100% + 5px);
  z-index: -2;
  animation: glower 20s linear infinite;
}

.fixed .content--fixed:after {
  background-color: var(--color-bg-dark);
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-size: 400%;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  z-index: -1;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

@media (min-width: 768px) {
  main {
    font-size: 1.5rem;
  }
  h1 {
    font-size: calc(6.625rem + 1.6vw);
    margin-top: 1rem;
  }
  h2 {
    font-size: 3.5rem;
  }
  .content {
    max-width: 80vw;
    padding: 4rem;
  }

  .action {
    flex-direction: row;
    justify-content: space-between;
  }

  .btn + .btn {
    margin-top: 0;
  }

  .fixed .content--fixed {
    left: auto;
  }
}

@media (min-width: 1180px) {
  .action {
    justify-content: flex-end;
  }

  .btn + .btn {
    margin-left: 2rem;
  }
}

@media (min-width: 1800px) {
  .fixed .content--fixed {
    max-width: var(--page-max-width);
  }
}

@keyframes glower {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}
