/* Last Edited 10/9/2023 5:00pm */

/* For Color Pallet https://coolors.co/474448-2d232e-e0ddcf-534b52-f1f0ea-986565 */

:root {
  /*      Raven     */
  --pri-color: hsl(51, 20%, 93%);

  --pri-color-dark: hsl(60, 1%, 44%);

  /*    Fruit Salad    */
  --sec-color: hsl(0, 20%, 50%);

  --sec-color-silver: #869286;

  --sec-color-dark: hsl(295, 14%, 16%);

  /*      Shark      */
  --bg-dark: hsl(285, 3%, 27%);

  /*       Cloud     */
  --bg-light: hsl(44, 15%, 86%);

  --footer-bg: hsl(150, 50%, 1%);

  --maximumw: 190rem;

  /* Disable User Interface Icons */

  --disable-i: ; /* NONE = TRUE ; BLANK = FALSE */

  --disable-scrollbar: none; /* NONE = TRUE ; BLANK = FALSE */
}

@font-face {
  font-family: "Geometria";
  font-style: normal;
  font-weight: normal;
  src: local("Geometria"), url(../Fonts/Geometria/Geometria.woff) format("woff");
}
html,
body,
header,
h1,
h2,
h3,
h4,
h5,
h6,
div,
ul,
li,
a,
p,
footer {
  margin: 0;
  padding: 0;
  font-family: "Geometria";
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  image-rendering: auto;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  /* !important required to ensure element is hidden when mixin is applied */
  position: absolute;
  width: 1px;
}

/* Pseudo-Classes */

::-webkit-scrollbar {
  display: var(--disable-scrollbar);
  width: 12.5px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--pri-color);
  border-width: 2px 0 2px 2px;
  border-style: solid;
  border-color: var(--bg-dark);
  border-radius: 2px 0 0 2px;
}

::selection {
  color: var(--pri-color);
  background: var(--pri-color-dark);
}

/* HTML and Body */

html {
  /* 	user-select: none; */
  -webkit-tap-highlight-color: transparent;
  transition: 250ms font-size;
  font-size: /* 12.5px => 78.125% */ /* 10px => 62.5%*/ 50%;
}

body {
  /* font-family: "Raleway", sans-serif; */
  line-height: 1.4;
  font-weight: 400;
  width: 100%;
  overflow: overlay;
}

/* Loading Screen */

#loading-screen {
  display: flex;
  position: fixed;
  flex-direction: column;
  z-index: 1001;
  background: radial-gradient(var(--bg-dark), #000);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 250ms opacity;
  font-size: 2.5rem;
  font-family: Energy Dome NBP;
  letter-spacing: 0.4rem;
  color: var(--pri-color);
  text-align: center;
  align-items: center;
  justify-content: center;
}

#loading-screen div {
  position: relative;
  margin: 0 auto;
}

#loading-screen div > div {
  display: inline-block;
  position: absolute;
  width: 16px;
  background: hsl(0, 0%, 100%);
  animation: loading-screen 1.2s cubic-bezier(0, 0.5, 1, 0.5) infinite;
}

#loading-screen div > div:nth-child(1) {
  left: -34px;
  animation-delay: -0.24s;
}
#loading-screen div > div:nth-child(2) {
  left: -11px;
  animation-delay: -0.12s;
}
#loading-screen div > div:nth-child(3) {
  left: 12px;
  animation-delay: 0;
}

@keyframes loading-screen {
  50% {
    top: 8px;
    height: 64px;
  }
  0%,
  100% {
    top: 24px;
    height: 32px;
  }
}

/* Global Variables */

a,
button {
  color: var(--pri-color);
  cursor: pointer;
  text-decoration: none;
}

img,
i,
button,
a,
header,
footer {
  user-select: none;
  -webkit-user-select: none;
}

input {
  outline: none;
}

.currentPage::after {
  content: "";
  z-index: -1;
  position: absolute;
  bottom: 25%;
  left: 15%;
  width: 68.5%;
  height: 2px;
  background: var(--pri-color-dark);
}

.hide {
  display: none;
}

.txt-pri {
  color: var(--pri-color) !important;
}

