.curtain {
  margin: 0 auto;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  
}


.curtain__wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  
}

/* .curtain__wrapper input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  top: 0;
  left: 0;
} */


.curtain__panel--left {
  transform: translateX(0);
}

.curtain__panel--right {
  transform: translateX(0);
}


.curtain__panel {
  display: flex;
  align-items: center;
  background: orange;
  color: #fff;
  float: left;
  position: relative;
  width: 50%;
  height: 100%;
  transition: all 1s ease-out;
  z-index: 2;
  background-image: url("img/frontcurtain.jpg");
  background-repeat : no-repeat;
  background-size : cover;
}


.open .curtain__panel--left {
  justify-content: flex-end;
  transform: translateX(-100%);
}


.open .curtain__panel--right {
  justify-content: flex-start;
  transform: translateX(100%);
}


.curtain__content {
  align-items: center;
  background: #000000;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 0;
  position: absolute;
  text-align: center;
  z-index: 1;
  width: 100%;
  
}

.curtain__content img {
  width: 20%;
}
