:root {
  --main-accent-color: blue;
  --gray: lightgray;
  --gray-text: rgb(162, 162, 162);
  --main-font: Arial, Helvetica, sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: var(--main-font);
}

p {
  font-size: 13px;
}

#center-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#center-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 90%;
  height: 90%;
  max-width: min(600px, 75vw);
  max-height: 550px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding-left: 30px;
  padding-right: 30px;
  overflow-x: hidden;
  overflow-y: scroll;
}

#next-button {
  color: white;
  background-color: var(--main-accent-color);
  border-radius: 3px;
  width: 70px;
  height: 35px;
  border: none;
  box-shadow: none;
}

#cancel-button {
  color: black;
  background-color: var(--gray);
  border-radius: 3px;
  width: 70px;
  height: 35px;
  border: none;
  box-shadow: none;
}

#main-header {
  color: var(--main-accent-color);
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 0px;
}

#button-container {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin-bottom: 30px;
  margin-top: 10px;
}

#image-container {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  object-fit: cover;
}

#content-box-image {
  max-width: 80%;
  display: block;
  flex: 1;
}

@media (max-width: 370px) {
  #content-box-image {
    max-width: 100%;
    display: block;
  }
}

@media (min-width: 610px) {
  #content-box-image {
    max-width: 60%;
    display: block;
    flex: 1;
  }
}

#serial-number-input {
  width: 100%;
  height: 25px;
  margin-bottom: 50px;
}

#product-text-container {
  background-color: whitesmoke;
  display: flex;
  justify-content: center;
  border: 1px solid black;
  margin-top: 35px;
}

#info-text-container-flex-grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

#info-text-container {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

#info-text-container p {
  color: var(--gray-text);
}

#info-text-container-flex-grow p {
  color: var(--gray-text);
}

#products-text {
  color: black;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 10px;
}

#center-box.hide-scrollbar {
  scrollbar-width: none;
}

#center-box.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.content-box-space-between {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex: 1;
}

.content-box-start {
  display: flex;
  justify-content: start;
  flex-direction: column;
  flex: 1;
}

.bold {
  font-weight: bold;
}

.justify-end {
  justify-content: end;
}
