body {
  background-image: url(/starter-code/assets/crew/background-crew-desktop.jpg);
  background-repeat: no-repeat;
  background-position: center;
  /* height: 100%; */
  background-size: cover;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
  padding-top: 2.5em;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

nav img {
  margin-left: 3em;
  margin-top: 8px;
}

.line {
  margin: auto;
}

.hamburger {
  /* opacity: 0; */
  display: none;
  /* float: right;
      width: 2em;
      height: 2em; */
  margin-right: 25px;
  margin-top: 7px;
}

hr {
  width: 31%;
  position: absolute;
  margin-left: -8em;
  margin-top: -0.4em;
  border: 1px solid #8a97a8;
}

span {
  color: #d7e5ef;
}

.nav-links {
  background-color: #404f66;
  width: 60%;
  height: 4em;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  /* align-items: center; */
  justify-content: center;
  align-content: center;
}
.nav-links a {
  text-decoration: none;
  color: #8a97a8;
  padding: 1.5em;
  /* flex: auto; */
}

.nav-links a:nth-of-type(3) {
  /* background-color: blue; */
  border-bottom: 2px solid #fefefe;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.left {
  /* color: #fefefe; */
  width: 60%;
  margin-top: 3em;
  /* margin: auto; */
  margin-left: 11em;
  /* padding: 2em; */
  /* text-align: center; */
}

.left h2 {
  /* margin-top: 5em; */
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 4em;
  color: #fefefe;
}

.left span {
  color: #8a97a8;
}

.left h4 {
  color: #8a97a8;
  font-size: 29px;
  text-transform: uppercase;
  margin-bottom: 1em;
}

.left h3 {
  color: #fefefe;
  text-transform: uppercase;
  font-size: 40px;
  margin-bottom: 1em;
}

.left p {
  color: #d7e5ef;
}

.right img {
  width: 60%;
  height: 89.5%;
  margin-top: 7em;
  margin-left: 2em;
}

.dots {
  display: flex;
  flex-direction: row;
  width: 50%;
  /* padding: 1em; */
  /* justify-content: space-between; */
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #404f66;
  border-radius: 50%;
  margin: 0.4em;
}

.dots a:nth-of-type(2) {
  background-color: #fefefe;
}

@media screen and (max-width: 1020px) {
  body {
    background-image: url(/starter-code/assets/crew/background-crew-tablet.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: -2.5em;
  }

  .line hr {
    display: none;
  }

  .nav-links {
    background-color: #131522 !important;
    width: 78% !important;
  }

  .nav-links span {
    display: none;
  }

  .nav-links a {
    display: flex;
    justify-content: space-around;
    padding: 1em;
  }

  .nav-links a:nth-of-type(3) {
    /* background-color: blue; */
    border-bottom: 2px solid #fefefe;
  }
}

.side-bar {
  margin-top: -4em;
  position: absolute;
  /* padding-top: 4em; */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* float: right; */
  /* flex: 1; */
  background-color: #8a97a8;
  text-align: center;
  align-items: center;
}

.closeMenu {
  display: flex;
  justify-content: flex-end;
  margin: 1em;
}

.mainMenu li {
  list-style-type: none;
}

.mainMenu li a {
  display: inline-block;
  padding: 15px;
  text-decoration: none;
  text-transform: uppercase;
  color: #bcc3c7;
  font-size: 1.2rem;
}

.mainMenu li a:hover {
  background: rgb(186, 148, 221);
}

.openMenu {
  font-size: 2rem;
  margin: 20px;
  display: none;
  cursor: pointer;
  /* margin-right: 20em; */
}

.hamburger {
  /* opacity: 0; */
  display: none;
  /* float: right;
  width: 2em;
  height: 2em; */
  margin-right: 12px;
  margin-top: 7px;
}

.hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  body {
    background-image: url(/starter-code/assets/crew/background-crew-mobile.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .nav-links {
    display: none;
  }

  .mainMenu {
    height: 100%;
    position: fixed;
    top: -1em;
    right: 0;
    left: 0;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #304356;
    transition: top 1s ease;
  }

  .hamburger {
    /* opacity: 100; */
    display: flex;
    width: 2em;
    height: 2em;
    margin-right: 5em;
  }

  .section {
    font-size: 20px;
  }

  .left {
    /* color: #fefefe; */
    width: 60%;
    margin: auto;
    margin-top: 3em;
    /* margin-left: 11em; */
    /* padding: 2em; */
    /* text-align: center; */
  }

  .left h3 {
    font-size: 37px;
  }

  .right img {
    /* width: 60%; */
    /* height: 29em; */
    /* margin-top: 7em; */
    /* margin-left: 2em; */
    display: none;
  }

  .dots {
    display: flex;
    flex-direction: row;
    width: 40%;
    margin: auto;
  }
}
