/*
Table of Contents:
===============================================================
MainPageContent
PAGES
Scroll-Bar Colors
Navigation Bar
HERO VIDEO SECTION
Hero caption section
Animate Hero Captions
Arrows <------
FOOTER
DESKTOP / NON-MOBILE
  HEADER / NAV BAR
  Hide Logo image and display text header
  MainPageContent
  Underline Nav on Hover
  Scale Logo Image for desktop
  PAGES
OTHER-MOBILE FIXES
  LANDSCAPE - Remove LogoImage and Center Caption on home page
===============================================================

Fix scroll arrows for desktop may not be needed, 0vh seems to work fine on my laptop, need to check other screens to be sure.

The shield needs to be a little bit darker on the dark sections I think.


*/

:root {
  --navbackground: rgba(28, 28, 28, 0.9);
  --onhoverhighlight: #000;
}

::selection {
  background: var(--onhoverhighlight);
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #1c1c1c #9c9c9c;
}

body {
  overflow-x: hidden;
  background: #333333;
}

/* ================
MainPageContent
===================*/

.content {
  margin: 0;
  width: 100vw;
  display: grid;
  grid-template-columns: 1fr;
  overflow-x: hidden;
  background-color: #1c1c1c;
  background-image: url("../images/textures/mooning.png");
  position: relative;
}
.popup{
  background-color: #FFFFFF;
  width: 450px;
  padding: 30px 40px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  border-radius: 8px;
  z-index: 45;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  display: none;
}
#popupclose{
  display: block;
  margin: 0px 0px 20px auto;
  background-color: transparent;
  font-size: 30px;
  color: #c5c5c5;
  border: none;
  outline: none;
  cursor: pointer;
}
.popup p{
  font-size: 18px;
  text-align: justify;
  margin: 20px 0;
}
.popup a{
  display: block;
  width: 150px;
  position: relative;
  margin: auto;
  text-align: center;
  /* background-color: #0f72e5; */
  background-color: #3c3c3c;
  color: #ffffff;
  text-decoration: none;
  padding: 5px 0;
  font-size: 20px;
}

.recruitvid {
  width: 90%;
  z-index: 999;
}

.welcomelanding {
  width: 100vw;
  margin-top: 2vh;
  text-align: center;
  height: auto;
}

.welcomelanding p {
  margin-top: 2vh;
  font-family: "Poppins", sans-serif;
  font-size: 1.5em;
  color: white;
  line-height: 1.6;
}

.contact {
  margin-top: 50px;
  margin-bottom: 150px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: white;
  line-height: 1.6;
  text-shadow: 2px 2px #1c1c1c;
}

.contact a {
  text-decoration: underline;
  color: white;
}

.mainh2 {
  text-decoration: underline;
  color: white;
  font-size: 1.4em;
}

/* .mainh2:hover {
  color: var(--onhoverhighlight);
} */

.thingreyline {
  margin-top: 2rem;
  max-width: 90%;
}

.linkh2 {
  text-decoration: underline;
  color: white;
  font-size: 1.4em;
}

.linkh2:hover {
  color: var(--onhoverhighlight);
}

.emaillink {
  text-decoration: underline;
  color: white;
  font-size: 5vw;
}

.emaillink:hover {
  color: var(--onhoverhighlight);
}

hr {
  max-width: 85%;
  margin: auto;
  border-color: white;
  text-shadow: 2px 2px #1c1c1c;
}

.menfacility {
  margin: auto;
  width: 100%;
}

.womensfacility {
  margin: auto;
  width: 100%;
}

