/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url(montserrat-medium-500.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
  /* latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url(montserrat-light-300.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(montserrat-regular-400.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

.logo-container {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px 8px #0404047d;
    max-width: 100px;
    box-sizing: border-box;
    right: 0.7rem;
    bottom: 0;
    transform: translateY(50%);
    z-index: 10;
  }
  .card {
    background: #f8f8f8 !important;
    border-radius: 30px !important;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
  }
  .card:not(.qrc) .card-header {
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
  }
  .card:not(.qrc) .card-body {
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
  }
  .bg-custom-green {
    background-color: #035529;
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
  }
  .bg-custom-yellow {
    background-color: #ac810f;
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
  }
  .bg-custom-lightblue {
    background-color: #00A2C3;
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
  }
  .bg-custom-beige {
    background-color: #ECEFE8;
  }
  .font-weight-medium {
    font-weight: 500;
  }
  .table td {
    border-color: #666 !important;
    border-bottom: 1px solid #666;
    border-top: 0 !important;
  }
  h2.card-title {
    font-size: calc(.8rem + 2.5vmin);
  }
  h3.card-title {
    font-size: calc(0.7rem + 2.7vmin);
  }
  .card-text, .table {
    font-size: calc(0.7rem + .7vmin);
  }
  .logo-qrc-container {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px #d2d2d2;
    max-width: 100px;
    box-sizing: border-box;
    width: 100%;
  }
  .qrc.card {
    background: #f8f8f8 !important;
    border-radius: 30px !important;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
  }
  .qrc .card-footer {
    background: #f8f8f8;
    background: linear-gradient(
      180deg,
      #f8f8f8 50%,
      rgba(255, 255, 255, 1) 50%
    );
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .qrcode {
    border: 10px solid #fff;
    border-radius: 30px;
    margin: auto;
  }
  .canvas-cartellino {
    max-width: 570px;
    margin: auto;
  }
  .z-index-10 {
    z-index: 10;
  }
  #shareButton {
    transition: all .3s ease;
  }
  #shareButton:hover {
    cursor: pointer;
    opacity: .8;
    font-weight: 500;
  }
  @media all and (max-width: 360px) {
    .logo-container.p-3 {
      padding: .6rem !important;
    }
    .logo-container img {
      max-width: 26px !important;
    }
    .table.table-md td {
      padding: .3rem !important;
    }
  }