@keyframes navbar-fixed-animated {
  from {
    top: -120px; }
  to {
    top: 0px; } }

.header {
  position: relative; }

.header__nav {
  position: absolute;
  width: 100%;
  z-index: 99;
  background: transparent;
  padding-top: 20px;
  padding-bottom: 20px; }

.header__nav.fixed {
  background: white;
  position: fixed !important;
  border-bottom: var(--border);
  transition: top .5s ease;
  animation: navbar-fixed-animated .5s;
  padding-top: 10px;
  padding-bottom: 10px; }

.header__nav.fixed .logo-invert {
  display: none; }

.header__nav:not(.fixed) .nav-link {
  color: white !important; }

.header__nav:not(.fixed) #menuToggle span {
  background: white !important; }

.header__nav:not(.fixed) .logo-normal {
  display: none; }

.header__hero__background {
  position: absolute;
  width: 100%;
  z-index: 1;
  height: 100%;
  left: 0; }

.header__hero__background video {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.header__hero__background .backdrop {
  width: 100%;
  height: 100%;
  background: rgba(7, 0, 71, 0.6);
  position: absolute;
  top: 0; }

.header__hero__container {
  height: 75vh;
  min-height: 700px;
  max-height: 740px;
  width: 100%; }

.header__hero__container__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  color: white;
  text-align: center; }

.header__hero__container__title .title {
  font-size: 78px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 84px;
  letter-spacing: 1px; }

.header__hero__container__title .subtitle {
  display: inline-block;
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 15px 0;
  max-width: 365px; }

.header__hero__container__title .hero_slogan {
  display: inline-block;
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 15px;
  margin-top: 30px; }

.header__hero__container__image {
  z-index: 1;
  margin-bottom: -30px; }

.header__hero__container__decoration .cloud {
  position: absolute;
  z-index: 0; }

.header__hero__container__decoration .cloud_right {
  right: 0;
  top: 50px; }

.header__hero__container__decoration .cloud_left {
  bottom: 0;
  left: 0;
  height: 200px; }

.header__hero__container .button {
  position: relative;
  z-index: 1;
  padding: 12px 40px;
  border-radius: 100vw;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 40px;
  font-weight: bold;
  color: var(--secondary) !important;
  text-decoration: none;
  transition: 0.2s; }

.header__hero__container .button:hover {
  opacity: 0.8; }

.header.static {
  position: relative; }

.header.static .header__nav {
  position: relative; }

.header.static .header__hero {
  display: none; }

.header.static .navbar-false {
  height: 0; }

.nav-item.active .nav-link {
  border-bottom: var(--primary-dark) 4px solid;
  font-weight: 700;
  display: inline-block; }

.nav-item .nav-link {
  color: var(--primary-dark);
  padding-right: 1rem !important;
  padding-left: 1rem !important;
  font-size: 16px; }

.nav-item .nav-link:hover {
  color: var(--primary) !important; }

.nav-item .dropdown-menu {
  border-top: 3px solid var(--primary); }

.nav-item .dropdown-menu .dropdown-item {
  color: var(--primary-dark);
  font-weight: 300;
  padding: .25rem 1.5rem .25rem 1rem; }

.nav-item .dropdown-menu .dropdown-item:active {
  color: white;
  background-color: var(--primary); }

.nav-item.border-left-line {
  border-left: 1px solid rgba(0, 0, 0, 0.1); }

.nav-item .button {
  z-index: 99;
  padding: 8px 20px;
  border-radius: 100vw;
  margin-left: 10px;
  border-color: var(--primary) !important;
  transition: 0.5s;
  font-size: 16px; }

.nav-item .button a {
  color: white !important;
  text-decoration: none; }

.nav-item .button:hover {
  background: var(--primary) !important; }

.alert-custom {
  display: flex;
  align-items: center;
  padding: .75rem;
  max-width: 475px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-dark); }

.alert-custom .icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 5px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1.4rem;
  color: inherit;
  margin-right: calc(0.75rem - 5px); }

.alert-custom .message {
  font-size: 16px;
  letter-spacing: -.3px;
  display: inline-block; }

@media (max-width: 1200px) {
  .nav-item .nav-link {
    color: var(--primary);
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    font-size: var(--text-size); }
  .nav-item .button {
    font-size: var(--text-size); } }

