.close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 25px;
  height: 25px;
  stroke: #000;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

dialog {
  padding: 0;
  background: white;
  max-width: 1240px;
  width: 89%;
  border-radius: 20px;
  border: 0;
  box-shadow: 0 5px 30px 0 rgb(0 0 0 / 10%);
  animation: fadeIn 1s ease both;
  &::backdrop {
    animation: fadeIn 1s ease both;
    background-color: rgba(0, 0, 0, 0.62);
    z-index: 2;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .close {
    width: 40px;
    height: 40px;
    top: 64px;
    right: 64px;
    stroke: white;
  }
  .close:hover {
    stroke: #000;
  }
}

@media (min-width: 1024px) {
  .close {
    top: 30px;
    right: 30px;
    stroke: #000;
  }
  .close {
    width: 48px;
    height: 48px;
  }
}
