::backdrop {
  background-color: black;
  opacity: 0.6;
}

dialog {
  width: 50vw;
  height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  padding: 0.2rem 2.5rem;
  border-radius: 0.5rem;
}

.dialog-container::-webkit-scrollbar {
  display: none;
}

.dialog-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  padding: 2rem 0;
}

.close-cross {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  background-color: transparent;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
    dialog {
    width: 70%;
    height: 90%;
    padding: 0.2rem 2.5rem 0.2rem 1.5rem;
    border-radius: 0;
    }

}