html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: sans-serif;
  color: #FFF0A8;
  scroll-behavior: smooth;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('aldo-desk-b&w.jpg') no-repeat center center fixed;
  background-size: cover;
  z-index: -2;
  will-change: filter;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.logo {
  display: block;
  width: 50%;
  max-width: 400px;
  max-height: 60vh;
}

nav {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  padding: 1rem 2.5rem;
  border-radius: .8rem;
}

nav.scrolled {
  background-color: black;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav a {
  color: #FFF0A8;
  text-decoration: none;
  margin-left: 3rem;
  font-weight: bold;
  font-size: 1.4rem;
}

nav a:first-child {
  margin-left: 0;
}

section {
  padding: 6rem;
  max-width: 800px;
  margin: 0 auto 0 auto;
  min-height: 100svh;
  box-sizing: border-box;
}

section a {
  /* color: white; */
  text-decoration: underline;
}

.separator {
  height: 8px;
  /* thickness of the line */
  background-color: #FFF0A8;
  /* pink color */
  margin: 3rem 0;
  /* spacing above and below so it sits in middle */
}

.hero-image {
  box-sizing: border-box;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #356AFA;
  padding: 10%;
  padding-top: 10%;
  padding-bottom: 10%;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 1000px;
  /* matches your content width cap */
  /* width: 800px; */
  /* prevents shrinking below content width */
  height: auto;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  padding-top: 25px;
  height: 0;
  margin-bottom: 1.5rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

a {
  color: #FFF0A8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.logo-container {
  /* svh includes the browser chrome and centers the logo better */
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  nav {
    position: fixed;
    top: 0rem;
    right: 50%;
    transform: translateX(50%);
    margin-left: 1rem;
    text-align: center;
    width: 100%;
  }

  nav a {
    font-size: 1.1rem;
    margin-left: 1.5rem;
    /* smaller margin for mobile */
  }

  .logo {
    width: 65%;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  

  p {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
  }

  section {
    margin: 0 auto 1rem auto;
    padding: 2rem;
    padding-top: 3.4rem;
  }
}

@supports (-webkit-touch-callout: none) {
  .background {
    background-attachment: scroll;
  }
}