* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}
body {
  background-image: url(../images/background.jpg);
}

@font-face {
  font-family: 'Space Quest';
  src: url('../CSS/font/SpaceQuest-Xj4o.ttf');
}

/* out container */
.container {
  width: 100%;
}

/* header */

.header {
  background-color: #385768;
  box-shadow: 1px 1px 4px 0 rgb(0 0 0 / 10%);
  position: fixed;
  top: 0;
  width: 90%;
  z-index: 3;
  margin-top: 2rem;
  margin-left: 1.4rem;
  border-radius: 2rem;
  font-family: 'Space Quest';
}

a {
  color: white;
}

nav {
  border-radius: 2rem;
  background: #385768;
  width: 100%;
}

.header ul {
  list-style: none;
  overflow: hidden;
  background-color: #385768;
}

.header li a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
  text-align: center;
  font-family: 'Space Quest';
  width: 40%;
  margin: 0 auto;
}

.header li a:hover,
.header .menu-btn:hover {
  color: #13c0c4;
  text-decoration: none;
  border-bottom: 4px solid #13c0c4;
  padding-bottom: 0.6rem;
}

.header li a.active {
  color: #13c0c4;
  border-bottom: 4px solid #13c0c4;
  padding-bottom: 0.6rem;
}

.header .logo {
  display: block;
  float: left;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  border-radius: 2rem;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 3px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 22px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media (min-width: 48em) {
  .header {
    margin-left: 2rem;
  }
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}

/* =================================================== */

/* content in the page */
.content {
  width: 100%;
  margin: 0 auto;
  /* margin-top: 7rem;*/
  color: white;
}

@media (min-width: 48em) {
  .header li a {
    width: 100%;
  }
  .header {
    margin-left: 4rem;
  }
}

/* welcome section css */

.content {
  width: 100%;
  margin: 0 auto;
  /* margin-top: 7rem;*/
  color: white;
}

@media (min-width: 48em) {
  .header li a {
    width: 100%;
  }
  .header {
    margin-left: 4rem;
  }

  /* media welcome seciton */
  /* .welcome-nasa-text-h1{
      font-size: 1.5rem;
      letter-spacing: 0.1rem;
      margin-bottom: 1rem;
    } */
}

/* start sty;e css for conten nasa page*/
.welcome-nasa {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  /* padding-top: 10rem;
    padding-bottom: 10rem; */
  width: 100%;
}
.welcome-nasa::before {
  content: '';
  background-image: url('../images/planets.gif');
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.2;
}

.welcome-nasa-text {
  width: 80%;

  text-align: center;

  margin: 0 auto;
}
.nasa-gallery {
  width: 80%;

  text-align: center;

  margin: 0 auto;
}
.welcome-nasa-text-h1,
.nasa-gallery h1 {
  font-family: 'Space Quest';
  color: #13c0c4;
  font-size: 3rem;
  letter-spacing: 0.18rem;
  margin-bottom: 2rem;
}
.welcome-nasa-text p {
  color: white;
  margin: 0 auto;
  letter-spacing: 0.12rem;
  width: 80%;
  font-size: 1.5rem;
  font-weight: 800;
}

@media (min-width: 375px) and (max-width: 667px) {
  .welcome-nasa-text-h1 {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
  }

  .welcome-nasa {
    height: 80vh;
    /* padding-top: 10rem;
      padding-bottom: 10rem; */
    width: 100%;
  }
  .welcome-nasa-text p {
    letter-spacing: 0rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2rem;
  }
}

/* end welcome */
/* style  pic date */
.pic-date {
  display: flex;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  flex-direction: column;
}
.pic-date-h2 {
  font-family: 'Space Quest';
  color: #13c0c4;
  font-size: 2.3rem;
  letter-spacing: 0.15rem;
  padding-top: 3.5rem;
}
.pic-date-p {
  color: white;

  letter-spacing: 0.1rem;

  font-size: 1rem;
  font-weight: 600;
  font-weight: 600;
  padding: 1.5rem 0;
  width: 50%;
  text-align: center;
}

.date-pic-btn {
  width: 8rem;
  height: 2rem;
  color: white;
  background-color: #13c0c4;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}

.date-calender {
  background: #9e9e9e;
  border: none;
  text-align: center;
  font-size: 1rem;
  width: 42%;
  height: 2rem;
  border-radius: 0.5rem;
  color: white;
}
.fa-solid {
  color: #13c0c4;
  font-size: 20px;
}

@media (min-width: 375px) and (max-width: 667px) {
  .pic-date-h2 {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    padding-top: 3rem;
  }
  .pic-date-p {
    font-size: 1rem;
    font-weight: 600;

    padding: 1rem 0;
    width: 100%;
  }
  .input-date {
    flex-wrap: wrap;
    width: 100%;
    padding: 0.8rem 1rem;
  }
  .date-pic-btn {
    width: 100%;
    font-size: 0.9rem;
    margin-top: 1rem;
  }

  .date-calender {
    font-size: 1rem;
    width: 65%;
  }
}

/* end pic date */
/* start cards nasa */
.nasa-gallery h1 {
  font-family: 'Space Quest';
  color: #13c0c4;
  font-size: 2.3rem;
  letter-spacing: 0.15rem;
  padding-top: 3.5rem;
}
.first-p {
  color: white;
  margin: 0 auto;
  letter-spacing: 0.1rem;
  width: 50%;
  font-size: 1rem;
  font-weight: 600;
}

.input-date {
  border: 2px solid #353535;
  display: flex;
  align-items: center;
  width: 70%;
  padding: 1rem 2rem;
  border-radius: 1rem;
  margin: 1.5rem auto;
  background-color: #353535;
  justify-content: space-around;
}

.home-page-btn {
  width: 8rem;
  height: 2rem;
  color: white;
  background-color: #13c0c4;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}

.input-date input {
  background: #9e9e9e;
  border: none;
  text-align: center;
  font-size: 1rem;
  width: 90%;
  height: 2rem;
  border-radius: 0.5rem;
  color: white;
  margin-top: 0.5rem;
}

.fa-solid {
  color: #13c0c4;
  font-size: 20px;
}

@media (min-width: 48em) {
  .input-date {
    width: 50%;
  }
  .input-date input {
    width: 80%;
    margin-top: 0;
    margin-right: 1rem;
  }
}

.cards-nasa {
  padding: 0;
  display: flex;
  width: 80%;
  margin: 0 auto;
}
.card {
  display: flex;
  background: #353535;
  padding: 1rem;
  margin: 3rem 0;
  border-radius: 20px;
  align-items: center;
  height: 550px;
}
.card-img {
  border-radius: 10px;
  width: 50%;
  height: 100%;
}
.card-img img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
}

.card-text {
  padding: 0.5rem;
  margin-left: 2rem;
  width: 50%;
  height: 100%;
  overflow: auto;
}

.card-text::-webkit-scrollbar {
  width: 0.5rem;
}
.card-text::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: inset 0 0 10px rgba(19, 192, 196, 0.6);
}

.card-text::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #13c0c4;
}
.card-text p {
  line-height: 1.4rem;
}
.card-text-h2 {
  padding-bottom: 1rem;
  color: #13c0c4;
}
.card-text-h4 {
  padding-bottom: 1rem;
}

@media (min-width: 375px) and (max-width: 768px) {
  html {
    font-size: 12px;
  }
  .card {
    flex-direction: column;
  }
  .card-img {
    width: 100%;
    height: 290px;
  }
  .card-text {
    text-align: center;
    width: 100%;
    margin: 2rem 0 0;
  }
}

/*  End cards nasa */

/*  footer */

.footer {
  background-color: #353535a1;
  margin: 0 auto;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 10rem;
}

.footer-text {
  padding-top: 2rem;
  color: #979797;
}
.flex-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.footer-list {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
  width: 40%;
  font-size: 1.4rem;
}
.footer-image2 {
  width: 8.5rem;
}
.footer-image1 {
  width: 7.5rem;
}
.footer-list a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.footer-link:hover {
  color: #b3b3b3;
}

@media (min-width: 48em) {
  .footer-image1 {
    width: 13.2rem;
  }
  .footer-image2 {
    width: 14rem;
  }
  .footer-list {
    width: 30%;
    font-size: 3rem;
  }
}
