/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

/* Container to hold everything */
.container {
    text-align: center;
    width: 100%;
    max-width: 960px;
    padding: 20px;
}

/* First row: Centered heading */
header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Link styling inside header */
header h1 a {
    text-decoration: none;
    color: black;
}

/* Visited link color */
header h1 a:visited {
    color: black;
}

/* Link hover color */
header h1 a:hover {
    color: green;
}

/* Active link color (when clicked) */
header h1 a:active {
    color: red;
}

/* Second row: Canvas wrapper for labyrinth */
.canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

canvas {
    border: 2px solid #333;
}

/* Third row: Buttons wrapper */
.button-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}
