@font-face {
  font-family: "Alegreya";
  src: url("fonts/AlegreyaSansSC-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Alegreya Sans SC";
  src: url("fonts/AlegreyaSansSC-ExtraBold.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Merriweather";
  src: url("fonts/Merriweather-Black.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Merriweather";
  src: url("fonts/Merriweather-Black.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Merriweather";
  src: url("fonts/Merriweather-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Merriweather";
  src: url("fonts/Merriweather-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/***********************/
/*****  CSS RESET  *****/
/***********************/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --white: rgb(244, 244, 244);
  --lightGrey: rgb(237, 237, 237);
  --medGrey: rgb(147, 147, 147);
  --darkGrey: rgb(101, 101, 101);
  --black: rgb(79, 79, 79);
  /* --accentLight: rgb(232, 187, 255); */
  --accentLight: rgb(64 205 214);
  --accentMed: rgb(65 104 107);
  --accentDark: rgb(33 57 78);
  --accentTwo: rgb(47 107 207);
  --accentOrange: rgb(255 110 110);

  --accentMed: rgb(65 104 107);
  --accentDark: rgb(33 57 78);
  --accentTwo: rgb(47 107 207);
  --accentOrange: rgb(255 110 110);
}

/***********************/
/*****   PRELOAD   *****/
/***********************/

/* .preload * {
  transition: none !important;
} */

.js-loading *,
.js-loading *:before,
.js-loading *:after {
  animation-play-state: paused !important;
}

/***********************/
/***** FOUNDATIONS *****/
/***********************/

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Merriweather", sans-serif;
  width: 100vw;
  height: 100vh;
  letter-spacing: 0.15rem;
  /* background-color: var(--white); */
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.25;
  background: hsl(200 20% 88%);
  text-align: center;
  position: relative;
  color: rgba(14, 8, 42, 0.86);
  font-size: 1rem;
}

p {
  padding: 0;
  margin: 0;
}

.highlight {
  background: yellow;
  /* margin: 0; */
}
.strong {
  font-weight: bolder;
  /* margin: 0; */
}

.sticky {
  position: sticky;
  top: 5rem; /* Position where the element becomes sticky */
  z-index: 1000; /* Ensures it stays above other content */
}

.contentContainer {
  display: flex;
  flex-direction: column;
  margin: 1rem auto 1rem auto;
  max-width: 90vw;
}

.content {
  display: flex;
  flex-direction: column;
  margin: 0.5rem auto 0.5rem auto;
  border-radius: 1rem;
  background-color: #cce0cf;

  padding-bottom: 0.5rem;
  border: 1px dotted white;
  outline: 1px dashed #ede1d4;
  min-width: 90vw;
}

.nobg {
  background-color: none;
}

.textBox {
  background-color: hsl(33, 100%, 98%, 0.9);
  max-width: 85vw;
  min-width: 85vw;
  display: flex;
  flex-direction: column;
  margin: 0 auto 0 auto;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px dotted #ed643d;
  text-align: left;
}

.textBox-btn {
  /* background-color: rgb(203 221 235 / 52%);
  border: 2px dashed #490f90;
  border-radius: 1rem; */
  padding: 1rem 0;
  margin: 0;
}

canvas {
  position: fixed;
  z-index: -1;
  bottom: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/TGWIllustrations.png");
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 900px) {
  body {
    font-size: 1rem;
    line-height: 1.5;
  }

  .contentContainer {
    padding: 0 0 2rem 0;
  }

  .content {
    margin-top: 4.5rem;
    /* padding: 0 15%; */
  }
}

li {
  font-size: 1rem;
  text-align: left;
  padding: 1rem;
  /* background-color: aliceblue; */
}

a {
  color: hotpink;
}

.emphasis {
  background-color: rgba(255, 255, 0, 0.628);
  font-weight: bold;
}

@media screen and (min-width: 900px) {
  p {
    font-size: 1.7rem;
    /* padding: 2rem 10%; */
  }

  li {
    font-size: 1.7rem;
    /* padding: 2rem 10%; */
  }

  ul {
    /* margin-left: 3em; */
  }

  li {
    /* margin-left: 4rem; */
  }

  .textBox {
    max-width: 70rem;
    padding: 0 2rem 2rem 3rem;
  }
}

/***********************/
/******** LINKS ********/
/***********************/

a {
  color: var(--accentDark);
  text-decoration: rgba(0, 23, 128, 0.088) wavy underline;
  text-decoration: dotted underline rgba(128, 0, 128, 0.703) 3px;
}

a:hover {
  color: rgb(149, 0, 255);
}

.details a:hover {
  color: rgb(203, 19, 240);
}

#newsletterSignup {
  margin-top: 2rem;
  align-self: center;
  /* display: flex; */
  /* margin: auto; */
  /* width: 50vw; */
}

#field_0 {
  width: 50vw;
}


@media (min-width: 60rem) {
  #field_0 {
    width: 30vw;
  }
}

/***********************/
/******  BUTTONS  ******/
/***********************/

btn,
.btn {
  /* text-transform: uppercase; */
  display: inline-block;
  background-color: var(--accentLight);
  color: var(--accentTwo);
  text-decoration: none;
  margin-bottom: 3rem;
  padding: 0.4em 2em;
  border: 2px solid var(--accentLight);
  border-radius: 30px;
  outline: none;
  cursor: pointer;
  font-family: "Alegreya", sans-serif;
  font-weight: bold;
  width: auto;
}

.btndiv {
  display: flex;
}

@media (min-width: 60rem) {
  .btndiv {
    display: flex;
    flex-direction: row;
  }
}

.floatingBtn {
  width: auto;
  margin: 2rem auto;
  border-radius: 1rem;
  background-color: #e9623e;
  padding-bottom: 0.5rem;
  border: 1px dotted white;
  outline: 1px dashed #ede1d4;
  color: white;
  font-size: 2rem;
}

.floatingBtnBlue {
  background-color: var(--accentLight);
}

.floatingBtn a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

.btn:hover,
.btn:focus,
btn:focus {
  background: var(--accentLight);
  border: 2px solid var(--accentOrange);
}

@media (min-width: 60rem) {
  btn,
  .btn {
    width: auto;
    max-width: 30rem;
    margin: 3rem auto 1rem auto;
  }

  .floatingBtn a {
    font-size: 2.2rem;
    max-width: 30rem;
    margin: 3rem auto 1rem auto;
  }
}

.btn-d1,
.btn-d2,
.btn-d3,
.btn-d4,
.btn-d5,
.btn-d6,
.btn-d7 {
  font-family: "Alegreya", sans-serif;
  font-weight: bold;
  padding: 5px 9px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition-duration: 0.4s;
  border-radius: 1rem;
  background-color: #e9623e;
  border: 1px dotted white;
  outline: 1px dashed #ede1d4;
  color: #ede1d4;
}

.btn-d1:hover,
.btn-d2:hover,
.btn-d3:hover,
.btn-d4:hover,
.btn-d5:hover,
.btn-d6:hover,
.btn-d7:hover {
  background-color: lightcyan;
  color: black;
}

/* Desktop styles */
@media screen and (min-width: 768px) {
  .btn-d1,
  .btn-d2,
  .btn-d3,
  .btn-d4,
  .btn-d5,
  .btn-d6,
  .btn-d7 {
    font-size: 0; /* Hides the original text */
    padding: 15px 23px; /* Adjust padding to fit the full day name */
    margin: 10px 10px;
  }

  .btn-d1::after,
  .btn-d2::after,
  .btn-d3::after,
  .btn-d4::after,
  .btn-d5::after,
  .btn-d6::after,
  .btn-d7::after {
    content: attr(data-day); /* Inserts the full day name */
    font-size: 1.5rem; /* Adjust as needed */
    display: block;
  }
}

/***********************/
/******  videos  *******/
/***********************/

.fitVids-wrapper {
  position: relative;
  /* padding-bottom: 56.25%; */
  /* padding: 1rem 0; */
  margin: 1.5rem 0;
  height: 0;
}
.fitVids-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/***********************/
/******  IMAGES  *******/
/***********************/

img {
  /* max-width: 100vw; */
  padding: 0;
  margin: 0;
  /* max-height: auto; */
  /* max-height: 50vh; */
}

.blog img {
  margin: 3rem 0 2rem 0 !important;
}

@media (min-width: 60rem) {
  img {
    /* max-width: 20vw; */
  }
}

.landingImg {
  background-size: cover;
  width: 100vw;
  margin-top: 4.5rem;
}

#letterImg {
  /* background-size: cover; */
  max-width: 90vw;
  margin-top: 5rem;
  /* background-color: white; */
}

#caption {
  font-family: "Alegreya", sans-serif;
  /* font-weight: bold; */
  color: #ed643d;
  font-size: 1rem;
  padding: 0 auto 0 auto;
  margin: -5px auto 0 auto;
}

