:root {
  --max-width: 1200px;
}

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

body {
  font-family: 'Raleway', sans-serif;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  border-bottom: 1px solid white;
  z-index: 1000;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  z-index: 5;
}

.container {
  width: min(90%, var(--max-width));
  margin: auto;
}

.hero {
  height: 100vh;
  min-height: 100vh;
  background: black;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1;
}

.logo {
  position: absolute;
  top: clamp(20px, 5vw, 80px);
  left: clamp(20px, 5vw, 100px);
}

.logo h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 200;
}

.logo h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 100;
  position: relative;
  font-style: italic;
  left: 55px;
  top: -27px;
}

.logo h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 200;
  position: relative;
  top: -35px;
  left: -7px;
}

.slider {
  position: absolute;
  top: 50%;
  left: 48%;
  transform: translateX(-50%);
  width: min(90%, 1000px);
  overflow: hidden;
  border-bottom: 1px solid white;
  border-right: 1px solid white;
}

.track {
  display: flex;
  gap: 3px;
  animation: scroll 15s linear infinite alternate;
}

.track img {
  width: clamp(100px, 15vw, 150px);
  height: 150px;
  object-fit: cover;
}

.menu {
  position: relative;
  z-index: 10;
  background: white;
  margin-top: 60px;
  padding: 60px 0;
  border-top: 1px solid black;
}

.menu-inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

.menu a {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  font-weight: 200;
  text-decoration: none;
  color: black;
  transition: opacity 0.3s;
}

.menu a:hover {
  opacity: 0.3;
}

.logo {
  opacity: 0;
  animation: fadeIn 5s forwards;
}

.slider {
  opacity: 0;
  animation: fadeIn 3s forwards;
  animation-delay: 2s;
}

@keyframes scroll {
  from {
    transform: translateX(99%);
  }

  to {
    transform: translateX(-20%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

a:focus {
  outline: none;
}

a:active {
  outline: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 10px;       
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator img {
  width: 40px;
  opacity: 0.7;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, 10px); }
  100% { transform: translate(-50%, 0); }
}

.scroll-indicator {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2.5s; 
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media screen and (min-width: 1800px) and (max-width: 2000px){
  .menu {
    min-height: 101vh;
    display: flex;
    align-items: center;
  }

  .menu-inner {
    gap: 5rem;
  }

}

@media (max-width: 768px) {
  .logo {
    position: absolute;
    top: 12%;
    left: 30%;
    transform: translateX(-50%);
    text-align: center;
  }

  .logo h1 {
    font-size: 4rem;
  }

  .logo h2 {
    position: static;
    margin: -8px 0;
    margin-top: -18px;
    font-size: 2rem;
  }

  .logo h3 {
    position: static;
    margin: 5px 0;
    font-size: 2rem;
  }

  .track img {
    width: 150px;
  }

  .track {
    animation: scrollMobile 16s linear infinite alternate;
  }

  @keyframes scrollMobile {
    from {
      transform: translateX(175%);
    }

    to {
      transform: translateX(-250%);
    }
  }
}
