/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  margin: 3% 4%;
  width: 92%;
  font-family: 'Roboto', sans-serif;
  /* background-color: blue; */
}

.banner {
  display: block;
  margin: auto;
  width: 100%;
  height: auto;
  max-width: 70rem;
  padding-bottom: 1rem;
}

h1 {
  font-size: 1.75rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

#user_name {
  font-size: 1rem;
  padding-bottom: 0.5rem;
  display: inline-block;
}

#user_name b {
  font-weight: bold;
}

#sign_in_button, #sign_out_button {
  margin-left: 2rem;
  text-decoration: none;
}

.admin_buttons {
  display: flex;
  justify-content: center;
}

.admin_buttons > div {
  margin: 30px;
}

.button {
  font-weight: normal;
  font-size: 0.9rem;
  background-color: black;
  color: white;
  padding: 7px 15px;
  border: none;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  width: fit-content;
}

.back_button {
  background: url('back_icon.svg') no-repeat left center;
  padding-left: 20px;
  display: inline-block;
  cursor:pointer;
  margin-bottom: 20px;
}

.intro {
  font-size: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.intro b {
  font-weight: bold;
}

.product-title-container
{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;

  overflow: hidden;
  margin-top: 0.2em;
  /* margin-bottom: 0.2em; */
}

.product-title {
  display: inline-block;
  font-size: 1rem;
  /* line-height: 1.4rem; */
  text-decoration: none;
  color: black;

  margin-top: auto;
  margin-bottom: auto;

  line-height: 1.2em; /* Set your desired line height */
  max-height: 3.6em; /* line-height * number of lines (e.g., 1.5em * 3 lines) */
}

.product-current-bid {
  font-size: 1.75rem;
  font-weight: bold;
  /* padding-top: 0.2rem; */
  padding-bottom: 0.1rem;
  /* background-color: red; */
}

.product-number-of-bids {
  color: #666;
  font-size: 1rem;
  display: block;
  /* background-color: brown; */
}

.products {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
  padding-top: 4%;
  /* background-color: yellow; */
}

.product-card, .hidden-product-card {
  max-width: 25em;
  display: block;
  text-decoration: none;
  color: black;
  margin-top: auto;
  margin-bottom: 2em;
  /* background-color: blue; */
  flex: 1 1 15em;
}

.hidden-product-card {
  visibility: hidden;
}

.product-image {
  display: block;
  width: 100%;
  max-height: 20em;
  object-fit: contain;
  text-align: center;
  /* background-color: pink; */
}

.product-info {
  text-align: center;
  /* background-color: red; */
}
