.snippets-modal__window{
  background-color: #fff;
  padding: 30px;
  max-width: 500px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;  
}

.snippets-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.snippets-modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  box-sizing: border-box;
}

.snippets-modal__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: auto;
}

.snippets-modal__content{
  margin-top: 1rem;
  line-height: 1.5;
  color: black;  
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(10%);
  }
}

.snippets-modal__overlay {
  animation: fade-in 150ms both;
}

/**
 * 1. Add an animation delay equal to the overlay animation duration to
 *    wait for the overlay to appear before animation in the dialog.
 */
.snippets-modal__window {
  animation: fade-in 300ms 150ms both, slide-up 300ms 150ms both; /* 1 */
}

@media (prefers-reduced-motion: reduce) {
  .snippets-modal__close {
    transition: none;
  }
  .dialog-content {
    animation: none;
  }
}