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

body {
  background-color: white;
  font-family: 'Lato';
}

section {
  width: 100%;
  padding: 90px 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: dotted rgb(161, 161, 161) 1.5px;
}

section:nth-child(even) {
  flex-direction: row-reverse;
}

h1 {
  font-family: Poppins;
  line-height: 126%;
  font-size: 30px;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: black;
  text-align: center;
  width: 100%;
  margin: 0px auto;
  padding: 40px 30px;
  border-bottom: dotted rgb(161, 161, 161) 1.5px;
}

.header-main {
  width: 100%;
  text-align: center;
}

.header {
  margin-bottom: 40px;
}

#main-logo {
  margin-top: 20px;
  max-width: 325px;
  width: 70%;
}

.navigation {
  width: 100%;
  align-content: center;
  font-weight: 800;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.nav-links {
  width: 12vw;
  text-align: center;
  padding: 20px 0px;
  letter-spacing: 1.7px;
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: dotted rgb(161, 161, 161) 1.5px;
}

.nav-space {
  width: 25.5vw;
  padding: 20px 0px;
  border-bottom: dotted rgb(161, 161, 161) 1.5px;
}

.nav-links:hover {
  border-bottom: solid black 1.5px;
}

.nav-links a {
  display: block;
  width: 100%;
  color: #787878;
  text-decoration: none;
  line-height: 20px;
  border-right: dotted rgb(161, 161, 161) 1.5px;
}

.nav-links a:hover {
  color: black;
}

.first a {
  border-left: dotted rgb(161, 161, 161) 1.5px;
}

.promo-marquee {
  width: 100%;
  background-color: #ea0606;
  color: white;
  line-height: 20px;
  text-align: center;
  padding: 10px 0px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}

.promo-marquee a {
  color: rgba(255, 255, 255, 0.827);
  text-decoration: none;
}

.promo-marquee a:hover {
  color: white;
}

.header-logo {
  position: absolute;
  z-index: 4;
  top: 40px;
  left: 30px;
  width: 110px;
  background-color: black;
  color: white;
  font-size: 11px;
  font-family: 'Lato';
  padding: 10px 12px;
  text-decoration: none;
}

.header-logo img {
  width: 100%;
}

.banner {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 55vh;
  width: 100vw;
  margin: 0px auto;
  overflow: hidden;
}

.banner video {
  position: absolute;
  z-index: 2;
}

.banner-text {
  background-color: rgba(0, 0, 0, 0.089);
  margin: 40px;
  text-align: left;
  color: white;
  font-size: 4rem;
  font-weight: 800;
  padding: 40px;
  width: 60%;
  position: relative;
  z-index: 3;
  text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.436);
}

.content-text {
  width: 50%;
  padding: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.content-image {
  width: 50%;
}

.content-image img {
  width: 100%;
}

.title {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-size: 34px;
  line-height: 38px;
  margin-bottom: 30px;
}

.text {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.015em;
}

.link-button {
  font-size: 14px;
  border: solid black 1px;
  padding: 15px 30px;
  margin-top: 30px;
  color: #787878;
  cursor: pointer;
}

.link-button:hover {
  color: black;
}

.res-menu-icon {
  display: none;
  position: absolute;
  width: 40px;
  height: 40px;
  top: 45px;
  left: 10px;
  color: black;
  background-image: url(../images/hamburger.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  cursor: pointer;
  opacity: 0.5;
}

.res-menu {
  position: absolute;
  top: 0;
  left: 0;
  background-color: white;
  border-right: 2px solid black;
  width: 55%;
  height: 100vh;
  padding: 0px 10px;
  transition: transform 0.5s ease-out;
  /* Move element completely off-screen to the left initially */
  transform: translateX(-100%);
  z-index: 6;
}

.slide-in {
  transform: translateX(0); /* Move to original position */
}

.flex {
  display: block;
}

.res-menu-links {
  color: rgb(161, 161, 161);
  font-size: 1.25rem;
}

.res-link {
  cursor: pointer;
  padding-left: 10px;
  border-left: dotted rgb(161, 161, 161) 1.5px;
  margin: 40px 0px;
}

.res-link:hover {
  color: black;
  border-left: solid black 1.5px;
}

.res-header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: black;
  color: white;
  font-size: 12px;
  width: 130px;
  padding: 10px;
  text-decoration: none;
  margin-bottom: 20px;
}

.res-header img {
  width: 100%;
}

@media only screen and (max-width: 900px) {
  .res-menu-icon {
    display: block;
  }

  #main-logo {
    margin-top: 5px;
  }

  .res-menu-icon:hover {
    opacity: 1;
  }

  .banner {
    height: 35vh;
    margin: 0px auto;
    background-size: 120vw;
    justify-content: center;
    align-items: center;
  }

  .banner video {
    width: 900px;
  }

  .banner-text {
    margin: 0px;
    font-size: 2.2rem;
    padding: 10px 20px;
    width: 80%;
    line-height: 120%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
  }

  section {
    padding: 0px 0px 40px 0px;
    flex-direction: column;
    justify-content: center;
  }

  .content-text {
    width: 100%;
    padding: 40px 30px 40px 30px;
  }

  .content-image {
    width: 100%;
  }

  .navigation {
    display: none;
  }

  .header {
    margin: 10px auto 10px auto;
  }

  .header-logo {
    display: none;
  }

  .promo-marquee {
    width: 100%;
    background-color: #ea0606;
    color: white;
    line-height: 20px;
    text-align: center;
    padding: 10px 0px;
    font-weight: 700;
    font-size: clamp(0.35em, 1.5vw + 0.35em, 1em);
    line-height: 1em;
    letter-spacing: 1px;
  }

  section:nth-child(even) {
    flex-direction: column;
  }
}
