@import url('fa-all.min.css');


/* RESET */

html {
  font-size: 62.5%;
  box-sizing: border-box;
  overflow-y: auto;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}


/* FONTS */

@font-face {
  font-family: 'Nunito';
  src: url('/assets/webfonts/Nunito-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/webfonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DMSans';
  src: url('/assets/webfonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}



/* BASE: HTML, BODY, CANVAS */

html,
body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

canvas {
  overflow: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  background-image: url(../images/background.jpg);
  background-size: cover;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  z-index: 0;
  font-size: 1.6;
}

#wrapper {
  display: flex;
  min-height: 100vh;
}


#page {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#page > .main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Letterbox ausblenden bei sehr kleinen Bildschirmhöhen */
@media only screen and (max-height: 600px) {
  body { box-shadow: none; }
}

/* Letterbox-Effekt: schwarze Streifen oben & unten 
body::before,
body::after {
  content: '';
  position: fixed;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 9;
}
body::before { top: 0;    height: 10vh; }
body::after  { bottom: 0; height: 12vh; }

@media only screen and (max-height: 600px) {
  body::before,
  body::after { display: none; }
} */


/* CANVAS */

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#canvas-rain { z-index: 1; pointer-events: none; }


/* HAUPTBEREICH — zentrierte Glasmorphism-Box */

.logo-wrapper {
  margin: 3rem auto 5rem;
  width: 90rem;
  max-width: 95%;
}

.logo-wrapper img {
  max-width: 90%;
  display: block;
  margin: 0 auto;
}

.main {
  font-size: 1em;
  min-width: 40%;
  max-width: 95%;
  color: #fefefe;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.7rem;
  line-height: 2;
  font-weight: 300;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  padding: 2rem 3rem 1rem;
  border-radius: 25px;

  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.main img {
  max-width: 100%;
  display: block;
  margin: 0 auto 3rem;
}

.content {
  font-size: 1em;
  color: #fefefe;
  letter-spacing: 0.15rem;
  font-size: 1.7rem;
  line-height: 2;
  font-weight: 400;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;

  margin: 0 auto 3rem;
  max-width: 95%;

  padding: 2rem 3rem 3rem;
  border-radius: 25px;

  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.content img {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto 3rem;
  border-radius: 25px;
}

.gamehead {
  width: 100%;
  max-width: 100%;
}

.w120 {
  width: 120rem;
}

.w90 {
  width: 90rem;
}

.startdate {
  display: block;
  text-align: right;
}

video {
  max-width: 100%;
  border-radius: 25px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin-top: 1rem;
}

.contact span:nth-child(3n+1) { text-align: right; }
.contact span:nth-child(3n+3) { text-align: left;  }
.contact i  { text-align: center; color: #0099ff; text-shadow: 1px 1px 0 rgba(0, 250, 49, 0.6) }

.mt-10 {margin-top: 1rem;}
.mt-20 {margin-top: 2rem;}
.mt-30 {margin-top: 3rem;}
.mt-40 {margin-top: 4rem;}
.mt-50 {margin-top: 5rem;}
.mt-60 {margin-top: 6rem;}

.mb-10 {margin-bottom: 1rem;}
.mb-20 {margin-bottom: 2rem;}
.mb-30 {margin-bottom: 3rem;}
.mb-40 {margin-bottom: 4rem;}
.mb-50 {margin-bottom: 5rem;}
.mb-60 {margin-bottom: 6rem;}


/* Typographie */


a{
  text-decoration: none;
}

.main a{
  color: #fefefe;
  line-height: 1.5rem;
  z-index: 5;
}

.content a {
  color: #40fe2a;
}

.content a:hover {
  color: #0099ff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.main h1{
	color: #40fe2a;
	text-shadow: 0 0 20px rgba(0, 153, 255, 1.0);
	text-align: center;
	font-size: 5rem;
}

.content h1{
	color: #40fe2a;
	text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
	text-align: center;
	font-size: 5rem;
	margin: 2rem;
}

h2 {
	
}

h3 {
	
}

p {
	margin: 1rem 0;
}

sub {
  color: #B0E0E6;
  display: inline-block;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/*  HILFSELEMENTE */

hr {
  border: none;
  border-top: 2px solid #0099ff;
  margin: 3rem 0;
}

.opa-06 {
  opacity: 0.6;
}

.blue {
  color: #0099ff;
}

audio {
  display: none;
}

.quote {
  border-left: 5px solid #0099ff;
  border-right: 5px solid #0099ff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-style: italic;
  font-weight: 600;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.quote .author {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 700;
  color: #0099ff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  gap: 3rem;
}

.grid-3 h3 {
  font-size: 3rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.grid-3 h3 a {
  color: #0099ff;
  border-bottom: 3px solid #40fe2a;
  transition: border-color 0.3s ease;
}

.grid-3 h3 a:hover {
  border-bottom-color: #0099ff;
  color: #0099ff;
}

.grid-3 .g3 {
  border-top: 5px solid #0099ff;
  border-radius: 4px;
}

.grid-3 .vil {
  color: #0099ff;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

.grid-3 .vil a:hover {
  color: #0099ff;
}


/* FADE-IN OVERLAY (Seite blendet aus Schwarz ein)

.fade-in {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: #000;
  animation: fadeIn 2.0s ease-in forwards;
  pointer-events: none;
}

@keyframes fadeIn {
  from { opacity: 0.8; }
  to   { opacity: 0; }
}
*/

/* SOUND-BUTTON (rechts oben, fixiert) */

.sound {
  width: 100px;
  height: 100px;
  position: fixed;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.0em;
  color: #40fe2a;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
  z-index: 99;
}

.sound.muted {
  opacity: 0.7;
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #505050;
}

::-webkit-scrollbar-thumb {
  background: #505050;
  border-radius: 10px;
}

* {
  scrollbar-color: #505050 #000000; 
  scrollbar-width: thin;            
}

@media (max-width: 1200px) { 

.main {
  font-size: 1.5rem;
  min-width: 70%;
  max-width: 97%;
}
}

@media (max-width: 900px) { 

.main {
  font-size: 1.2rem;
  min-width: 90%;
  max-width: 97%;
}
}


@media (max-width: 500px) { 
.main {
  font-size: 1.0rem;
  min-width: 90%;
  max-width: 97%;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}
}
