* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f1f0f2;
  text-align: center;
  color: #323035;
}

#main-nav {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#main-nav ul {
  display: flex;
  gap: 2rem;
}

#main-nav a {
  text-decoration: none;
  font-size: 1.25rem;
  color: #7300ff;
  padding: 0.25rem 1.5rem;
  width: 12rem;
  display: inline-block;
  text-align: center;
}

#main-nav a:hover,
.active {
  background-color: #e7dbf6;
  border-radius: 4px;
}

#products-list {
  max-width: 25rem;
  margin: 2rem auto;
}

#products-list li {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid #323035;
}

#products-list a {
  text-decoration: none;
  color: inherit;
}

#product-price {
  font-size: 2rem;
  color: #535056;
  font-weight: bold;
}

h1 {
  font-size: 1.5rem;
}

main {
  max-width: 30rem;
  margin: 2rem auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #7300ff;
}
