/* Basis-Stile */
:root {
  --margin-unit: min(1vw, .9vh);
  --text-unit: min(.6rem, 2vh);/*.6rem;*/
  --dark: #0d0a0b;
  --light: #f3eff5;
  --focus: #fb2ac4;
  --focus_hover: #ae1b78;
  --focus_click: #881452;
}

* {
    box-sizing: border-box;
}

@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 400;
  src: url(/cachepoly/fonts/Oxygen-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Oxygen Bold';
  font-style: normal;
  font-weight: 400;
  src: url(/cachepoly/fonts/Oxygen-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Oxygen Light';
  font-style: normal;
  font-weight: 400;
  src: url(/cachepoly/fonts/Oxygen-Light.ttf) format('truetype');
}

*{
    font-family: Oxygen, sans-serif;
}
p{
	font-size: 1.1rem;
}
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #555; /* Textfarbe in Dunkelgrau für besseren Kontrast */
    font-family: Oxygen, sans-serif;
	font-size:1.5vh;
}

body:before {
  content: '';
  height:100vh;
  width:100%;
  position: fixed;
  top: 0;
  z-index:-1;
  background:black;
}

h2{
	text-align: center;
	margin:0.5em;
}

.startlogo{
	position:absolute;
	width:100%;
	height:100%;
	object-fit:contain;
	display:none;
}

#logobutton{
    width: min(50vw, 40vh);
    height: min(12vw, 10vh);
    background-image: url('images/startbutton.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	opacity:0;
	transition:opacity 0.5s;
	transition-delay:1s;
}
#logobuttonhover{
	opacity:0;
    background-image: url('images/startbutton_h.png');
}
#logobutton:hover{
    background-image: url('images/startbutton_h.png');
}

.logobutton{
	cursor:pointer;
	opacity:1!important;
}	

.hidelogo{
	transition:opacity 1s;
	opacity:0;
}
 
.startlogo1{
	display:block;
	animation-name: flyfrombottom;
    animation-duration: 6s;
	transition-timing-function: ease-out;
}

@keyframes bounce{
    0%{
        transform: translateY(-100vh);
		transition-timing-function: ease-in;
    }
    60%{
        transform: translateY(0vh);
		transition-timing-function: ease-out;
    }
    80%{
        transform: translateY(-20vh);
		transition-timing-function: ease-in;
    }
    100%{
        transform: translateY(0vh);
		transition-timing-function: ease-out;
    }
}
.startlogo2
{
	display:block;
	animation-name: flyfromtop;
    animation-duration: 2.5s;
	transition-timing-function: ease-out;
}
@keyframes flyfrombottom{
    0%{transform: translateY(200vh) scale(10);opacity:0;}
    100%{transform: translateY(0vh) scale(1);opacity:1;}
}
@keyframes flyfromtop{
    0%{transform: translateY(-50vh) rotate(2000deg) scale(0);}
    100%{transform: translateY(0vh) rotate(0deg) scale(1);}
}
@keyframes flyfromleft{
    0%{transform: translateX(-100vw);}
    100%{transform: translateX(0vw);}
}
@keyframes flyfromright{
    0%{transform: translateX(100vw);}
    100%{transform: translateX(0vw);}
}
@keyframes fadein{
    0%{opacity:0;}
    100%{opacity:1;}
}
.startlogo3
{
	display:block;
	animation-name: fadein;
    animation-duration: 1s;
}
.startlogo4
{
	display:block;
	animation-name: flyfromleft;
    animation-duration: 1s;
	transition-timing-function: ease-out;
}
.startlogo5
{
	display:block;
	animation-name: flyfromright;
    animation-duration: 1s;
	transition-timing-function: ease-out;
	cursor:pointer;
}

a{
	text-align: right;
	font-size: 1.2em;
	font-weight: 700;
	color:#FF69EB!important;
}
a:hover{
	color:#F1DB4B!important;
	filter: drop-shadow(0 0 0.15rem #0A0D0B);
}

.impressum a{
	font-size: unset;
	text-decoration:none;
	color:#FF69EB!important;
}
.impressum a:hover{
	color:#F1DB4B!important;
	filter: drop-shadow(0 0 0.15rem #0A0D0B);
	text-decoration:underline;
}
#impressumlink {
	position:fixed;
	right:1vh;
	top:1vh;
	color:#706677;
	z-index:1000;
}
#impressumlink:hover{
	color:#0A0D0B!important;
	text-decoration:underline;
	cursor:pointer;
}

