.modal-background {
  font-family: sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  background: rgba(55, 55, 55, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-window {
  position: relative;
  background-color: #ffffff;
  width: 50%;
  margin: 10% auto;
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px groove #ccc;
  /* box-shadow: 1px 1px 1px #999, 2px 2px 2px #000; */
}
.close-modal:hover,
.close-modal:focus {
  color: rgba(255, 255, 255, 1);
  cursor: pointer;
  background: red;
  transition: 1s;
  text-shadow: 1px 1px 1px #999, 2px 2px 2px #000;
}

button.close-modal {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  padding: 0.05rem 0.75rem;
  background: #999;
  color: #ccc;
  border-radius: 50%;
  border: none;
  outline: none;
  -webkit-transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
button.close-modal::before {
  content: "\D7";
  font-size: 2rem;
}

.modal-open {
  display: block;
}

.flex-open {
  display: flex;
}
.grid-open {
  display: grid;
}
