* {
  margin: unset;
  padding: unset;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  background: inherit;
}

.container {
  height: 100%;
  width: 100%;
  display: flex;
  position: relative;
  z-index: 0;
}

.left {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  clip-path: polygon(0% 0%, 55% 0%, 45% 100%, 0% 100%);
  transition: all 0.5s;
}

.left:after {
  content: "";
  width: inherit;
  height: inherit;
  position: absolute;
  background: url(./left.webp) center/ cover no-repeat;
  transition: all 0.5s;
  z-index: -1;
  filter: brightness(0.4);
}

/* .container:not(.max) .left:hover:after {
  transform: scale(1.1);
} */

.container.max .left {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.container.min .left {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.right {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
}

.right:after {
  content: "";
  width: inherit;
  height: inherit;
  position: absolute;
  background: url(./right.webp) center/ cover no-repeat;
  transform: scale(-1, 1);
  transition: all 0.5s;
  z-index: -1;
  filter: brightness(0.4);
}

/* .container:not(.min) .right:hover:after {
  transform: scale(-1.1, 1.1);
} */

.title {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

.left .title {
  margin-left: 0;
  margin-right: auto;
}

.right .title {
  margin-left: auto;
  margin-right: 0;
}

.container.max .left .title,
.container.min .right .title {
  width: 100%;
  height: 100px;
}

h1 {
  font-family: sans-serif;
  text-transform: uppercase;
  font-weight: bolder;
  color: rgb(255, 255, 255);
  text-shadow: 0 1px 5px #000;
  opacity: 0.8;
  transition: all 0.5s;
  user-select: none;
}

.left:hover .title h1,
.right:hover .title h1 {
  opacity: 0.9;
}

.container.max .left .title h1,
.container.min .right .title h1 {
  opacity: 1;
}

.right .title button {
  background: #f5e343;
  color: #000;
}

.content_container {
  position: absolute;
  background: inherit;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  height: 0%;
  width: 100%;
  padding: 0;
  opacity: 0;
  transition: all 0.2s;
}

.container.max .left .content,
.container.min .right .content {
  opacity: 1;
  height: 100%;
  padding: 30px;
}

.left .content {
  margin-left: 0;
  margin-right: auto;
}

.right .content {
  margin-left: auto;
  margin-right: 0;
}

.text {
  position: relative;
  height: 100%;
  padding: 30px;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.171);
  border-radius: 10px;
}

.select {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: rgb(212 212 212);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  user-select: none;
  transition: 0.3s;
}

.select.hidden {
  opacity: 0;
  pointer-events: none;
}

.select svg {
  position: absolute;
  transition: all 0.3s;
}

.select svg:hover {
  stroke: #fff;
  transform: scale(1.2);
}

.select svg.left_arrow {
  left: -32px;
}

.select svg.right_arrow {
  right: -32px;
}

.select_text {
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 12px;
}

.left svg.right_arrow {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 3;
}

.right svg.left_arrow {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 3;
}

.left svg.right_arrow.hidden,
.right svg.left_arrow.hidden {
  opacity: 0;
  pointer-events: none;
}