.txt-sec {
  color: var(--sec-color) !important;
}

.txt-pri-d {
  color: var(--pri-color-dark) !important;
}

.txt-sec-d {
  color: var(--sec-color-dark) !important;
}

.txt-sec-grad {
  background: linear-gradient(
    45deg,
    var(--sec-color) 0%,
    var(--pri-color) 100%
  );
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

a.hover-enabled,
button.hover-enabled {
  transition: 400ms background-color;
}

a.hover-enabled:hover,
button.hover-enabled:hover {
  background: var(--sec-color-dark) !important;
}

/*                 \/ Targeted CSS \/ || Header                     */

header {
  position: fixed;
  display: flex;
  width: 100%;
  height: fit-content;
  top: 0;
  padding: 0rem 0rem;
  justify-content: center;
  z-index: 1000;
  background: var(--bg-dark);
  transition: background 1000ms, box-shadow 1000ms, top 250ms;
  box-shadow: 0 0 10 inherit;
}

/*			Old Header Verson

header > div:first-child {
  display: flex;
  padding: 1rem 10;
 	grid-template-columns: 2fr 1fr 1.5fr;
		grid-template-rows: 1fr;
		grid-gap: 5rem;

  flex-wrap: nowrap;
  width: 100%;
  justify-content: space-between;
}
*/

header > div:first-child {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  grid-gap: 10rem;
  padding: 0;
  height: 100%;
  justify-content: center;
}

header > div:first-child > a {
  align-items: center;
  display: flex;
  flex: none;
  white-space: nowrap;
  margin: 0;
  height: 7.5rem;
}

header > div:first-child > a * {
  display: block;
  font-size: 3rem;
}

header > div:first-child > a object {
  margin-right: 1rem;
  filter: drop-shadow(0 0 1px black);
  height: 100%;
  aspect-ratio: 1/1;
}

/* header > div:first-child > a:first-child > object {

} */

.header--user-interface {
  display: flex;
  height: 100%;
  margin-left: 0;
  align-items: center;
  flex: 1 0 auto;
}

.header--user-form {
  /*   display: flex;
  justify-content: flex-end; */
  display: none;
}

.header--user-form button {
  background: var(--sec-color);
  justify-content: flex-end;
  flex-shrink: 0;
  color: #fff;
  border: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 0 0.4rem 0.4rem 0;
  cursor: pointer;
}

.header--user-interactive {
  display: flex;
  height: inherit;
  max-width: 60rem;
  justify-self: end;
  flex-grow: 1;
}

.header--user-interactive > div {
  flex: 1 0 auto;
  padding: 0 2rem;
  min-width: fit-content;
}

.header--user-interactive div > a {
  display: flex;
  padding: 1rem 0;
  height: 100%;
  transition: 300ms background;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.3rem;
}

.header--user-interactive .fa-chevron-down {
  display: inline;
  font-size: 1.1rem;
}

.header--user-interactive > div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.6rem;
}

.header--user-interactive > #search a {
  width: 3rem;
}

/* .header--user-interactive > div:hover a {
	background: #8d8d8d;
}
 */
.header--user-sign-in {
  flex-direction: column;
}

.header--user-sign-in a:last-child {
  display: none;
}

.header--user-interactive i {
  font-size: 2.2rem;
}

/* .header--user-interactive > div::before {
	content: "";
	background: var(--sec-color);
	width: 0.5px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.header--user-interactive > div:last-child::after {
	content: "";
	background: var(--sec-color);
	width: 0.5px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 100%;
} */

.header--user-interactive div > a:not(.currentPage):after {
  content: "";
  z-index: -1;
  position: absolute;
  bottom: 25%;
  left: 15%;
  width: 0;
  height: 2px;
  background: var(--pri-color-dark);
  transition: 200ms ease-in-out;
}

.header--user-interactive div > a:not(.currentPage):hover::after {
  width: 68.5%;
}

.header--user-interactive div ul {
  position: absolute;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  list-style: none;
  opacity: 0;
  top: 100%;
  padding: 1rem;
  background: none;
  transition: 500ms opacity 200ms, 500ms visibility;
  white-space: nowrap;
}

