@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  list-style: none;
  text-decoration: none;
  font-family: "Source Sans Pro", sans-serif;
}

:root {
  --white: #fff;
  --grey: #eee;
  --clr-dark: hsl(230 35% 7%);
  --clr-accent: hsl(231 77% 90%);
}

h2 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 2.7rem;
  margin: 1rem 0;
  color: var(--white);
}

h3 {
  color: var(--clr-accent);
  font-size: 1.5rem;
  font-weight: lighter;
}

h4 {
  color: var(--white);
  font-size: 1.4rem;
  text-transform: uppercase;
  text-align: start;
  font-weight: 500;
}
h4 span {
  color: var(--clr-accent);
}

p {
  font-size: 1.1rem;
  color: var(--clr-accent);
  line-height: 1.7rem;
}

.main__wrapper {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  position: relative;
}

section {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  transition: left 1.5s;
}

.section__1 {
  z-index: 40;
}

.section__2 {
  z-index: 30;
}

.section__3 {
  z-index: 20;
}

.section__4 {
  z-index: 10;
}

.section__wrapper {
  width: inherit;
  height: inherit;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hideOnBigScreen {
  display: none;
}

.hideOnSmallScreen {
  display: block;
}

@media screen and (max-width: 900px) {
  .main__wrapper {
    height: 180vh;
    overflow-x: hidden;
    position: relative;
  }
  section {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    transition: left 1.5s;
  }
  .hideOnBigScreen {
    display: block;
    order: 1;
  }
  .hideOnSmallScreen {
    display: none;
  }
}
@media screen and (max-width: 412px) {
  h2 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--white);
  }
  h3 {
    color: var(--clr-accent);
    font-size: 1.15rem;
  }
  h4 {
    color: var(--white);
    font-size: 1.25rem;
    text-transform: uppercase;
    text-align: start;
  }
  h4 span {
    color: var(--clr-accent);
  }
  p {
    font-size: 1rem;
    color: var(--clr-accent);
    line-height: 1.7rem;
  }
}
.crew {
  background-image: url("/starter-code/assets/crew/background-crew-desktop.jpg");
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 6rem 4rem 6rem;
}
.crew__text {
  max-width: 500px;
  width: 100%;
}
.crew__info h3 {
  margin-top: 3rem;
  text-transform: uppercase;
}
.crew__nav {
  display: flex;
  margin-top: 1rem;
}
.crew__nav a {
  margin-right: 1rem;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--clr-accent);
  border-radius: 50%;
}
.crew__nav a:focus {
  background-color: var(--white);
}
.crew__img {
  max-width: 25rem;
  width: 100%;
}

#commander.current {
  background-color: var(--white);
}

