@font-face {
  font-family: Dudka;
  src: url(./assets/Dudka-Bold.ttf);
}

.hardness-level-widget {
  padding: 40px 20px 60px;
  color: #211f20;
  background-color: #eedbb9;
  font-family: Dudka, sans-serif;
  font-size: 20px;
  overflow: hidden;

  border: 40px solid transparent;
  border-image: url(./assets/frame-with-offset.png) 40 repeat;
}

.hardness-level-widget table {
  margin: 0 0 20px 20px;
  width: 100%;
  border-collapse: collapse;
}

.hardness-level-widget thead th {
  padding-bottom: 10px;
}

.hardness-level-widget th,
.hardness-level-widget td {
  width: 50px;
  text-align: left;
  border-style: hidden !important;
}

/* First column with the icons */
.hardness-level-widget th:first-of-type,
.hardness-level-widget td:first-of-type {
  text-align: center;
  width: 40px;
}

.hardness-level-widget .details-row {
  display: flex;
  align-items: center;
}

.hardness-level-widget table img {
  width: 30px;
}

.hardness-level {
  display: flex;
  align-items: center;
  gap: 10px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hardness-level .icons {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hardness-level img {
  max-width: 45px !important;
  max-height: 4vw;
}
