@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700&display=swap");
:root {
  --theme-dark-gray: hsl(0, 0%, 63%);
  --theme-black: hsl(0, 0%, 0%);
  --theme-white: hsl(0, 0%, 100%);
  --theme-very-dark-gray: hsl(0, 0%, 27%);
  --font-theme-spartan: "League Spartan";
}

::-webkit-scrollbar {
  height: 4px;
  width: 4px;
  background: gray;
}

::-webkit-scrollbar-thumb:horizontal {
  background: #000;
  border-radius: 10px;
}

body,
main {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
  margin: 0;
  font-family: var(--font-theme-spartan);
}

.navbar {
  position: absolute;
  top: 55px;
  left: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 400px;
}
.navbar > div {
  width: 275px;
  display: flex;
  justify-content: space-between;
  text-transform: lowercase;
  color: var(--theme-white);
}
.navbar > div a {
  position: relative;
}
.navbar > div a::after {
  content: "";
  width: 0%;
  height: 2px;
  position: absolute;
  left: 0;
  top: 110%;
  transition: all 0.4s;
  /* animate the underline */
  color: var(--theme-white);
}
.navbar > div a:hover {
  cursor: pointer;
}
.navbar > div a:hover::after {
  width: 100%;
}

.display-none {
  display: none !important;
}

#mobile-menu-button {
  display: none;
}

#mobile-close-menu-button {
  display: none;
}

.top-section {
  min-width: 1420px;
  display: flex;
  margin: 0;
}

.top-image-box {
  display: flex;
}
.top-image-box > img {
  display: block;
  height: 100%;
}

.feature-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 589px;
  height: 534px;
  flex-grow: 3;
  flex-shrink: 0;
}
.feature-description .current-box {
  width: 430px;
  height: 300px;
}
.feature-description .current-box h1 {
  font-size: 48px;
  margin-top: 0px;
}
.feature-description .current-box p {
  color: var(--theme-dark-gray);
  font-size: 16px;
  line-height: 22px;
}
.feature-description .current-box span {
  display: flex;
  text-transform: uppercase;
  letter-spacing: 12px;
  font-weight: 600;
  margin-top: 30px;
}
.feature-description .current-box span img {
  margin-left: 18px;
}
.feature-description .current-box span:hover {
  opacity: 0.5;
  cursor: pointer;
}

.arrow-box {
  width: 160px;
  height: 80px;
  display: flex;
  position: absolute;
  bottom: 0px;
  left: 0px;
}
.arrow-box div {
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--theme-black);
}
.arrow-box div:hover {
  background-color: var(--theme-very-dark-gray);
  cursor: pointer;
}

.bottom-section {
  min-width: 1420px;
  /* height: 33.3%; */
  display: flex;
  margin: 0;
}

.bottom-image {
  width: 30%;
}

.bottom-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 3;
  flex-shrink: 0;
  overflow: hidden;
  min-width: 580px;
  height: 266px;
}
.bottom-description > div {
  width: 510px;
  height: 160px;
}
.bottom-description > div h2 {
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 18px;
}
.bottom-description > div p {
  color: var(--theme-dark-gray);
  font-size: 16px;
  line-height: 22px;
}

footer {
  width: 100%;
  position: absolute;
  bottom: 15px;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution > a {
  color: hsl(228, 45%, 44%);
}

@media (max-width: 420px) {
  body,
  main {
    width: 100vw;
    height: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0;
    font-family: var(--font-theme-spartan);
  }
  .navbar {
    position: absolute;
    top: 45px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
  }
  .navbar > div {
    width: 275px;
    display: none;
  }
  .navbar > div a {
    font-weight: 600;
  }
  #mobile-menu-button {
    display: inline;
    position: absolute;
    left: 30px;
  }
  #mobile-menu-button:hover {
    cursor: pointer;
  }
  #mobile-close-menu-button {
    display: none;
    position: absolute;
    left: 30px;
  }
  #mobile-close-menu-button:hover {
    cursor: pointer;
  }
  .top-section {
    width: 100vw;
    min-width: 0px;
    flex-direction: column;
  }
  .top-image-box {
    display: flex;
    width: 100%;
  }
  .top-image-box > img {
    width: 100%;
  }
  #feature-image-1 {
    content: url("./images/mobile-image-hero-1.jpg");
  }
  #feature-image-2 {
    content: url("./images/mobile-image-hero-2.jpg");
  }
  #feature-image-3 {
    content: url("./images/mobile-image-hero-3.jpg");
  }
  .feature-description {
    width: 100vw;
    height: 360px;
  }
  .feature-description .current-box {
    width: 360px;
    height: 265px;
  }
  .feature-description .current-box h1 {
    font-size: 40px;
    margin-top: 0px;
  }
  .feature-description .current-box p {
    width: 100%;
    height: 130px;
  }
  .feature-description .current-box span {
    display: flex;
    text-transform: uppercase;
    letter-spacing: 12px;
    font-weight: 600;
  }
  .feature-description .current-box span img {
    margin-left: 18px;
  }
  .feature-description .current-box span:hover {
    opacity: 0.5;
    cursor: pointer;
  }
  .bottom-section {
    width: 100vw;
    min-width: 0px;
    flex-direction: column;
  }
  .arrow-box {
    width: 80px;
    height: 40px;
    top: -40px;
    right: 0px;
    left: auto;
  }
  .arrow-box div {
    width: 40px;
    height: 40px;
  }
  .arrow-box div img {
    width: 20%;
  }
  .bottom-image {
    width: 100%;
  }
  .bottom-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    min-width: 0px;
    width: 100vw;
    height: 300px;
  }
  .bottom-description > div {
    width: 330px;
    height: 240px;
  }
  .bottom-description > div h2 {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 18px;
  }
  .bottom-description > div p {
    color: var(--theme-dark-gray);
    font-size: 16px;
    line-height: 22px;
  }
  footer {
    width: 100%;
    position: absolute;
    bottom: -30px;
  }
}