@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,500;1,600;1,700;1,800;1,900&display=swap');


/* ? CSS Reset */
* {
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  ;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 0;
}

/* ? Navbar */

#navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  height: 66px;
  background: #f5f5f5;
  width: 100%;
  position: fixed;
  z-index: 1000000;
}

#navbar #logo a {
  text-decoration: none;
}

#navbar #logo a h1 {
  color: #181818;
  font-size: 20px;
  font-weight: 500;
}

#navbar #logo a h1 span {
  background: -webkit-linear-gradient(top left, #00eaff, #005354);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

/* ? Settings */

#navbar #settings {
  display: flex;
  align-items: center;
}

#navbar #settings .settingBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background: #fff8f8;
  margin-left: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: 0.5s;
}

#navbar #settings .settingBtn:hover {
  background: #ccc;
}

#navbar #settings .settingBtn i {
  font-size: 22px;
  color: var(--textColor);
}

/** SideBar */
#sideBar {
  position: fixed;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 280px;
  background: #f5f5f5;
  height: 100%;
  z-index: 1000000;
  padding: 20px;
  /* margin: 10px; */
  transition: 0.5s;
  transform: translateX(400px);
}

#sideBar #close {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #fff;
  border: 1px solid #ccc;
  font-size: 25px;
  color: #343434;
  border-radius: 3px;
  cursor: pointer;
  /* transition: 0.5s; */

}

#sideBar a {
  display: flex;
  position: relative;
  top: 50px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #ccc;
  /* display: inline; */
  width: 100%;
  margin: 6px 0px;
  font-size: 16px;
  border-radius: 3px;
  text-decoration: none;
  color: #181818;
  text-underline-offset: 3px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.5s;
}

#sideBar #terms {
  position: absolute;
  bottom: 70px;
  width: 100%;

}

#sideBar a:hover {
  text-decoration: underline;
  color: #008386;
}

#sideBar #terms a {
  width: 86%;
  text-decoration: underline;
  color: #008386;
}

/*? Loader  */
#loader {
  background: #fff;
  height: 100vh;
  background-size: 20%;
  width: 100%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10000000;
}

#loader h1 {
  font-weight: 500;
  position: relative;
  font-size: 30px;
  /* color: #191919; */
}

#loader h1 span {
  background: -webkit-linear-gradient(top left, #00eaff, #005354);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* width: 100%;
    height: 100vh;
    background:#fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */

}

#passgen {
  position: relative;
  top: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* max-width: 100vh; */
  width: 100%;
  /* left: 24%; */
}

.heading {
  position: relative;
  text-align: center;
  top: 130px;
  font-size: 40px;
  font-weight: 500;
}

.heading span {
  background: -webkit-linear-gradient(top left, #00eaff, #005354);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

button {
  border: 0;
  outline: 0;
}

.container {
  margin: 40px 0;
  width: 400px;
  height: 580px;
  padding: 10px 25px;
  background: #f5f5f5;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.container #box {
  position: relative;
  top: 20px;
}

.container h2.title {
  font-size: 1.75rem;
  margin: 10px -5px;
  margin-bottom: 30px;
  color: #181818;
}

.result {
  position: relative;
  width: 100%;
  height: 65px;
  overflow: hidden;
}

.result__info {
  position: absolute;
  bottom: 4px;
  color: #181818;
  font-size: 0.8rem;
  transition: all 150ms ease-in-out;
  transform: translateY(200%);
  opacity: 0;
}

.result__info.right {
  right: 8px;
}

.result__info.left {
  left: 8px;
}

.result__viewbox {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ccc;
  color: #181818;
  text-align: center;
  line-height: 65px;
}

.result #copy-btn {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 38px;
  height: 38px;
  background: #181818;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: all 350ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  z-index: 2;
}

.result #copy-btn:active {
  box-shadow: 0 0 0 200px rgba(255, 255, 255, 0.08);
}

.result:hover #copy-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.35);
}

.field-title {
  position: absolute;
  top: -20px;
  left: 4px;
  padding: 10px 0px;
  transform: translateY(-50%);
  font-weight: 500;
  color: #181818;
  /* text-transform: uppercase; */
  font-size: 14px;
  pointer-events: none;
  user-select: none;
}

.options {
  width: 100%;
  height: auto;
  margin: 50px 0;
}

