// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function flipElementCosmopolitanStyle() {
    return css `
:host {
  --flip-font-family: unset;
  --flip-font-letter-spacing: unset;
  --flip-font-line-height: unset;
  --flip-font-size: unset;
  --flip-font-text-decoration: unset;
  --flip-font-text-transform: unset;
  --flip-font-weight: unset;
  --flip-gap: unset;
  --flip-padding-bottom: unset;
  --flip-padding-left: unset;
  --flip-padding-right: unset;
  --flip-padding-top: unset;
  --flip-transition-duration: unset;
  --flip-transition-mode: unset;
  --flip-transition-property: unset;
  --flip-translate: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  perspective: 1200px;
  display: block;
  position: relative;
}

:host [part="root"] {
  transform-style: preserve-3d;
  height: 100%;
  transition: transform .2s;
  position: relative;
}

:host [part="root"] [part="front"], :host [part="root"] [part="back"] {
  flex: 1;
  height: 100%;
}

:host [part="root"] [part="front"] {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  width: 100%;
  transition: opacity 0s .2s;
  position: absolute;
}

:host [part="root"] [part="back"] {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: rotateY(180deg);
}

:host([side="back"]) [part="root"] {
  transform: rotateY(-180deg);
}

:host([side="back"]) [part="root"] [part="front"] {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: opacity 0s .25s;
}

:host([side="back"]) [part="root"] [part="back"] {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

    `;
}
//# sourceMappingURL=FlipElement.Cosmopolitan.js.map