:root {
  --controllerIconsZIndex: 999;
}

body {
  margin: 0px;
}
.myrow {
  display: flex;
  height: 100%;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
}
.column {
  flex: 50%;
  padding: 10px;
  height: inherit;
  position: relative;
}

html,
body,
center {
  overflow: hidden;
}
html {
  -webkit-text-size-adjust: none;
  touch-action: manipulation;
}

body {
  touch-action: none;
}

.passive {
  display: none !important;
}

.photo-guide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.guide-container {
  display: flex;
  flex-direction: column;
  width: 85%;
  height: 70%;
  margin-bottom: 3em;
}

.guide-text-container {
  height: 10em;
  max-width: 450px;
  margin: 0 auto;
}

.guide-image-container {
  margin: auto;
  text-align: center;
  max-height: calc(100% - 10em);
}

.guide-title {
  font-size: 2em;
  font-weight: 800;
  color: white;
  text-align: center;
  margin: 0 0 0.8em 0;
}

.guide-description {
  color: white;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.4em;
}

.guide-image {
  height: 100%;
  max-width: 100%;
}

.photo-guide-btn {
  font-weight: 800;
  font-size: 1.5em;
  line-height: 1em;
  letter-spacing: 0.03em;
  padding: 0;
  border: none;
  color: #f5f5f5;
  text-transform: uppercase;
  background-color: transparent;
  border-bottom: 2px solid white;
}

.center {
  margin: auto;
  padding: 0px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-family: 'MazardH';
}

/* Photo selection div styles starts here */
#photoMeduDiv {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 3vw;
  visibility: visible;
}
#photoMeduDiv > h1 {
  color: white;
}

#useLastPhoto {
  visibility: hidden;
}

#useLastPhoto.hidden {
  display: none;
}

#model5 {
  display: none;
}
#model6 {
  display: none;
}
#model7 {
  display: none;
}
.button {
  border: 3px solid white;
  color: white;
  background: transparent;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 16em;
  font-size: 5vw;
  margin-top: 4%;
  height: 2.5em;
  padding: 2%;
  font-weight: 400;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.button:disabled,
.button[disabled],
.button:disabled + #takeaPhotoWithAppBtn,
.button[disabled] + #takeaPhotoWithAppBtn {
  color: #d0d1d2;
  border-color: #d0d1d2;
}

.button:hover:enabled {
  color: #3047ec;
  border: 2px solid #8925fa;
}

#takeaPhotoWithAppBtn,
.takePhotoMobileGuide {
  box-sizing: border-box;
  line-height: 1.6em;
}

#cameraDiv {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
}
#camera--view {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: visible;
}

#camera--sensor {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}
#makeup--layer {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}
#brightness--layer {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}
#texture--layer{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}
.face-modules {
  z-index: 2;
  position: absolute;
  top:2em;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 0.9em;
  width: 200px;
  line-height: 1.2em;
  font-size: 1.05em;
  opacity: 0;
  color: #8925fa;
  background-color: #ffffff;
  border: 1px solid #8925fa;
  transition: opacity 0.3s ease-in-out;
}
.face-modules.loading {
  opacity: 0.8;
}
#camera--output {
  visibility: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

#camera--output--slider {
  visibility: visible;
  width: auto;
  height: 100%;
  object-fit: cover;
}
.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 5%;
  height: 100%;
  /* background-color: #2196F3; */
  opacity: 0.7;
  border-radius: 50%;
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
  background-size: contain;
  /* background-repeat-x: no-repeat; */
  background-repeat: repeat-y;
  background-position-y: center;
}

.sliderDiv {
  height: 100%;
  top: 0%;
  left: 0%;
  overflow: hidden;
  width: 50%;
  vertical-align: middle;
  position: absolute;
  /* border-right: solid 8px #231f2055; */
}

#camera--trigger {
  position: absolute;
  bottom: 5%;
  left: 50%;
  color: white;
  transform: translate(-50%, 0%);
  font-size: 10vw;
  background: transparent;
  border: none;
}

.trigger-buttons {
  position: absolute;
  right: 1%;
  bottom: 2%;
  display: flex;
  flex-direction: column;
  font-size: 10vw;
  z-index: var(--controllerIconsZIndex);
}

.trigger-buttons button {
  visibility: hidden;
  border: none;
  background-color: initial;
  outline: none;
  width: 100%;
  padding: 0 4px;
}

.trigger-buttons button:not(:last-child) {
  margin-bottom: 8px;
}

#back--trigger {
  color: black;
  font-size: 2vw;
  top: 1%;
  right: 1%;
  position: absolute;
  z-index: var(--controllerIconsZIndex);
  visibility: hidden;
  font-size: 10vw;
  background: transparent;
  border: none;
  outline: none;
}

