* {
  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: #2e2f42;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

input {
  font-family: "Montserrat", sans-serif;
  border: 1px solid #808080;
  border-radius: 4px;
  font-size: 16px;
  padding: 7px 15px;
  width: 360px;
}

input:hover {
  border: 1px solid #000;
}

input::placeholder {
  color: #2e2f42;
}

h1 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.33333;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form button {
  margin-top: 8px;
}

.login-form label {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.login-form button {
  width: 86px;
}

button {
  font-family: "Montserrat", sans-serif;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #fff;
  background-color: #4e75ff;
  border: none;
  cursor: pointer;
  display: block;
}

button:hover {
  background-color: #6c8cff;
}

.change-color {
  width: 148px;
}

p {
  font-family: "Montserrat", sans-serif;
}