#aboutTGW {
  text-align: center; /* Centers the text */
}

.footerImg {
  background-size: cover;
  margin-top: 7rem;
  width: 100vw;
  border-top: 4px dashed #8a2ca5;
  background-color: #b2c6d5;
}

@media (min-width: 60rem) {
  .landingImg {
    background-size: cover;
    margin-top: 0;
  }

  #letterImg {
    /* background-size: cover; */
    /* width: 90vw; */
    /* margin-top: -5rem; */
    max-width: 90vw;
    margin-top: 10rem;
  }

  #caption {
    font-family: "Alegreya", sans-serif;
    /* font-weight: bold; */
    color: #ed643d;
    font-size: 3rem;
    margin: -1rem 0 0 0;
    padding: 0;
    text-align: center;
    /* padding: 0 auto 0 auto; */
    /* margin: -5px auto 0 auto; */
  }

  .footerImg {
    padding: 0;
    margin: 0;
    margin-top: 7rem;
    background-size: cover;
  }
}

p#schedule {
  text-align: center;
}

.logo {
  max-width: 7rem;
  /* max-height: auto; */
  margin: 0.5rem;
  padding: 0 10px;
}

@media (min-width: 60rem) {
  .logo {
    max-width: 10rem;
    /* max-height: auto; */
    margin: 1.3rem;
    padding: 0 10px;
  }
}

