/* Split the screen in half */
.split {
  height: 100%;
  width: 50%;
  position: fixed;
  z-index: 1;
  top: 0;
  overflow-x: hidden;
  padding-top: 20px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

/* Control the left side */
.left {
  left: 0;
  background-color: #f5003d;
  transition: 0.3s;
}

/* Control the right side */
.right {
  right: 0;
  background-color: #000;
  transition: 0.3s;
}

.right:hover, .left:hover {opacity: 0.8}
/* If you want the content centered horizontally and vertically */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Style the image inside the centered container, if needed */
.centered img {
  width: 150px;
  /*border-radius: 50%;
  background-color: #fff;*/
}