* {
  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;
}

/* List 1 */

#categories {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.item {
  padding: 24px;
  border-radius: 12px;
}

.item h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #2E2F42;

  font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 24px;
  
    line-height: 133%;
    letter-spacing: 0.04em;
    color: #2e2f42;
}

.item ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item li {
  padding: 8px 12px;
  border: 1px solid #2E2F42;
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
}

/* Gallery 2 */

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

.gallery-item {
  flex: 0 0 calc((100% - 36px) / 3);
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Anonymous 3 */

.placeholder {
  width: 360px;
  height: 40px;
  border-radius: 4px;

  font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
  
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #2e2f42;
}

.name-input {
  font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 24px;
  
    line-height: 133%;
    letter-spacing: 0.04em;
    color: #2e2f42;
}

/* Login and Pass 4 */
.login-form {
  font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
  
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #2e2f42;
}

.input {
width: 360px;
height: 40px;
border-radius: 4px;

  justify-content: center;
  flex-direction: column;
  color: 808080;
}

.input:hover {
  color: 000000;
}

.buttom-form {
  border-radius: 8px;
  border: none;
  padding: 8px 16px;
  width: 86px;
  height: 40px;
  background: #4e75ff;

    font-family: "Montserrat", sans-serif;
      font-weight: 500;
      font-size: 16px;
    
      line-height: 150%;
      letter-spacing: 0.04em;
      color: #fff;
}

.buttom-form:hover {
  background: #6c8cff;
}

/* Color 5 */
.color {
  font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
  
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #2e2f42;
}

.change-color {
  border-radius: 8px;
  border: none;
    padding: 8px 16px;
    width: 148px;
    height: 40px;

    background-color: #4e75ff;

    font-family: "Montserrat", sans-serif;
      font-weight: 500;
      font-size: 16px;
  
      line-height: 150%;
      letter-spacing: 0.04em;
      color: #fff;
}