.logoBox {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}

.materials {
  width: 25rem;
  flex-grow: 1;
}

/***********************/
/******* HEADERS *******/
/***********************/

h1,
h2 {
  font-family: "Alegreya", sans-serif;
  font-weight: bold;
}

h1 {
  color: var(--accentDark);
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin: 1em 0em 0.75em 0em;
  font-weight: 700;
  background: linear-gradient(to right, #8f8ff4, #6928d8, #7726da, #2231ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1:hover {
  /* letter-spacing: 0.2em; */
  /* font-size: 5rem; */
}

h2 {
  color: var(--accentMed);
  font-size: 1.8rem;
  margin: 0.3em 0em 0.3em 0em;
  background: linear-gradient(to right, #af11bd, #a328d8, #6708ba, #6a04ad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2:nth-child(1) {
  color: var(--accentMed);
  margin: 0.3em 0em 0.3em 0em;
  background: linear-gradient(to right, #5e87f0, #2863d8, #0f5690, #2294ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2:nth-child(2) {
  color: var(--accentMed);
  margin: 0.3em 0em 0.3em 0em;
  background: linear-gradient(to right, #5e5ef0, #6928d8, #490f90, #2247ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2:nth-child(3) {
  color: var(--accentMed);
  margin: 0.3em 0em 0.3em 0em;
  background: linear-gradient(to right, #5e87f0, #2863d8, #0f5690, #2294ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2:nth-child(4) {
  color: var(--accentMed);
  margin: 0.3em 0em 0.3em 0em;
  background: linear-gradient(to right, #5e5ef0, #6928d8, #490f90, #2247ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2:nth-child(5) {
  color: var(--accentMed);
  margin: 0.3em 0em 0.3em 0em;
  background: linear-gradient(to right, #5e87f0, #2863d8, #0f5690, #2294ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.5rem;
  /* margin: 2rem; */
  text-align: left;
  /* padding-left: 5%; */
  text-transform: uppercase;
  /* text-align: left;  */
  /* font-weight: 400; */
  color: var(--darkGrey);
  text-align: center;
  font-family: "Major Mono Display", monospace;
}

h4 {
  font-size: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--accentLight);
}

h5 {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accentLight);
}

@media screen and (min-width: 900px) {
  h1 {
    font-size: 7vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* margin: 2rem 0.2rem; */
  }

  h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 2.4rem;
    /* margin: 2rem; */
    text-align: left;
    /* padding-left: 5%; */
    text-transform: uppercase;
    /* text-align: left;  */
    /* font-weight: 400; */
    color: var(--darkGrey);
    text-align: center;
  }
}

/***********************/
/*****    LISTS    *****/
/***********************/

ul {
  padding-top: 1.2rem;
}

li {
  text-align: left;
  margin-left: 0.9rem;
  padding: 0.5rem 0;
  list-style-type: disc;
  /* text-indent: 1.5em; */
  list-style: none;
}

.controllerList {
  list-style: none;
}

.controllerList li {
  margin-left: 1.5rem; /* Adjust as needed */
  position: relative; /* Needed for absolute positioning */
}

.controllerList li::before {
  content: "🎮 ";
  position: absolute;
  left: -1.5rem; /* Adjust to align with the left margin of the list item */
}

.controllerList li p,
.controllerList li {
  font-size: 1rem;
  padding: 0.5rem;
  /* margin-left: 2.5rem; Offset to align with the bullet point */
}

@media screen and (min-width: 900px) {
  .controllerList li {
    margin-left: 3rem; /* Adjust as needed */
    position: relative; /* Needed for absolute positioning */
  }

  .controllerList li::before {
    content: "🎮 ";
    position: absolute;
    left: -3rem; /* Adjust to align with the left margin of the list item */
  }

  .controllerList li p,
  .controllerList li {
    font-size: 1.6rem;
    padding: 1rem;
    margin-left: 3rem; /* Offset to align with the bullet point */
  }

  .controllerList li::before {
    content: "🎮 ";
  }

  li {
    text-align: left;
    margin-left: 3em;
    padding: 1rem;
    list-style-type: none;
  }
}

.controllerList li:nth-child(2)::before {
  content: "👾 ";
}
.controllerList li:nth-child(3)::before {
  content: "⚒️ ";
}
.controllerList li:nth-child(4)::before {
  content: "🕹️ ";
}
.controllerList li:nth-child(5)::before {
  content: "🔥 ";
}
.controllerList li:nth-child(6)::before {
  content: "✨ ";
}

.controllerList li:nth-child(7)::before {
  content: "💯 ";
}

.controllerList li:nth-child(8)::before {
  content: "🤩 ";
}

.controllerList li:nth-child(9)::before {
  content: "🎉 ";
}

/***********************/
/*** MOBILE  FORMS  ***/
/***********************/

form {
  /* display: flex;
  justify-content: center;
  margin: 0 auto;
  background-color: var(--lightGrey);
  padding: 1em; */
}

#accessForm {
  /* display: block; */
}

fieldset {
  /* margin: 3rem 0; */
}

legend {
  /* font-size: 1.5rem;
  padding: 1rem; */
}

/***********************/
/**** DESKTOP FORMS ****/
/***********************/
@media screen and (min-width: 900px) {
  form {
    /* width: 60%; */
  }
}

form ul {
  /* padding: 10px; */
  /* margin: 0; */
}

form li {
  /* list-style: none; */
  /* margin-top: 1em; */
}

label {
  /* Uniform size & alignment */
  /* display: inline-block; */
  /* width: 90px; */
  /* text-align: right; */
}

input {
  /* font: 1em sans-serif; */
  /* width: 300px; */
  /* box-sizing: border-box; */
  /* border: 1px solid #999; */
}

input:focus,
textarea:focus {
  /* Additional highlight for focused elements */
  /* border-color: #000; */
}

select {
  /* width: 12rem;
  padding: 5px 35px 5px 5px;
  font-size: 1rem;
  height: 2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; */
}

select::-ms-expand {
  display: none; /* Remove default arrow in Internet Explorer 10 and 11 */
}

@media screen and (min-width: 0\0) {
  select {
    /* background: none\9; */
    /* padding: 5px\9; */
  }
}

/***********************/
/******** HEADER *******/
/***********************/

header {
  /* background-color: var(--white); */
  position: absolute;
  width: 100vw;
  margin-top: 2rem;
  display: flex;
  /* top: 20px; */
  /* right: 0; */
  font-family: "Alegreya", sans-serif;
  font-weight: bold;
}

.headerImgDiv {
  background-color: rgb(209, 223, 234, 0.9);
  width: 100vw;
}

@media screen and (min-width: 900px) {
  header {
    /* width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0;
    margin: 0; */
  }
}

/***********************/
/*** SITE NAME & LOGO **/
/***********************/

#nameAndLogo {
  /* display: flex; */
  /* flex-direction: column; */
  /* margin: 20px 20px 0 0; */
  /* align-items: center; */
  /* position: absolute; */
  z-index: 999;
}

@media screen and (min-width: 900px) {
  #nameAndLogo {
    margin: 20px 20px 0 0;
  }
}

#siteName {
  font-size: 1rem;
  cursor: pointer;
  padding: 0.45em 0 0 0;
}

