
/* Setting the box-sizing to border-box, and setting the margin and padding to 0px. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}
/* general styling */

body {
  background-image: url(../images/mars-background.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
min-height: 100vh;
flex-direction: column;
}

div.container.jumbotron {
  background-color: rgba(0, 0, 0, 0.25);
  margin-top: 4%;
  }

  div.container.jumbotron h1, p {
    color: #fff;
    
  }

  #header__caption {
    color: #fff;
  }
  
  footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
  }
  footer.container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
  }
  footer p {
    margin: 0;
    font-size: 14px;
  }
  footer a {
    color: #fff;
    text-decoration: underline;
  }
  footer a:hover {
    color: #ccc;
    text-decoration: none;
  }



/* index.html */

/* Styling the logo */

.logo {
    max-width: 15%;
      }

/* Making the image responsive. */
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

/* Styling the figcaption element. */
figcaption {
  background-color: gary;
  color: #222;
  font: italic smaller sans-serif;
  padding: 3px;
  text-align: center;
}


/* media query */
@media screen and (max-width:600px) {
  #title {
    font-size: 2em;
  }
}

/* index.html end */

/* mars weather */

.white-hr {
  border-color: white;
   }
    

/* mars weather end */

/* photo on mars */
.carousel-item img {
  width: 80vw;
  max-width: 100%;
  height: 80vh;
  object-fit: cover;
}

img {
  object-fit: contain;
  width: 100%;
}

.w-100 {
  width: 100% !important;
  height: 75vh;
}


/* photo on mars end */

/* Fun Fact Generator styling */
.card-text{
  font-size: 20px;
  color: black;
}

#funFactTitle {
  font-size: 26px;
  background-color: rgba(247, 247, 247, 0.25);
  padding: 10px;
  color: white;
}

#funFact {
  font-weight: 700;
  color: rgb(228, 229, 229);
  font-style: oblique;
}

#newFactButton:hover {
  color: rgb(255, 191, 0);
}

/* end of fun fact generator styling */

/* Mars photo alert for choosing the date. */
.chooseDate{
  font-size: 30px;
  text-shadow: 2px 2px 5px grey, 0 0 25px orange;
}

.containerDate{
  background-color: rgba(0, 0, 0, 0.25);
  margin: 2%;
  padding: 2%;
  width: 97%;
}