/*!
CSS BEGINS
 */
body {
  margin: 0;
  margin-top: 74px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1,
h2,
h3,
h4 {
  font-family: "Dosis", sans-serif;
  color: #414141;
}

h5,
h6,
p {
  font-family: "Roboto", sans-serif;
  color: #414141;
}

h1 {
  font-weight: 400;
  font-size: calc(2rem + 1.5vw);
}

h2 {
  font-weight: 400;
  font-size: calc(1.325rem + 0.9vw);
}

h2 a {
  font-weight: 400;
}

@media (min-width: 1200px) {
  h2 {
    font-size: 2rem;
  }
}

h3 {
  font-weight: 400;
  font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
  h3 {
    font-size: 1.75rem;
  }
}

h4 {
  font-weight: 500;
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
  h4 {
    font-size: 1.5rem;
  }
}

h5 {
  font-weight: 500;
  font-size: 1.2rem;
}

h6 {
  font-weight: 500;
  font-size: 1rem;
}

p {
  margin-top: 0;
  font-weight: 100;
  font-size: 1.1rem;
}

hr {
  border-top: 0.1rem solid #414141;
  opacity: 100%;
  width: 4rem;
}

.hr-accent {
  border-top: 0.15rem solid white;
  opacity: 100%;
  width: 3rem;
}

a {
  color: inherit;
  font-weight: 100;
  text-decoration: none;
}

p > a {
  text-decoration: underline;
}

footer > a {
  text-decoration: none;
}

a:hover {
  color: #d64550;
}

.text-white a:hover {
  color: #ff9398;
}

.text-gray a:hover {
  color: #ff9398;
}

.body-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*!
BEGIN NAVBAR
 */

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #fff;
}

#mainNav .navbar-brand {
  font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 500;
}

#mainNav .navbar-brand:hover,
#mainNav .navbar-brand:active {
  color: #d64550;
}

#mainNav .navbar-toggler {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  color: #414141;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: #414141;
  font-size: 0.875rem;
}

#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #777777;
}

#mainNav .navbar-nav .nav-item .nav-link.active {
  color: #d64550;
}

/*!
END NAVBAR
 */

.card {
  border: 0px;
}

.accent-div {
  background-color: #336e6d;
}

.gray-bg {
  background-color: #414141;
}

.white-bg {
  background-color: white;
}

.text-gray {
  color: #f0f0ef;
}

.primary-icon {
  color: #414141;
}

.home-hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: white;
  margin-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
  min-height: 75vh;
}

/* Old header video alignment
.video-bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
}
*/

.video-bg {
  position: absolute;
  z-index: -1;
  bottom: -32px;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center bottom;
}

.primary-button {
  border-radius: 5px;
  font-family: "Dosis", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
  background-color: #d64550;
  border: 2px solid white;
  padding: 0.25rem 1.25rem;
}

button.primary-button:hover {
  color: #336e6d;
  background-color: white;
  border: 2px solid #d64550;

}

.secondary-button {
  border-radius: 5px;
  font-family: "Dosis", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  background-color: #d64550;
  border: none;
  padding: 0.25rem 1.25rem;
  min-width: 100px;
  margin: 0.25rem;
}

.semitrans-box {
  background: rgba(51, 110, 109, 0.75);
}

button.secondary-button:hover {
  color: #336e6d;
  background-color: white;
}

pre,
code {
  background-color: #414141;
  color: #f0f0ef;
  overflow: auto;
  border-radius: 5px;
  white-space: pre-wrap;
}

pre {
  padding: 1rem;
}

.ani-iframe {
  height: 25rem;
  width: 26rem;
  margin: 10px 0px;
  padding: 0px;
}

.navbar-toggler {
  border: none;
}

.current-page {
  color: #d64550;
  border-top: 2px #d64550 solid;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-left: 2px #d64550 solid;
  border-right: 2px #d64550 solid;
}

/* Compact Hero Banner */
.compact-hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: white;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
  min-height: 120px; /* Much smaller than the main hero */
  max-height: 160px;
}

/* Reuse the same video background styling */
.compact-hero .video-bg {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

/* Make social icons slightly smaller */
.compact-hero .fa-lg {
  font-size: 1.2em; 
}

/* Make it responsive */
@media (max-width: 768px) {
  .compact-hero {
    min-height: 140px; 
    max-height: 180px;
  }
  
  .compact-hero .fa-lg {
    font-size: 1.1em; 
    margin: 0px 6px 0px 6px !important; 
  }
}

@media (min-width: 768px) {
  .vl {
    border-left: 1px solid #f0f0ef;
    height: 50px;
  }
}

@media (min-width: 1200px) {
  .ani-iframe {
    height: 30rem;
    width: 33rem;
  }
}

@media (min-width: 1400px) {
  .ani-iframe {
    height: 40rem;
    width: 36rem;
  }
}
