@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Regular.ttf") format("truetype"),
    url("fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #020711;
  color: white;
  font-family: "Nunito";
}

input[type="text"] {
  border-radius: 0.375rem;
  border: 1px solid #1e293b;
  color: white;
  background-color: transparent;
  width: 100%;
  height: 40px;
  font-family: "Nunito";
  font-size: 15px;
  padding-left: 10px;
  margin-top: 10px;
}

.break {
  flex-basis: 100%;
  height: 0;
}

.container {
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.head h1 {
  font-size: 30px;
  margin-bottom: 0;
}

.head p {
  text-align: center;
  width: 30%;
  font-size: 15px;
  color: #717685;
  margin-top: 0;
}

form {
  width: 25%;
}

.include {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.toggle {
  appearance: none;
  position: relative;
  box-sizing: border-box;
  border-radius: 2rem;
  height: 1.25rem;
  width: 2.25rem;
  background-color: #1e293b;
}

.toggle:focus-visible {
  outline-style: dotted;
  outline-color: #18181b;
}

.toggle:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  box-sizing: border-box;
  border-radius: 50%;
  transition-property: left;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  margin-left: 0.125rem;
  height: 1rem;
  width: 1rem;
  background-color: #09090b;
}

.toggle:checked:before {
  left: 1rem;
}

.toggle:checked {
  background-color: #fafafa;
}

.generate {
  margin-left: 1.5%;
  border: none;
  margin-top: 20px;
  background-color: #fafafa;
  color: #0f172a;
  border-radius: 0.375rem;
  width: 25%;
  height: 40px;
  font-family: "Nunito";
  font-weight: 600;
  font-size: 14px;
}

.generated {
  display: flex;
  width: 85%;
  height: 40px;
  border: solid 1px #1e293b;
  border-radius: 0.375rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.copy {
  border: none;
  background-color: #fafafa;
  color: #0f172a;
  border-radius: 0.375rem;
  font-family: "Nunito";
  width: 15%;
}

input[type="checkbox"],
button {
  cursor: pointer;
}
