body{ overflow-x: hidden!important; }

.curtain {
	 margin: 0 auto;
	 width: 100%;
	 height: 100vh;
   min-height: 100vh;
	 overflow: hidden;
}
 .curtain__wrapper {
	 width: 100%;
	 height: 100%;
}
 .curtain__wrapper > input[type=checkbox] {
	 position: absolute;
	 cursor: pointer;
	 width: 100%;
	 height: 100%;
	 z-index: 100;
	 opacity: 0;
	 top: 0;
	 left: 0;
}
 .curtain__wrapper > input[type=checkbox]:checked ~ div.curtain__panel--left {
	 transform: translateX(0);
}
 .curtain__wrapper > input[type=checkbox]:checked ~ div.curtain__panel--right {
	 transform: translateX(0);
}
 .curtain__panel {
	 display: flex;
	 align-items: center;
	 background: #b41414;
	 color: #fff;
	 float: left;
	 position: relative;
	 width: 50%;
	 height: 100vh;
   min-height: 100vh;
	 transition: all 10s ease-out;
	 z-index: 2;
}
 .curtain__panel--left {
	 justify-content: flex-end;
	 transform: translateX(-100%);
}
 .curtain__panel--right {
	 justify-content: flex-start;
	 transform: translateX(100%);
}
 .curtain__content {
	 /*align-items: center;*/
	 background: #fff;
	 color: #333;
	 /*display: flex;*/
	 /*flex-direction: column;*/
	 height: 100vh;
   min-height: 100vh;
	 /*justify-content: center;*/
	 padding: 0;
	 position: absolute;
	 /* text-align: center; */
	 z-index: 1;
	 width: 100%;
}
/* .curtain__content img {
	 width: 20%;
}*/
	.rnOuter {
  background: hsl(0, 80%, 38%);
  overflow: hidden;
  position: relative;
  height: 200vh;
  min-height: 100vh;
}
.rnInner {
  width: 100%;
  position: absolute;
  top: -10%;
  right: 0;
  bottom: 0;
  left: 10%;
  margin: auto;
  transform-style: preserve-3d;
  transition: transform 6s ease;
  transform-origin: -120% top;
}
.rnUnit {
  width: 10vw;
  height: 120vh;
  background: repeating-linear-gradient(to left, hsl(0, 80%, 50%) 4vw, hsl(0, 80%, 30%) 8vw, hsl(0, 80%, 70%) 10vw);
  background-size: 100% 100%;
  display: inline-block;
  transform-origin: 0 0%;
  transform: rotate(3deg);
  -webkit-animation: rnUnit 2s ease infinite;
          animation: rnUnit 2s ease infinite;
}
@-webkit-keyframes rnUnit {
  50% {
    transform: rotate(-3deg);
  }
}
@keyframes rnUnit {
  50% {
    transform: rotate(-3deg);
  }
}
.rnUnit:nth-child(1) {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}
.rnUnit:nth-child(2) {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.rnUnit:nth-child(3) {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.rnUnit:nth-child(4) {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.rnUnit:nth-child(5) {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s;
}
.rnUnit:nth-child(6) {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
}
.rnUnit:nth-child(7) {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s;
}
.rnUnit:nth-child(8) {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
}
.rnUnit:nth-child(9) {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}
.rnUnit:nth-child(10) {
  -webkit-animation-delay: -1s;
          animation-delay: -1s;
}
.rnUnit:nth-child(11) {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
}
.rnUnit:nth-child(12) {
  -webkit-animation-delay: -1.2s;
          animation-delay: -1.2s;
}
.aoTable {
  display: table;
  width: 100%;
  height: 200vh;
  min-height: 100vh;
  text-align: center;
}
.aoTableCell {
  color: hsl(0, 80%, 38%);
  display: table-cell;
  vertical-align: middle;
  transition: color 3s ease;
}
.rnOuter:hover .rnInner {
  transform-origin: -120% top;
  transform: scaleX(0);
}
.rnOuter:hover .aoTableCell {
  color: white;
}
/*.curtain__wrapper::before {
  position: absolute;
  content: "";
  height: 200%;
  width: 100%;
  left: 0;
  top: 0;
  background-color: #b41414;
  z-index: 0;
}*/
.overflow-hidden-g .curtain__content { opacity: 0; }