.menmapdiv {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.menphone {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.womensmapdiv {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.womenphone {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact i {
  font-size: 2.5em;
  padding: 10px;
}

.email {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.5em;
  display: none;
}

/* ================
PAGES
================= */

.pagecontent {
  margin: 0;
  width: 100vw;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  overflow-x: hidden;
  background-color: #1c1c1c;
  background-image: url("../images/textures/mooning.png");
  position: relative;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: white;
  line-height: 1.6;
  text-shadow: 2px 2px #1c1c1c;
}

.pageinfo {
  width: 100%;
  max-width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 14vh;
  margin-bottom: 24vh;
}

.pageinfo p {
  font-size: 1.5em;
  max-width: 100%;
  width: 90vw;
  margin-left: 1em;
  margin-right: 1em;
  text-align: center;
}

.pagetext h2 {
  font-size: 1.6em;
  /* color: #bebebe; */
  text-decoration: underline;
  /* color: var(--onhoverhighlight); */
}

.faqlinkh2 {
  text-decoration: underline;
  color: white;
  font-size: 1em;
}
.employtext {
  max-width: 100%;
}

/* ================
Scroll-Bar Colors
===================*/

body::-webkit-scrollbar {
  width: 0.25rem;
}
body::-webkit-scrollbar-track {
  background: #1c1c1c;
}
body::-webkit-scrollbar-thumb {
  background: #a8a8a8;
}

/* ================
Navigation Bar
===================*/

header {
  background: var(--navbackground);
  text-align: center;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1em;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #9c9c9c;
  height: 2px;
  border-radius: 2px;
  width: 2em;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

nav {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  background: var(--navbackground);
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  margin-bottom: 1em;
  margin-left: 1em;
}

.logo {
  color: white;
  /* cursor: pointer; */
  margin-left: auto;
  display: none;
}

.navlogoimg {
  height: 6em;
  margin-left: auto;
  padding: 5px;
}

.logo:hover {
  color: white;
}

nav a,
h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  text-transform: uppercase;
  display: block;
  opacity: 0;
  transition: opacity 100ms ease-in-out;
}

nav a:hover {
  color: #bebebe;
}

.nav-toggle:checked ~ nav {
  transform: scale(1, 1);
}

.nav-toggle:checked ~ nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

/* =========
HERO VIDEO SECTION
===========*/

#herosection {
  height: 100vh;
  width: 100vw;
  background-color: #000;
  z-index: 8;
}

#herosection::after {
  background: rgba(0, 0, 0, 0.6);
  z-index: 10;
  height: 100vh;
  width: 100vw;
  content: "";
  position: absolute;
}

#herosection video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 5;
}

#herosection .overlay {
  width: 100vw;
  height: 100vh;
  position: absolute;
  left: 0;
  z-index: 15;
  background-image: url("../images/textures/scanlines.png");
}

/* =================
Hero caption section
===================*/

#herosection .caption {
  position: absolute;
  z-index: 20;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100vw;
  top: 0;
  height: 80vh;
  color: white;
  text-shadow: 2px 2px #1c1c1c;
  font-family: "Poppins", sans-serif;
}

.caption h1 {
  font-size: 3em;
  margin-top: 0.5em;
  font-weight: 400;
}

.caption h2 {
  font-size: 2.5em;
  margin-top: 0.4em;
  font-weight: 350;
}

/*===================
Animate Hero Captions
=====================*/

#herosection .caption h1 {
  animation: fadecaptionIn ease 7s;
  overflow: visible;
}

@keyframes fadecaptionIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#herosection .caption h2 {
  animation-delay: 6s;
  animation: fadecaption2In ease-in 7s;
  overflow: visible;
}

