/* .wrapper {
  height: 100%;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
} */

body {
  background: #ffffff;
}

.tg-height {
  height: var(--tg-viewport-stable-height, 100vh);
  transition: height 0.35s linear;
}

.btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  margin: 10px 0;
  border-radius: 8px;
  color: #ffffff;
  border: none;
  background-color: #667eea;
  letter-spacing: 1px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: all 150ms ease;
  transition: all 150ms ease;
}

.btn:active {
  -webkit-transform: translateY(-3%);
  transform: translateY(-3%);
  -webkit-box-shadow: 0 4px 8px rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.08);
}

.btn:disabled,
.btn[disabled] {
  background-color: rgb(229, 229, 229);
  color: rgb(175, 175, 175);
}

#progressbar-full {
  width: 0%;
  transition: width 0.55s linear;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Скрываем стандартный чекбокс */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Ползунок */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

/* Круг внутри ползунка */
.slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

/* Когда чекбокс включен */
.switch input:checked + .slider {
  background-color: #db2777; /* фон */
}

.switch input:checked + .slider::before {
  transform: translateX(26px);
}

button {
  transition: all 0.35s ease-out 0s;
}

button:active {
  opacity: 0.6;
  transition: all 0.35s ease-out 0s;
}

/* закрыть апп */
.close-modal-button{
  
  z-index: 10;
  background-color: #fff;
  border-radius: 25px;
  height: 50px;
  width: 50px;
 
}

.close{
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 5px;
  overflow: hidden;
  padding: 10px;
  &:hover {
    &::before, &::after {
       
    }
  }

  &::before, &::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #fff;
  }
  &::before {
    transform: rotate(45deg);
  }
  &::after {
   transform: rotate(-45deg);
  }
  &.big {
   transform: scale(3);
  }
  &.hairline {
    &::before, &::after {
      height: 1px;
    }
  }
  &.thick {
    &::before, &::after {
      height: 4px;
      margin-top: -2px;
    }
  }
  &.black {
    &::before, &::after {
      height: 8px;
      margin-top: -4px;
    }
  }
  &.heavy {
    &::before, &::after {
      height: 12px;
      margin-top: -6px;
    }
  }
  &.pointy {
    &::Before, &::after {
      width: 200%;
      left: -50%;
    }
  }
  &.rounded {
    &::before, &::after {
      border-radius: 5px;
    }
  }
  &.blades {
    &::before, &::after {
      border-radius: 5px 0;
    }
  }
  &.warp {
    &::before, &::after {
      border-radius: 120% 0;
    }
  }
  &.fat {
    &::before, &::after {
      border-radius: 100%;
    }
  }
}
