@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --bg-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

* {
  box-sizing: border-box;
  user-select: none;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #000;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

a {
  color: #fff;
  text-decoration: none;
  font-family: 'Nunito Sans', sans-serif;
  transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
  text-shadow: 0 0 10px currentColor;
}

a:nth-child(1):hover { color: #e57373; }
a:nth-child(2):hover { color: #81c784; }
a:nth-child(3):hover { color: #64b5f6; }
a:nth-child(4):hover { color: #ffb74d; }
a:nth-child(5):hover { color: #ba68c8; }

h2 {
  font-size: clamp(1rem, 5vw, 5rem);
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: hsl(0, 0%, 80%);
  width: 90vw;
  max-width: 1200px;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
}

h2:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px hsl(0, 0%, 80%);
}

header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  width: 100%;
  z-index: 30;
  height: 7em;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.66rem, 2vw, 1rem);
  letter-spacing: 0.5em;
}

header nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.section {
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;
}

.wrapper-outer,
.wrapper-inner {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}

.background {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
}

.section-title {
  z-index: 2;
}

.first .background {
  background-image: var(--bg-gradient), url('https://images.unsplash.com/photo-1605629713998-167cdc70afa2?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTg2OTM1NTR8&ixlib=rb-4.0.3&q=85');
}

.second .background {
  background-image: var(--bg-gradient), url('https://images.unsplash.com/photo-1503796964332-e25e282e390f?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTg2OTM1NTR8&ixlib=rb-4.0.3&q=85');
}

.third .background {
  background-image: var(--bg-gradient), url('https://images.unsplash.com/photo-1518156677180-95a2893f3e9f?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTg2OTM1OTh8&ixlib=rb-4.0.3&q=85');
}

.fourth .background {
  background-image: var(--bg-gradient), url('https://images.unsplash.com/photo-1584351583369-6baf055b51a7?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTg2OTM4MTB8&ixlib=rb-4.0.3&q=85');
}

.fifth .background {
  background-image: var(--bg-gradient), url('https://images.unsplash.com/photo-1516663713099-37eb6d60c825?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTg2OTM4MTB8&ixlib=rb-4.0.3&q=85');
  background-position: 50% 45%;
}

h2 * {
  will-change: transform;
}
