*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
	--background: #00000044;
	--glow-object: #a530ff;
	--glow-object-grad: linear-gradient(to bottom right, #9d1fff, #bf1fff);
	--glow-object-grad-text: linear-gradient(to bottom right, #d770ff, #bc85ff);
	--glow-shadow: #7900ff;
	--glow-shadow-text: #7900ffbb;
	--text: #d5d1dd;
}

body {
	display: flex;
	height: 100vh;
	width: 100%;
	margin: 0;
	overflow: hidden;
	color: var(--text);
	font-family: "Inter";
	grid-template-columns: 4.5rem 1fr;
}
  
/* Stil für den Spinner */
.spinner {
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top: 4px solid #3498db;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
	}
	@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
	}
  
.bg {
    height: 100%;
	position: fixed;
	inset: 0;
	z-index: -1;
	background: linear-gradient(#23004a55, #23004a99),
	  url("./images/fussball3.jpg") center center / cover;
	animation: kenburns 10s infinite alternate;
  }
  
  @keyframes kenburns {
	0% {
	  transform: scale(1);
	}
	100% {
	  transform: scale(1.4);
	}
  }
	
nav {
	position: sticky;
	top: 0;
	height: 100vh;
	place-self: stretch;
	background: var(--background);
	backdrop-filter: blur(2rem);
	display: flex;
	flex-direction: column;
	padding: 0.5rem;
	/* ??? d-gap: 0.5rem; */
}
nav > a {
	position: relative;
	display: grid;
	place-content: center;
	color: var(--text);
	height: 3.5rem;
	border-radius: 0.75rem;
	font-size: 2.4rem;
	text-decoration: none;
}
nav > a:after {
	position: absolute;
	content: "";
	left: 0.125rem;
	top: 50%;
	transform: translateY(-50%);
	height: 0rem;
	width: 0.3125rem;
	width: 0.25rem;
	border-radius: 1rem;
	background: var(--glow-object);
	transition: height 200ms ease, box-shadow 200ms ease;
}
nav > a:hover {
	background: #ffffff15
}
nav > a:hover:after {
	height: 2.5rem;
	box-shadow: var(--glow-shadow) 0 0 7px 1px;
}
nav > a.active:after {
	height: 2.5rem;
	box-shadow: var(--glow-shadow) 0 0 7px 1px;
}
.navspacer {
    flex-grow: 1;
    display: flex;
    justify-content: center; /* Hinzugefügte Regel für die horizontale Zentrierung */
    align-items: center;
}
.dashboard {
	place-self: stretch;
	display: grid;
	place-content: center;
	grid-auto-rows: 9rem;
	grid-template-columns: repeat(auto-fit, 9rem);
	grid-auto-flow: row;
	grid-gap: 0.75rem;
	padding: 0.5rem;
}
.card {
	display: flex;
	flex-direction: column;
	position: relative;
	border-radius: 0.75rem;
	background: var(--background);
	backdrop-filter: blur(2rem);
}

.card > h2 {
	margin: 0;
	padding: 0.375rem 0.5rem;
	font-size: 1.125rem;
}

.card > .status {
	place-content: center;
}

.card > .bigstats {
	padding-top: 1.75rem;
	display: grid;
	grid-auto-flow: row;
	grid-template-columns: 1fr 1fr;
	grid-row-gap: 2rem;
	place-content: center;
	padding-bottom: 0.5rem;
}

.card > .bigstats > .stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.statnum {
	background: var(--glow-object-grad-text);
	font-size: 2rem;
	font-weight: 600;
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	filter: drop-shadow(var(--glow-shadow-text) 0px 0px 5px);
	line-height: 0.9;
}
.card > .bigstats > .stat > .stattext {
	font-weight: 500;
}

.card > ul {
	margin: 0;
	padding: 0 0.5rem;
}
.card > ul > li {
	list-style-type: none;
	margin: 0;
	padding: 0.5rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #ffffff22;
	font-weight: 500;
}

.progresscircle {
  --progress: 33;
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-content: center;
  font-weight: 600;
  margin: -0.375rem -0.25rem;
}

.progresscircle > svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

/* Hintergrundkreis (hellgrau) */
.progresscircle > svg > circle.background-circle {
  fill: none;
  stroke: #eee; /* Ändern Sie die Farbe nach Bedarf */
  stroke-width: 8px;
}

/* Restkreis (andere Farbe) */
.progresscircle > svg > circle.remaining-circle {
  fill: none;
  stroke: rgb(170, 170, 170); /* Ändern Sie die Farbe nach Bedarf */
  stroke-width: 8px;
}

/* Fortschrittskreis (var(--glow-object)) */
.progresscircle > svg > circle.progress-circle {
  fill: none;
  stroke: var(--glow-object);
  filter: drop-shadow(var(--glow-shadow) 0 0 5px);
  stroke-width: 8px;
  stroke-dasharray: 250;
  stroke-dashoffset: calc(250 - 2.5 * var(--progress));
  transition: stroke-dashoffset 0.5s ease; /* Fügen Sie eine Übergangsanimation hinzu */
}

/* Aktualisieren Sie den Fortschrittskreis basierend auf dem --progress-Wert */
.progresscircle[data-progress='33'] > svg > circle.progress-circle {
  stroke-dashoffset: calc(250 - 2.5 * var(--progress));
  transition: stroke-dashoffset 0.5s ease; /* Fügen Sie eine Übergangsanimation hinzu */
}


.card > table {
	flex-grow: 1;
	margin: 0 0.5rem;
	border-spacing: 0;
}
.card > table th, .card > table td {
	margin: 0;
	text-align: center;
	border-top: 1px solid #ffffff22;
}

.card.profile {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.card.profile > h2 {
	font-weight: 600;
	font-size: 1.5rem;
}
.card.profile > p {
	margin: 0;
	padding-left: 0.5rem;
	font-weight: 500;
	transform: translateY(-0.375rem)
}

.iphone-button {
	background-color: #a530ff; /* Hintergrundfarbe - typisches iPhone-Blau */
	color: white; /* Textfarbe - weiß für Kontrast */
	border: none; /* Kein Rand */
	padding: 10px 20px; /* Innenabstand oben/unten und links/rechts */
	border-radius: 8px; /* Abgerundete Ecken */
	font-size: 18px; /* Schriftgröße */
	cursor: pointer; /* Zeiger-Cursor bei Hover */
	width: 200px;
  }
  
/* RIGHT Side Function/ Theme / Genre Icons */
.selected-right-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -400px;
	margin-left: 600px;
    font-size: 12rem !important;
	color: #403080;
}

.selected-right-iconsX i {
  cursor: pointer;
}

.selected-right-icons p {
  margin-top: 5px;
  font-size: 6rem !important;
}

.right-icon-row {
    display: flex;
    flex-direction: column; /* Ausrichtung auf Spalte */
    justify-content: space-evenly; /* Gleichmäßige Verteilung auf die Höhe */
    align-items: center;
    height: 100%; /* Anpassung der Höhe auf 90% des Bildschirms */
	grid-auto-rows: 9rem;
    margin: 0;
    position: fixed;
    right: 0; /* Position am rechten Rand des Bildschirms */
    background-color: rgba(255, 255, 255, 0.3);
}

/* LEFT Side Function/ Theme / Genre Icons */
.selected-left-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -400px;
	margin-left: 600px;
    font-size: 12rem !important;
	color: #403080;
}

