* {
  box-sizing: border-box;
}

body {
  margin: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fafafa;
  color: #212121;
  line-height: 1.5;

    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.04em;
}

#categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  width: 440px;
  height: auto;
}
.item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: #f6f6fe;
  width: 392px;
} 
.item h2 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    color: #2e2f42;
    margin: 16px 0;
}
.item ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  list-style-type: none;
}
.item li {
  border: 1px solid #808080;
  border-radius: 4px;
  width: 360px;
  height: 40px;
  padding: 8px 16px;
  font-weight: 400;
  color: #2e2f42;
}
input {
  border: 1px solid #808080;
  border-radius: 4px;
  width: 360px;
  height: 40px;
  padding: 8px 16px;
  font-weight: 400;
  color: #2e2f42;
  outline: none;
}
input:hover,
input:focus,
input:active {
  border-color: #2E2F42;
}
h1 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: #2e2f42;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  padding: 24px;
  width: 408px;
  height: 256px;
  background: #fff;

  font-weight: 400;
  color: #2e2f42;
}
.login-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  background: #4e75ff;
  padding: 8px 16px;
  width: 86px;
  height: 40px;
  color: #fff;
}
button:hover {
  background: #6c8cff;
  cursor: pointer;
}
.widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: auto;
  background: #fff;
  border-radius: 8px;
  padding: 100px 88px;
  width: 345px;
  height: 280px;

  font-weight: 400;
  color: #2e2f42;
  text-align: center;
}
.widget button {
  width: 148px;
}