.header--user-interactive div ul:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: -1;
  opacity: 0.8;
}

.header--user-interactive div > a[aria-label="services"]:hover ~ ul,
.header--user-interactive div > ul:hover {
  opacity: 1;
  visibility: visible;
}

.header--user-interactive div ul li {
  color: inherit;
  filter: brightness(0.85);
  height: 100%;
  padding: 0.6rem;
  transition: 150ms filter;
  width: 100%;
  letter-spacing: 0.1em;
}

.header--user-interactive div ul li:hover {
  filter: brightness(1);
}

/* .header--user-interactive div ul li:nth-of-type(2) {
	margin: 0.5rem 0;
} */

/*                \/ Targeted CSS \/ || Frontpage Splash                */

.frontpage-splash {
  position: relative;
  display: flex;
  background-position-y: 100%;
  width: 100%;
  min-height: 75rem;
  align-items: flex-end;
  overflow: hidden;
  background-position: 0 0;
}

.frontpage-splash:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.7;
}

.frontpage-splash > div {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  /* margin-top: 15rem; */
  padding: 0 4vw;
  justify-content: center;
  text-align: center;
  align-self: center;
}

/* @media screen and (max-height: 650) {
	.frontpage-splash > div {
		align-items: flex-start;
	}
} */

.fp-column {
  align-self: center;
  min-width: 20rem;
  max-width: var(--maximumw);
  z-index: 0;
  transition-duration: 0ms;
}

/* .fp-column::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #000;
	top: 0;
	left: 0;
	opacity: 0.7;
	z-index: -1;
	filter: blur(20);
} */

.frontpage-splash img {
  filter: invert();
}

.frontpage-splash h2 {
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.15rem;
  /*   transition: 300ms ease;
 */
  padding: 3rem 0 1.4rem;
}

.frontpage-splash p {
  font-size: 2.4rem;
  font-weight: 200;
  letter-spacing: 0.05rem;
  padding: 1.5rem 0 3rem;
}

.full-FPS {
  height: 100vh;
}

.short-FPS {
  height: 45vh;
  min-height: 35rem !important;
}

.short-FPS .fp-column {
  top: 7.5%;
}

.short-FPS div > h2 {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  transition: 300ms ease;
  padding: 3rem 0 1.4rem;
}

.short-FPS div > p {
  font-size: 2rem;
  font-weight: 300;
  padding: 1.5rem 0 3rem;
}

/*                 \/ Targeted CSS \/ || Pop Up Search              */

.pop-up-search {
  display: none;
  flex-direction: column;
  position: fixed;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: 200ms opacity;
}

.pop-up-search::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.8;
}

.pop-up-search > a {
  color: var(--pri-color);
  position: absolute;
  font-size: 3rem;
  top: 3rem;
  right: 4rem;
}

.pop-up-search div {
  z-index: 0;
  width: 80%;
  max-width: 100rem;
}

.pop-up-search div > h2 {
  display: none;
  font-size: 2.5rem;
  color: var(--pri-color);
  padding: 1rem;
}
.pop-up-search div > form {
  width: 100%;
}

.header--user-form button,
#search-bar {
  outline: none;
}

#search-form {
  display: inline-flex;
  flex: 1 0 auto;
  height: 10rem;
}

#search-bar {
  font-size: 7rem;
  padding: 0 4rem;
  width: 100%;
  border: none;
  border-radius: 0.4rem 0 0 0.4rem;
}

.pop-up-search button {
  background: var(--sec-color);
  justify-content: flex-end;
  flex-shrink: 0;
  color: #fff;
  border: 0;
  width: 10rem;
  height: 10rem;
  border-radius: 0 0.4rem 0.4rem 0;
  cursor: pointer;
}

.pop-up-search button i {
  font-size: 4rem;
}

/*          Last Section          */

main > section:last-of-type {
  background: var(--pri-color);
  color: #000;
  width: 100%;
  height: 20rem;
  padding: 5rem 0;
}

main > section:last-of-type > div {
  display: flex;
  height: 100%;
  max-width: var(--maximumw);
  margin: 0 auto;
  padding: 0 5rem;
  justify-content: space-between;
  align-items: center;
}

