/* Box Model Hack */
* {
  box-sizing: border-box;
}

/******************************************
/* LAYOUT
/*******************************************/

body {
  background: black;
  padding: 20px;
  min-height: 100vh;
}

section {
  background: transparent;
  margin: 40px auto;
  max-width: 800px;
}

h1, h2, h3, p {
  background: white;
  color: black;
  display: inline-block;
  padding: 4px 12px;
  margin: 4px 0;
  border-radius: 8px;
}

.apodDate, .apodExp,
.epicDate, .epicExp,
.hubbleDate, .hubbleExp,
.apolloDate, .apolloExp,
.aboutUsBio {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin: 20px auto;
}

.img-wrapper {
  background: white;
  padding: 10px;
  margin: 10px auto;
  display: block;
  width: fit-content;
  border: 8px solid gray;
}

.apodImg, .epicImg, .hubbleImg, .apolloImg {
  display: block;
  height: auto;
  width: 500px;
}

/******************************************
/* HEADER
/*******************************************/

header, footer {
  background: whitesmoke;
  height: 50px;
  padding: 15px 20px;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
}

header h1 {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 2rem;
  color: black;
  border: none;
}

header img,
footer img {
  height: 50px;
  width: 50px;
}

/******************************************
/* NAV
/*******************************************/

.navMenu {
  display: none;
  flex-direction: column;
  list-style: none;
  padding: 0;
  position: absolute;
  z-index: 100;
}

.navMenu.open {
  display: flex;
}

.navMenu a {
  color: whitesmoke;
  text-decoration: underline;
}

.hamburger {
  background: transparent;
  border: 3px solid black;
  border-radius: 8px;
  color: black;
  font-size: 1.5rem;
  cursor: pointer;
}

/******************************************
/* ABOUT US SECTION
/*******************************************/

.aboutUs {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aboutUsImg {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.aboutUsImg img {
  height: 50%;
  width: 100%;
}

.aboutUsImg .img-wrapper {
  width: 30%;
}

/******************************************
/* API SECTIONS
/*******************************************/

.apodSec,
.epicSec,
.hubbleSec,
.apolloSec {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/******************************************
/* FOOTER
/*******************************************/

footer p {
  background: none;
}

footer a,
footer li {
  color: black;
  list-style: none;
  text-decoration: underline;
}

/******************************************
/* ADDITIONAL STYLES
/*******************************************/

#starCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}