* {
  margin: 0;
  padding: 0;
}

/* fonts */

.koulen-regular {
  font-family: "Koulen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.syne {
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.syne-bold {
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.navigation {
  z-index: 99;
  text-align: right;
  font-size: 1.2rem;
  right: 2%;
  top: 40%;
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.navigation p {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: black;
  cursor: pointer;
  transition: all 0.25s ease;
}

.navigation p::before {
  content: "";
  position: absolute;
  inset: -10px; /* invisible hover padding */
}

/* label */
.navigation p::after {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(-5px);
  opacity: 0;
  white-space: nowrap;
  transition: 0.25s ease;
  pointer-events: none;
}

/* hover state */
.navigation p:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.main {
  width: 100vw;
  height: 100vh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

.page {
  width: 100vw;
  height: 100vh;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(128, 128, 128, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.3) 1px, transparent 1px);

  scroll-snap-align: start;
}

.title {
  /*background-color: red;*/
}

.name {
  position: relative;
  top: 35%;
  margin-left: 2rem;
}

#name-label {
  font-size: 5rem;
}

#job-title {
  position: relative;
  bottom: 3.5rem;
  font-size: 2rem;
}

#name-eyecatch {
  position: relative;
  bottom: 3.5rem;
}

.random p {
  color: white;
  background-color: black;
  width: fit-content;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
