* {
    box-sizing: border-box;
  }
  
body {
  width: 100%;
  height: 1024px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Lato', sans-serif;
  color: black;
  background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)), url('https://pbs.twimg.com/media/D7V7axyWkAAt5Di.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;  
}

.nav-section {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  color: white;
}

.logo {
  width: 50px;
  height: 50px;
  border: 5px solid white;
  line-height: 40px;
  
}

a {
  color: white;
  text-decoration: none;
}
  
.menu {
  margin-right: 10px;
}

ul {
  font-size: 16px;
  list-style-type: none;
  padding: 0;
}

.drop-down-nav > ul > li {
  padding: 20px 0;
  font-weight: bold;
}

.Navbar__Items {
  display: none;
}
  
.drop-down-nav {
  display: none;
  height: auto;
}

.drop-down-link {
  text-align: left;
  width: 100%;
  border-bottom: 1px dotted grey;
  
}

.Navbar__ToggleShow {
  display: block;  
}

.drop-down-nav > ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-section, .drop-down-nav {
  margin: 10px 10px 0 10px;
}

body > h2 {
  margin-bottom: 0px;
}
.spacex-logo {
  width: 300px;
  height: auto;
}

.mission-patch {
  width: 200px;
  height: 200px;
  margin: 5px;
}

h3 {
  margin: 0;
  padding: 10px 0;
}

.mission{
  margin-top: 10px;
}

.mission-details {
  margin-top: 30px;
}

.mission > a {
  text-decoration: none;
}

.mission-container {
  width: 300px;
  height: 320px;
  margin: 20px auto;
  background: rgba(204, 204, 204, 0.5);
}

.mission-container:hover {
  opacity: 0.5;
}
.mission-container, .mission-details{
  border: 3px solid black;
  border-radius: 5px;
}

.mission-details {
  line-height: 2em;
  background: rgba(204, 204, 204, 0.5);
  color: white;
  margin-bottom: 20px;
}

.flight-number, .name{
  background-color: #005288;
  color: white;
}

.mission-name {
  color: black;
}

.mission-images > img {
  width: 100%;
  height: 300px;
  margin-left: 0;
}

.mission-images {
  margin: 0;
  height: auto;
  width: 100%;
}

.mission-details > ul {
  list-style-type: none;
  text-align: left;
  padding-left: 0;
  margin: 0 5px;
  font-weight: bolder;
  color: black;
}

.mission-details > li {
  margin: 5px 0;
  
}

.bold-text {
  font-weight: bolder;
  padding-right: 3px;
  color: red;
}  
  
.individual-mission {
  margin: 0 auto;
}

.mySlides {
  display: none;
}

.images {
    width: 100%;
    height: auto;
}

.prev, .next {
  cursor: pointer;
  width: auto;
  padding: 10px;
  margin-bottom: 30px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.slide-control, .video-container > h3 {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 2px solid black;
    background-color: #005288;
    color: white;
    padding: 20px;
}

.next {
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.video-image-container {
  margin: 20px 0;
}
.video-container > h3 {
  margin-bottom: 0;
  margin-top: 0;
}
.video-container {
  width: 100%;
  display: block;
  margin-top: 20px;
}

.video {
  border: 2px solid black;
  border-top: 0;
  background: rgba(204, 204, 204, 0.5);
  padding-bottom: 20px;
  color: black;
}

#results-list {
  height: auto;
  list-style-type: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

hr {
  border-top: 1px solid black;
}

iframe {
  width: 100%;
  height: 360px;
}
form, h2 {
  padding: 10px 0;
  background: rgba(204, 204, 204, 0.25);
}
.error-message {
  color: red;
  font-weight: bold;
}

#name {
  margin-bottom: 20px;
  padding: 10px 0;
}

label {
  color: red;
  font-weight: bold;
}

#search-btn {
  padding: 10px 30px;
  border: 1px solid #005288;
  border-radius: 5px;
  background-color: #005288;
  color: white;
  font-weight: bold;
}

#search-btn:hover {
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  body {
    height: 100%;
    background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url('http://i.imgur.com/Nssk73Q.png');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  body > h2 {
    margin-top: 150px;
  }

  .spacex-logo {
    display: none;
  }

  .mission-container {
    background-color: transparent;
  }

  .mission-name {
    color: black;
  }
  
  .mission {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .individual-mission {
    margin-top: 200px;
  }

  .mission-images > img {
    width: 70%;
    max-height: 400px;
    margin-left: 0;
  }
}

@media only screen and (min-width: 1024px) {
  body > h2 {
    margin-top: 200px;
  }

  .mission-details {
    width: 50%;
    margin: 30px auto;
  }

  .mission-details > ul {
    text-align: center;
  }
  
  .mission-images {
    width: 45%;
    height: 100%;
  }

  .images {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .video-container {
    width: 45%;
    margin-top: 0;
  }

  .video-image-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }
}

@media only screen and (min-width: 1200px) {

  body > h2 {
    margin-top: 100px;
  }
  .navbar-menu, .drop-down-nav {
    display: none;
  }

  .Navbar__Items {
    display: block;
  }

  .Navbar__Items > ul > li {
    display: inline-block;
    margin: 0 20px;
  
  } 
  .individual-mission {
    margin-top: 150px;
  }
}