body {
	margin: 0;
	overflow: hidden;
	background-color: #0a1b3d;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

canvas { 
	display: block; 
}



#main_menu {
	position:absolute;
	background:#0a1b3d;
	top:0px;
	left:0px;
	width:40%;
	height:40%;
}


/*_     __        _   _           _   _____         _   
 \ \   / /__ _ __| |_(_) ___ __ _| | |_   _|____  _| |_ 
  \ \ / / _ \ '__| __| |/ __/ _` | |   | |/ _ \ \/ / __|
   \ V /  __/ |  | |_| | (_| (_| | |   | |  __/>  <| |_ 
    \_/ \___|_|   \__|_|\___\__,_|_|   |_|\___/_/\_\\__|*/

.vt_div{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
}

.vt_div{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);

	display:flex;
	flex-direction:column;     /* stack lines vertically */
	align-items:center;        /* horizontal centering */
	justify-content:center;    /* vertical centering (inside container) */
	gap:10px;
	
	animation:
		floatY 12.5s infinite ease-in-out,
}

.vt_div p{
	margin:0;
	color:yellow;
	font-family:"AgencyFB";
	font-size:30px;
	
	animation:
		floatY 13.5s infinite ease-in-out,
		floatX 10.2s infinite ease-in-out,
		breathe 25.3s infinite ease-in-out;
}

@keyframes floatY{
	0%,100%{transform:translateY(0)}
	50%{transform:translateY(-60px)}
}

@keyframes floatX{
	0%,100%{margin-left:0}
	50%{margin-left:4px}
}

@keyframes breathe{
	0%,100%{scale:1}
	50%{scale:1.18}
}


.floating_back_link {
	position:sticky;
	float:left;
	background-color:#A1A1FF;
	border:1px solid blue;
	border-radius:5px;
	color:white;
	font-size:1.5em;
	padding:1em;
	top:5px;
	left:5px;
}
.floating_back_link:hover {
	background-color:#FFCC00;
	color:black;
}



#slide-footer {
	position: fixed;
	bottom: 0;
	left: 50%;
	width: 30%;
	height: 300px;
	background: #222;
	border-radius: 4px;
	overflow: hidden;

	/* X + Y gleichzeitig */
	transform: translate(-50%, 288px);

	transition: all 0.35s ease;
	cursor: pointer;
}

/* OPEN (hover oder class) */
#slide-footer.open,
#slide-footer:hover {
	left: 0;
	width: 100%;

	/* wichtig: X-Shift entfernen, Y hochfahren */
	transform: translate(0, 0);

	border-radius: 0;
}

#slide-footer:focus-within,

#slide-footer:hover .footer-content,
#slide-footer:focus-within .footer-content,
#slide-footer.open .footer-content {
	opacity: 1;
	transform: translateY(0);
}

#slide-footer.open,
#slide-footer:hover,
#slide-footer:focus-within {
	left: 0;
	width: 100%;
	transform: translate(0, 0);
	border-radius: 0;
}

.footer-content {
	display:flex;
	flex-direction:row;
	color: #ccc;
	font-size: 0.9rem;
	padding: 8px 20px;
	opacity: 0;
	transform: translateY(8px);
	transition: all 0.3s ease;
	white-space: nowrap;
}

#slide-footer:hover .footer-content {
	opacity: 1;
	transform: translateY(0);
}


/*                 _     _             */
/*  _ __ ___  __ _(_)___| |_ ___ _ __  */
/* | '__/ _ \/ _` | / __| __/ _ \ '__| */
/* | | |  __/ (_| | \__ \ ||  __/ |    */
/* |_|  \___|\__, |_|___/\__\___|_|    */
/*           |___/                     */
#main_form{
	display:flex;
	gap:1em;
	flex-direction:column;
	color:white;
	font-size:1.5em;
	left:50%;
	top:50%;
	/*transform:translate(-50%, -50%);*/
}

#main_form form{
	display:flex;
	gap:1em;
	flex-direction:column;
}

#main_form input{
	font-size:1.3em;	
}

#main_form a{color:#9999ff;
}
/*  _             _        */
/* | | ___   __ _(_)_ __   */
/* | |/ _ \ / _` | | '_ \  */
/* | | (_) | (_| | | | | | */
/* |_|\___/ \__, |_|_| |_| */
/*          |___/          */
.form_error {
    color: red;
    margin-bottom: 10px;
}

.form_info {
    color: #0a1b3d;
    margin-bottom: 10px;
}

.form_links {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
	flex-direction:column;
}


/*  ____        _   _                   */
/* | __ ) _   _| |_| |_ ___  _ __  ___  */
/* |  _ \| | | | __| __/ _ \| '_ \/ __| */
/* | |_) | |_| | |_| || (_) | | | \__ \ */
/* |____/ \__,_|\__|\__\___/|_| |_|___/ */
button[type="submit"] {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover */
button[type="submit"]:hover {
    background: linear-gradient(135deg, #66bb6a, #388e3c);
    transform: translateY(-1px);
}

/* Klick */
button[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Fokus (Accessibility) */
button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4);
}

#slide-footer .footer-flex {
	padding: 2em;
}

.footer-content {
    display: flex;
	flex-direction: row;
	justify-content:space-between;
}

#language-selector {
    text-align: right;
    position: relative;
}

#language-selector img#lang-button {
    cursor: pointer;
    width: 32px;
    height: 32px;
}

#language_button {
	width:10em;
	height:10em;
	
}



.lang-btn {
    position: relative;
    display: inline-block;
}

.lang-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    font-weight: bold;
    font-size: 4em;
    
    pointer-events: none;
    text-shadow: 0 0 3px black;
}


/*  __  __                   */
/* |  \/  | ___ _ __  _   _  */
/* | |\/| |/ _ \ '_ \| | | | */
/* | |  | |  __/ | | | |_| | */
/* |_|  |_|\___|_| |_|\__,_| */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #111;
  color: white;
}

.menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu a {
    display: inline-block;
    color: white;
    text-decoration: none;

    padding: 6px 12px;
    border-radius: 6px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;

    font-size: 14px;
    letter-spacing: 0.3px;

    transition: 0.2s ease;
}
.menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}
.menu a.active {
    color: #00c3ff;
    font-weight: bold;
    border: 1px solid #00c3ff;
    background: rgba(0, 195, 255, 0.08);
}

.toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #222;
    padding: 10px;
  }

  .menu.active {
    display: flex;
  }
}

.menu a.active {
    color: #00c3ff;
    font-weight: bold;
    border-bottom: 2px solid #00c3ff;
}

.menu button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
    letter-spacing: 0.3px;
}

.menu button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.menu button:active {
    transform: translateY(0px);
    background: rgba(255, 255, 255, 0.12);
}

.menu button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(100, 150, 255, 0.4);
}