.selected-left-iconsX i {
  cursor: pointer;
}

.selected-left-icons p {
  margin-top: 5px;
  font-size: 6rem !important;
}

.left-icon-row {
    display: flex;
    flex-direction: column; /* Ausrichtung auf Spalte */
    justify-content: space-evenly; /* Gleichmäßige Verteilung auf die Höhe */
    align-items: center;
    height: 100%; /* Anpassung der Höhe auf 90% des Bildschirms */
	grid-auto-rows: 9rem;
    margin: 0;
    position: fixed;
    left: 0; /* Position am LINKEN Rand des Bildschirms */
    background-color: rgba(255, 255, 255, 0.3);
}

.icon {
	cursor: pointer;
	font-size: 44px; /* Icon-Größe anpassen */
	margin: 0 10px; /* Abstand zwischen den Icons anpassen */
}

/*--------- Moving Element --------------*/
  
/* Stil für das bewegte Element */
.moving-element {
    position: absolute;
    transition: transform 5s linear, opacity 2s linear; /* Hinzugefügte Opacity-Transition */
    opacity: 0.7; /* Anpassen des Opacity-Werts nach Bedarf (0 = transparent, 1 = undurchsichtig) */
}

/* Startpunkt der Animation (links oben) */
.moving-element.start {
    transform: translate(0, 0);
}

/* Endpunkt der Animation (rechts unten) */
.moving-element.end {
    transform: translate(calc(100vw - 100px), calc(100vh - 200px)); /* Ändern Sie die 100px entsprechend der Größe Ihres Elements */
}

/*********************** SinusGenerator ***********************************/
  
.sinus-picker-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 50px; /* Breite der Sinus-Spalte */
	position: absolute;
  }
  
  #sinus-selector {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 10px solid rgb(236, 49, 214);
	position: absolute;
	top: 50%; /* Startposition in der Mitte der Spalte */
	left: 100%;
	transform: translate(-50%, -50%);
	cursor: pointer;
  }
  
  #sinus-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white; /* Set the text color */
	font-size: 16px; /* Adjust the font size as needed */
	font-weight: bold; /* Add bold styling if desired */
  }
  
/*********** ColorPicker ***************************************************/

#color-picker-container {
  display: flex;
}

#color-picker {
  height: 95vh;
  background: linear-gradient(to bottom, white, rgb(255, 0, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 255, 255), rgb(0, 0, 255), rgb(255, 0, 255), black);
  position: relative;
  width: 50%;
}

#color-selector {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid white;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

/* Stil für die Farbfelder */
.color-box {
width: 100px;
height: 30px;
margin: 10px;
border: 1px solid #000;
display: inline-block;
}

story-container {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	grid-template-columns: 10% auto 10%;
	grid-template-rows: auto 100px 30px;
	background: var(--bg);
	height: -webkit-fill-available;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	font-size: 12rem !important;
	font-weight: bold;
	line-height: 1.5em; /* 1.5-fache der Schriftgröße */
}
