html, body {
  margin: 0;
}

body {
  background-color: #8ED9F9;
}

.top {
  display: flex;
  justify-content: space-evenly;
}

.container {
  width: 33%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.text {
  width: 20%;
  text-align: center;
  font-size: 2vw;
  font-family: 'Source Sans Pro', sans-serif;
}

.slider {
  -webkit-appearance: none;
  width: 60%;
  height: 2.25vh;
  border: .25vw solid #222831 ;
  border-radius: .4vw;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 6vh;
  width:  3vh;
  cursor: pointer;
  background: #8ED9F9;
  border: .25vw solid #222831;
  border-radius: .4vw;
}

.slider::-moz-range-thumb {
  -webkit-appearance: none;
  height: 3.5em;
  width: 1.5em;
  cursor: pointer;
  background: #8ED9F9;
  border: 4px solid #222831;
  border-radius: 5px;
}

.buttons {
  width: 30%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.button {
  width: 25%;
  height: 40%;
  border: .2vw solid #222831;
  border-radius: .5vw;
  cursor: pointer;
  font-size: 1.5vw;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #A6E3E9;
}

.button:hover {
  background-color: #CBF1F5;
}

#maze {
  margin: 2vh auto 0;
  width: 40%;
  align-items: center;
}

.cell {
  margin: 0;
  width: 100%;
  aspect-ratio: 1;
  display:inline-block;
  background: white;
  border: black 1px;
}

.row {
  width: 100%;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
}

.wall {
  background-color: #393E46;
}

.start {
  background-color: #91C788;
}

.end {
  background-color: #ed1c24;
}

/* mobile styling */
@media (max-width:700px){ 
  .top {
    flex-direction: column;
    align-items: center;
    margin-bottom: 15%;
  }
  .container {
    width: 100%;
  }
  .slider {
    -webkit-appearance: none;
    height: 4vw;
    border: .25vw solid #222831 ;
    border-radius: .4vw;
  }
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 8vw;
    width:  4vw;
    cursor: pointer;
    background: #8ED9F9;
    border: .25vw solid #222831;
    border-radius: .4vw;
  }  
  .text {
    font-size: 4vw;
    margin: 5vh 0;
  }
  .buttons {
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .button {
    height: 8vw;
    font-size: 4vw;
  }
  #maze {
    width: 70%;
  }
}