*, *::before, *::after {
  box-sizing: border-box;
  position: relative;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}


html {
  font-size: 62.5%;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.6rem;
  line-height: 140%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #dddddd;
  overflow-x: hidden;
}

.content {
  margin: 6rem 0 5rem 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
  opacity: 0.9;
  font-size: 6rem;
  color: #dddddd;
  text-decoration: none;
  z-index: 10;
  margin-bottom: 6rem;
}

header a {
  text-decoration: none;
}

.sidebar {
  position: fixed;
  display: none;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.sidebar a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  color: #dddddd;
  font-size: 18px;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: #aaaaaa;
}

.spacer {
  display: block;
  height: 8rem;
  width: 100%;
}

.section {
  height: calc((100vh / 4) * (100vh / 100vw));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.title {
  position: absolute;
  color: #555555;
  opacity: 0.4;
  z-index: 1;
  word-break:break-all;
  letter-spacing: 1rem;
  font-size: 12rem;
  line-height: 10rem;
  text-transform: uppercase;
  font-weight: 800;
}

.text {
  position: absolute;
  z-index: 2;
  font-size: 2rem;
  color: #dddddd;
  text-align: center;
}

footer {
  height: 100px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #111;
  opacity: 0.9;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

footer a {
  text-decoration: none;
  color: #dddddd;
  font-size: 1.5rem;
}

footer a:hover {
  color: #aaaaaa;
}

/* Scroll delay effect */
html {
  scroll-behavior: smooth;
}

.scroll-delay {
  scroll-behavior: smooth;
  animation: scrollEffect 1.2s ease-in-out;
}

@keyframes scrollEffect {
  from {
      transform: translateY(10px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}
