/* ========= INFORMATION ============================
	- document:  WP Coder!
	- author:    Dmytro Lobov 
	- url:       https://wow-estore.com/
==================================================== */
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

:root {
  --color-1: orange;
  --color-2: #105fef;
  --grey-1: #1F1F1F;
  --grey-2: #bbb;
  --grey-3: #ccc;
  --font-1: "Roboto", sans-serif;
}

body {
  background: var(--grey-3);
  overflow: hidden;
}

.header {
  font-family: var(--font-1);
  text-align: center;
  color: var(--grey-1);
  margin-bottom: 10px;
}

.trifold {
  display: flex;
  margin: 0px auto;
  background-color: transparent;
  width: 100%;
  max-width: 750px;
  perspective: 1000px;
  font-family: var(--font-1);
}

.center {
  background: white;
  width: 50%;
  height: auto;
  box-shadow: 0px 0px 20px #bbb;
  overflow: hidden;
}

.left-side,
.right-side {
  position: relative;
  width: 50%;
  height: auto;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  display: inline-block;
  background: white;
  height: 100%;
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.front {
  color: black;
}

.image {
  width: 100%;
  object-fit: cover;
}

.back {
  color: white;
  background: white;
  transform: rotateY(180deg);
}

.left-side {
  transform-origin: right;
  transform: rotateY(180deg);
}

.right-side {
  transform-origin: left;
  transform: rotateY(-180deg);
}

.right-side .content {
  position: relative;
}

.right-side .right-image {
  width: 100%;
  height: auto;
}

.left-side .back .content {
  background: white;
  height: auto;
  width: 100%;
  overflow: hidden;
}

.left-side .back .left-image {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0%, 100% 75%, 0 50%);
}

.left-side .front .content {
  height: auto;
}

.center .center-content {
  height: auto;
  opacity: 0;
}

.right-side .front {
  background: white;
  height: auto;
  width: 100%;
}

.right-side .front .right-image {
  clip-path: polygon(0 0, 0 90%, 100% 58%, 100% 0);
}