#indexImage {
  z-index: 999;
  /* position: static; */
  width: 5rem;
  /* background-color: red; */
}

#indexImage:hover,
.button:focus {
  /* background: #232323; */
  filter: hue-rotate(280deg);
}

@media screen and (min-width: 900px) {
  #indexImage {
    z-index: 999;
    /* position: static; */
    width: 5rem;
  }
}

/***********************/
/***** NAV MOBILE ******/
/***********************/

nav {
  position: absolute;
  text-align: right;
  top: 100%;
  /* left: 0; */
  background-color: rgb(209 223 234);
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}

nav ul {
  /* padding: 0; */
}

nav li {
  margin: 1em 1em 0 1em;
  list-style-type: none;
}

nav a {
  /* color: var(--accentDark); */
  /* font-size: 1.2rem; */
  /* transition: opacity 150ms ease-in-out; */
}

nav > ul > li {
  font-size: 2rem;
}

/*************************/
/****** NAV DESKTOP ******/
/*************************/
@media screen and (min-width: 900px) {
  nav {
    /* margin-top: 1rem; */
    transform: scale(1, 1);
    background: none;
  }

  nav ul {
    display: flex;
    font-size: 0.5rem;
  }

  nav li {
    /* color:blue; */
    margin: 0 1.5em;
  }

  nav a {
    opacity: 1;
  }

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

  nav a:hover {
    color: var(--accentTwo);
  }
}

