body {
  margin: 0;
  opacity: 1;
  transition-duration: 0.4s;
  transition-property: opacity;
  transition-timing-function: ease-in-out;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.fade {
  opacity: 0;
}

.wrapperTop {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 10px;
}

/* NAVBAR */
#navbar {
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.navContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 2rem;
}

#navbar ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;

  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#navbar li a {
  display: block;
  text-align: center;
  padding: 12px 14px;
  text-decoration: none;
  color: black;
}

/* SECTIONS */
.main-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-wrapper {
  max-width: 1170px;
  margin: 40px auto;
  padding: 0 10px;
}

.text-wrapper {
  padding-right: 15px;
  padding-left: 15px;
}

.title-font {
  font-family: 'Courier New', Courier, monospace;
  padding-left: 15px;
}

.sub-title {
  font-family: source code pro;
}

/* Hero Section */
#hero {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to bottom right, #4a90e2, #dfdfdf);
  color: white;
  padding: 20px;
}

.hero2 {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

#hero-section {}

/* Hero Content */
.hero-content {
  max-width: 700px;
}

/* Hero Heading */
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Hero Paragraph */
.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Hero Button */
.hero-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.2rem;
  color: #4a90e2;
  background-color: white;
  border: 1px;
  border-style: solid;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-button:hover {
  background-color: #4a90e2;
  color: white;
}

/* FOOTER SECTION */
#footer_hr {
  margin: 0px;
}

footer {
  margin-top: auto;
  left: 0;
  bottom: 0;
  width: 100%;

  opacity: .80;
  text-align: center;
}

#copyright {
  margin: 0;
  padding: 5px;
}

.mobile-break {
  display: none;
}

#about-hero {
  display: none;
}

#contact-hero {
  display: none;
}

.mini-section {
  margin-top: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  position: absolute;
  margin: 0;
  top: 20%;
  left: 50%;
  transform: translate(-50%);
  font-size: 28px;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.small-section-hr
{
  width: 25%;
  margin: auto;
}

@media (max-width: 950px) {
  #hero {
    height: min(80vh, 100%);
  }

  #navbar ul {
    font-size: 3.6vw;
  }

  #main-title {
    font-size: 24px;
  }

  .modal-content {
    font-size: 20px;
  }

  .text-wrapper {
    padding-right: 0px;
    padding-left: 0px;
  }
  
}

@media (max-width: 600px) {
  .section-wrapper {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
  }
  video {
    width: 100%;
  }
}

@media (max-width: 400px) {
  #hero {
    height: min(80vh, 100%);
  }

  #navbar ul {
    font-size: 3.6vw;
  }

  #main-title {
    font-size: 24px;
  }

  .mobile-break {
    display: block;
  }

  .modal-content {
    font-size: 20px;
  }
}