/* Original source: https://github.com/NimJay/cymbal-direct/blob/main/nextjs-app/styles/global.css */
html,
body {
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    Fira Sans,
    Droid Sans,
    Helvetica Neue,
    sans-serif;
    font-optical-sizing: auto;
}

a {
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

/* Original source: https://github.com/NimJay/cymbal-direct/blob/main/nextjs-app/app/page.module.css */

.homePage {
  background-color: rgba(0, 0, 0, 0.02);
}

.homePage header {
  height: 60px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
  background-color: white;
}

.homePage header div {
  margin: auto;
  max-width: 1200px;
}

.homePage header div img {
  height: 38px;
  margin: 11px;
}

/* Original source: https://github.com/NimJay/cymbal-direct/blob/main/nextjs-app/components/placeholder-products-section.module.css */

.placeholderProductsSection {
  max-width: 1200px;
  padding: 15px 0;
  margin: auto;
}

.placeholderProductsSection h2 {
  display: block;
  margin: 20px 0 30px 0;
  padding: 0 20px;
  font-weight: normal;
}

.placeholderProductsSection ul {
  /* Remove default <li> styling */
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.productLi {
  flex: 0 0 33.33%;
  padding: 20px;
  cursor: not-allowed;
}

.productImgContainer {
  position: relative;
  max-width: 100%;
  max-height: 100%;
}

.productImgContainer img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 20% 0 20% 20%;
}

.productImgOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20% 0 20% 20%;
}

.productImgOverlay:hover {
  background-color: rgba(71, 0, 29, 0.2);
}

.productName {
  margin: 10px 0 0 0;
}

.productPrice {
  font-size: 16px;
  margin: 10px 0 0 0;
}

@media screen and (max-width: 768px) {
  .placeholderProductsSection h2 {
    font-size: 20px;
    margin: 10px 0;
    padding: 0 15px;
  }
  .productLi {
    padding: 15px;
  }
  .productName {
    font-size: 16px;
  }
}
