body {
  font-family: 'Cormorant SC', serif;
  color: lightgray;
  text-align: center;
  margin: 0px;
  height: 100%;
  width: 100vw;
  overflow-x: hidden
}


.navbar {
  transition-duration: 1.5s;
  background-color: #14140c !important;
}

.scroll-top .navbar {
  background-color: transparent !important;
}



#hero-section {
  position: relative;
  display: block;
  text-align: center;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
}

#bgd-img{
  background: url("img/space.jpg");
  height: 125%;
  width: 100%;
  margin: 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

#hero-section #fgd-img {
  position: absolute;
  border: double 1.5vw transparent;
  background-image: linear-gradient(black, black), linear-gradient(to bottom, rgba(150,30,80,0.5), rgba(0,0,200,0.5));
  background-origin: border-box;
  background-clip: content-box, border-box;
  /*I don't fully understand what all is making this work. I just know that it breaks if I erase anything!*/
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 20vw;
  border-radius: 50%;
  margin: auto;
  transform-origin: center center;
}

#hero-section #fgd-img:hover {
  background-image: linear-gradient(black, black), linear-gradient(to bottom, rgba(150,30,80,0.75), rgba(0,0,200,0.75));

}
  
#hero-section h1 {
  position: absolute;
  text-align: center;
  display: block;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 140%);
  font-size: 5vw; 
  margin-top: 10px;
  }

#hero-section p {
  margin-top: 10px;
  position: absolute;
  display: inline-block;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 300%);
  font-size: 3vw;
  width: 100vw; /*Setting width to full screen prevents line breaks.*/
}




#mission-section {
  background-color: #141530;
  padding: 25px;
  display: flow-root;
  position: relative;
  overflow: none;
  width: 100vw;
}

#mission-section h2 {
  text-align: center;
}
#mission-section p {
  font-size: 22px;
  display: inline-flexbox;
  text-align: left;
}

#mission-section h2, #mission-section p{
  padding: 20px;
}

#mission-section-image-offset {
  border: 2px black solid;
  height: 45vw;
  width: 50vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 20px;
  float: left;
  margin-right: 15px;
}

#mission-section-image {
  background-image: url("img/mission-image.jpeg");
  background-position: center;
  height: 40vw;
  width: 45vw;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  transition: 1.5s;
  margin: 0px;
}

#mission-section-image-caption {
  font-size: 12px !important;
  text-align: match-parent;
}

#mission-section-image:hover {
  transition-duration: 1.5s;
  height: 45vw;
  width: 50vw;
  border-radius: 20px;
}



#skills-section {
  background-color: #271d34;
  width: 100vw;
  height: 100%;
  padding: 25px;
  text-align: center;
}

#skills-container {
  height: auto;
  padding: 25px;
  margin: 0;
}

.li-item {
  vertical-align: top;
  display: inline-block;
  text-align: center;
  width: auto;
  padding: 40px;
}

.li-item img {
  height: 96px;
  transition-duration: 1s;
}

.li-item img:hover {
  scale: 130%;
}

.li-item-caption {
  display: block;
  font-size: 20px;    
  text-align: center;
  width: 180px;
}

#inspiration-section {
  text-align: center;
  width: 100vw;
  margin: 0px;
  background-color: #141530;
  padding: 25px;
}

.carousel-item img {
  height: 60vh;
  overflow: none;
  object-fit: cover;
  object-position: center;
}

.carousel-item:after {
  content:"";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background:rgba(0,0,0,0.6);
}

.carousel-item h5 {
  font-size: 28px;

}

.carousel-item p {
  font-size: 22px;
}

.carousel-caption {
  z-index: 1000;
}


#contact-section {
  background-color: #271d34;
  margin: 0px;
  height: 100%;
  padding: 25px;
  width: 100vw;
}

#contact-container {
  margin: 0px;
  height: 100%;
  padding: 10px;
}

#contact-container .li-item{
  margin: 20px;
  padding: 0px;
  transition-duration: 1s;
}

#contact-container .bi {
  transition-duration: 1s;
}

#contact-container .li-item:hover, #contact-container .bi:hover {
  scale: 130%;
  color: #cc0000;
}




#footer-section {
  margin: 0px;
  width: 100vw;
  height: auto;
  background-color: #14140c;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
}

.footer-text p {
  display: flex;
  vertical-align: middle;
  justify-content: center;
  padding: 5px;
  margin: 0px;
}


  
@media (max-width: 575px) {
  .hero-section {
    height: 85vh;
  }
  .hero-section #fgd-img {
    width: 30vw;
  }
  .hero-section h1 {
    transform: translate(-50%, 260%);
  }
  .hero-section p {
    transform: translate(-50%, 490%);
  }
  #mission-section {
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    margin: auto;
  }

  #mission-section p {
    text-align: center;
  }
  #mission-section-image-offset{
    text-align: center;
    vertical-align: middle;
    justify-content: center;
    width: 100%;
    height: 65vw;
    margin: 0 0 20px 0;
    left: 50%;
  } 
  #mission-section-image:hover {
  height: 65vw;
  width: 100%;
  border-radius: 20px;
  }
} 
