@charset "utf-8";

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* BASIC CONSCIOUS RESETs +++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

:root {
  --text-color: rgba(255,255,255,0.96);
  --bg-color: #222;
  --ovl-textColor: #111;
  --ovl-bgColor: rgba(255,255,255,1.0);
}

* {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
*, *:after, *:before {
  -webkit-box-sizing:border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.unselectable {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
} 

::-webkit-scrollbar {
  width: 1rem;
  background-color: var(--ovl-bgColor);
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.15);
  border: none;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
}

.fitColumn {
  width: 100%;
  height: auto;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* SITE SPECIFIC styling ++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
  width: 100%;
}

body {
  width: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  font-size: 18px; /* 17px; /* 18px; */
  line-height: 1.475em;
  margin: 0px;
  padding: 0em;
  height: 100%;
  /* overflow-y: scroll; */
  overflow: hidden;
}

.bgWrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  /*
  background-color: var(--bg-color);
  background: url(../images/bgImage2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  */
  background: transparent;
  z-index: 0; /* -1; */
  padding: 0; /* 5rem; */
}

.pageWrapper {
  width: 100%;
  min-height: 100vh;
  display: block;
  padding: 0;
  z-index: 0;
}

video {
  max-width: 100%;
  height: auto;
  margin-bottom: 0px;
}
.videoCaption {
  display: inline-block;
  width: 100%;
  /* border: 1px solid red; */
  margin-bottom: 1rem;
  font-size: 0.8em;
  line-height: 1.35em;
  color: rgba(0,0,0,0.65);
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* TYPE STUFF */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  line-height: 1.125em;
  font-weight: 700; /* 600; */
  letter-spacing: 0px;
  margin: 0px 0px 2.5rem 0px;
}
h1 {
  font-size: 5rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 4rem;
  letter-spacing: 0px;
}
h3 {
  font-size: 2.5rem;
}


p {
  /* font-size: 1em; */
  margin: 0px 0px 1.325em 0px;
}

/* INLINE LINKS */
a {
  text-decoration: none;
  color: #DD00DD;
  outline: 0;
}
a:active, a:focus { outline: 0; }
a:hover { text-decoration: underline; outline: none; }

a img {
  border: 0px;
  text-decoration: none;
}

.hidden {
  display: none;
}

/* **************************************************************************************** */
/* HEADER */

header {
  display: flex;
  align-items: flex-start; /* center; */
  justify-content: space-between;
  padding: 5rem 5rem 2rem 5rem;
  color: var(--text-color);
}


/* **************************************************************************************** */
/* LOGO stylings */

.logoWrapper {
  z-index: 9999; /* 1000; */
}
.logoWrapper a {
  display: block;
  text-decoration: none;
  color: currentColor;
}
.logoWrapper a:hover {
  cursor: pointer;
}
.logoWrapper a svg {
  display: block;
  /* width: 12rem; */
  height: auto;
  opacity: .9;
}


/* **************************************************************************************** */
/* MENU stylings */

.menuWrapper {
  z-index: 9000;
}

.menuWrapper ul#menu {
  display: inline-block;
  padding: 0px;
  margin: 0px;
  list-style-type: none;
  text-align: right;
}

.menuWrapper ul#menu li {
  margin-left: 2rem;
}

.menuWrapper ul#menu li a {
  color: var(--text-color);
  text-decoration: none;
  animation-name: menuColorToBright;
  animation-duration: 350ms;
  animation-fill-mode: forwards; /* both; /* forwards; */
  animation-delay: 0; /* 250ms; /* 10s */  
}
.menuWrapper ul#menu.dark li a {
  animation-name: menuColorToDark;
  animation-duration: 350ms;
  animation-fill-mode: forwards;
  animation-delay: 0;
}
.menuWrapper ul#menu li a:hover {
  text-decoration: underline;
}
.menuWrapper ul#menu li a.active {
  text-decoration: none; /* line-through; */
}

/* https://stackoverflow.com/questions/62975982/how-can-i-change-the-color-of-text-with-a-css-transition */
@keyframes menuColorToDark {
  from { color: var(--text-color) }
  to { color: var(--ovl-textColor); }
}

@keyframes menuColorToBright {
  from { color: var(--ovl-textColor); }
  to { color: var(--text-color); }
}

.menuWrapper ul#menu li a svg {
  vertical-align: text-bottom;
  width: 1.35em;
  height: 1.35em;
}



/*
.removeText {
  text-indent: -999em;
  border: 1px solid red;
}
*/


/* **************************************************************************************************************** */
/* THREE js stuff */


#threeLayerWrapper {
  position: absolute;
  inset: 0;
  z-index: 2000;
  opacity: 0.0; /* 0.75; /* 0.5; */
}


#threeLayerWrapper.fadeIn {
  opacity: 0.75; /* 0.5; */
  transition: opacity 2s linear;  
}


/* **************************************************************************************************************** */
/* **************************************************************************************************************** */
/* Smallest */