@media screen and (max-width: 900px) {
  .crew {
    background-image: url("/starter-code/assets/crew/background-crew-tablet.jpg");
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: center;
    padding-top: 8rem;
  }
  .crew__text {
    margin-top: -4rem;
    text-align: center;
  }
  .crew__nav {
    justify-content: center;
  }
  .crew__img {
    max-width: 18rem;
    width: 100%;
    display: block;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 620px) {
  .crew {
    background-image: url("/starter-code/assets/crew/background-crew-mobile.jpg");
    flex-direction: column-reverse;
    justify-content: space-evenly;
    align-items: center;
    padding: 5rem 2rem 0rem 2rem;
  }
  .crew__text {
    max-width: 375px;
    width: 100%;
  }
}
.destination {
  background-image: url("/starter-code/assets/destination/background-destination-desktop.jpg");
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 6rem 4rem 6rem;
}
.destination__figure {
  text-align: center;
}
.destination__img {
  margin-top: 2rem;
  width: 80%;
  -webkit-animation: pusle 2s linear infinite;
          animation: pusle 2s linear infinite;
  -webkit-animation: pulse 2s linear infinite direction both;
          animation: pulse 2s linear infinite direction both;
}
.destination__text {
  max-width: 500px;
  width: 100%;
}
.destination__nav {
  display: flex;
}
.destination__nav a {
  text-transform: uppercase;
  margin-right: 1.2rem;
  color: var(--clr-accent);
  font-weight: 600;
  padding: 0.5rem 0;
}
.destination__nav a:focus {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}
.destination__info {
  padding: 1rem 0;
}
.destination__details {
  display: flex;
  justify-content: space-between;
  font-weight: 300;
  border-top: 1px solid var(--clr-accent);
  padding: 0.7rem 0;
}
.destination__details h4 {
  font-size: 1.3rem;
  color: var(--white);
}
.destination__details h4 span {
  font-size: 0.8rem;
  color: var(--clr-accent);
}

#moon.active {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

@-webkit-keyframes pusle {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pusle {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@media screen and (min-width: 1600px) {
  .destination__img {
    width: 100%;
  }
}
@media screen and (max-width: 900px) {
  .destination {
    background-image: url("/starter-code/assets/destination/background-destination-tablet.jpg");
    flex-direction: column;
    gap: 0rem;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem 4rem;
  }
  .destination__figure {
    text-align: center;
    margin-top: 10rem;
  }
  .destination__img {
    margin-top: 2rem;
    max-width: 20rem;
    width: 100%;
  }
  .destination__text {
    max-width: 500px;
    width: 100%;
    text-align: center;
  }
  .destination__nav {
    display: flex;
    justify-content: center;
  }
  .destination__nav a {
    text-transform: uppercase;
    margin-right: 1.2rem;
    color: var(--clr-accent);
    font-weight: 600;
    padding: 0.5rem 0;
  }
  .destination__nav a:focus {
    color: var(--white);
    border-bottom: 2px solid var(--white);
  }
  .destination__info {
    padding: 1rem 0;
  }
  .destination__details {
    display: flex;
    justify-content: space-between;
    font-weight: 300;
    border-top: 1px solid var(--clr-accent);
    padding: 0.7rem 0;
  }
  .destination__details h4 {
    font-size: 1.3rem;
    color: var(--white);
  }
  .destination__details h4 span {
    font-size: 0.8rem;
    color: var(--clr-accent);
  }
}
@media screen and (max-width: 620px) {
  .destination {
    background-image: url("/starter-code/assets/destination/background-destination-mobile.jpg");
    flex-direction: column;
    gap: 3rem;
    justify-content: space-evenly;
  }
  .destination__figure {
    text-align: center;
    margin-top: 10rem;
  }
  .destination__text {
    max-width: 375px;
    width: 100%;
    text-align: center;
  }
}
.home {
  background-image: url("/starter-code/assets/home/background-home-desktop.jpg");
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 6rem 6rem 6rem;
}
.home__text {
  max-width: 475px;
  width: 100%;
}
.home__text h1 {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--grey);
}
.home__text h2 {
  font-size: 5rem;
}
.home__btn {
  height: 15rem;
  width: 15rem;
  font-size: 1.7rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.home__btn:hover {
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 900px) {
  .home {
    background-image: url("/starter-code/assets/home/background-home-tablet.jpg");
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 5rem 6rem 2rem;
  }
  .home__text {
    text-align: center;
  }
}
@media screen and (max-width: 620px) {
  .home {
    background-image: url("/starter-code/assets/home/background-home-mobile.jpg");
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 3rem 6rem;
  }
  .home__text {
    max-width: 375px;
    width: 100%;
  }
  .home__text h1 {
    font-size: 1.2rem;
  }
  .home__text h2 {
    font-size: 4rem;
  }
  .home__btn {
    height: 11rem;
    width: 11rem;
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 412px) {
  .home__text {
    max-width: 375px;
    width: 100%;
  }
  .home__text h1 {
    font-size: 1rem;
  }
  .home__text h2 {
    font-size: 3rem;
  }
  .home__btn {
    height: 11rem;
    width: 11rem;
    font-size: 1.5rem;
  }
}
.navbar {
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar figure {
  margin-left: 2rem;
}
.navbar__group {
  display: flex;
  gap: 2rem;
  background-color: rgba(0, 34, 68, 0.9);
  padding: 1.5rem 2rem;
}
.navbar__link {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--grey);
  position: relative;
  padding: 1.17rem 0;
}
.navbar__link:hover {
  color: var(--white);
}

.navbar__link::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid var(--clr-accent);
  width: 0.1rem;
  transition: width 0.3s;
  bottom: 0;
  opacity: 0.1;
}

.navbar__link:focus::before {
  width: 100%;
  opacity: 1;
}

.menu {
  display: none;
}

.progress__wrapper {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.progress h5 {
  font-size: 1rem;
  text-align: center;
  color: var(--white);
}

.circle__wrapper {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.circle {
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--white);
  border-radius: 50%;
}

@media screen and (max-width: 800px) {
  .menu {
    display: block;
    width: 2.3rem;
    height: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 2rem 1rem;
  }
  .menu__close {
    display: none;
  }
  .change .menu__close {
    display: block;
  }
  .change .menu__open {
    display: none;
  }
  .navbar__group {
    position: absolute;
    top: 3rem;
    right: 0;
    flex-direction: column;
    height: calc(100vh - 3rem);
    width: 55%;
    padding: 4rem;
    background-color: rgba(0, 34, 68, 0.9);
    border-radius: 0.5rem 0 0 0;
    transform: translateX(100%);
    transition: transform 0.5s;
    box-shadow: -2px -2px 2px rgba(255, 255, 255, 0.4);
    z-index: 200;
  }
  .progress__wrapper {
    z-index: 80;
  }
  .change .navbar__group {
    transform: translateX(0);
  }
}
.technology {
  background-image: url("/starter-code/assets/technology/background-technology-desktop.jpg");
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 3rem 4rem;
}
.technology__text {
  max-width: 500px;
  width: 100%;
}
.technology__text h3 {
  text-align: center;
}
.technology__details {
  display: flex;
}
.technology__nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.technology__nav a {
  display: grid;
  place-items: center;
  margin: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--clr-accent);
  border: 1px solid var(--clr-accent);
}
.technology__nav a:hover, .technology__nav a:focus {
  background-color: var(--white);
  color: var(--clr-dark);
}
.technology__info h3 {
  margin-top: 3rem;
  text-transform: uppercase;
  text-align: start;
}
.technology__img {
  max-width: 25rem;
  width: 100%;
}
.technology__landscape {
  display: none;
}

#one.display {
  background-color: var(--white);
  color: var(--clr-dark);
}

@media screen and (max-width: 900px) {
  .technology {
    background-image: url("/starter-code/assets/technology/background-technology-tablet.jpg");
    flex-direction: column-reverse;
    gap: 0rem;
    justify-content: space-evenly;
    align-items: center;
    padding: 7rem 3rem 4rem;
  }
  .technology__text {
    text-align: center;
  }
  .technology__text h3 {
    text-align: center;
  }
  .technology__details {
    flex-direction: column;
  }
  .technology__nav {
    flex-direction: row;
    justify-content: center;
  }
  .technology__potrait {
    display: none;
  }
  .technology__landscape {
    max-width: initial;
    width: 100%;
    display: block;
  }
}
@media screen and (max-width: 620px) {
  .technology {
    background-image: url("/starter-code/assets/technology/background-technology-mobile.jpg");
    flex-direction: column-reverse;
  }
  .technology__text {
    text-align: center;
  }
  .technology__text h3 {
    text-align: center;
  }
  .technology__nav {
    width: 100%;
  }
  .technology__nav a {
    display: grid;
    place-items: center;
    margin: 2.5rem 1.5rem 0;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
}