.range__slider {
  position: relative;
  width: 100%;
  top: 20px;
  height: calc(65px - 10px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 30px 0;
}

.range__slider::before,
.range__slider::after {
  position: absolute;
  color: #181818;
  font-size: 0.9rem;
  font-weight: 500;
}

.range__slider::before {
  content: attr(data-min);
  left: 10px;
}

.range__slider::after {
  content: attr(data-max);
  right: 10px;
}

.range__slider .length__title::after {
  content: attr(data-length);
  position: absolute;
  right: -16px;
  font-variant-numeric: tabular-nums;
  color: #181818;
}

#slider {
  -webkit-appearance: none;
  width: calc(100% - (70px));
  height: 2px;
  border-radius: 5px;
  background: #181818;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

#slider::-webkit-slider-thumb:hover {
  background: #3a3a3a;
  transform: scale(1.2);
}

#slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}

#slider::-moz-range-thumb:hover {
  background: #ccc;
}

.settings {
  position: relative;
  top: 30px;
  height: auto;
  widows: 100%;
  display: flex;
  flex-direction: column;
}

.settings .setting {
  position: relative;
  width: 100%;
  height: calc(65px - 10px);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px 25px;
  color: #181818;
  margin-bottom: 8px;
}

.settings .setting input {
  opacity: 0;
  position: absolute;
}

.settings .setting input+label {
  user-select: none;
}

.settings .setting input+label::before,
.settings .setting input+label::after {
  content: "";
  position: absolute;
  transition: 150ms cubic-bezier(0.24, 0, 0.5, 1);
  transform: translateY(-50%);
  top: 50%;
  right: 10px;
  cursor: pointer;
}

.settings .setting input+label::before {
  height: 30px;
  width: 50px;
  border-radius: 30px;
  background: #bebebe;
}

.settings .setting input+label::after {
  height: 24px;
  width: 24px;
  border-radius: 60px;
  right: 32px;
  background: #f5f5f5;
}

.settings .setting input:checked+label:before {
  background: #008386;
  transition: all 150ms cubic-bezier(0, 0, 0, 0.1);
}

.settings .setting input:checked+label:after {
  right: 14px;
}

.settings .setting input:focus+label:before {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.settings .setting input:disabled+label:before,
.settings .setting input:disabled+label:after {
  cursor: not-allowed;
}

.settings .setting input:disabled+label:before {
  background: #4f4f6a;
}

.settings .setting input:disabled+label:after {
  background: #909090;
}

.btn.generate {
  user-select: none;
  position: relative;
  top: 30px;
  width: 100%;
  height: 50px;
  margin: 10px 0;
  /* border-radius: 8px; */
  color: #fff;
  border: none;
  background: #06acae;
  /* letter-spacing: 1px; */
  box-shadow: 10px 10px 0px #003e3f;
  /* font-weight: bold; */
  font-weight: 600;
  /* text-transform: uppercase; */
  font-size: 16px;
  cursor: pointer;
  transition: all 150ms ease;
  transition: 0.5s;
}

.btn.generate:hover {
  box-shadow: 0px 0px 0px #003e3f;
}

.btn.generate:active {
  transform: translateY(-3%);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.08);
}

/* Home */
#mainHome {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  /* left: 10%; */
  top: 130px;
  flex-direction: column;
}

#mainHome h1 {
  text-align: center;
  font-weight: 600;
  font-size: 3rem;
  margin: 20px 0px;
  line-height: 60px;
}

#mainHome h2 {
  font-size: 18px;
  width: 80%;
  text-align: center;
  font-weight: 400;
}

#passgen {
  position: relative;
  top: 200px;
}

.heading {
  position: relative;
  top: 200px;
}


#howtouse {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  top: 250px;
  /* padding: 20px; */

  margin-bottom: 50px;
  left: 16%;
  width: 100%;
}

#howtouse h1 {
  /* display: flex;
  align-items: flex-start; */
  position: relative;
  left: 1%;
  font-weight: 500;
  font-size: 1.5rem;
  /* flex-wrap: wrap; */
}

#howtouse div {
  padding: 10px;
  margin: 10px;
  /* background: #f5f5f5; */
  border: 1px solid #ccc;
  border-radius: 7px;
  width: 62%;
}