main > section:last-of-type > div a {
  background: var(--sec-color);
  font-size: 2rem;
  font-weight: 400;
  border: none;
  border-radius: 3px;
  padding: 1.6rem 3.8rem;
  margin-left: 10rem;
  white-space: nowrap;
}

main > section:last-of-type > div > div h3 {
  font-size: 2.4rem;
}
main > section:last-of-type > div > div p {
  font-size: 2rem;
}

/*                \/ Targeted CSS \/ || Footer                */

footer {
  position: relative;
  display: flex;
  background: var(--pri-color);
  width: 100%;
  height: 40rem;
  padding: 5rem;
  justify-content: center;
}

footer:before {
  background: var(--bg-light);
  content: "";
  position: absolute;
  top: 5%;
  height: 2px;
  width: 75%;
  max-width: 144rem;
}

footer > div {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: fit-content;
  justify-content: space-around;
  justify-self: center;
  align-self: center;
  margin: 0 auto;
  max-width: var(--maximumw);
  width: 100%;
}

footer div > div:first-child {
  max-width: 80%;
  margin-right: 5vw;
}

footer div > div:first-child > h3 {
  display: flex;
}

footer div > div h3 img {
  filter: drop-shadow(0 0 1px black);
  height: 8rem;
  width: 8rem;
}

footer div > div h3 p {
  align-self: flex-end;
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}

footer div > p {
  font-size: 2rem;
}

footer div > div ~ div {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 10rem;
  width: 14rem;
}

footer div > div ~ div > div {
  display: flex;
  justify-content: space-between;
}

footer div > div:last-of-type h3 {
  font-size: 1.4rem;
  text-align: left;
}

footer div > div:last-of-type a {
  display: flex;
  color: #000;
  width: 4rem;
  height: 4rem;
  justify-content: center;
  transition: filter 100ms;
}

footer div > div:last-of-type a:hover {
  filter: drop-shadow(0 0 0.5px #000);
}

footer div > div:last-of-type a i {
  font-size: 3rem;
}

@media screen and (max-width: 1080px) {
  header > div:first-child {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 1rem;
    justify-content: center;
    justify-items: center;
  }
}

/*               big landscape tablets, laptops, and desktops               */

@media screen and (max-width: 1025px) {
  main > section:last-of-type > div {
    flex-direction: column;
  }

  main > section:last-of-type > div > div {
    margin: 0;
    padding: 0;
  }
  main > section:last-of-type > div > div > * {
    text-align: center;
  }
  main > section:last-of-type > div a {
    margin: 1rem 0 0 0;
  }
}

/*          tablet, landscape iPad, lo-res laptops ands desktops           */

@media screen and (max-width: 961px) {
  footer {
    padding: 2.5rem;
  }

  footer > div {
    flex-direction: column;
  }

  footer div > div:first-child {
    max-width: max-content;
    margin-right: 0;
  }

  footer div > div > p {
    text-align: center;
  }

  footer div div {
    margin-right: 0;
  }

  footer div > div:last-child > h3 {
    text-align: center;
  }
}

/*          portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones          */
@media screen and (max-width: 641px) {
  html {
    font-size: 42.5%;
  }

  header > div:first-child {
    width: 100%;
    grid-template-rows: 2fr 1fr;
  }
  header > div:first-child > a {
    flex-direction: column;
  }
  header > div:first-child > a object {
    margin: 0;
    height: 60%;
  }
  header > div:first-child > a {
    flex-direction: column;
    height: 10rem;
    width: 100%;
  }
  .currentPage::after {
    bottom: 0;
  }
  .header--user-interactive div > a:not(.currentPage):after {
    bottom: 0;
  }
}

/*          portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide.          */

@media screen and (max-width: 481px) {
  header {
    width: 100%;
  }

  header > div:first-child p {
    font-size: 2.75rem;
  }

  .header--user-interactive {
    width: 80%;
  }
  .header--user-interactive > div {
    font-size: 2rem;
  }
}

/*          smartphones, iPhone, portrait 480x320 phones           */

@media screen and (max-width: 390px) {
  html {
    font-size: 35%;
  }
}