/* Сброс стилей */
input {
  font-family: 'Roboto', sans-serif
}
input, button {
  outline: 0
}
img {
  width: 100%;
  height: auto
}

/* Интерфейс */
.ui_container {
  max-width: 1200px;
  min-width: 50%;
  margin: -5rem 2rem 0
}
.ui_mb {
  margin-bottom: 3rem
}
.ui_header {
  margin-top: 0;
  color: dodgerblue;
  font-weight: 400
}
.ui_row {
  display: flex;
}
.ui_col {
  flex: 1 1 100%;
}
.ui_form__check__input {
  cursor: pointer;
  transform:scale(1.3);
  opacity:0.9;
  background: dodgerblue
}
.ui_form__сheck__label {
  cursor: pointer
}
.ui_btn--withIcon {
  flex-basis: 0%;
  font-weight: 300;
  font-size: 28px;
  padding: .5em;
  color: white;
  cursor: pointer;
  background: dodgerblue url(refresh.svg) no-repeat;
  border: .5em solid transparent;
  background-size: contain;
  transition: .5s ease-out;
  opacity: .95
}
.ui_btn--withIcon:hover {
  background-color: rgba(30,144,255,.8)
}
.ui_btn--withIcon:active {
  background-color: rgb(23, 134, 245)
}
.ui_input {
  border: 0;
  border-bottom: 3px solid dodgerblue
}
.ui_input--small {
  border-bottom-width: 1px
}

/* Анимации */
.a_show1,
.a_show2 > *,
.a_show3 > *,
.a_show4 {
  opacity:0;
  animation: show 1s 1;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  animation-delay: .2s;
}
.a_show2 :nth-child(1) {
  animation-duration: 1.2s;
  animation-delay: 1s;
}
.a_show2 :nth-child(2) {
  animation-duration: 1.2s;
  animation-delay: 1.5s;
}
.a_show3 :nth-child(1) {
  animation-duration: 1.6s;
  animation-delay: 2s;
}
.a_show3 :nth-child(2) {
  animation-duration: 1.6s;
  animation-delay: 2.2s;
}
.a_show3 :nth-child(3) {
  animation-duration: 1.6s;
  animation-delay: 2.4s;
}
.a_show3 :nth-child(4) {
  animation-duration: 1.6s;
  animation-delay: 2.6s;
}
.a_show3 :nth-child(5) {
  animation-duration: 1.6s;
  animation-delay: 2.8s;
}
.a_show4 {
  animation-duration: 2.2s;
  animation-delay: 3s;
}
@keyframes show{
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}
.a_pulse {
  animation: pulse 2s 3;
  animation-delay: 5s!important;
  animation-fill-mode: forwards
}
.a_pulse:hover {
  animation: pulse2 2s 1;
  animation-delay: .2s!important;
  animation-fill-mode: forwards
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30,144,255, 0.4)
  }
  70% {
    box-shadow: 0 0 0 20px rgba(30,144,255, 0)
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30,144,255, 0)
  }
}
@keyframes pulse2 {
  0% {
    box-shadow: 0 0 0 0 rgba(30,144,255, 0.4)
  }
  70% {
    box-shadow: 0 0 0 20px rgba(30,144,255, 0)
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30,144,255, 0)
  }
}

/* Tools - tls*/
.tls { /* body */
  font-family: 'Roboto', sans-serif;
  padding: 0;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  display: flex;
  color: #333;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  position: relative
}
@media (max-width: 640px) {
  .tls {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .tls {
    font-size: 18px;
  }
}
.tls_cover {
  margin-top: .5em;
  margin-right: 2.5em;
}
.tls_cover__image {
  width: 420px;
}
.tls_about {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ccc;
  font-size: .75rem
}

/* Password Generator - pg */
.pg_pwd {
  font-size: 1.5em;
  max-width: calc( 100% - 56px )
}
.pg_power {
  font-weight: 300
}
.pg_settings {
  font-size: .75em;
  flex-wrap: wrap
}
.pg_settings .ui_formGroup {
  margin-right: 2rem;
  margin-bottom: 1.5em
}
.pg_length {
  font-size: 1em;
}