@keyframes fadecaption2In {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.logosvg {
  max-width: 70vw;
  max-height: 40vh;
  margin-top: 25vh;
  filter: drop-shadow(2px 2px #1c1c1c);
}

/*=============
Arrows <------
==============*/

.arrows {
  width: 60px;
  height: 72px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: 0vh;
  z-index: 34;
}

.arrows path {
  stroke: white;
  fill: transparent;
  stroke-width: 1px;
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite;
}

@keyframes arrow {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Safari, Chrome, etc */

@-webkit-keyframes arrow {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.arrows path.a1 {
  animation-delay: -1s;
  -webkit-animation-delay: -1s;
}

.arrows path.a2 {
  animation-delay: -0.5s;
  -webkit-animation-delay: -0.5s;
}

.arrows path.a3 {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
}

/*=========
FOOTER
=========*/

.footerblend {
  position: relative;
  width: 100vw;
}

.footerblendimg {
  bottom: 0;
  width: 100%;
  position: absolute;
}

footer {
  position: absolute;
  background-color: #1c1c1c;
  height: auto;
  width: 100vw;
  font-family: "Poppins", sans-serif;
  padding-top: 30px;
  color: #a8a8a8;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.footer-content h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 3rem;
}

.footer-content p {
  max-width: 400px;
  margin: 10px, auto;
  line-height: 28px;
  font-size: 0.9em;
}

.socials {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 3rem 0;
}

.socials i {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  transition: color 0.4s ease;
}

.socials i:hover {
  color: #c41e3d;
}

.socials li {
  margin: 0 10px;
}

.footer-bottom {
  background: black;
  width: 100vw;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7em;
  word-spacing: 2px;
  text-transform: capitalize;
}

.footer-bottom a {
  text-decoration: underline;
  text-transform: uppercase;
  color: #9c9c9c;
  font-size: 0.68em;
  word-spacing: 2px;
}

.footer-bottom a:hover {
  color: #c41e3d;
  /* color: var(--onhoverhighlight); */
}

.footer-bottom span {
  text-transform: uppercase;
  opacity: 0.38;
  font-weight: 200;
}

/* ====================
  DESKTOP / NON-MOBILE
======================*/

@media screen and (min-width: 1240px) {
  /* HEADER / NAV BAR */

  .nav-toggle-label {
    display: none;
  }

  header {
    display: grid;
    grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr 1fr;
  }

  /* Hide Logo image and display text header */

  .logo {
    grid-column: 1 / 2;
    font-size: 1.4em;
    text-transform: uppercase;
    display: flex;
  }

  .navlogoimg {
    display: none;
  }

  nav {
    all: unset;
    grid-column: 3 / 5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .recruitvid {
    width: 50%;
  }

  nav ul {
    display: flex;
    justify-content: flex-end;
  }

  nav li {
    margin-left: 3em;
    margin-bottom: 0;
  }

  nav a {
    opacity: 1;
    position: relative;
  }

  /* ==============
  MainPageContent
  ================== */

  .mainwrapper {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 10px;
  }

  .j1image {
    float: left;
    shape-outside: circle(50%);
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .emaillink {
    text-decoration: underline;
    color: white;
    font-size: 1em;
  }

  .welcomelanding {
    width: 50%;
    margin-top: 2vh;
    text-align: center;
    height: auto;
    margin-bottom: 30vh;
  }

  .welcomelanding p {
    margin-top: 2vh;
    font-family: "Poppins", sans-serif;
    font-size: 1.5em;
    color: white;
    line-height: 1.6;
    margin-left: 1rem;
  }

  .contact {
    width: 100%;
    margin-top: 2vh;
    text-align: center;
    height: auto;
  }

  .bothmapphone {
    display: flex;
  }

  .adminwrapper {
    width: 50%;
    margin-top: 2vh;
  }

  .email {
    font-size: 1em;
    display: flex;
  }
  .thingreyline {
    margin-top: 2rem;
    max-width: 50%;
  }

  /*=====================
  Underline Nav on Hover
  ======================*/

  nav a::before {
    content: "";
    display: block;
    height: 5px;
    background: gray;
    position: absolute;
    bottom: -0.5em;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transform-origin: left;
    transition: transform ease-in-out 250ms;
  }

  nav a:hover::before {
    transform: scale(1, 1);
  }

  /*=========================
 Scale Logo Image for desktop
 ============================*/

  .logosvg {
    max-width: 30vw;
  }

  /*==================
   PAGES
   ================== */

  .pageinfo {
    margin-bottom: 28vh;
  }

  .pageinfo p {
    width: 100vw;
  }

  .pagetext {
    max-width: 80%;
    margin: auto;
  }
}

/*==================
OTHER-MOBILE FIXES
====================*/

/* ===========================================================
  LANDSCAPE - Remove LogoImage and try to Center Caption on home page
==============================================================*/

@media screen and (max-width: 820px) and (orientation: landscape) {
  .logosvg {
    display: none;
  }

  #herosection .caption {
    margin-top: 25vh;
    height: 80vh;
  }

  .pageinfo {
    margin-top: 24vh;
  }
}
