:root {
  --tipografia: "Roboto", Arial;
}

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

img,
picture,
video,
iframe,
figure {
  max-width: 100%;
  width: 100%;
  display: block;
}

a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}

p a {
  display: inline;
}

li {
  list-style-type: none;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
strong,
blockquote,
i,
b,
u,
em {
  font-size: 1em;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: none;
  color: inherit;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

form,
input,
textarea,
select,
button,
label {
  font-family: inherit;
  font-size: inherit;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
  background-color: transparent;
  color: inherit;
  display: block;
}

table,
tr,
td {
  border-collapse: collapse;
  border-spacing: 0;
}

svg {
  width: 100%;
  display: block;
  fill: currentColor;
}

body {
  font-size: 100%;
  font-family: var(--tipografia);
}

:root {
  --color-primary: #dfeaec;
  --color-secundary: #f2f2f2;
  --color-third: #2d2d2d;
  --color-blue: #0075ff;
  --color-red: #e2321e;
  --color-sombra: #d7d7d7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #181818;
    --color-secundary: #252525;
    --color-third: #f2f2f2;
    --color-sombra: #565656;
  }
}
body {
  background: var(--color-primary);
  color: var(--color-third);
}

.app {
  width: 90%;
  max-width: 720px;
  margin: 30px auto;
  padding: 20px;
  background: var(--color-secundary);
  border-radius: 5px;
  box-shadow: 0 0 10px 2px var(--color-sombra);
}
.app__h2 {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}
.app__input-group {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.app__input-group input[type=checkbox] {
  display: none;
}
.app__input-group input[type=checkbox]:checked + .app__checkbox .slider {
  left: calc(100% - 27px);
  background: var(--color-blue);
}
.app__input-num-caracteres {
  display: flex;
  align-items: center;
  gap: 20px;
}
.app__input-num-caracteres .indicador {
  display: inline-block;
  width: 28px;
  height: 22px;
  border-radius: 2px;
  background: var(--color-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  justify-content: center;
  position: relative;
  display: flex;
  align-items: center;
}
.app__input-num-caracteres .indicador::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  background: var(--color-blue);
  left: -4px;
  transform: rotate(45deg);
}
.app__checkbox {
  width: 58px;
  height: 27px;
  border: 1px solid rgba(204, 204, 204, 0.7);
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.app__checkbox .slider {
  width: 27px;
  height: 27px;
  left: 0;
  background: var(--color-red);
  border-radius: 5px;
  position: absolute;
  text-align: center;
  font-size: 20px;
  line-height: 27px;
  color: #fff;
  transition: all ease 0.5s;
}
.app__btn {
  width: 30%;
  height: 30px;
  border-radius: 10px;
  background: var(--color-blue);
  cursor: pointer;
  opacity: 1;
  transition: all ease 0.5s;
  color: #fff;
}
.app__btn:hover {
  opacity: 0.8;
}
.app__input-password {
  width: 60%;
  outline: none;
  border: 1px solid rgba(204, 204, 204, 0.7);
  background: transparent;
  padding: 5px 10px;
  text-align: center;
}
.app__input-password::-moz-selection {
  background: transparent;
}
.app__input-password::selection {
  background: transparent;
}
.app__alert-copied {
  opacity: 0;
  position: absolute;
  left: 60%;
  bottom: -20px;
  transition: all ease 0.3s;
}
.app__alert-copied.active {
  opacity: 1;
}

@media screen and (max-width: 520px) {
  .app__input-group h4 {
    font-size: 15px;
  }
  .app__input-group.password {
    justify-content: center;
    flex-direction: column;
  }
  .app__btn {
    width: 100%;
  }
  .app__input-password {
    width: 100%;
  }
  .app__alert-copied {
    left: auto;
  }
}/*# sourceMappingURL=styles.css.map */