body {
  margin: 0 auto;
  background-color: rgb(0, 0, 0);
}

/* Top navigation bar */

.top-nav {
  background-color: rgb(0, 0, 0);
  padding: 40px;
  font-size: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home {
  display: flex;
  position: absolute;
  left: 10%;
}
.dropdown {
  display: flexbox;
  justify-content: end;
  position: absolute;
  right: 10%;
  margin-top: 0px;
  width: auto;
  /* text-align: right; */
}

.dropdown-hover {
  float: right;
}

.dropdown-hover,
.home a {
  display: flex;
  margin-top: 10px;
  /* padding: 40px; */
  height: 25px;
  color: white;
  border-radius: 3px;
  text-decoration: underline;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 2rem;
  transition: 0.4s;
}
/* Dropdown menu container */
.dropdown-menu {
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 42px;
  max-width: 400px;
  z-index: 3;
  float: right;
  right: -80px;
}

.dropdown-menu a {
  text-decoration: none;
  color: white;
  transition: 0.5s;
  font-size: 2rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  display: block;
  border: solid rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a:hover {
  background-color: white;
  color: black;
  border-radius: 3px;
}

.home a:hover,
.dropdown-hover:hover {
  background-color: rgba(255, 255, 255, 1);
  color: rgb(0, 0, 0);
  padding: 3px;
}

li {
  list-style-type: none;
}

/* Banner profile image */

.banner img {
  width: 300px;
  box-shadow: 30px 15px 40px 40px;
  border-radius: 50%;
  transition: 6s;
}

.banner img:hover {
  box-shadow: 500px 100px 100px 40px;
}
/* Main banner image of earth */

.banner {
  text-align: center;
  background-repeat: no-repeat;
  background-position: top;
  height: 700px;
  max-width: 100vw;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 1)
    ),
    url(/images/earth-moon.jpg);
}

/* Styling for intro */

.intro {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 50px;
  font-size: 1.3em;
  font-family: 'Courier New', Courier, monospace;
}

.intro p {
  margin-bottom: 20px;
  max-width: 800px;
}

/* Blogpost styling */
ol,
li,
h1,
h2,
h3,
p {
  color: white;
  text-align: center;
}

.quote {
  font-style: italic;
}

p,
h2,
li {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  font-size: 1.4em;
  font-family: 'Courier New', Courier, monospace;
  padding: 10px;
  transition: 0.5s ease;
}
/* p:hover {
  background-color: rgba(217, 238, 255, 0.127);
  border-radius: 15px;
  padding: 10px;
  color: rgb(255, 255, 255);
} */
h1 {
  text-decoration: underline;
  font-family: 'Courier New', Courier, monospace;
}
.blogpost h1 {
  position: relative;
  display: block;
  bottom: 240px;
  text-shadow: -1px 1px 1px black;
  z-index: 1;
}

.orderedList li {
  list-style-type: inherit;
}
.list {
  text-align: center;
  position: relative;
}

.list li {
  font-size: 24px;
  list-style-type: disc;
}

.table {
  color: white;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
  border: solid white;
}

.table th,
table td {
  border: solid white;
}
.blogpost {
  text-align: center;
  margin: 0 auto;
}
.blogpost img {
  text-align: center;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  margin: 0 auto;
}

.blogpost p {
  margin-bottom: 20px;
  max-width: 1000px;
}

.rocket-ship {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rocket-ship img {
  display: flex;
}

.question {
  font-style: italic;
  font-size: 2rem;
  background-color: rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 10px;
  margin-top: 40px;
}

.answer {
  margin-top: 40px;
}
.controlFlow {
  width: 800px;
  height: auto;
}

/* footer */
footer {
  color: white;
  bottom: 0px;
  padding-top: 2em;
  margin: 5px auto;
  text-align: center;
}

.imagesOfProduct {
  display: flexbox;
  flex-flow: column wrap;
}

.imagesOfProduct img {
  display: inline-flex;
  width: 300px;
  /* height: 300px; */
}

/* Responsive web design*/
@media screen and (min-width: 1920px) {
  .banner {
    height: 500px;
  }
  .banner img {
    margin-top: 50px;
  }
  .dropdown-hover,
  .home a {
    font-size: 24px;
    padding: 4px;
  }
  .dropdown-menu a {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 450px) {
  .banner {
    height: 400px;
  }
  .dropdown-hover,
  .home a {
    font-size: 1.5rem;
    padding: 3px;
  }

  .dropdown-menu a {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 375px) {
  .banner {
    height: 400px;
  }
  .banner img {
    width: 280px;
    margin-top: 50px;
  }
  .dropdown-hover,
  .home a {
    font-size: 1.5rem;
    padding: 3px;
  }

  .dropdown-menu a {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 900px) {
  .dropdown {
    right: 5vw;
  }
  .dropdown-menu,
  .dropdown-menu a {
    right: -5vw;
  }
}