#howtouse div p {
  text-decoration: none;
  position: relative;
  left: 0;
  font-size: 18px;
  padding: 10px;
}

#howtouse h1 span {
  /* display: flex; */
  /* font-weight: 600; */
  /* flex-direction: column; */
  /* align-items: flex-start; */
  background: -webkit-linear-gradient(top left, #00eaff, #005354);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

#howtouse strong {
  font-weight: 600;
}

#mainHome h1 {
  font-weight: 600;
}

@media (max-width:450px) and (min-width:220px) {
  body {
    /* background: #181818; */
  }

  footer .footer-section p {
    text-align: center;
    position: relative;
    left: 10%;
  }

  #howtouse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    top: 250px;
    /* padding: 20px; */
    left: 3%;
    width: 100%;
  }

  #howtouse h1 {
    display: flex;
    align-items: flex-start;
    position: relative;
    left: 2%;
    font-size: 1.5rem;
  }

  #howtouse div {
    padding: 10px;
    margin: 10px;
    /* background: #f5f5f5; */
    border: 1px solid #ccc;
    border-radius: 7px;
    width: 88%;

  }

  #howtouse div p {
    text-decoration: none;
    position: relative;
    left: 0;
    padding: 10px;
  }

  #howtouse #h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #howtouse #h1 span {
    /* display: flex; */
    margin-left: 0px;
    /* flex-direction: column; */
    /* align-items: flex-start; */
  }

  #mainHome h1 {
    font-size: 2rem;
    font-weight: 600;
    width: 80%;
    left: 10%;
  }

  body #mid {
    position: relative;
    top: 240px;
  }

  #mainHome h1 {
    font-size: 2.3rem;
    font-weight: 600;
    width: 90%;
  }

  #mainHome h2 {
    width: 90%;
  }

  #mid #midText {
    width: 90%;
  }
}

@media (max-width:768px) and (min-width:600px) {
  body {
    /* background: #000; */
  }

  #howtouse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    /* top: 100px; */
    /* padding: 20px; */
    /* left: 18%; */
    width: 100%;
  }

  #howtouse h1 {
    display: flex;
    align-items: flex-start;
    position: relative;
    left: 2%;
    font-size: 1.5rem;
  }

  #howtouse div {
    padding: 10px;
    margin: 10px;
    /* background: #f5f5f5; */
    border: 1px solid #ccc;
    border-radius: 7px;
    /* width: 63%; */
  }

  #howtouse div p {
    text-decoration: none;
    position: relative;
    left: 0;
    padding: 10px;
  }

  footer {
    position: relative;
    /* top: 00px; */
  }

  footer .footer-section p {
    text-align: center;
    position: relative;
    left: 10%;
  }
}

@media (max-width:600px) and (min-width:520px) {
  body {
    /* background: #000; */
  }

  #howtouse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    /* top: 50px; */
    /* padding: 20px; */
    left: 10%;
    width: 100%;
  }

  #howtouse h1 {
    display: flex;
    align-items: flex-start;
    position: relative;
    left: 2%;
    font-size: 1.5rem;
  }

  #howtouse div {
    padding: 10px;
    margin: 10px;
    /* background: #f5f5f5; */
    border: 1px solid #ccc;
    border-radius: 7px;
    width: 75%;
  }

  #howtouse div p {
    text-decoration: none;
    position: relative;
    left: 0;
    padding: 10px;
  }

  .lastdiv {
    padding-bottom: 0px;
  }

  footer .footer-section p {
    text-align: center;
    position: relative;
    left: 10%;
  }

  #mainHome h1 {
    font-size: 2.3rem;
    font-weight: 600;
  }
}

@media (max-width:519px) and (min-width:425px) {
  #howtouse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    /* top: 50px; */
    /* padding: 20px; */
    left: 5%;
    width: 100%;
  }

  #howtouse h1 {
    display: flex;
    align-items: flex-start;
    position: relative;
    left: 2%;
    font-size: 1.5rem;
  }

  #howtouse div {
    padding: 10px;
    margin: 10px;
    /* background: #f5f5f5; */
    border: 1px solid #ccc;
    border-radius: 7px;
    width: 83%;
  }

  #mainHome h1 {
    font-size: 2.3rem;
    font-weight: 600;
  }
}

