body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: darkslategray;
    color: white;
    margin: 0;
    padding: 0;
}
 
#start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: darkslategray;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
 
#play-button {
    padding: 10px 20px;
    font-size: 1.5rem;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
 
#play-button:hover {
    background-color: darkred;
}
 
#maze {
    position: relative;
    width: 80vw;
    height: 80vw;
    margin: 20px auto;
    background-color: white;
    border: 2px solid black;
    z-index: 1;
}
 
#start {
    position: absolute;
    width: 10%;
    height: 10%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
 
#end {
    position: absolute;
    width: 10%;
    height: 10%;
    background-color: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    bottom: 5%;
    right: 5%;
}
 
.wall {
    position: absolute;
    background-color: black;
}
 
.wall:nth-child(3) {
    width: 100%;
    height: 5%;
    top: 0; 
    left: 0;
}
 
.wall:nth-child(4) {
    width: 5%;
    height: 100%;
    top: 0;
    left: 0; 
}
 
.wall:nth-child(5) {
    width: 100%;
    height: 5%;
    bottom: 0; 
    left: 0;
}
 
.wall:nth-child(6) {
    width: 5%;
    height: 100%;
    top: 0;
    right: 0; 
}
 
.wall:nth-child(7) {
    width: 50%;
    height: 5%;
    top: 20%;
    left: 25%; 
}
 
.wall:nth-child(8) {
    width: 5%;
    height: 50%;
    top: 25%;
    left: 10%; 
}
 
.wall:nth-child(9) {
    width: 70%;
    height: 5%;
    top: 65%;
    left: 15%; 
}
 
.wall:nth-child(10) {
    width: 5%;
    height: 40%;
    top: 30%;
    right: 15%; 
}
 
.wall:nth-child(11) {
    width: 40%;
    height: 5%;
    top: 40%;
    left: 30%; 
}
 
.wall:nth-child(12) {
    width: 5%;
    height: 30%;
    top: 50%;
    left: 50%; 
}
 
.wall:nth-child(13) {
    width: 30%;
    height: 5%;
    top: 10%;
    left: 35%; 
}
 
.wall:nth-child(14) {
    width: 5%;
    height: 20%;
    top: 10%;
    left: 35%; 
}
 
.wall:nth-child(15) {
    width: 50%;
    height: 5%;
    top: 75%;
    left: 25%; 
}
 
.wall:nth-child(16) {
    width: 5%;
    height: 20%;
    top: 75%;
    left: 70%; 
}
 
.wall:nth-child(17) {
    width: 30%;
    height: 5%;
    top: 85%;
    left: 35%; 
}
 
.wall:nth-child(18) {
    width: 5%;
    height: 40%;
    top: 20%;
    left: 80%; 
}
 
@media (max-width: 768px) {
    #maze {
        width: 90vw;
        height: 90vw;
    }
 
    #start, #end {
        width: 15%;
        height: 15%;
    }
 
    #play-button {
        font-size: 1.2rem;
    }
}
 
body {
  margin: 0;
  overflow: hidden;
  background: #000;
}