.videoContainer {
  /* margin: 5rem 0; */
  margin: 0;
  padding: 0;
  height: auto;
}

.imageContainer {
  display: flex;
  flex-direction: row;
  margin: 5rem 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  /* align-content: center; */
  /* align-items: center; */
}

/***********************/
/***** NAV TOGGLE ******/
/***********************/

.nav-toggle {
  /* display: inline-block; */
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  padding: 0.5rem;
}

.nav-toggle:focus,
.nav-toggle-label {
  color: var(--accentLight);
}

.nav-toggle-label {
  z-index: 99999;
  /* position: absolute; */
  top: 0;
  left: 0;
  margin: 0 0.95em;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background-color: rgb(255 110 110);
  height: 4px;
  width: 50px;
  border-radius: 2px;
  position: relative;
}

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

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

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

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

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

@media screen and (min-width: 900px) {
  .nav-toggle-label {
    display: none;
  }
}

/***********************/
/******* FOOTER ********/
/***********************/

footer {
  padding: 1em 0;
  background-color: var(--lightGrey);
  text-align: center;
  display: inline-block;
  width: 100vw;
}

@media screen and (min-width: 900px) {
}

/* ///// */

#Surface {
  position: fixed;
  list-style: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  /* opacity: 0; */
  -webkit-animation: fadeIn 2s ease-out 0.5s;
  animation: fadeIn 2s ease-out 0.5s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  list-style: none;
}

/* Item Critter */

.item {
  position: fixed;
  list-style: none;
  width: 20rem;
  height: 20rem;
  animation-play-state: paused;
  opacity: 0.9;
}

.item img {
  /* animation-iteration-count: infinite; */
}

.item a {
  color: black;
  text-decoration: none;
}

.item_text {
  padding: 0;
  margin: 0;
  margin-bottom: 5px;
}

.item_title {
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.item_image {
  width: 100%;
}

.text_container {
  position: absolute;
  letter-spacing: 0.05em;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  width: auto;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

.above .text_container {
  top: auto;
  bottom: calc(100% - 0.5rem);
}

/* .item_category{
	margin-top: 1rem;
	user-select: none;
	color: lightgray;
	text-transform: lowercase;
} */

/* .invasion .invasion,
.capital .capital{
	color: black;
} */

/* .active_category{
	text-transform: uppercase;
	color: black;
} */

/* .categories{
	width: 25rem;
	display: flex;
	font-size: 1rem;
	justify-content: space-between;
} */

.item_link:focus {
  z-index: 10;
}

.item_link:focus .text_container {
  visibility: visible;
  opacity: 1;
}

@media (any-hover: hover) {
  .item:hover {
    z-index: 10;
    width: 21rem;
    width: 21rem;
    opacity: 1;
    transition: all 3s ease-in-out;

    /* background: yellow; */
    animation-play-state: paused !important;
  }

  .item:hover .text_container {
    visibility: visible;
    opacity: 1;
  }
}

/* crittermovement */

/****** BOBBING *******/
@keyframes bobbing1 {
  0% {
    transform: translateY(0, 0);
  }

  15% {
    transform: translateY(2.5rem);
  }

  30% {
    transform: translateY(0, 0);
  }
}

@keyframes bobbing2 {
  0% {
    transform: translate(0, 0);
  }

  15% {
    transform: translate(0.25rem, 2.5rem);
  }

  30% {
    transform: translate(0, 0);
  }
}

@keyframes bobbing3 {
  0% {
    transform: translate(0, 0);
  }

  15% {
    transform: translate(-0.25rem, 2.5rem);
  }

  30% {
    transform: translate(0, 0);
  }
}

/* MOVEMENT */

@keyframes down1 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
    /* transform: rotate(0); */
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(10vw, 160vh);
    /* transform: rotate(30deg); */
  }
}

