body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: black;
    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: 50vw;
    height: 100vw;
    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%;
}    
.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: 21%;
    left: 24%;
}
 
.wall:nth-child(8) {
    width: 5%;
    height: 50%;
    top: 26%;
    left: 12%;
}
 
.wall:nth-child(9) {
    width: 70%;
    height: 5%;
    top: 67%;
    left: 13%;
}
 
.wall:nth-child(10) {
    width: 5%;
    height: 40%;
    top: 34%;
    right: 18%;  
}
 
.wall:nth-child(11) {
    width: 40%;
    height: 5%;
    top: 42%;
    left: 33%;
}
 
.wall:nth-child(12) {
    width: 5%;
    height: 30%;
    top: 49%;
    left: 51%;
}
 
.wall:nth-child(13) {
    width: 30%;
    height: 5%;
    top: 11%;
    left: 36%;
}
 
.wall:nth-child(14) {
    width: 5%;
    height: 20%;
    top: 12%;
    left: 34%;
}
 
.wall:nth-child(15) {
    width: 50%;
    height: 5%;
    top: 73%;
    left: 27%;
}
 
.wall:nth-child(16) {
    width: 5%;
    height: 20%;
    top: 75%;
    left: 70%;
}
 
.wall:nth-child(17) {
    width: 30%;
    height: 5%;
    top: 83%;
    left: 35%;
}
 
.wall:nth-child(18) {
    width: 5%;
    height: 40%;
    top: 18%;
    left: 76%;
}
 
@media (max-width: 768px) {
    #maze {
        width: 90vw;
        height: 90vw;
    }
 
    #start, #end {
        width: 15%;
        height: 15%;
    }
 
    #play-button {
        font-size: 1.2rem;
    }
}