html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

body {}

.day-list {
  display: flex;
  flex-wrap: nowrap;
  left: 0;
  overflow-x: scroll;
  padding: 16px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
  -webkit-overflow-scrolling: touch;
}

.day-list::-webkit-scrollbar {
  display: none;
}

.day-list__day {
  background: white;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  box-sizing: border-box;
  cursor: pointer;
  flex: 0 0 1;
  font-size: 12px;
  font-weight: 400;
  margin: 0 8px 0 0;
  padding: 8px 12px;
  text-transform: uppercase;
  transition: all 200ms ease-out;
  white-space: nowrap;
}

.day-list__day.day-list__day--selected {
  background: hsl(0, 10%, 20%);
  color: white;
  font-weight: 500;
}

#map {
  height: 100%;
  width: 100%;
}

.itinerary {
  bottom: 0;
  height: 216px;
  left: 0;
  position: fixed;
  right: 0;
}

.itinerary_locations {
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  list-style: none;
  margin: 0;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 0 16px 24px 16px;
  scroll-padding-inline-start: 16px;
  scroll-snap-type: x mandatory;
  white-space: nowrap;
  width: 100%;
}

.itinerary_location {
  background: white;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  box-sizing: border-box;
  display: grid;
  flex: 0 0 calc(100vw - 64px);
  grid-template-rows: 1fr auto;
  height: 100%;
  margin: 0 16px 0 0;
  max-width: 360px;
  padding: 0;
  scroll-snap-align: start;
  width: calc(100vw - 64px);
}

.location__cover {
  align-items: end;
  background-size: cover;
  border-radius: 5px 5px 0 0;
  box-sizing: border-box;
  display: flex;
  padding: 16px 16px 8px;
  position: relative;
}

.location__step {
  align-items: center;
  background: white;
  border: 1px solid black;
  border-radius: 50%;
  color: black;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  height: 28px;
  justify-content: center;
  left: 16px;
  position: absolute;
  top: 16px;
  width: 28px;
  z-index: 1024;
}

.location__title {
  box-sizing: border-box;
  color: white;
  margin: 0;
  padding: 0;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.7);
  white-space: normal;
}

.marker {
  background-color: hsl(0, 0%, 90%);
  background-position: top center;
  background-size: cover;
  border: 3px solid hsl(0, 0%, 94%);
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  height: 40px;
  transition: height 300ms ease-in-out,
              width 300ms ease-in-out;
  width: 40px;
}

.marker.marker--selected {
  height: 64px;
  width: 64px;
  z-index: 100;
}
