@font-face {
  font-family: headerFont;
  src: url(../font/arial-grassetto-corsivo-2.ttf);
}

@font-face {
  font-family: splashText;
  src: url(../font/OstrichSans-Black.otf);
}

@font-face {
  font-family: contentText;
  src: url(../font/OpenSans-Medium.ttf);
}

:root {
  --theme-primary-fg: #ed1c24;
  --theme-secondary-fg: #262261;
  --theme-primary-bg: beige;
  --theme-secondary-bg: rgb(231, 231, 209);
}

.currentlySelected {
  color: var(--theme-primary-fg) !important;
  text-decoration: underline !important;
}

body {
  font-family: contentText, Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
  color: black;
  font-size: 60px;
  margin: 0px;
}

hr {
  background-color: var(--theme-secondary-fg);
  height: 5px;
}

ul {
  columns: 2;
}

#navbar {
  position: fixed;
  top: 0;
  width: auto;
  left: 0;
  right: 0;
  padding: 0px 20% 0px 20%;
  background-color: beige;
  color: var(--theme-secondary-fg);
  font-size: 28px;
  height: 80px;
  z-index: 100;
  border-bottom: 5px solid var(--theme-secondary-fg);
  box-sizing: border-box;
  overflow: hidden;
}

#navbarLogo {
  width: auto;
  height: 70px;
  float: left;
}

.coverageMap {
  width: 70%;
  max-width: 600px;
}

/**
  Hamburger
**/
.hamburger {
  position: fixed;
  top: 0;
  right: 5%;
  height: 100px;
  z-index: 101;
  display: none;
}

.hamburger:hover {
  cursor: pointer;
}

.hamburger div {
  position: relative;
  width: 5em;
  height: 12px;
  border-radius: 3px;
  background-color: var(--theme-secondary-fg);
  margin-top: 14px;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover > * {
  background-color: var(--theme-primary-fg);
}

#toggle {
  display: none;
}

/**
Animations
**/
#toggle:checked + .hamburger .top-bun {
  transform: rotate(-45deg);
  margin-top: 40px;
}
#toggle:checked + .hamburger .bottom-bun {
  opacity: 0;
  transform: rotate(45deg);
}
#toggle:checked + .hamburger .meat {
  transform: rotate(45deg);
  margin-top: -12px;
}

#toggle:checked + .hamburger + .navBox {
  right: 0;
}

.navBox {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgb(231, 231, 209); 
  right: -100%;
  transition: all 0.3s ease-in-out;
  overflow-y: scroll;
  z-index: 4;
  display: none;
}

#mainLogo {
  max-width: 1800px;
  width: 100%;
  position:absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  margin: auto;
}

#navbarLinks {
  float: right;
  padding-top: 18px;
}

a {
  color: var(--theme-secondary-fg);
}

a:hover {
  color: var(--theme-primary-fg);
  text-decoration: underline;
}

a h2.themeColor:hover {
  color: var(--theme-primary-fg);
  text-decoration: underline;
}

p {
  overflow-wrap: break-word;
}

.navLink {
  color: var(--theme-secondary-fg);
  padding: 20px 20px 20px 20px;
  text-decoration: none;
  font-family: headerFont;
  text-align: center;
}

.navBoxLinkContainer {
  width: 100%;
  height: 100%;
  padding-top: 100px;
  text-align: center;
  box-sizing: border-box;
}

.navBoxLink {
  color: var(--theme-secondary-fg);
  text-decoration: none;
  font-style: bold;
  font-size: 4em;
  border-radius: 15px;
  padding: 10px;
  display: block;
  font-family: headerFont;
}

#bodyBackgroundSplash {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
	flex-direction: column;
  background-color: gray;
  background-image: url("../images/background-optimized.jpg"), linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: overlay;
  text-align: center;
}

#bodyBackground {
  width: 100%;
  height: 30%;
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
	flex-direction: column;
  background-color: gray;
  background-image: url("../images/background-no-sky-optimized.jpg"), linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));
  background-position: 0px 0px;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: overlay;
  text-align: center;
}

#headerBanner {
  background-color: var(--theme-secondary-bg);
  width: 100%;
  padding: 20px 20% 20px 20%;
  text-align: left;
  box-sizing: border-box;
  /*box-shadow: 0px 5px 5px #888888;*/
}

#bodyContainer {
  position: absolute;
  width: 100%;
  top: 100%;
  min-height: 90%;
  background-color: rgb(231, 231, 209); 
  font-size: 20px;
  height: max-content;
}

#bodyContainerNoSplash {
  position: absolute;
  width: 100%;
  top: 90%;
  min-height: 90%;
  background-color: rgb(231, 231, 209); 
  font-size: 20px;
  height: max-content;
}

#bodyContent {
  position: relative;
  display:block;
  box-sizing: content-box;
  width: auto;
  text-align: left;
  height: max-content;
  font-size: 25px;
}

@media screen and (max-width: 1800px) {
  #splashFadeIn {
    font-size: 100px !important;
  }
}

@media screen and (max-width: 1500px) {
  #bodyContent {
    font-size: 1.2em;    
  }
  .contentSection, .contentBreak {
    padding: 50px 10% 50px 10% !important;
  }
  #navbar {
    padding: 0px 10% 0px 10%;
  }
  #splashFadeIn {
    font-size: 90px !important;
  }
  #bodyBackground {
    background-size: 150%;
  }
}