#apply--trigger {
  position: absolute;
  bottom: 5%;
  left: 50%;
  color: white;
  transform: translate(-50%, 0%);
  font-size: 2vw;
  visibility: hidden;
  font-size: 10vw;
  background: transparent;
  border: none;
}

#camera_preview_buttons {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
  visibility: hidden;
  width: auto;
  height: auto;
}
#loadingDiv {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
}

#modelSelectDiv {
  background-color: black;
  position: absolute;
  width: 90%;
  height: 90%;
  margin: 2.5%;
  display: grid;
  grid-template-columns: 47.5% 47.5%;
  grid-row: auto auto;
  grid-column-gap: 5%;
  grid-row-gap: 5%;
  display: none;
  left: 2.5%;
  top: 2.5%;
}

.modelImg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  object-fit: cover;
}
.shadow {
  display: block;
  top: 0%;
  width: 100%;
  filter: blur(20px); /* this is the magic part */
  height: 100%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 1;
  visibility: hidden;
}
.modelImg:hover {
  transform: scale(0.9);
}
.modelImg:hover ~ .shadow {
  visibility: visible;
}
.resimYazisi2 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-transform: uppercase;
  -webkit-writing-mode: vertical-rl;
  -webkit-text-orientation: upright;
  -webkit-text-transform: uppercase;
}
.resimYazisi2 {
  position: absolute;
  right: 2px;
  top: 22%;
}

.resimYazisi {
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-transform: uppercase;
  -webkit-writing-mode: vertical-rl;
  -webkit-text-orientation: upright;
  -webkit-text-transform: uppercase;
}

.resimYazisi {
  position: absolute;
  left: 2px;
  top: 25%;
}

#tryLabel {
  font-size: 8vw;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}

.kvkkContainer.hidden {
  display: none;
}

.modalSecondText {
  margin-left: 4em;
  margin-top: -1.5em;
  font-size: 2.5vw;
  font-weight: 200;
}

#liveCameraButton {
  display: none;
  position: relative !important;
  overflow: hidden;
}

.rightBottomCorner {
  width: 20%;
  height: 200%;
  position: absolute;
  top: -0.3em;
  background: transparent;
  border: 3px solid;
  transform: rotate(45deg);
  right: -1.7em;
}

.demo-text {
  position: absolute;
  font-size: 0.3em;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transform: rotate(-90deg);
  top: 6.7em;
  right: 5em;
}

.demo-text p {
  margin: 0;
}

@media only screen and (orientation: portrait) {
  body {
    padding: 0px;
    background-color: pink;
  }
  .column {
    padding: 0px;
    width: 100%;
    height: 50%;
    flex: 0;
  }
  .photoColumn {
    top: 0px;
    height: 80%;
  }
  .myrow {
    display: inline-block;
    position: absolute;
    margin-left: 0px;
    margin-right: 0px;
  }

  .result {
    width: 100%;
    height: 100%;
  }

  #tryLabel {
    margin-bottom: 4vh;
  }

  .modalSecondText {
    margin-top: -0.5em;
    margin-left: 3em;
  }

  .buttons-container {
    padding: 20px;
  }

  #camera--trigger {
    position: absolute;
    bottom: 5%;
    left: 50%;
    color: white;
    transform: translate(-50%, 0%);
    font-size: 10vw;
  }

  #apply--trigger {
    position: absolute;
    bottom: 5%;
    left: 50%;
    color: white;
    transform: translate(-50%, 0%);
    font-size: 10vw;
    visibility: hidden;
  }

  #photoMeduDiv {
    font-size: 7vw;
  }

  .fa-3x {
    font-size: 5em;
  }

  .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  .checkboxtext {
    position: absolute;
    top: -5px;
    left: 15px;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid #d0d0d0;
    z-index: 2;
    border-radius: 7px;
  }

  .checkboxtext:after {
    content: '';
    position: absolute;
    display: none;
  }

  .checkbox-container input:checked ~ .checkboxtext:after {
    display: block;
  }

  .checkbox-container .checkboxtext:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid rgb(255, 255, 255);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .demo-text {
    top: 7.2em;
    right: 5.8em;
  }
}

@media (max-width: 400px) {
  .guide-description {
    font-size: 1em;
  }
}

@media (max-height: 450px) {
  .guide-container {
    height: 75%;
    margin-bottom: 1em;
  }

  .guide-description {
    font-size: 1em;
  }

  .guide-title {
    margin: 0;
    font-size: 1.5em;
  }

  .guide-text-container {
    height: 7em;
  }

  .guide-image-container {
    max-height: calc(100% - 7em);
  }

  .photo-guide-btn {
    font-size: 1.4em;
  }
}
