/** Variables **/
html,
body {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

h1 {
  font-size: 5rem;
  color: #fff;
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: "Playfair Display", serif;
}

.button {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2.6rem;
  padding-top: 1.5rem;
  width: 15rem;
  text-align: center;
  color: white;
  border: 3px solid #fff;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
  transition: all 0.2s;
}

.screen.left .button:hover {
  background-color: rgba(94, 226, 247, 0.7);
  border-color: rgba(94, 226, 247, 0.7);
}

.screen.right .button:hover {
  background-color: rgba(255, 140, 219, 0.7);
  border-color: rgba(255, 140, 219, 0.7);
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #444;
}
.container .screen {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.screen.left {
  left: 0;
  background: url("../images/mftu_left.webp") center center no-repeat;
  background-size: cover;
}
.screen.left:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(136, 120, 247, 0.5);
}

.screen.right {
  right: 0;
  background: url("../images/mftu_right.webp") center center no-repeat;
  background-size: cover;
}
.screen.right:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(227, 140, 219, 0.5);
}

.screen.left,
.screen.right,
.screen.right:before,
.screen.left:before {
  transition: 1000ms all ease-in-out;
}

.hover-left .left {
  width: 75%;
}

.hover-left .right {
  width: 25%;
}

.hover-left .right:before {
  z-index: 2;
}

.hover-right .right {
  width: 75%;
}

.hover-right .left {
  width: 25%;
}

.hover-right .left:before {
  z-index: 2;
}

/**** Responsive *****/
@media (max-width: 800px) {
  h1 {
    font-size: 2rem;
  }

  .button {
    width: 12rem;
  }
}
@media (max-height: 700px) {
  .button {
    top: 70%;
  }
}