:root {
  --color-body-text: #f2f1e4;
  --color-header-text: #96ddd7;
  --color-link: #6f3787;
  --color-link-visited: #1d7565;
  --color-link-dark: #8ce1ae;
  --color-link-dark-visited: #d987e8;
  --color-main-background: #000000;
  --color-nav-background: #fffaf3;
  --color-nav-text-color: #453f62;
  --color-footer-text: #ffe6e6;
  --color-box-shadow: rgb(127, 250, 209);
  --color-text-shadow: 3px 3px 0 rgb(240, 248, 255);
  --font-display: "Bodoni Moda", serif;
  --font-body: "Nato Sans", sans-serif;
  --gradient-blue: radial-gradient(
    circle,
    rgba(71, 228, 213, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
  --gradient-pink: radial-gradient(
    circle,
    rgb(254, 115, 175) 0%,
    rgba(148, 187, 233, 1) 100%
  );
  --color-accent-blue: rgb(137, 240, 229);
  --color-accent-pink: rgb(245, 176, 206);
}
html,
body {
  min-height: 100vh;
}
body {
  color: var(--color-body-text);
  background-color: var(--color-main-background);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
body::after {
  content: "";
  display: block;
  background: url("../static/hero.png");
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-position-x: 19rem;
}

/* typography */
html {
  font-size: 10px;
}
body {
  font-weight: 300;
  font-family: var(--font-body);
  font-size: 1.6rem;
}
p,
ul,
li {
  line-height: 1.4;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 900;
  color: var(--color-header-text);
  text-transform: uppercase;
  font-weight: bold;
  font-style: italic;
}

h1 span.given {
  font-size: 22rem;
}
h1 span.surname {
  font-size: 12rem;
}
h1 {
  font-size: 3.2rem;
  line-height: 1;
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display);
}
h2 {
  font-size: 2.6rem;
}
h3 {
  font-size: 1.8rem;
  font-weight: 300;
}
h4 {
  font-size: 1rem;
}
a {
  color: var(--color-link);
}
a:visited {
  color: var(--color-link-visited);
}
/* Custom page layout */
.header {
  display: flex;
  padding-top: 1rem;
  background-size: cover;
  height: 400px;
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
}
.header > h1 {
  color: var(--color-header-text);
  margin: 0;
  padding: 0;
  font-size: 8rem;
  display: block;
  text-shadow: #1d1247;
}
.header > .aside {
  align-content: center;
  display: block;
  flex: 1;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.header > .aside h2 {
  font-size: 14rem;
  line-height: 1;
  margin: 0;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Nav */
.menu-button {
  display: none;
}
.nav {
  background: url("../static/paper-texture.jpg");
  background-size: 342px;
  top: 0;
  width: 100%;
  padding: 8px;
  display: flex;
  position: relative;
  z-index: 1;
}
.nav::after {
  content: "";
  background: url("../static/top-border.png");
  background-size: 780px;
  background-repeat: repeat-x;
  background-position: top;
  display: block;
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: -3px;
  right: 0;
  left: 0;
  z-index: -1;
}
.nav > ul {
  display: flex;
  margin: 0;
  padding: 0 2rem;
  color: var(--color-nav-text-color);
  flex: 1;
  justify-content: space-between;
  font-style: italic;
  font-size: 2rem;
}
.nav span {
  text-decoration: none;
}
.nav a {
  display: block;
  text-decoration: none;
  color: var(--color-link);
}
.nav > ul > li {
  list-style: none;
  line-height: normal;
  padding-right: 2rem;
  position: relative;
}
.nav > ul > li > span {
  position: absolute;
  left: -1rem;
}
.nav > ul > li > a:visited {
  text-decoration: none;
  color: var(--color-link);
}

/* Article */
.article {
  padding: 1.2rem;
  padding-top: 6rem;
  flex: 1;
  position: relative;
  background-color: #000000;
  max-width: 1024px;
  margin: 0 auto;
  margin-bottom: 4rem;
  box-shadow: -20px -20px 0 var(--box-shadow-color);
}
.header + .article {
  padding-top: 2rem;
}
.article::before {
  display: block;
  content: " ";
  width: 100%;
  height: 32px;
  transform: skew(0, -1deg);
  background: var(--color-accent-blue);
  position: absolute;
  top: -22px;
  left: 0;
}

/* Footer */
.footer {
  padding: 2rem 1.4rem;
  color: var(--color-footer-text);
  background-image: url("../static/footer.png");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position-x: right;
  background-color: black;
  background-position-y: inherit;
  min-height: 26rem;
  position: relative;
}
.footer::before {
  display: block;
  content: " ";
  width: 100%;
  height: 4vw;
  transform: skew(0, 2deg);
  background: var(--color-accent-pink);
  position: absolute;
  top: -2vw;
  left: 0;
}
.footer ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer li {
  padding-right: 1.2rem;
  padding: 0;
  margin: 0;
  padding-right: 1.2rem;
}
footer a {
  color: var(--color-link-dark);
}
footer a:visited {
  color: var(--color-link-dark-visited);
}
