@font-face {
  font-family: "Moressans";
  src: url("../fonts/Moressans.otf");
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf");
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

.layout {
  font-family: "Roboto";
  background-color: #f0f2f5;
}

.nav__layout {
  width: 100%;
  height: 6rem;
  background-color: #ffffff;
  border-bottom: solid 1px #d8d9dc;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 5rem;
}

.nav__logo {
  font-size: 1.8rem;
  font-family: "Moressans";
  font-weight: bold;
  color: #d71241;
}

.main__layout {
  width: 100%;
  min-height: calc(100dvh - 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.password__layout {
  width: 38rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #ffffff;
  border: solid 1px #eaeaea;
  border-radius: 10px;
  padding: 3rem;
  margin-bottom: 1rem;
  gap: 2rem;
}

.password__text {
  font-size: 1.8rem;
}

.password__secure {
  width: 100%;
  height: 1rem;
  border-radius: 10px;
  background-color: green;
  transition: all 250ms ease-in-out;
}

.generator__layout {
  width: 38rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #ffffff;
  border: solid 1px #eaeaea;
  border-radius: 10px;
  padding: 3rem;
}

.generator__top {
  width: 100%;
  border-bottom: solid 2px #f0f2f5;
  padding-bottom: 1rem;
}

.generator__title {
  font-size: 2.5rem;
  font-weight: 400;
}

.generator__bottom {
  width: 100%;
  margin-top: 2rem;
}

.generator__field {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}

.generator__field__checkbox {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.generator__label {
  font-family: "Roboto";
  font-size: 1.8rem;
}

.generator__range {
}

.generator__input {
  width: 5rem;
  height: 5rem;
  text-align: center;
  font-size: 1.8rem;
  border: solid 1px #c8c8c8;
  border-radius: 10px;
}

.generator__group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
}

.generator__checkbox {
  appearance: none;
  background-color: #d71241;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  position: relative;
}

.generator__checkbox:checked {
  background-color: #d71241;
  border-color: #d71241;
}

.generator__checkbox:checked::after {
  content: "✔";
  color: white;
  font-size: 16px;
  position: absolute;
  top: -2px;
  left: 3px;
}

.generator__button {
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-size: 1.8rem;
  color: #ffffff;
  background-color: #d71241;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

.generator__button:hover {
  background-color: #850b28;
}
