wix-dropdown-menu, wix-video, wow-image {
  display: block;
}

.portfolio-mobile body {
  min-width: var(--site-width, 980px);
}

[data-restored-header] wix-dropdown-menu nav > ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

[data-restored-header] wix-dropdown-menu nav > ul > li {
  flex: 1 1 auto;
}

.restored-language {
  position: absolute;
  inset-block: 0;
  inset-inline-start: calc(100% + 12px);
  display: grid;
  align-content: center;
  width: max-content;
  min-width: 3rem;
  font: 14px system-ui, sans-serif;
  text-decoration: none;
  color: inherit;
}

.restored-language:hover {
  text-decoration: underline;
}

[data-restored-player] {
  position: relative;
  background: #171717;
}

[data-restored-player] > a,
[data-restored-player] > video,
[data-restored-player] > img,
[data-restored-player] > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

[data-restored-player] > a {
  display: grid;
  place-items: center;
}

[data-restored-player] > a > * {
  grid-area: 1 / 1;
}

[data-restored-player] > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-restored-player] > a > span {
  z-index: 1;
  border-radius: 50%;
  background: #111c;
  color: white;
  font: 28px/1 system-ui, sans-serif;
  padding: 14px 17px;
}

wix-video [data-video-src] {
  opacity: 0;
}

wix-video [data-video-src].is-playing {
  opacity: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.migration-video-note {
  position: absolute;
  inset: auto 10px 10px;
  padding: 6px 10px;
  background: #111d;
  color: white;
  font: 14px/1.4 system-ui, sans-serif;
}

.migration-result-note {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  width: max-content;
  max-width: 25rem;
  margin-top: 4px;
  font: 14px/1.4 system-ui, sans-serif;
}

.migration-app-note {
  position: relative;
  z-index: 1;
  width: min(90%, 980px);
  margin: 36px auto;
  padding: 12px;
  font: 16px/1.5 system-ui, sans-serif;
}

.migration-app-note a {
  margin-inline-start: 1em;
  text-decoration: underline;
}
