@font-face {
  font-family: "Manrope";
  src: url(/fonts/font-manrope.ttf);
}

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

body {
  font-family: "Manrope";
  background-color: rgb(255, 255, 255);
  min-height: 700px;
  height: fit-content;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 6rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.title,
.brief {
  text-align: center;
}

.title {
  font-size: 3.2rem;
  font-weight: 400;
}

.brief {
  font-size: 1.3rem;
  color: #111;
  width: 45ch;
  max-width: 95vw;
}

.brief a {
  text-decoration: none;
  color: rgb(0, 60, 255);
}

.subtitle {
  font-weight: 400;
  font-size: 2rem;
}

.picture-mode-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-block: 1rem;
  font-size: 1.3rem;
}

.picture-mode-wrapper input {
  scale: 1.3;
}

.main,
.user {
  position: relative;
  height: 30rem;
  width: 60rem;
  max-height: calc(100vh - 4rem);
  max-width: calc(100vw - 4rem);
  border: solid 2px black;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  overflow: hidden;
  align-self: center;
}

.img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  object-fit: contain;
  display: block;
}

.first-hz-image {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
}

.second-hz-image {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%)
}

.first-vt-image {
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.second-vt-image {
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

.divider {
  position: absolute;
  height: 100%;
  width: 4rem;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider.hide {
  display: none;
  visibility: hidden;
  width: 0;
}

.vt-divider {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.vt-divider .circle {
  transform: rotate(90deg);
  cursor: ns-resize;
}

.circle {
  cursor: ew-resize;
  height: 3.5rem;
  aspect-ratio: 1;
  background-color: #c53535;
  border-radius: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  --width: 10px;
  --color: white;
}

.left-triangle {
  border-style: solid;
  border-width: var(--width);
  border-right-color: var(--color);
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.right-triangle {
  border-style: solid;
  border-width: var(--width);
  border-right-color: transparent;
  border-left-color: var(--color);
  border-top-color: transparent;
  border-bottom-color: transparent;
}

/** USER SECTION STYLES */

.horizontal,
.vertical {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}

/** CUSTOM FILE INPUTS */

.file-upload {
  max-width: calc(100vw - .5rem);
}

.file-upload .file-upload-select {
  display: block;
  color: #dbdbdb;
  cursor: pointer;
  text-align: left;
  background: #1a242f;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}

.file-upload .file-upload-select .file-select-button {
  background: #161f27;
  padding: 10px;
  display: inline-block;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}

.file-upload .file-upload-select .file-select-name {
  display: inline-block;
  padding: 10px;
}

.file-upload .file-upload-select:hover .file-select-button {
  background: #324759;
  color: #ffffff;
}

.file-upload .file-upload-select input[type="file"] {
  display: none;
}