@keyframes down2 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(30vw, 160vh);
  }
}

@keyframes down3 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(60vw, 160vh);
  }
}

@keyframes down4 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(10vw, 160vh);
  }
}

@keyframes down5 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-30vw, 160vh);
  }
}

@keyframes down6 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-60vw, 160vh);
  }
}

/* UP */

@keyframes up1 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(10vw, -160vh);
  }
}

@keyframes up2 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(30vw, -160vh);
  }
}

@keyframes up3 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(60vw, -160vh);
  }
}

@keyframes up4 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(10vw, -160vh);
  }
}

@keyframes up5 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-30vw, -160vh);
  }
}

@keyframes up6 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-60vw, -160vh);
  }
}

/* right */

@keyframes right1 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(160vw, 10vh);
  }
}

@keyframes right2 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(160vw, 30vh);
  }
}

@keyframes right3 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(160vw, 60vh);
  }
}

@keyframes right4 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(160vw, 10vh);
  }
}

@keyframes right5 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(160vw, -30vh);
  }
}

@keyframes right6 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(160vw, -60vh);
  }
}

/* left */

@keyframes left1 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-160vw, 10vh);
  }
}

@keyframes left2 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-160vw, 30vh);
  }
}

@keyframes left3 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-160vw, 60vh);
  }
}

@keyframes left4 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-160vw, 10vh);
  }
}

@keyframes left5 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-160vw, -30vh);
  }
}

@keyframes left6 {
  0% {
    /* opacity: 0; */
    transform: translate(0, 0);
  }
  5% {
    /* opacity: 1; */
  }
  95% {
    /* opacity: 1; */
  }
  100% {
    /* opacity: 0; */
    transform: translate(-160vw, -60vh);
  }
}

/* Top */
.top {
  top: -30rem;
}

/* Right */
.right {
  right: -30rem;
}
/* Bottom */
.bottom {
  bottom: -30rem;
}
/* Left */
.left {
  left: -30rem;
}

/* Vertical starting positions*/
.vertical0 {
  top: calc(10% * 0);
}
.vertical1 {
  top: calc(10% * 1);
}
.vertical2 {
  top: calc(10% * 2);
}
.vertical3 {
  top: calc(10% * 3);
}
.vertical4 {
  top: calc(10% * 4);
}
.vertical5 {
  top: calc(10% * 5);
}
.vertical6 {
  top: calc(10% * 6);
}
.vertical7 {
  top: calc(10% * 7);
}
.vertical8 {
  top: calc(10% * 8);
}
.vertical9 {
  top: calc(10% * 9);
}
.vertical10 {
  top: calc(10% * 10);
}
.vertical11 {
  top: calc(8% * 1);
}
.vertical12 {
  top: calc(8% * 2);
}
.vertical13 {
  top: calc(8% * 3);
}
.vertical14 {
  top: calc(8% * 4);
}

/* Horizontal starting positions*/
.horizontal0 {
  left: calc(10vw * 0);
}
.horizontal1 {
  left: calc(10vw * 1);
}
.horizontal2 {
  left: calc(10vw * 2);
}
.horizontal3 {
  left: calc(10vw * 3);
}
.horizontal4 {
  left: calc(10vw * 4);
}
.horizontal5 {
  left: calc(10vw * 5);
}
.horizontal6 {
  left: calc(10vw * 6);
}
.horizontal7 {
  left: calc(10vw * 7);
}
.horizontal8 {
  left: calc(10vw * 8);
}
.horizontal9 {
  left: calc(10vw * 9);
}
.horizontal10 {
  left: calc(10vw * 10);
}
.horizontal11 {
  left: calc(8vw * 1);
}
.horizontal12 {
  left: calc(8vw * 2);
}
.horizontal13 {
  left: calc(8vw * 3);
}
.horizontal14 {
  left: calc(8vw * 4);
}