@media screen {

  header {
    padding: 2rem;
  }

  .main {
    padding: 5rem;
  }


  .menuWrapper ul#menu {
    line-height: normal; /* 4rem; */
    /* border: 1px solid pink; */
  }
  .menuWrapper ul#menu li {
    display: block;
    width: auto;
  }
  .menuWrapper ul#menu li a {
    display: block;
    padding-bottom: 0.65rem;
  }
  /* more spacing to above */
  .menuWrapper ul#menu li:last-of-type {
    padding-top: 0.5rem;
  }  

    
  .logoWrapper a svg {
    width: 8rem; /* 12rem; */
  }
  .logoWrapper a {
    animation-name: menuColorToBright;
    animation-duration: 250ms;
    animation-fill-mode: forwards;
    animation-delay: 0;
  }
  .logoWrapper a.dark {
    animation-name: menuColorToDark;
    animation-duration: 250ms;
    animation-fill-mode: forwards;
    animation-delay: 0;
  }
  #logoBottom {
    display: none;
  }


  /* Menu button ***************************************** */
  .menuBtnWrapper {
    position: absolute;
    top: 5rem;
    right: 5rem;
    z-index: 9999;
  }
  .menuBtnWrapper button#menuBtn {
    display: block;
    border: 0px; 
    width: 3rem;
    aspect-ratio: 1;
    background-color: pink;
    cursor: pointer;
  }

  /* ********************************************* */
  /* Overlay */

  /* this box is to prevent weird transition efxs on breakpoints */
  .overlayPosition {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    width: 100vw;
    height: 100vh;
  }

  #overlay {
    display: block;
    width: 100%; /* calc(100% - 25rem); */
    max-width: 1024px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: auto;
    z-index: 3000;
    height: 100%;
    padding: 12.5rem 2rem 4rem 2rem;
    background-color: var(--ovl-bgColor);
    color: var(--ovl-textColor);
    /* ransform: translateX(0%) translateY(0%); */
    transform: translateX(0%);
    /* transition: all 350ms ease-out; */
    transition: transform 250ms ease-out;

    overflow-y: scroll;
  }

  #overlay.hidden {
    transform: translateX(100%) !important;
  }

}


/* **************************************************************************************************************** */
/* **************************************************************************************************************** */
/* mid size */

@media screen and (min-width: 450px) {


  .menuWrapper ul#menu {
    line-height: 4rem;
  }
  .menuWrapper ul#menu li {
    display: inline-block;
    width: auto;
  }
  /* NO more spacing to above */
  .menuWrapper ul#menu li:last-of-type {
    padding-top: 0px; /* 0.5rem; */
  }  
  .menuWrapper ul#menu li a {
    display: inline-block;
    padding-bottom: 0px; /* 0.65rem; */
  }

}


/* **************************************************************************************************************** */
/* **************************************************************************************************************** */
/* mid size */

@media screen and (min-width: 800px) {
  
  header {
    padding: 5rem 5rem 2rem 5rem;
  }
  
  .main {
    padding: 5rem;
  }


  .menuWrapper ul#menu {
    line-height: normal; /* 4rem; */
  }
  .logoWrapper a svg {
    width: 12rem;
  }
  #logoBottom {
    display: block;
  }
  .logoWrapper a {
    animation-duration: 0ms; /* HA; WORKED! */
  }
  .logoWrapper a.dark {
    animation-name: none;
    color: var(--text-color);
  }

  /* Menu button ***************************************** */
  .menuBtnWrapper {
    display: none;
  }

  /* overlay */
  #overlay {
    width: calc(100% - 25rem);
    padding: 12.5rem 10rem 4rem 5rem;
    transition: transform 350ms ease-out;    
  }
 


}




/* **************************************************************************************************************** */
/* **************************************************************************************************************** */
/* **************************************************************************************************************** */
/* **************************************************************************************************************** */
/* FONTS */



@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 100;
  font-display: swap;
  src: url("../fonts/Inter-Thin.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-Thin.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 100;
  font-display: swap;
  src: url("../fonts/Inter-ThinItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-ThinItalic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/Inter-ExtraLight.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-ExtraLight.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-ExtraLightItalic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Inter-Light.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-Light.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Inter-LightItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-LightItalic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Regular.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-Regular.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Italic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-Italic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-Medium.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-Medium.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-MediumItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-MediumItalic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-SemiBold.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-SemiBoldItalic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-Bold.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-Bold.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-BoldItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-BoldItalic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Inter-ExtraBold.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-ExtraBold.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-ExtraBoldItalic.woff?v=3.19") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/Inter-Black.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-Black.woff?v=3.19") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/Inter-BlackItalic.woff2?v=3.19") format("woff2"),
       url("../fonts/Inter-BlackItalic.woff?v=3.19") format("woff");
}

/* -------------------------------------------------------
Variable font.
Usage:

  html { font-family: 'Inter', sans-serif; }
  @supports (font-variation-settings: normal) {
    html { font-family: 'Inter var', sans-serif; }
  }
*/
@font-face {
  font-family: 'Inter var';
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  font-named-instance: 'Regular';
  src: url("../fonts/Inter-roman.var.woff2?v=3.19") format("woff2");
}
@font-face {
  font-family: 'Inter var';
  font-weight: 100 900;
  font-display: swap;
  font-style: italic;
  font-named-instance: 'Italic';
  src: url("../fonts/Inter-italic.var.woff2?v=3.19") format("woff2");
}


/* --------------------------------------------------------------------------
[EXPERIMENTAL] Multi-axis, single variable font.

Slant axis is not yet widely supported (as of February 2019) and thus this
multi-axis single variable font is opt-in rather than the default.

When using this, you will probably need to set font-variation-settings
explicitly, e.g.

  * { font-variation-settings: "slnt" 0deg }
  .italic { font-variation-settings: "slnt" 10deg }

*/
@font-face {
  font-family: 'Inter var experimental';
  font-weight: 100 900;
  font-display: swap;
  font-style: oblique 0deg 10deg;
  src: url("../fonts/Inter.var.woff2?v=3.19") format("woff2");
}