* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    background-color: #354938; /* Dunkelgrün */
}

h3 {
    font-family: 'Roboto', serif;
    font-size: 28px;
    color: #c54245; /* Hauptfarbe */
    margin-bottom: 20px;
	margin-top: 20px;
	text-align: center;
}

a {
	text-decoration: none;
}

.game-container {
    margin: 0 auto;
    background-color: #c54245; /* Hauptfarbe */
    border-radius: 10px; /* Abgerundete Ecken */
	padding: 17px;
    margin-bottom: 10px;
    width: 400px; /* Breite des Containers */
    position: relative;
}

.puzzle-container {
    display: grid; /* Raster für Puzzlestücke */
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Flexible Spalten */
    gap: 2px; /* Abstand zwischen den Puzzlestücken */
    margin: 10px 0; /* Abstand oben und unten */
    background-color: #e5c100; /* Hintergrundfarbe des Puzzle-Containers */
    border-radius: 10px; /* Abgerundete Ecken */
}

.puzzle-piece {
    background-size: cover; /* Bild anpassen */
    transition: transform 0.3s ease; /* Weiche Drehung */
    border-radius: 5px; /* Abgerundete Ecken */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Schatten für die Puzzlestücke */
    width: 100%; /* Vollständige Breite */
    height: 100px; /* Höhe der Puzzlestücke */
}

#win {
    margin-top: 10px; /* Abstand nach oben */
    font-size: 24px; /* Schriftgröße */
    color: #e5c100; /* Textfarbe */
    text-align: center; /* Text zentrieren */
}

.loader {
    border: 8px solid #e0e0e0;
    border-top: 8px solid #e5c100;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
	margin-top: 25px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}