.title-area {
    top: 10px;
    left: 10px;
    padding: 18px 20px;
    max-width: 564px;
    border-radius: 30px;
    transition: display 1s;
  }

  .title-area h1 {
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
  }

  .title-area button {
    position: absolute;
    right: -20px;
    bottom: -20px;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .title-area.open section {
    display: block;
    /* max-height: 105px;
                max-width: 580px;
                overflow: hidden;
                transition:
                    max-width 1s ease-in-out 0s,
                    max-height 1s ease-in-out 1s; */
  }

  .title-area:not(.open) section {
    display: none;
    /* max-height: 0;
                max-width: 0;
                overflow: hidden;
                transition:
                    max-height 1s ease-in-out 0s,
                    max-width 1s ease-in-out 1s; */
  }dialog {
    padding: 1.5rem;
    max-width: 450px;
    border-radius: 30px;
    margin: auto;
    /* position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  }

  /* dialog button {
    position: absolute;
    top: -20px;
    right: -20px;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    font-size: 32px;
    display: flex;
    outline: none;
    align-items: center;
    justify-content: center;
  } */

  dialog::backdrop {
    /* Change to white with transparency instead of black */
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
  }

  dialog h2 {
    margin-top: 0;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  dialog p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .submit {
    bottom: 10px;
    left: 10px;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
  }.filter {
    bottom: 10px;
    right: 10px;
    width: 340px;
  }

  .filter small {
    display: block;
    position: absolute;
    top: -25px;
    left: 15px;
    color: #6c6f83;
    text-transform: uppercase;
    font-size: 13;
  }

  .filter div {
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
    padding: 10px 15px;
    justify-content: space-between;
  }

  .filter button {
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-color: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .filter button.active {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }

  .filter button.active::after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
  }.list {
    position: absolute;
    top: 85px;
    right: 10px;
    border-radius: 30px;
    /* padding: 0 0 0 12px; */
  }

  .list ul::-webkit-scrollbar-thumb {
    background-color: #d9d9d9;
    border: 4px solid transparent;
    border-radius: 8px;
    background-clip: padding-box;
  }

  .list ul::-webkit-scrollbar {
    width: 16px;
  }

  .list ul {
    height: 500px;

    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
    padding: 10px 0 10px 0;
    margin: 0;
    overflow-y: scroll;
  }

  .waste.open .list {
    width: 340px;
  }

  .waste.open .list .desc {
    display: flex;
    flex-direction: column;
  }

  .waste .img-wrap {
    flex-shrink: 0;
  }

  .list .item a {
    background-color: #d9d9d9;
    border-radius: 30px;
    padding: 12px;
    list-style-type: none;
    display: flex;
    gap: 10px;
    color: black;
    align-items: center;
  }

  .list .desc {
    display: none;
  }

  .list button {
    position: absolute;
    left: -20px;
    top: -20px;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .list ul img {
    /* border-radius: 20px; */
  }

  .search {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    border-radius: 30px;
    padding: 12px;
    outline: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    color: #d9d9d9;
  }

  .waste.open .search {
    padding: 10px 22px 10px 12px;
    width: 340px;
  }

  .search > button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #d9d9d9;
    cursor: pointer;
  }

  .search > input {
    display: none;
    background: none;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    color: white;
    flex-grow: 1;
  }

  .waste.open > .search > input {
    display: block;
  }

  .waste > .search > input {
  }

  .waste a {
    color: inherit;
    text-decoration: inherit;
  }

  .waste .desc .name {
    font-weight: 300;
    text-transform: uppercase;
    font-family: var(--font-switzer);
    font-size: 20px;
  }

  .waste .desc .loc {
    font-family: var(--font-erode);
    font-size: 14px;
  }body {
  margin: 0;
  padding: 0;
  background: black;
  font-family: var(--font-switzer);
}

html,
body,
#map {
  height: 100%;
}

.mapboxgl-ctrl-bottom-left {
  display: none;
}

.panel {
  background-color: #787c94cc;
  color: #ffffff;
  border: none;
  z-index: 1;
  position: absolute;
  backdrop-filter: blur(2px);
  border-radius: 30px;
}

button.panel {
  cursor: pointer;
}

button.panel:hover {
  opacity: 0.7;
}

[hidden] {
  display: none !important;
}

*[data-tooltip] {
  position: relative;
}

*[data-tooltip]::after {
  content: attr(data-tooltip);

  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;

  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.15s ease-in-out;
  -moz-transition: opacity 0.15s ease-in-out;
  -ms-transition: opacity 0.15s ease-in-out;
  -o-transition: opacity 0.15s ease-in-out;
  transition: opacity 0.15s ease-in-out;

  display: block;
  font-size: 12px;
  line-height: 16px;
  background: #fefdcd;
  padding: 2px 2px;
  border: 1px solid #c0c0c0;
  box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4);
}

*[data-tooltip]:hover::after {
  opacity: 1;
}
