:root {
  --text-dark-blue: #34363e;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: Bellefair;
  src: url(../../assets/fonts/Bellefair-Regular.ttf);
}

/*Paragraph Text Font*/
@font-face {
  font-family: Barlow-Regular;
  src: url(../../assets/fonts/Barlow-Regular.ttf);
}

/*Body*/
body {
  height: 100vh;
  width: 100%;
  background-image: url(../../assets/crew/background-crew-desktop.jpg);
  background-position: center;
  background-size: cover;
  padding-top: 2%;
  padding-left: 3%;
  font-family: Barlow-Regular;
}

/*Navigation*/
.nav-box {
  display: flex;
  justify-content: space-between;
  height: 8%;
}

.nav-box__logo {
  display: flex;
  align-items: center;
}

.nav-box__links {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 2px;
  width: 60%;
  height: 100%;
  background-color: #49526967;
  color: white;
  font-family: Bellefair;
  font-size: 18px;
  padding-right: 4%;
  padding-left: 10%;
  position: relative;
}

.nav-box__links a {
  text-decoration: none;
  color: white;
}

.nav-box__links::before {
  content: "";
  width: 60%;
  height: 2px;
  background-color: #5e5f6b86;
  position: absolute;
  top: 50%;
  right: 96%;
}

.nav-box__links li:nth-child(3) {
  position: relative;
}

.nav-box__links li:nth-child(3)::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: white;
  position: absolute;
  bottom: -100%;
  left: 0;
}
.nav-box__links:hover {
  cursor: pointer;
}
.nav-box__links-mobile:hover {
  cursor: pointer;
}
/*Crew Section*/
.crew {
  height: 90%;
  width: 100%;
  color: white;
  display: flex;
  justify-content: center;
}

.crew-wrapper {
  position: relative;
  height: 92%;
  width: 85%;
  display: flex;
  justify-content: flex-start;
  /* <--- changed from space-between */
  align-items: center;
}
/*Top of wrapper*/
.pick-your-crew {
  position: absolute;
  top: 4%;
  font-size: 30px;
}
.pick-your-crew span {
  color: #4f5158;
  font-weight: bold;
}
/*Bottom of wrapper to switch slides*/
.switch-crew-slides {
  position: absolute;
  bottom: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  width: 20%;
  padding: 0px;
}

.switch-crew-slides li {
  content: "";
  width: 15px;
  height: 15px;
  background-color: #373944;
  border-radius: 50%;
}
.switch-crew-slides li:first-child {
  background-color: white;
}
.switch-crew-slides li:hover {
  cursor: pointer;
}
.crew-wrapper__left {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 2vh;
}
.crew-wrapper__right {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.crew-wrapper__right img {
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}
.crew-wrapper__left_row1 {
  font-size: 30px;
  letter-spacing: 2px;
  color: #8b8c90;
}
.crew-wrapper__left_row2 {
  font-size: 60px;
}
.crew-wrapper__left_row3 {
  letter-spacing: 2px;
  line-height: 3vh;
}

.hambuger-wrapper {
  display: flex;
  align-items: center;
  display: none;
}
.close-menu {
  z-index: 1001;
  height: 10%;
  display: flex;
  justify-content: right;
}

.close-menu img {
  width: 4%;
  height: 30%;
}

.navigation-bar {
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #28282c, #1b1b1d);
  display: flex;
  flex-direction: column;
  padding: 8%;
  display: none;
}

.nav-box__links-mobile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style-type: none;
  width: 100%;
  height: 20%;
  color: white;
  letter-spacing: 2px;
  padding: 0px;
  font-size: 20px;
  z-index: 1001;
}

.nav-box__links-mobile span {
  font-weight: bolder;
}

.nav-box__links-mobile a {
  color: white;
  text-decoration: none;
}
/* Mobile styles */
@media (max-width: 767px) {
  /*Body*/
  body {
    padding: 0px;
    background-image: url(../../assets/crew/background-crew-mobile.jpg);
  }

  /*Navigation Styling for Mobile*/
  .nav-box__links::before {
    display: none;
  }

  .nav-box__links {
    width: 85%;
    display: none;
  }
  .navigation-bar {
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #28282c, #1b1b1d);
    display: flex;
    flex-direction: column;
    padding: 8%;
  display: none;  }
  /* .nav-box::after {
    content: url(../../assets/shared/icon-hamburger.svg);
    margin: auto 0;
  } */
  .hambuger-wrapper {
    display: flex;
  }

  .nav-box {
    padding: 4%;
    height: 10%;
  }
  /*Hero section styling for phones*/
  .crew-wrapper {
    position: relative;
    height: 100%;
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* <--- changed from space-between */
    align-items: center;
  }

  .crew-wrapper__left {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    margin-top: 15%;
  }

  .pick-your-crew {
    position: absolute;
    top: 4%;
    left: 0;
    font-size: 20px;
    letter-spacing: 4px;
  }

  .crew-wrapper__left_row1 {
    text-align: center;
  }

  .crew-wrapper__left_row2 {
    text-align: center;
  }

  .crew-wrapper__left_row3 {
    text-align: center;
  }

  .switch-crew-slides {
    position: absolute;
    top: 45%;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    width: 20%;
    padding: 0px;
  }

  .crew-wrapper__right {
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .crew-wrapper__right img {
    max-height: 100%;
    width: 100%;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    background-image: url(../../assets/crew/background-crew-tablet.jpg);
  }

  /*Navigation Styling for Tablets*/
  .nav-box__links::before {
    display: none;
  }

  .nav-box__links {
    width: 85%;
  }
  /*Hero section styling for tablets*/
  .crew-wrapper {
    position: relative;
    height: 100%;
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* <--- changed from space-between */
    align-items: center;
  }
  .crew-wrapper__left {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    margin-top: 15%;
  }
  .pick-your-crew {
    position: absolute;
    top: 4%;
    left: 0;
    font-size: 22px;
    letter-spacing: 4px;
  }
  .crew-wrapper__left_row1 {
    text-align: center;
  }
  .crew-wrapper__left_row2 {
    text-align: center;
  }
  .crew-wrapper__left_row3 {
    text-align: center;
  }
  .switch-crew-slides {
    position: absolute;
    top: 45%;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    width: 20%;
    padding: 0px;
  }

  .crew-wrapper__right {
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .crew-wrapper__right img {
    max-height: 100%;
    width: 100%;
  }
}
