body {
    font-family: Arial;
    background: #222;
    color: white;
    text-align: center;
}

/* Menü */
#menu {
    margin-top: 50px;
}

#styleSelection{
    margin: 50px;
}

/* Ghost Buttons (SelfHTML Style) */
button.ghost {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px;
    margin: 8px;
    width: 200px;
    cursor: pointer;
    transition: 0.3s;
}

button.ghost:hover {
    background: white;
    color: black;
}

.ghost-btn.active {
  background: white;
  color: black;
  padding: 15px;
  border-style: solid;
  border-width: 2px;
  border-color: red;
  margin: 5px;

}

/* Spiel */
#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
	padding-top:20px;
}



#battle {
	
	flex: 1;
    min-width: 0;
    background: #111 url('images/background.jpg') no-repeat center/cover;
    position: relative;
    margin-right: 20px;
    border: 2px solid white;
    overflow: hidden;
	
	flex: 1;
    height: 250px;
    min-width: 400px;
    max-width: 400px;
}




#player {
    position: absolute;
    width: 80px;
    height: 100px;
    bottom: 10px;
    background-size: cover;
	left:10px;
}

#container.ostern #player {    
width: 120px;
    height: 150px;

}

#monster {
	left: 350px;
 background: url('images/skelett.png') no-repeat center/cover;
	position: absolute;
    width: 70px;
    height: 130px;
    bottom: 10px;
    background-size: cover;
 }
 #monster.defeat {
	background: url('images/skelett_defeat.png') no-repeat center/cover;
	left:60px;
	transform: none !important;
	transition: none !important;
 }
 
#content-wrapper {
    display: flex;
    flex-direction: row;   /* nebeneinander */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    width: 100%;
    max-width: 900px;
}
#game {
    background: #333;
    padding: 20px;
    border-radius: 10px;
	flex: 1;
    min-width: 0;
}

#answers button {
    display: block;
    width: 90%;
    margin: 5px auto;
    padding: 10px;
    cursor: pointer;
}

#endButtons button {
    display: block;
    width: 90%;
    margin: 20px auto;
    padding: 15px;
    cursor: pointer;
}

#highscores {
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    text-align: center;
}
#highscores h3{
  padding: 0;
  margin: 0 25px 15px 25px;
}

#progressContainer {
    background: #555;
    height: 20px;
}

#progressBar {
    height: 100%;
    background: limegreen;
    width: 0%;
}


/* Oster Stil */

#container.ostern #battle {
background: #111 url('images/background-easter.jpg') no-repeat center/cover;
}
#container.ostern #player {
	height: 99px;
	width:120px;
	bottom: 0;
}

#container.ostern #monster {
	 background: url('images/fox.png') no-repeat center/cover;
	 width: 120px;
	 height: 80px;
}
#container.ostern #monster.defeat {
	 background: url('images/fox_defeat.png') no-repeat center/cover;
	 width: 120px;
	 height: 79px;
	 left:60px;
	 transform: none !important;
	 transition: none !important;
}


/* sheep Stil */
#container.sheep #player {
		width: 60px;
		height: 58px;
}
#container.sheep #battle {
	background: #111 url('images/background-sheep.jpg') no-repeat center/cover;	
}

#container.sheep #monster {
	 background: url('images/wolf.png') no-repeat center/cover;
	 width: 140px;
	 height: 80px;
}
#container.sheep #monster.defeat {
	 background: url('images/wolf-defeat.png') no-repeat center/cover;
	 width: 83px;
	 height: 110px;
	 left:30px;
	 bottom: 0;
	 transform: none !important;
	 transition: none !important;
}
#container.sheep #player.defeat {
	 background:none !important;
}

#over h1{
	padding-top:30px;
	font-size:50px;
	
     text-shadow:
		0 1px 0 oklch(0 0 0),
		0 1px 0 oklch(0 0 0),
		0 3px 0 oklch(0 0 0),
		0 4px 0 oklch(0 0 0),
		0 5px 0 oklch(0 0 0),
		0 6px 1px oklch(0 0 0),
		0 0 5px oklch(0 0 0),
		0 1px 3px oklch(0 0 0),
		0 3px 5px oklch(0 0 0),
		0 5px 10px oklch(0 0 0),
		0 10px 10px oklch(0 0 0),
		0 15px 15px oklch(0 0 0)
}

#styleSelection
.active:active {
  color: red;
}
.focus:focus {
  color: red;
}
:target {
  color: red;
}



.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.alert-box {
    background: #222;
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.alert-box button {
    margin: 25px;
    padding: 25px;
    border: none;
    background: #4CAF50;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.alert-box button:first-of-type {
    background: red;   /* JA */
}

.alert-box button:last-of-type {
    background: gray;  /* NEIN */
}





/* Highscores darunter */
#highscores {
    width: 100%;
    margin-top: 30px;
}

#gameWrapper {
    display: flex;
    flex-direction: row; /* IMMER nebeneinander */
    justify-content: center;
    gap: 20px;

    width: 100%;
    max-width: 1000px;
}

