* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Helvetica, Arial, sans-serif;
}

/* ---------- HOME NAV ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;

  padding: 40px;

  display: flex;
  flex-direction: column;

  z-index: 1000;
}

.logo {
  margin-bottom: 20px;
}

.logo a {
  color: rgb(50, 38, 209);
  text-decoration: none;

  font-size: 32px;
  transition: opacity .3s;
}

.logo a:hover {
  opacity: .6;
}

.nav ul {
  list-style: none;

  display: flex;
  flex-direction: column;

  gap: 8px;
}

.nav-menu a {
  color: rgb(0,0,0);
  text-decoration: none;

  font-size: 20px;
  line-height: 1.2;

  transition: opacity .3s;
}

.nav-menu a:hover {
  opacity: .6;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero-video-mobile {
  display: none;
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(85,85,85,.03);
}

/* ===================================================== */
/* =================== MOBILE =========================== */
/* ===================================================== */

@media (max-width: 768px) {

  .nav {

    padding: 22px;

  }

  .logo {

    margin-bottom: 14px;

  }

  .logo a {

    font-size: 24px;

  }

  .nav-menu {

    gap: 4px;

  }

  .nav-menu a {

    font-size: 16px;

  }

}

/* ===================================================== */
/* =================== SMALL PHONE ====================== */
/* ===================================================== */

@media (max-width: 430px) {

  .nav {

    padding: 18px;

  }

  .logo a {

    font-size: 22px;

  }

  .nav-menu a {

    font-size: 20px;

  }

   .hero-video-desktop {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

}
 

