dialog {
  border: none;
  padding: 50;
  width: 90%;
  max-width: 1200px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;

}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
}

dialog[open] {
  animation: fadein 0.1s ease-in forwards;
}

dialog[open]::backdrop {
  animation: fadein 0.1s ease-in forwards;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

dialog img {
  border-radius: 10px 10px 0 0;
  width: 45%;
  align-items: center;

}

dialog .modal-gallery {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

dialog .modal-container {
  display: flex;
  flex-direction: column;
}

dialog .modal-toolbar {
  text-align: right;
  background-color: rgba(0, 0, 0, 0);
  padding-bottom: 1.2rem;
}

dialog .modal-toolbar-button {
  padding: 0.8rem;
  padding-right: 1.0rem;
  padding-left: 1.0rem;
  background: white;
  border-width: 1px;
  appearance: none;
  outline: black;
  font-size: 1.8rem;
  font-weight: 400;
  color: #555;
  cursor: pointer;
  border-radius: 10px;
}

dialog .modal-header {
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  padding-bottom: 1.8rem;
  padding-top: 0.8rem;
  background-color: var(--color-contenedor);
  border-radius: 10px 10px 0 0;
}

dialog .modal-body {
  background-color: var(--color-contenedor);
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

dialog .modal-footer {
  padding: 2rem 2rem;
  font-size: 1.8rem;
  font-weight: 400;
  text-align: left;
  background-color: var(--color-contenedor);
  border-radius: 0 0 10px 10px;
}

dialog .modal-text-hint {
  font-size: 1.8rem;
  font-weight: 400;
}

dialog video {
  display: block;
  width: 70%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}