* {
  font-family: Roboto, Arial, sans-serif;
}

.modal{
  width: 350px; 
  position: absolute; 
  transform: translate(-50%, -50%); 
  margin: 17rem auto auto 0;
  left: 23rem;
  z-index: 10; 
  background: white;
  box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
  border-radius: 2px;
}

.modalHeading {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.legendModal {
  position:absolute;
  left: 15rem;
  transform: translate(-50%, -50%); 
  margin: 1.9rem auto 0;
  z-index: 10; 
}

.close {
  height: 2rem;
  margin: auto;
  width: 50%;
  display: block;
  margin-bottom: 0.75rem;
}

.legendButton {
  background: none padding-box rgb(255, 255, 255);
    display: table-cell;
    border: 0px;
    margin: 0px;
    padding: 0px 17px;
    text-transform: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    user-select: none;
    direction: ltr;
    overflow: hidden;
    text-align: center;
    height: 40px;
    vertical-align: middle;
    color: rgb(0, 0, 0);
    font-family: Roboto, Arial, sans-serif;
    font-size: 18px;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
    min-width: 35px;
    font-weight: 500;
}

.circle {
  display: inline-block;
  width: 1.1rem;
  line-height: 1.0rem;
  border-radius: 50%;
  text-align: center;
  font-size: 16px;
  background-color: #0021A5;
  color: #fff;
}

h2 {
  color: black;
  text-align: center;
  margin: auto 0 1rem;
  margin-top: 2rem;
}

.you-are-here {
  margin-bottom: 3.5rem;
  background-color: #fff;
  padding: 0.15rem;
  border-radius: 2px;
}

ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
}

.listContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

li {
  margin-bottom: .25rem;
}

.modalArrow, .modalRoutes {
  display: flex;
}


.routeArrow {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  
  border-left: 20px solid #0021A5;
}

.routeBox {
  margin-top: 5px;
  margin-left: 0;
  width: 0; 
  height: 0; 
  border-top: 5px solid #0021A5;
  border-bottom: 5px solid #0021A5;
  border-left: 60px solid #0021A5;
}

@media (max-width: 513px) {  
  .modal{
    width: 90%;
    left: 50%;
    right: 50%;
    margin: 17.5rem auto 0;
  }
  .legendModal {
    left: 70%;
    margin: 1.9rem auto 0;
  }
}