@media screen and (max-width: 1200px) {
  #bodyContent {
    font-size: 1.1em;
  }
  .contentSection, .contentBreak {
    padding: 50px 5% 50px 5% !important;
  }
  #navbar {
    padding: 0px 5% 0px 5%;
    height: 100px;
  }
  #navbarLogo {
    margin-top: 15px !important;
  }
  .hamburger {
    display: block;
  }
  .navBox {
    display: block;
  }
  #footerLogo {
    max-height: 100px !important;
  }
  input, select {
    font-size: 25px !important;
    width: 100% !important;
  }
  .navLink {
    display: none;
  }
  #splashFadeIn {
    font-size: 60px !important;
  }
  #bodyBackground {
    background-size: 200%;
  }
  h1 {
     font-size: 40px;
  }
}

@media screen and (max-width: 800px) {
  #bodyBackground {
    background-position-y: 100px;
  }
  ul {
    columns: 1;
  }
}

.mainContentContainer {
  /*background-color: beige;*/
  color: black;
  min-height: 600px;
  /*box-shadow: -5px 0px 5px #888888, 5px 0px 5px #888888;*/
}

.contentBreak {
  padding: 50px 20% 50px 20%;
  background-color: var(--theme-secondary-fg);
  color: white;
  min-height: 500px;
}

.contentSection {
  padding: 50px 20% 50px 20%;
  background-color: var(--theme-secondary-bg);
  min-height: 500px;
}

input, textarea, select {
  min-width: fit-content;
  width: 50%;
  padding: 12px 20px;
  margin: 8px 0;
  font-size: 20px;
  box-sizing: border-box;
  border-radius: 5px;
  transition: 0.5s;
}

input.engage {
  border: 2px solid white !important;
  border-radius: 30px !important;
  background: none !important;
  color: white !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  width: 70%;
}

input.engage:hover {
  border-color: var(--theme-primary-fg) !important;
  color: var(--theme-primary-fg) !important;
}

input:focus, textarea:focus, select:focus {
  background-color: var(--theme-secondary-fg);
  color: white;
}

input[type=submit] {
  transition: 0.5s;
  border-radius: 30px;
  padding: 6px 10px;
  font-size: 30px;
  background-color: white;
  border: 2px solid var(--theme-secondary-fg);
  color: var(--theme-secondary-fg);
}

input[type=submit]:hover {
  color: var(--theme-primary-fg);
  border: 2px solid var(--theme-primary-fg);
  text-decoration: underline;
  cursor: pointer;
}

.credentialSubmit {
  width: 10%;
}

.errorMsg {
  background-color: red;
  color: white;
  padding: 20px;
  animation: fadeOut 2s forwards;
  animation-delay: 15s;
}

.successMsg {
  background-color: green;
  color: white;
  padding: 20px;
  animation: fadeOut 2s forwards;
  animation-delay: 15s;
}

@keyframes fadeOut {
  from {opacity: 1;}
  to {opacity: 0;}
}

#footer {
  width: 100%;
  background-color: beige;
  height: auto;
  color: black;
  width: auto;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 5% 10px 5%;
  text-align: center;
  font-size: 16px;
  margin-top: 200px;
  position: relative;
  display: block;
  /*box-shadow: 0px -5px 5px #888888;*/
  border-top: 5px solid var(--theme-secondary-fg);
}

#footerLogo {
  display: block;
  max-height: 200px;
  width: auto;
  margin: auto;
}

.footerLink {
  margin: 0px 10px 0px 10px;
  transition: color 0.5s;
  text-decoration: none;
}

.center {
  text-align: center;
}

.popColor {
  color: var(--theme-primary-fg)
}

#splashFadeIn {
  position: absolute;
  width: 90%;
  left: 5%;
  height: 65%;
  top: 15%;
  font-size: 6vw;
  text-shadow: 1px 1px black;

  text-align: center;
  font-family: splashText;
  color: white;
}

.splashLogo {
  width: 80%;
  max-width: max-content;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fadeIn {
  animation: fadein 2s;
}

.fadeInSlow {
  animation: fadein 5s;
}

.reveal{
  position: relative;
  transform: translateX(30px);
  opacity: 0;
  transition: 1s all ease;
}
.revealSlow{
  position: relative;
  opacity: 0;
  transition: 2s all ease;
}
.reveal.active{
  transform: translateX(0);
  opacity: 1;
}

.revealSlow.active{
  opacity: 1;
}


input[type='checkbox'] { 
  display: none; 
} 

.wrap-collabsible { 
  margin: 1.2rem 0; 
} 

.lbl-toggle { 
  display: block; 
  font-style: bold;
  cursor: pointer; 
  transition: all 1s ease-out; 
} 

.lbl-toggle:hover { 
  color: var(--theme-primary-fg);
  text-decoration: underline;
} 

.lbl-toggle::before { 
  content: ' '; 
  display: inline-block; 
  border-top: 5px solid transparent; 
  border-bottom: 5px solid transparent; 
  border-left: 5px solid currentColor; 
  vertical-align: middle; 
  margin-right: .7rem; 
  transform: translateY(-2px); 
  transition: transform 0.2s ease-out; 
} 

.toggle:checked+.lbl-toggle::before { 
  transform: rotate(90deg) translateX(-3px); 
} 

.collapsible-content { 
  opacity: 0;
  overflow: hidden; 
  transition: opacity 1s linear; 
} 

.toggle:checked + .lbl-toggle + .collapsible-content { 
  opacity: 1;
} 

.toggle:checked+.lbl-toggle { 
  border-bottom-right-radius: 0; 
  border-bottom-left-radius: 0; 
} 

.collapsible-content .content-inner { 
  padding: .5rem 1rem; 
} 

.collapsible-content p { margin-bottom: 0; }