﻿@font-face{
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/nunito-v12-latin-regular.eot'); /* IE9 Compat Modes */
	src: local('Nunito Regular'), local('Nunito-Regular'),
		url('../fonts/nunito-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('../fonts/nunito-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		url('../fonts/nunito-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
		url('../fonts/nunito-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		url('../fonts/nunito-v12-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
}
*{
	font-family: Nunito;
}

body {
	background: radial-gradient(circle at center, #1e2227 0%, #0f1114 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.main-card {
	background: #161b22;
	border: 1px solid #30363d;
	border-radius: 1.5rem;
	box-shadow: 0 20px 50px rgba(0,0,0,0.5);
	padding: 2.5rem;
}

span.tab{
	margin-right: 20px;
}

#lastname{
	display: none;
}

.form-control::placeholder {
	color: #555 !important;
	opacity: 1;
}

.nav{
	display: inline-block;
}

.nav ul{
	list-style: none;
	padding-bottom: 30px;
	padding-right: 25px;
	margin: 0;
}

.nav li{
	font-family: 'Oswald', sans-serif;
	font-size: 1.2em;
	line-height: 40px;
	height: 40px;
}

.nav a{
	text-decoration: none;
	background-color: #F3F3F3;
	border-radius: 5px;
	display: block;
	transition: .3s background-color;
}

.nav a:hover{
	background-color: #E9E9E9;
	color: black;
}

.nav a.active{
	background-color: #DBDBDB;
	color: black;
}

.nav a:active{
	transform: translate(0, 1.5px);
}

.nav li{
	width: 180px;
	border-bottom: none;
	height: 50px;
	line-height: 50px;
	display: inline-block;
	margin-top: 5px;
}

.form-control::placeholder {
	color: #414141 !important;
	opacity: 1;
}

a:not(.btn):not(.cc-btn):not(.cc-link):not(.noline){
	text-decoration: none;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
	overflow: hidden;
}
a:not(.btn):not(.cc-btn):not(.cc-link):not(.noline):before{
	content: "";
	position: absolute;
	z-index: -1;
	left: 51%;
	right: 51%;
	bottom: 0;
	background: #2098D1;
	height: 1px;
	-webkit-transition-property: left, right;
	transition-property: left, right;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
a:not(.btn):not(.cc-btn):not(.cc-link):not(.noline):hover:before, a:focus:before, a:active:before{
	left: 0;
	right: 0;
}

.btn:active{
	-webkit-transform: scale(1.03);
	-moz-transform: scale(1.03);
	-ms-transform: scale(1.03);
	-o-transform: scale(1.03);
	transform: scale(1.03);
}

.btn{
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-property: box-shadow;
	transition-property: box-shadow;
}
.btn:hover, .hvr-shadow:focus, .hvr-shadow:active{
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
}

#top{
	display: none;
	position: fixed;
	bottom: 25px;
	right: 25px;
	font-size: 26px;
	background-color: #2296F3;
	color: white;
	cursor: pointer;
	padding: 12px;
	border-radius: 5px;
}

#top:hover{
	color: #F1F1F1;
	background-color: #1B77C9;
}

.title{
	text-align: center;
}

.title:after{
	border: 1px solid orange;
	content: "";
	display: block;
	margin: 8px auto 20px;
	width: 50px;
}

.title2:after{
	border: 1px solid orange;
	content: "";
	display: block;
	margin-left: 0;
	width: 50px;
}

#warning_banner{
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-right: 1rem;
	padding-left: 1rem;
	color: white;
	font-size: 16px;
	background-color: #DC3545;
	border-radius: 10px;
	box-shadow: 3px 3px 5px silver;
	margin-left: 5%;
	margin-right: 5%;
}

/* Dark Mode Anpassungen */
.card-header, .card-body, .border-secondary-subtle {
	background-color: #181D2B !important;
}
.text-info-emphasis {
	color: #DDD !important;
}
.textwhite {
	color: #DDD !important;
}
::placeholder {
	color: #5C5C5C !important;
	opacity: 1;
}
.form-control::placeholder {
	color: #5C5C5C !important;
}
[data-bs-theme="dark"] .form-control::placeholder {
	color: #AAA !important;
}

@-webkit-keyframes animateSuccessLong{
	0%{
		width: 0;
		right: 46px;
		top: 54px;
	}
	65%{
		width: 0;
		right: 46px;
		top: 54px;
	}
	84%{
		width: 55px;
		right: 0px;
		top: 35px;
	}
	100%{
		width: 47px;
		right: 8px;
		top: 38px;
	}
}
@-webkit-keyframes animateSuccessTip{
	0%{
		width: 0;
		left: 1px;
		top: 19px;
	}
	54%{
		width: 0;
		left: 1px;
		top: 19px;
	}
	70%{
		width: 50px;
		left: -8px;
		top: 37px;
	}
	84%{
		width: 17px;
		left: 21px;
		top: 48px;
	}
	100%{
		width: 25px;
		left: 14px;
		top: 45px;
	}
}
@keyframes animateSuccessTip{
	0%{
		width: 0;
		left: 1px;
		top: 19px;
	}
	54%{
		width: 0;
		left: 1px;
		top: 19px;
	}
	70%{
		width: 50px;
		left: -8px;
		top: 37px;
	}
	84%{
		width: 17px;
		left: 21px;
		top: 48px;
	}
	100%{
		width: 25px;
		left: 14px;
		top: 45px;
	}
}

@keyframes animateSuccessLong{
	0%{
		width: 0;
		right: 46px;
		top: 54px;
	}
	65%{
		width: 0;
		right: 46px;
		top: 54px;
	}
	84%{
		width: 55px;
		right: 0px;
		top: 35px;
	}
	100%{
		width: 47px;
		right: 8px;
		top: 38px;
	}
}

.sa-icon.sa-success .sa-line{
	height: 5px;
	background-color: #4CAF50;
	display: block;
	border-radius: 2px;
	position: absolute;
	z-index: 2;
}

.sa-icon.sa-success .sa-line.sa-tip{
	width: 25px;
	left: 14px;
	top: 46px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.sa-icon.sa-success .sa-line.sa-long{
	width: 47px;
	right: 8px;
	top: 38px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

@-webkit-keyframes rotatePlaceholder{
	0%{
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	5%{
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	12%{
		transform: rotate(-405deg);
		-webkit-transform: rotate(-405deg);
	}
	100%{
		transform: rotate(-405deg);
		-webkit-transform: rotate(-405deg);
	}
}
@keyframes rotatePlaceholder{
	0%{
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	5%{
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	12%{
		transform: rotate(-405deg);
		-webkit-transform: rotate(-405deg);
	}
	100%{
		transform: rotate(-405deg);
		-webkit-transform: rotate(-405deg);
	}
}

.crash-multiplier {
	font-size: 4rem;
	font-weight: 700;
	letter-spacing: -1px;
	transition: color 0.15s;
}

.crash-multiplier--running {
	color: var(--color-accent, #00bcd4);
	animation: pulse-run 0.6s ease-in-out infinite alternate;
}

.crash-multiplier--crash {
	color: #e53935;
}

.crash-multiplier--win {
	color: #43a047;
}

@keyframes pulse-run {
	from { opacity: 1; }
	to   { opacity: 0.75; }
}

.crash-status {
	min-height: 1.4em;
	font-size: 0.9rem;
}

.crash-status--error { color: #e53935; }
.crash-status--win   { color: #43a047; }

#cp-player-list {
	max-height: 200px;
	overflow-y: auto;
}

.cp-party-code {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

#cp-round-results td,
#cp-round-results th {
	padding: 0.3rem 0.5rem;
	font-size: 0.85rem;
}