@charset "utf-8";
@import url('https://cursedprograms.github.io/cursedentertainment/styles/error-style.css');
@import url('https://cursedprograms.github.io/cursedentertainment/styles/main-style.css');
@import url('https://cursedprograms.github.io/cursedentertainment/styles/content-style.css');
@import url('https://cursedprograms.github.io/cursedentertainment/iframes/header/styles/horizontal-menu-style.css');
@import url('/styles/colour-scheme.css');

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
}

h1 {
color: #ffffff;
}

#grid {
    display: grid;
    grid-template-columns: repeat(20, 30px);
    grid-gap: 1px;
    background-color: #ccc;
    padding: 1px;
    border: 1px solid #999;
}

.cell {
    width: 30px;
    height: 30px;
    background-color: white;
    border: 1px solid #ddd;
    transition: background-color 0.3s;
}

.wall {
    background-color: #333;
}

.start {
    background-color: var(--color3);
}

.end {
    background-color: var(--color2);
}

.path {
    background-color: var(--color5);
}

.visited {
    background-color: var(--color1);
}

#controls {
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 10px;
}

button:hover {
    opacity: 0.8;
}