/* ===========================
   Grundlayout
=========================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
    color: #222;
}

#footer {
	text-align: center;
	margin-top: 20px;
	text-decoration: overline underline;
	font-size: 10px;
}

/* Zentrierte Container */
.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

/* ===========================
  Anmelden Button
=========================== */

.anmelden-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #1864ab;
	color: white;
	font-size: 18px;
	font-weight: bold;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.anmelden-btn:hover {
	background: #74c0fc;
}

/* ===========================
  Auswerten Button
=========================== */

.auswerten-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #7950f2;
	color: white;
	font-size: 18px;
	font-weight: bold;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.auswerten-btn:hover {
	background: #eebefa;
	color: black;
}


/* ===========================
  Bewerten Button
=========================== */

.bewerten-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #ffb90f;
	color: white;
	font-size: 18px;
	font-weight: bold;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.bewerten-btn:hover {
	background: #ffec99;
	color: #000000;
}

/* ===========================
  Weiter Button
=========================== */

.weiter-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #37b24d;
	color: white;
	font-size: 18px;
	font-weight: bold;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.weiter-btn:hover {
	background: #69db7c;
}


/* ===========================
   Logout Button
=========================== */

.logout-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #c62828;
	color: white;
	font-size: 18px;
	font-weight: bold;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.logout-btn:hover {
	background: #a31515;
}

/* ===========================
   Schriftgrößen pro Seite
=========================== */

/* Login-Seite */
.page-login {
    font-size: 20px;
}

/* Bewertungsseite */
.page-rating {
    font-size: 22px;
	font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
    color: #222;
}

/* Fertig-Seite */
.page-finish {
    font-size: 20px;
}

/* Ergebnis-Seite */
.page-results {
    font-size: 18px;
}

/* ===========================
   Bildgrößen pro Seite
=========================== */

/* Bewertungsseite – großes Bild */
.rating-image {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid #444;
    border-radius: 8px;
}

/* Ergebnis-Seite – kleine Thumbnails */
.thumb {
    width: 180px;
    height: 120px;
    object-fit: cover;
    margin: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumb:hover {
    transform: scale(1.05);
}

/* ===========================
   Popup-Overlay für Bilder
=========================== */

#popupOverlay {
    position: fixed;
    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: 9999;
}

#popupImage {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
    background: white;
}
