*,
*:before,
*:after {
  margin: 0;
  padding: 0;
}
#app {
  width: 100vw;
  height: 100vh;
}
#app.hide {
  display: none;
}
#app.hide + #splashscreen {
  display: flex;
}
#header {
  position: fixed;
  z-index: 1;
  padding: 1rem 1rem 0;
  width: 100%;
}
#header.active {
  background: rgba(255,255,255,0.1);
  border-bottom: 1px solid #ccc;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
#header.active #suggestions {
  display: block;
}
#header.active #my-location {
  display: none;
}
#header.active #cancel-search {
  display: inline-flex;
}
#searchbox {
  display: flex;
  margin-bottom: 1rem;
}
#address-search {
  flex: 1;
}
#suggestions {
  display: none;
  width: 100%;
}
#suggestions li {
  list-style: none;
  padding: 1rem 0;
  display: flex;
}
#suggestions li .address {
  flex: 1;
  align-content: center;
}
#suggestions li button {
  margin-left: 1rem;
}
#suggestions li:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
#my-location {
  margin-left: 1rem;
}
#my-location.active .active,
#my-location .inactive {
  display: block;
}
#my-location.active .inactive,
#my-location .active {
  display: none;
}
#cancel-search {
  margin-left: 1rem;
  display: none;
}
#map {
  width: 100%;
  height: 100%;
}
#splashscreen {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #8b2016;
}
#splashscreen__title {
  font-size: 36px;
  color: #fff;
  margin: 0;
  padding: 0;
}
.maplibregl-control-container {
  display: none;
}