@media (max-width:1600px) and (min-width:900px) {
  #mainHome h1 {
    width: 60%;
  }

  #mainHome h2 {
    width: 60%;
  }
}

#mid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  position: relative;
  top: 240px;
  background: #015e60;
  height: 250px;
  margin-top: 70px;
  margin-bottom: 50px;
}

#midText {
  text-align: center;
  position: relative;
  /* top: 0px; */
  width: 50%;
  color: #fff;
  margin: 50px 30px;
  font-size: 18px;
}

#findPin {
  position: relative;
  margin: auto;
  text-align: center;
  height: 50px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #181818;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  top: -35px;
  box-shadow: 10px 10px 0px #181818;
  transition: 0.5s;
  color: #181818;
  /* margin-bottom: 40px; */
}

#findPin:hover {
  box-shadow: 0px 0px 0px #012c2d;
}

#howtouse a {
  color: #008386;
}

/** Footer - Code */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  top: 250px;
}

.footer-container {
  display: flex;
  width: 100%;
  background: #f5f5f5;
}

.footer-container #first {
  width: 40%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  padding: 30px;
}

.footer-container #first h1 {
  font-weight: 500;
  font-size: 1.5rem;
  padding-bottom: 10px;
}

.footer-container #second {
  width: 25%;
  padding: 30px;
}

.footer-container #second h3 {
  font-weight: 500;

}

.footer-container #second ul {
  padding-top: 10px;
}

.footer-container #second ul li {
  list-style: none;
  padding: 5px;
}

#second ul li a {
  text-decoration: none;
  color: #00867f;
}

.footer-container #third {
  width: 35%;
  padding: 30px;
}

.footer-container #third h3 {
  font-weight: 500;
}

.footer-container #third ul {
  padding-top: 10px;
}

.footer-container #third ul li {
  list-style: none;
  padding: 5px;
}

.footer-container #third ul li a {
  text-decoration: none;
  color: #00867f;
}

.footer-container #third #div {
  display: flex;
  position: relative;
  /* left: -40px; */
  /* justify-content:space-around; */
}

.footer-container #third #div ul:nth-child(2) {
  position: relative;
  left: 5%;
}

.copyright {
  width: 100%;
  background: #fff;
  padding: 20px;
}

.copyright p {
  text-align: center;
  font-weight: 500;
}

.copyright p span {
  background: -webkit-linear-gradient(top left, #00eaff, #005354);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer #first h1 span {
  background: -webkit-linear-gradient(top left, #00eaff, #005354);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width:800px) {
  .footer-container {
    display: flex;
    width: 100%;
    background: #f5f5f5;
    flex-direction: column;
  }

  .footer-container #first {
    align-items: flex-start;
    justify-content: flex-start;
    width: 90%;
  }

  .footer-container #first p {
    text-align: left;
  }

  .footer-container #second {
    width: 90%;
  }

  .footer-container #third {
    width: 90%;
  }
}

@media screen and (max-width:770px) {
  .footer-container #first p {
    text-align: left;
    position: relative;
    left: 0;
    margin: 0;
  }

  .copyright p {
    text-align: center;
  }
}



/** Explore Our Tools */
#howtouse #toolX {
  border: none;
}

#howtouse #toolX .etool {
  width: 101%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  margin: 10px;
  position: relative;
  left: -2%;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #008386;
}

#howtouse #toolX .etool p {
  font-size: 17px;
  color: #005354;
  text-underline-offset: 4px;

}

#howtouse #toolX .etool i {
  height: 40px;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  color: #00867f;
  border-radius: 3px;
  border: 1px solid #ccc;
}

@media (max-width:1000px) and (min-width:800px) {
  body {
    /* background: #000; */
  }

  #howtouse #toolX .etool {
    width: 101%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px;
    position: relative;
    left: -3%;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
}

@media (max-width:800px) and (min-width:600px) {
  body {
    /* background: #000; */
  }

  #howtouse #toolX .etool {
    width: 101%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px;
    position: relative;
    left: -4%;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
}

@media (max-width:425px) and (min-width:300px) {
  body {
    /* background: #000; */
  }

  #howtouse #toolX .etool {
    width: 105%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px;
    position: relative;
    left: -20px;
    border: 1px solid #ccc;
    border-radius: 6px;
  }

  #howtouse h1 span {
    margin-left: 6px;
  }
}