* {
  box-sizing: border-box;
  font-family: sans-serif;
}

@media screen and (min-width: 800px) {
  body {
    display: flex;
    margin: 0;
    padding: 0;
  }

  #map {
    width: calc(100vw - 350px);
    height: 100vh;
  }

  #list {
    width: 350px;
    height: 100vh;
    overflow: auto;
  }

  #list div {
    padding: 20px;
    border-bottom: 1px solid #dadada;
  }

  #list div h3 {
    font-size: 16px;
  }

  a {
    color: inherit;
  }

  #list div p {
    font-size: 14px;
  }

  #list > div {
    cursor: pointer;
  }

  .shine {
    background-color: rgb(255, 46, 57);
    color: white;
  }
}

@media screen and (max-width: 800px) {
  body {
    margin: 0;
    padding: 0;
  }

  #map {
    width: 100vw;
    height: 100vh;
  }

  #list {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 50vh;
    overflow: auto;
  }
  #list > div {
    display: none;
  }
  #list > div.shine {
    display: block;
    padding: 20px;
    background: white;
  }
}
