html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

h4 {
  font-weight: bold;
  font-size: 16px;
  margin-top: auto;
  margin-bottom: auto;
}

p {
  font-size: 12px;
  font-style: italic;
  top: 0px;
  margin-top: auto;
  margin-bottom: auto;
}

input {
  position: fixed;
  left: 10px;
  top: 5px;
  height: 40px;
  width: 300px;
  font-size: 20px;
  border-style: solid;
  border-width: 2px;
  border-color: black;
  background-color: hsla(60, 100%, 50%, 0.30);
}

li {
  list-style-type: none;
}

h3 {
  margin-bottom: 0px;
}

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

#snippet {
  margin-bottom: 10px;
}

#info {
  width: 200px;
}

#place-list {
  z-index: 100;
  position: fixed;
  right: 0px;
  top: 30px;
  background: none;
  height: auto;
  max-height: 100%;
  overflow-y: scroll;
  width: 340px;
  transition: 0.5s;
}

#place {
  padding: 10px;
  position: relative;
  border: 1px solid #dddddd;
  background: hsla(0, 0%, 100%, 0.40);
  width: 280px;
  float: right;
  transition: 0.5s;
}

#place:hover {
  background-color: hsla(186, 90%, 74%, 0.56);
}

#place-toggle {
  top: 0;
  font: inherit;
  font-size: 25px;
  font-weight: bold;
  height: 50px;
  width: 318px;
  background-color: hsla(0, 100%, 50%, 0.60);
  color: hsl(0, 100%, 100%);
  border: none;
  outline: none;
  border-radius: 8px;
}

#place-toggle:hover {
  background-color: hsla(320, 89%, 66%, 0.56);
}

.ui-menu-item {
  padding: 5px;
  position: relative;
  border: 1px solid #0d0d0d;
  background: #dddddd;
  width: 248px;
  transition: 0.5s;
}

.ui-menu-item:hover {
  background-color: hsl(0, 0%, 87%);
}

.list-view {
  position: absolute;
  right: 0;
  top: 0;
}

.place-name {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
}

.place-image {
  display: block;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 768px) {
  #place-list {
    display: inline-flex;
  }

  .place-image {
    height: 50%;
    width: 50%;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px;
  }

  .place-name {
    font-size: 20px;
  }

  .reviews {
    display: none;
  }

  #place-toggle {
    display: none;
  }