.blank_sheet_selection {
  padding: 10px;
  cursor: pointer;
  color: #fff;
  margin: 5px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  background-color: #fff;
  opacity: 0.8;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blank_sheet_selection:hover,
.blank_sheet_selection:focus-visible,
.blank_sheet_selection[aria-pressed="true"] {
  opacity: 1;
  border: 1px solid #000;
}

.blank_sheet_selection img {
  height: 70px;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  width: 70px;
}

#buttonFlex {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.blank_sheet_button {
  border: none;
  border-radius: 3px;
  padding: 15px;
  cursor: pointer;
  background-color: #175ae2;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  margin-left: 20px;
  width: 116px;
}

#size {
  width: 116px;
  font-size: 18px;
  background-color: #175ae2;
  color: #fff;
  padding: 10px;
  border-radius: 3px;
}

.blank_sheet_button:hover,
.blank_sheet_button:focus-visible,
#size:hover,
#size:focus-visible {
  background-color: #0f54df;
}

#blank_sheet_previewFrame {
  aspect-ratio: 628 / 813;
  height: auto;
  max-width: 628px;
  margin: auto;
  display: block;
  box-shadow: 3px 10px 13px #888888;
  width: 100%;
}

#blank_sheet_save {
  text-decoration: none;
}

#buttonGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  align-items: center;
  gap: 30px;
  max-width: 1139px;
  margin: auto;
}

@media screen and (max-width: 500px) {
  #buttonGrid {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
  }

  .blank_sheet_selection {
    width: 50px;
  }

  .blank_sheet_button {
    padding: 15px;
    font-size: 12px;
    margin-left: 10px;
    width: 90px;
  }

  #size {
    width: 90px;
    font-size: 12px;
    padding: 10px;
  }
}

#printFrame {
  visibility: hidden;
  width: 0;
  height: 0;
  border: 0;
}

body {
  color: rgb(80, 83, 75);
  font-family: Avenir, Arial, sans-serif;
  font-size: 16px;
}

.scales-center {
  text-align: center;
}

.scales-button {
  color: white;
  display: inline-block;
  cursor: pointer;
  background: rgb(0, 130, 255);
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 3px;
  margin: 20px 3px 3px;
  font: normal 17px sans-serif;
  font-family: "Montserrat", sans-serif;
  padding: 5px;
  height: 35px;
  box-shadow: 0 1px 3px 0 rgb(24, 24, 24);
}

.scales-button:hover,
.scales-button:focus-visible {
  background: rgb(7, 122, 245);
}