/* .vertical0 {
    top: calc(10% * 0);
  }
  .vertical1 {
    top: calc(10% * 1);
  }
  .vertical2 {
    top: calc(10% * 2);
  }
  .vertical3 {
    top: calc(10% * 3);
  }
  .vertical4 {
    top: calc(10% * 4);
  }
  .vertical5 {
    top: calc(10% * 5);
  }
  .vertical6 {
    top: calc(10% * 6);
  }
  .vertical7 {
    top: calc(10% * 7);
  }
  .vertical8 {
    top: calc(10% * 8);
  }
  .vertical9 {
    top: calc(10% * 9);
  }
  .vertical10 {
    top: calc(10% * 10);
  }
  .vertical11 {
    top: calc(8% * 1);
  }
  .vertical12 {
    top: calc(8% * 2);
  }
  .vertical13 {
    top: calc(8% * 3);
  }
  .vertical14 {
    top: calc(8% * 4);
  } */

/* rotation starting positions*/

/* .rotate1 {
    transform: rotate(11.8deg);
  }

  .rotate2 {
    transform: rotate(22.8deg);
  }

  .rotate3 {
    transform: rotate(33.8deg);
  }

  .rotate4 {
    transform: rotate(44.8deg);
  }

  .rotate5 {
    transform: rotate(55.8deg);
  } */

/* .rotate1 {
    transform: rotate(66.8deg);
  }

  .rotate2 {
    transform: rotate(77.8deg);
  }

  .rotate3 {
    transform: rotate(88.8deg);
  }

  .rotate4 {
    transform: rotate(99.8deg);
  }

  .rotate5 {
    transform: rotate(101.8deg);
  }

  .rotate6 {
    transform: rotate(111.8deg);
  }

  .rotate7 {
    transform: rotate(222.8deg);
  }

  .rotate8 {
    transform: rotate(333.8deg);
  }

  .rotate9 {
    transform: rotate(444.8deg);
  }

  .rotate10 {
    transform: rotate(555.8deg);
  }

  .rotate11 {
    transform: rotate(666.8deg);
  }

  .rotate12 {
    transform: rotate(777.8deg);
  }

  .rotate13 {
    transform: rotate(888.8deg);
  }

  .rotate14 {
    transform: rotate(999.8deg);
  } */

/* #i0 {
    transform: rotate(100deg);
  }

  #i1 {
    transform: rotate(90deg);
  }

  #i2 {
    transform: rotate(100deg);
  }

  #i3 {
    transform: rotate(90deg);
  }

  #i4 {
    transform: rotate(90deg);
  }

  #i5 {
    transform: rotate(100deg);
  }

  #i6 {
    transform: rotate(90deg);
  }


  #i7 {
    transform: rotate(100deg);
  }

  #i02 {
    transform: rotate(90deg);
  }

  #i12 {
    transform: rotate(90deg);
  }

  #i22 {
    transform: rotate(100deg);
  }

  #i32 {
    transform: rotate(90deg);
  }

  #i42 {
    transform: rotate(90deg);
  }

  #i52 {
    transform: rotate(100deg);
  }

  #i62 {
    transform: rotate(90deg);
  } */

/* ///////////////////// */
/* ////     Index    /// */
/* ///////////////////// */

/***********************/
/*****   Index    ******/
/***********************/

/* .resistance {
  background-color: rgba(255, 255, 0, 0.304);
}

.hyphae {
  background-color: rgba(255, 119, 0, 0.46);
}

.passages {
  background-color:  rgba(64, 0, 255, 0.272);
}

.structures {
  background-color: rgba(0, 128, 0, 0.386);
}

.layers {
  background-color: rgba(255, 0, 0, 0.352);
}

.clusters {
  background-color: rgba(128, 0, 128, 0.452);
}

.landscapes {
  background-color: rgba(92, 205, 186, 0.337);
}

.spheres {
  background-color: rgba(76, 0, 130, 0.342);
} */

.indexTypeContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.indexItem,
.indexType {
  opacity: 0.2;
  /* display: inline-block; */
  /* background-color: var(--darkGrey); */
  /* color: var(--darkGrey); */
  font-size: 1.11rem;
  text-decoration: none;
  text-transform: uppercase;
  margin: 1rem;
  /* padding: 0.6em 4em; */
  outline: none;
  border: none;
  cursor: pointer;
}

.fullOpacity {
  opacity: 1;
}

.indexItem:hover,
.indexItem:focus,
.indexType:hover,
.indexType:hover {
  background: var(--accentDark);
  color: var(--white);
  outline: none;
  border: var(--white);
  border-width: 0px;
}

@media (min-width: 60rem) {
  .indexItem,
  .indexType {
    width: auto;
  }
}

