:root {
  --bg-color: #000000;
  --card-color: #0e0e0e;
  --graph-paper-line-color: rgb(5, 5, 5);
}

/* - FONTS - */

@font-face {
  font-family: 'orbit';
  src: url("/!data/content/fonts/Orbit/Orbit-Regular.ttf");
}

@font-face {
  font-family: 'tektur';
  src: url("/!data/content/fonts/Tektur/Tektur-VariableFont_wdth\,wght.ttf");
}

@font-face {
  font-family: 'hairline';
  src: url("/!data/content/fonts/Bungee_Hairline/BungeeHairline-Regular.ttf");
}

@font-face {
  font-family: 'orbit';
  src: url("/!data/content/fonts/Orbit/Orbit-Regular.ttf");
}

@font-face {
  font-family: 'tourney';
  src: url("/!data/content/fonts/Tourney/Tourney-VariableFont-wdthwght.ttf");
  font-weight: 100;
}

.tinos-bold {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-style: normal;
}


/* - BASICS - */

* {
  font-variant-ligatures: none;
}

body {
  background-color: var(--bg-color);
  color: white;
  font-family: 'orbit', 'Courier New', Courier, monospace;
  margin: 0;
  margin-top: 10vh;
  padding: 0;
  width: 100vw;

  overflow-x: hidden;
}

h1 {
  font-family: 'tektur', 'orbit', 'Courier New', Courier, monospace;
  font-size: 350%;
  margin: 0px;
}

h2 {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-size: 200%;
  font-style: normal;
}

h3 {
  font-size: 150%;
}

a {
  color: white;
  transition: color 0.5;
}

h3 > a:hover, p > a:hover {
  color: rgb(124, 122, 255);
}

ul {
  list-style-type: none;
  padding: 0px;
}

.scroll-container {
  position: absolute;
  top: 56px;
  width: 100%;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ffffff var(--card-color);
}

.content-area {
  padding: 0px 0px;
  margin: 30px 60px 60px 60px;
  text-align: center;
}
.card {
  /*background-color: var(--card-color);*/
}

button {
  display: inline;
  background-color: var(--card-color);
  font-family: 'orbit', 'Courier New', Courier, monospace;
  color: white;
  border: none;
  padding: 10px 20px;
  border: #00000000 2px solid;
  transition: 0.25s;
}

button:not(.back-button):hover {
  cursor:pointer;
  border: white 2px solid;
  transition: 0.5s;
}

/* - EFFECTS - */

.fx-skew {
  transform-style: preserve-3d;
	transform: skewY(-10deg);
  max-width: min-content;
  margin: auto;
}

.fx-skew a {
  color: gray;
  text-decoration: none;
}

.fx-skew li:hover a {
  color: white;
  transition: 0.2s;
}

.fx-glow {
  text-shadow: 2px 2px 5px #ff0000;
}



/* - NAVBAR - */

div.navbar {
  box-sizing: border-box;
  position: fixed;
  height: fit-content;
  width: 100vw;
  overflow: hidden;
  top: 0;
  z-index: 10;
}

div.navbar img {
  height: 64px;
  margin: -22px 16px -22px 20px;
  filter: invert();
  transform: translate(0px, 3px) rotate(90deg);
  transition: filter 0.2s ease-in-out;
}

div.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: var(--card-color);
  display: flex;
  align-items: center;
}

div.navbar ul li a {
  display: block;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: larger;
  padding: 12px 12px 20px;
  height: 100%;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

div.navbar li:not(.navbar-active) {
  border-top: 5px solid var(--card-color);
  transition: border-top 0.2s ease-in-out, color 0.2s ease-in-out;
}

li.navbar-active {
  border-top: 5px solid white;
}

div.navbar li:hover {
  border-top: 5px solid white;
}

div.navbar li:hover a {
  color: black;
  background-color: white;
}

div.navbar li:hover img {
  filter: none;
}

.face-card {
  transition: all 0.5s ease-in-out;
  box-sizing: border-box;
  height: 15vw;
  border-radius: 8px; 
  border: 4px solid white; 
  background-color: white;
  transform: rotate(20deg);
}

.face-card img {
  height: 100%;
  border-radius: 8px;
}

.face-card:hover {
  transform: rotate(25deg) scale(1.1);
  cursor: pointer;
}

.bottom-separator-border {
  border-bottom: 1px solid white;
}

/* Hide Ryefield text when low on space */
@media screen and (max-width: 600px) {
  .navbar p {
    display: none;
  }

  h1 {
    font-size: 200%;
  }
}

/* - GALLERY - */

.gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 4vw;
  width: 100%;
  height: auto;
}

.gallery-image-container {
  position: relative;
  margin-left: 2vw;
  margin-right: 2vw;
  width: 40vw;
  height: 30vw;
  overflow: hidden;
  border: 2px white solid;
  border-radius: 16px;
  text-align: center;
}

.gallery-image-container h3 {
  position: absolute;
  width: 100%;
  left: 0px;
  top: 0%;
  background-color: rgba(0, 0, 0, 0.8);
  filter: blur(0px);
  z-index: 1;
  pointer-events: none;
  transition: 0.2s;
}

.gallery-image-container:hover h3 {
  color: #FFFFFF;
  text-shadow: 0 0 10px #FFFFFF;
  transition: 0.5s;
}

.gallery-image-container img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  overflow: hidden;

  filter: brightness(90%);
  transition: 1s;
}

.gallery-image-container:hover img {
  filter: brightness(110%);
  width: 104%;
  transform: translate(-2%, 0%);
  transition: 0.5s;
}

.gallery-entry-description h2 {
  margin-top: 48px;
  margin-bottom: 0px;
  font-size: 400%;
}

.gallery-entry-more {
  max-height: 0px;
  overflow: hidden;
}

.collage img {
  max-width: 70vw;
  max-height: 50vh;
  margin: 5px;
  border-radius: 16px;
  cursor: pointer;
  filter: brightness(100%);
  transition: 0.2s ease-in-out;
  border: 2px solid rgb(0, 0, 0);
}

.collage img:hover {
  filter: brightness(110%);
  border-color: rgba(255, 255, 255, 0.692);
}

/* Modal = The popup for when you click on an image in the gallery collage */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80vw;
  max-height: 80vh;
}

/* Caption of Modal Image */
.modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, .modal-caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0.1)} 
  to {transform:scale(1)}
}

/* The modal Close Button */
.modal-close {
  position: absolute;
  transform: translate(0px, -50px);
  right: 16px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.video-container {
  width: 70vw;
  height: 70vh;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  border-radius: 8px;
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* - OVERLAY - */

#loadOverlay
{
  transition: 1s ease-in-out;
  opacity: 0;
  pointer-events: none;
}



.graph-paper {
  height:fit-content;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--graph-paper-line-color);
  background-color: rgba(0, 0, 0, 0);
  background-image: 
    conic-gradient(at calc(100% - 2px) calc(100% - 2px),var(--graph-paper-line-color) 270deg, rgba(0, 0, 0, 0) 0);
  background-size: 50px 50px, 40px 40px;
  background-position: center center;
}

.full-height {
  min-height: 100%;
}