@media (max-width: 991px) {
  .header__nav {
    padding-top: 5px !important;
    padding-bottom: 5px !important; }
  .header__nav .nav-item.border-left-line {
    border-left: 0px solid rgba(0, 0, 0, 0); }
  .header__nav .nav-item .nav-link {
    text-align: center;
    font-size: var(--text-size-md) !important;
    width: 100%;
    padding-right: 2rem !important; }
  .header__nav .nav-bottom-container {
    margin-top: auto !important;
    margin-bottom: 20px; }
  .header__nav .nav-bottom-container .nav-item .nav-link {
    justify-content: center !important;
    text-align: center !important;
    padding: 0 !important; }
  .header__nav .nav-bottom-container .nav-item .button {
    margin-left: 0 !important; }
  .header__hero__container__title {
    text-align: center !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 100px;
    padding-bottom: 50px; }
  .header__hero__container__image {
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: -40px;
    padding: 0;
    z-index: 0; }
  .header__hero__container__decoration {
    display: none; }
  .header__hero__container .button {
    margin-bottom: 0; }
  .navbar-nav .nav-item {
    width: 100%; }
  .navbar-nav .nav-item .nav-link {
    width: 100%;
    text-align: left;
    color: var(--primary) !important; }
  .navbar-nav .nav-item .dropdown-menu {
    border-left: none;
    border-bottom: none;
    border-right: none;
    box-shadow: none; }
  .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    padding: 10px 20px; } }

@media (max-width: 768px) {
  .header__hero__container__title {
    margin-bottom: 0; }
  .header__hero__container__title .title {
    font-size: 64px; }
  .header__hero__container__title .subtitle {
    font-size: 26px; }
  .header__hero__container .button {
    margin-top: 0; } }

@media (max-width: 576px) {
  .header__hero__container {
    height: auto;
    min-height: 60vh; }
  .header__hero__container__title {
    justify-content: center !important; }
  .header__hero__container__title .title {
    font-size: 46px;
    line-height: 1.1;
    margin-bottom: 10px; }
  .header__hero__container__title .subtitle {
    font-size: 20px;
    font-weight: 500; }
  .header__hero__container__title .hero_slogan {
    font-size: 20px;
    margin-bottom: 10px; }
  .header__hero__container .button {
    padding: 8px 24px;
    font-size: 18px;
    margin-top: 10px; }
  .header__hero__container__image {
    max-width: none;
    position: absolute;
    bottom: -5%;
    width: 110%;
    left: -5%; }
  .alert-custom {
    padding: .5rem; }
  .alert-custom .icon {
    margin-right: calc(0.5rem - 5px);
    width: 30px;
    height: 30px;
    font-size: 1.2rem; }
  .alert-custom .message {
    font-size: 13px;
    line-height: 1.25; } }

/************ SIDE BAR **************/
#menuToggle {
  display: none;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none; }

#menuToggle a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease; }

#menuToggle a:hover {
  color: var(--primary-dark);
  font-weight: 400; }

#menuToggle .logo {
  position: absolute;
  top: 10px;
  left: 15px; }

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  /* hide this */
  z-index: 2;
  /* and place it over the hamburger */
  -webkit-touch-callout: none; }

/*
  * Just a quick hamburger
  */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: var(--primary);
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease; }

#menuToggle span:first-child {
  transform-origin: 0% 0%; }

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%; }

/* 
  * Transform all the slices of hamburger
  * into a crossmark.
  */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--primary-dark); }

/*
  * But let's hide the middle one.
  */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2); }

/*
  * Ohyeah and the last one should go the other direction
  */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px); }

/*
  * Make this absolute positioned
  * at the top left of the screen
  */
#menu {
  position: fixed;
  width: 100%;
  margin: 0;
  padding-top: 60px !important;
  padding-left: 0;
  top: 0;
  right: -100vw;
  background: var(--secondary);
  list-style-type: none;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1); }

#menu li {
  padding: 10px 0;
  font-size: 22px; }

/*
  * And let's slide it in from the left
  */
#menuToggle input:checked ~ ul {
  right: 0; }

@media (max-width: 991px) {
  #menuToggle {
    display: block; }
  #menu {
    width: 60%; } }

@media (max-width: 576px) {
  #menu {
    width: 100%; } }
