/* 0. TO DO: Root properties
*/
:root {
  font-size: 1.25rem;
  --ff-base: "Inter", sans-serif;
  --ff-secondary: "Karla", sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 800;
  --color-background: #1c1c1c;
  --color-background-container: #1f2937;
  --color-text-primary: #fff;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.2;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

/* general styling */

body {
  font-family: var(--ff-base);
  font-weight: var(--fw-regular);
  color: var(--color-text-primary);
  background-color: #1c1c1c;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background-color: var(--color-background-container);
  width: 550px;
  height: 550px;
  padding: 115px 50px;
}

.password__header {
  font-family: var(--ff-secondary);
  font-size: 2rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
}

.highlight {
  color: #4adf86;
}

button {
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  background: #10b981;
  color: inherit;
  border: none;
  padding: 10px 10px;
  border-radius: 7px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.passwords__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
/* utilities */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.passwords__output {
  border-radius: 6px;
  width: 211px;
  height: 39px;
  padding: 5px;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #273549;
  color: #55f991;
}

/* component styles */
