body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
	flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: relative;
}

.header-container {
    display: flex;
    justify-content: center;
	flex-direction: column;
    align-items: center;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
}

#timer {
    font-size: 24px;
    margin-right: 20px;
}

#start {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
}

#start:hover {
    background-color: #0056b3;
}

.timer{
	width: 50px;
}
.puzzle-container {
    
    margin-right: 50px;
}
.puzzle {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-template-rows: repeat(4, 100px);
    grid-gap: 5px;
    width: 420px;
    height: 420px;
}

.puzzle-piece {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ccc;
    width: 100px;
    height: 100px;
    border: 1px solid #000;
    box-sizing: border-box;
    cursor: pointer;
    background-image: url('../image/cijfers.jpg');
    background-size: 400%; /* Adjust this value based on the PUZZLE_SIZE */
}

.puzzle-blocked {
    pointer-events: none;
    opacity: 0.5;
}
/* Stijl voor de vergrendelde puzzelcontainer */
.puzzle-container.locked {
  opacity: 0.5;
  pointer-events: none;
}

/* Stijl voor de ontgrendelde puzzelcontainer */
.puzzle-container:not(.locked) {
  opacity: 1;
  pointer-events: auto;
}
.message-container {
    display: flex;
	 width: 100%; /* Add this line */
    text-align: center; /* Add this line */
    align-items: center;
    margin-left: 20px;
}

.message-container p {
    color: red;
    font-weight: bold;
    margin-left: 10px;
}

/* Add this class to hide the background image for the empty piece */
.puzzle-piece-empty {
    background-image: none;
}

.puzzle-container,
.sidebar {
    margin-top: 60px;
}

.sidebar {
    width: 300px;
}


.winners {
    height: 420px;
    overflow-y: scroll;
    border: 1px solid #000;
    padding: 10px;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .puzzle-container {
        margin-bottom: 50px;
    }
    .sidebar {
        width: 100%;
    }
}