html {
	font-size: 16px;
}

body {
  font-family: sans-serif;
  padding: 1rem;
  background: #050c12;
  color: white;
}
.vote-step {
  margin-top: 5rem;
}
.book-pair {
  display: flex;
  gap: 1rem;
}
.book-pair img {
width: 150px;
  cursor: pointer;

}
input[type="radio"]:checked + img {
  border: 2px solid green;
}
h1 {
	color: #3eefe9;
	font-size: 1.5rem;
	text-align: center;
}

h2 {
	color: #e11b75;
	font-size: 1.2rem;
}

#step-name {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#step-name > * {
	margin: 5px 0;
}

.wrapper {
	max-width:1024px;
	margin: auto;
	display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

button {
  all: unset; /* Deaktiviert alle Default-Styles */
  color: #3eefe9;
  border: double 4px #e11b75;
  padding: 0.5em 1em;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;

  /* Neon-Glow Effekt */
  text-shadow: 0 0 5px #3eefe9, 0 0 10px #3eefe9;
  box-shadow: 0 0 5px #e11b75, 0 0 10px #e11b75 inset;
  
  background-color: transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
}

button:hover {
  text-shadow: 0 0 8px #3eefe9, 0 0 16px #3eefe9;
  box-shadow: 0 0 8px #e11b75, 0 0 16px #e11b75 inset;
}

.book {
	display: flex;
	flex-direction: column;
	position: relative;
}

.book-pair {
  display: flex;
  align-items: center;
  gap: 2em;
  position: relative;
}

.book:first-child::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: #3eefe9;
  box-shadow: 0 0 8px #3eefe9;
  margin-left: 1em;
  position: absolute;
  right: -50px;
  top: 50%;
  
}

input[type="radio"]:checked ~ label img{
  border: 4px solid #e11b75;
    box-shadow: 0 0 8px #e11b75, 0 0 16px #e11b75 inset;
}

.submit {
	margin-top: 30px;
	display: flex;
	margin: auto;
	margin-top: 20px;
}


/* Versteckt den nativen Radio-Button */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid #3eefe9;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 5px #3eefe9;
  /*vertical-align: middle;*/
  transition: all 0.3s ease;
  margin-right: 15px;
  margin-top: 0;
  margin-left: 0;
}


/* Rahmenfarbe ändern bei Auswahl */
input[type="radio"]:checked {
  border-color: #e11b75;
  box-shadow: 0 0 8px #e11b75;
}


.media-wrapper {
  position: relative;
  width: 150px;
  height: 220px;
  overflow: hidden;
  margin-bottom: 0.5em;
  border: 4px solid #3eefe9;
    border-radius: 5px;
        box-shadow: 0 0 8px #3eefe9, 0 0 16px #3eefe9 inset;s
}

.book-thumbnail,
.book-video {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px #3eefe9, 0 0 16px #3eefe9 inset;
  object-fit: cover;
}


.play-button:hover {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 6px #e11b75;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}



/* Haken anzeigen, wenn ausgewählt */
input[type="radio"]:checked::after {
content: "✔";
  color: #3eefe9;
  font-size: 40px;
  position: absolute;
  top: -100%;
  left: -5px;
}


.play-button {
  background: rgba(0, 0, 0, 0.6);
  color: #3eefe9;
  border: 2px solid #e11b75;
  border-radius: 5px;
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}


