#main-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

#windowStream {
  position: relative;
}

#deviceGestures {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000000;
}

#closePopUpIcon {
  top: 10px;
  right: -50px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  cursor: pointer;
}

#closingCrossLine1 {
  width: 2px;
  height: 17px;
  transform: rotate(45deg);
  position: absolute;
  background-color: #ffffff;
  border-radius: 2px;
}

#closingCrossLine2 {
  width: 2px;
  height: 17px;
  transform: rotate(-45deg);
  background-color: #ffffff;
  border-radius: 2px;
}

#smartphoneShape {
  position: relative;
  background: #000;
  padding: 35px 20px;
  border-radius: 15px;
  min-height: 868px;
  min-width: 438px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- loader --- */

.loader {
  display: block;
  position: absolute;
  width: 50%;
  display: grid;
  place-items: center;
}
.loader::before,
.loader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
}
.loader::before {
  width: 55px;
  height: 55px;
  border: 6px solid #9ccf4e;
  border-top-color: transparent;
  border-radius: 50%;
  animation: loader 1s linear infinite;
}
.loader::after {
  width: 53px;
  height: 53px;
  border: 4px solid transparent;
  border-top-color: #9ccf4e;
  border-radius: 50%;
  animation: loader 0.6s linear reverse infinite;
}
@keyframes loader {
  100% {
    transform: rotate(1turn);
  }
}