h2{
	text-align: center;
	margin:0.5em;
	background:linear-gradient(to right, #70667700, #706677ff, #70667700) left bottom rgba(0, 0, 0, 0) no-repeat;
	background-size: 100% 1px;
	padding: 10px;
	color: #0D0A0B;
}

h1{
	text-align: center;
	margin:0.5em;
	background:linear-gradient(to right, #70667700, #706677ff, #70667700) left bottom rgba(0, 0, 0, 0) no-repeat;
	background-size: 100% 2px;
	padding: 10px;
	color: #0D0A0B;
}

/* Hintergrundcontainer */
.background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    /* background-color: #f0f0f0!important; */
}
.container{
	max-width: 100vh;
}

/* Logo-Stil */
.logo {
    max-width: 66vw; /* Maximale Breite des Logos */
    height: 14vw; /* Höhe automatisch anpassen, um das Seitenverhältnis zu bewahren */
    max-height: 30vh; /* Höhe automatisch anpassen, um das Seitenverhältnis zu bewahren */
    display: block;
    margin: 0 auto; /* Zentriert das Logo horizontal */
}
.logooutdoor{
    height: min(28vw,28vh); /* Höhe automatisch anpassen, um das Seitenverhältnis zu bewahren */
    display: block;
    margin: 0 auto; /* Zentriert das Logo horizontal */
}

.logobig {
    max-height: 25vh; /* Höhe automatisch anpassen, um das Seitenverhältnis zu bewahren */
	margin:1em;
}

/* Anmeldeformular-Stil */
.card {
    width: 100%;
    /*    max-width: 400px;*/
    margin: auto;
	background-color: #F3EFF5E0!important;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
	background-color: #707677!important;
	color: #F3EFF5!important;
	border-bottom: 1px solid #0d0a0b;
	padding: 15px;
	text-align: center;
}

.card-title {
    margin: 0;
    font-size: 1.5rem;
}

.card-body {
    padding: 2vw;
	max-width: 95vw;
	color: #0D0A0B!important;
}

.btn-secondary {
	background-color: #707677!important;
	color: #F3EFF5!important;
    cursor: pointer;
    border: none;
}

.btn-secondary:hover {
	background-color: #0D0A0B!important;
	color: #F1DB4B!important;
}

/* Popups und Modals */
.modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Stile */
@media (max-width: 768px) {
    .popup_anmelden, .popup_registrieren, .popup_regel {
        width: 90%;
        height: 80%;
        max-width: 90%;
        max-height: 90%;
        padding: 10px;
    }

    .popup_anmelden .popup-content, .popup_registrieren .popup-content, .popup_regel .popup-content {
        padding: 10px;
        justify-content: flex-end;
    }
}

.hidden {
    display: none;
}

.show {
    display: block;
}

.btn-focus{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
    z-index: 2;
    border-radius: 10vh;
    border: 1px solid var(--btn_click);
    padding: calc(0.75*var(--text-unit)) var(--text-unit);
    background-color: var(--focus);
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    padding: 0.5em 1em;
}
.btn-focus:hover {
	background-color: var(--focus_hover);
}

.btn-focus:active{
	background-color: var(--focus_click);
}

.dimScreen
{
	position:fixed;
	padding:0;
	margin:0;

	top:0;
	left:0;

	width: 100%;
	height: 100%;
	background:rgba(0,0,0,0.8);
	display:none;
	justify-content:center;
	align-items:center;
	
	z-index:1000;
}
.dimModal
{
	background-color: #eee;
	padding: 3vh;
	border-radius: 2vw;
	border: solid 1px black;
	max-height: 90vh;
	max-width: min(90vw,60vh);
	display: flex;
	flex-direction: column;		
	align-items:center;
	font-size:min(2vh, 3vw);
}

.dimModal h1
{
	font-size:4vh;
}

.bestlist{
	display:grid;
	grid-template-columns: auto auto auto;
	grid-gap:1px;
	width: 100%;
	counter-reset: css-counter 0;
	background-color:#333;
	border: 1px solid #333;
	max-height:60vh;
	overflow:auto;
}

.bestlist > div
{
	background-color:white;
	padding: 0.25em;
	text-align: right;
}
.bestlist > .number
{
	counter-increment: css-counter 1;
}

.bestlist > .number:before
{
	content: counter(css-counter) ". ";
}

.bestlist > .myself
{
	background-color:lightyellow;
}