#landingPage {
  /* display:flex; */
  /* flex-direction: row; */
}

.fixedImage {
  /* position: fixed; */
  /* max-width: 5rem; */
  /* max-height: 5rem; */
  /* height: auto; */
}

#wallpaper {
  width: 100vw;
  opacity: 0.5;
}

.repeat {
  margin-top: 5rem;
  height: 20rem;
  background-repeat: round;
  background: url(images/wallpaper.png);
}

/* calendar */

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

.event {
  /* flex: 1; */
  /* min-width: 40%; */
  background-color: rgba(255, 255, 255, 0.97);
  padding: 0.5rem 0.5rem 2rem 1rem;
  margin: 1rem 0.1rem;
  border: 0.2rem solid rgba(51, 51, 137, 0.4);
  border-radius: 2rem;
}

.eventIcon {
  margin-top: 1rem;
  /* border: 2px solid; */
  max-width: 10vw;
}

@media screen and (min-width: 900px) {
  .eventIcon {
    margin: 2rem;
    /* border: 2px solid; */
    max-width: 6vw;
  }
}

/* .event {
  background-color: #fff;
  padding: 0.5rem 0 2rem 0;
  margin: 1.5rem 0.5rem;
  border: .6rem solid;
  border-radius: 2rem;
  border-image: conic-gradient(
      rgba(13, 147, 185, 0.3),
      rgba(62, 73, 172, 0.3),
      rgba(108, 66, 215, 0.3),
      rgba(62, 198, 223, 0.3),
      rgba(13, 147, 185, 0.3)
   )
    .5;

    outline: .3rem solid rgba(255, 255, 255, .8);border-radius: 1rem;

} */

.date {
  font-family: "Alegreya", sans-serif;

  /* margin: 0rem; */
  padding-top: 1.5rem;
  font-size: 0.95rem;
  /* letter-spacing: 1px; */
  text-align: left;
  /* padding-left: 5%; */
  text-transform: uppercase;
  color: var(--medGrey);
  width: 90%;
  border-bottom: 1px solid #73757849;
}

.title,
.host,
.location,
.details,
.category,
.title {
  /* margin: 0; */
  /* padding-top: 0; */
  /* padding-bottom: 0; */
}

.title {
  font-family: "Alegreya", sans-serif;

  margin: 2rem 0 1rem 0;
  font-size: 1.7rem;
  font-weight: bold;
  color: rgba(85, 45, 155, 0.919);
  line-height: 1.3;
}

.host {
  /* font-style: italic; */
}

.location {
  margin-bottom: 10px;
}
.details {
  margin: 1rem 0 1rem 0;
}

.categoryBox {
  display: flex;
  text-align: left;
}

.category {
  text-transform: lowercase;
  /* margin: 2rem 0 1rem 1rem; */
  background: rgba(221, 213, 230, 0.3);
  color: blueviolet;
  padding: 0.45rem 0.5rem;
  border-radius: 13px;
  font-size: 0.8rem;
  display: inline-block; /* keep the background color wrapped tight */
  font-family: "Alegreya", sans-serif;
}

.details {
  padding: 0 10px;
}

.details a {
  color: #5f32f3;
  /* text-decoration: none; */
  font-weight: 300;
}

@media screen and (min-width: 900px) {
  .event {
    border: 0.6rem solid;
    border-radius: 2rem;
    border-image: conic-gradient(
        rgba(13, 147, 185, 0.3),
        rgba(62, 73, 172, 0.3),
        rgba(108, 66, 215, 0.3),
        rgba(62, 198, 223, 0.3),
        rgba(13, 147, 185, 0.3)
      )
      0.5;

    outline: 0.4rem solid rgba(255, 255, 255, 0.8);
    border-radius: 1rem;

    /* border-radius: 1rem; */
    margin: 3rem 0;
    max-width: 60rem;
  }

  .date {
    /* margin: 1rem 0 0 4rem; */
    /* width: 90%; */
    border-bottom: 1px solid #73757849;
    /* padding-top: 3rem; */
    font-size: 1.7rem;
    text-align: left;
  }

  .title {
    margin: 3rem 0 0.7rem 0;
    font-size: 2.6rem;
    font-weight: bold;
  }

  .category {
    font-size: 1.1rem;
    margin: 2rem 0 1rem 1rem;
  }
}

.sponsorbox {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
}

#googleCalendar {
  /* display:none; */
}

@media screen and (min-width: 900px) {
  #googleCalendar {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
  }

  #googleCalendar iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}
