@import url("https://fonts.googleapis.com/css2?family=Michroma&display=swap");

* {
  font-family: "Michroma", sans-serif;
  color: white;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

:root {
  color: #e35757;
  color: #303030;
}

body {
  background-color: black;
}

/* NAVBAR */

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.social-media {
  margin: 20px 20px 0 0;
}

.social-media img {
  width: 20px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #303030;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1em;
  color: white;
  display: block;
  transition: 0.3s;
  white-space: nowrap;
}

.sidenav a:hover {
  color: #e35757;
}

.close-button:hover {
  color: #e35757;
}

.sidenav .close-button {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.menu-button {
  margin: 7px 0 0 20px;
  font-size: 20px;
  cursor: pointer;
}

.menu-button:hover {
  color: #e35757;
}

/* HEADER */
.header {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  background-image: url(img/planeta\ header.jpeg);
  background-size: cover;
  background-position: top;
  text-align: center;
}

.header h1 {
  padding: 250px 0 0 0;
  font-size: 4rem;
}
.header h2 {
  font-size: 2rem;
}
.header p {
  width: 50%;
  font-size: 1rem;
}

.mobile-subtitle {
  display: none;
}

/*MEDiA QUERIES HEADER*/
@media (max-width: 750px) {
  .header h1 {
    width: 90%;
    font-size: 2rem;
    padding: 350px 0 0 0;
  }

  .header h2 {
    font-size: 1rem;
  }

  .mobile-subtitle {
    display: block;
  }

  .desktop-subtitle {
    display: none;
  }

  .header p {
    width: 100%;
    font-size: 0.7rem;
    margin: 0;
  }
}

@media (min-width: 751px) {
  .desktop-subtitle {
    display: block;
  }
}

@media (max-width: 450px) {
  .header p {
    display: none;
  }
}

/*DESTINOS*/
.destino {
  width: 90%;
  display: grid;
  grid-template-rows: auto repeat(4, 450px);
  grid-template-columns: 2;
  grid-template-rows: 5;
  margin: auto;
  gap: 50px;
}

.titulo-destino {
  grid-column: span 2;
  text-align: center;
  color: #e35757;
  font-size: 2rem;
  margin-bottom: 50px;
}

.texto-destino {
  align-items: center;
  margin: auto;
}

.texto-destino p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.texto-destino h2 {
  font-size: 2rem;
  color: #e35757;
}

.img-venus {
  background-image: url(img/destinos/venus.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  transform: scaleX(-1);
}

.img-marte {
  background-image: url(img/destinos/marte.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

.img-saturno {
  background-image: url(img/destinos/saturno.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

.img-pluton {
  background-image: url(img/destinos/pluton.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

@media (max-width: 750px) {
  .destino {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  div#img-venus {
    order: 1;
  }

  div#texto-venus {
    order: 2;
  }

  div#img-marte {
    order: 3;
  }

  div#texto-marte {
    order: 4;
  }

  div#img-saturno {
    order: 5;
  }

  div#texto-saturno {
    order: 6;
  }

  div#img-pluton {
    order: 7;
  }

  div#texto-pluton {
    order: 8;
  }
}

@media (max-width: 750px) {
  .img-venus {
    width: 100%;
    height: 200px;
    margin: auto;
  }
  .img-marte {
    width: 100%;
    height: 200px;
  }
  .img-saturno {
    width: 100%;
    height: 200px;
  }
  .img-pluton {
    width: 100%;
    height: 200px;
  }

  .titulo-destino {
    margin-bottom: 150px;
  }

  .texto-destino {
    margin-bottom: 150px;
  }
}

/*TEAM*/

.team {
  width: 95%;
  margin: auto;
  margin-top: 150px;
}

.team-header {
  text-align: center;
  margin: 50px;
}

.team-header h2 {
  color: #e35757;
  margin-bottom: 30px;
  font-size: 2rem;
}

.team-header p {
  margin-bottom: 10px;
}

.worker-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 30px;
  margin: auto;
}

.worker {
  margin-top: 100px;
  font-size: 1rem;
  text-align: center;
}

.worker p {
  margin-top: 30px;
}

.worker img {
  width: 210px;
  height: 210px;
  filter: grayscale(1);
  cursor: pointer;
}

.worker img:hover {
  filter: grayscale(0);
  transition: 0.6s;
}

/* FORMULARIO */

.form {
  width: 90%;
  height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  margin-top: 150px;
}

.titulo-form {
  text-align: center;
  margin-bottom: 40px;
}

.titulo-form span {
  color: #e35757;
}

.flexbox-container {
  display: flex;
  width: 100%;
  height: 300px;
}

.flexbox-form {
  min-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  gap: 10px;
}

.flexbox-form input {
  color: #303030;
  border-radius: 5px;
}

.privacy-checkbox {
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
}

#submit {
  background-color: #e35757;
  margin: auto;
  padding: 10px 20px;
  border: 0;
  cursor: pointer;
}

@media (max-width: 450px) {
  .form {
    margin-top: 250px;
  }

  .privacy-checkbox {
    font-size: 0.7rem;
  }
}

/* FOOTER */

.footer {
  height: 250px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(68, 26, 24, 1) 50%,
    rgba(227, 87, 80, 1) 100%
  );
  margin-top: 50px;
}

.footer small {
  padding-bottom: 10px;
}

@media (max-width: 450px) {
  .footer small {
    font-size: 0.7rem;
  }
}
