/*-- -------------------------- -->
<---         Rules PDF          -->
<--- -------------------------- -*/
html,
body {
  touch-action: pan-y pinch-zoom;
}
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #rules-pdf {
    /* 60px - 120px top & bottom */
    /* 16px - 40px left & right */
    padding: clamp(3.75rem, 8vw, 7.5rem) clamp(1rem, 2vw, 2.5rem);
    background-color: var(--primaryLight);
  }
  #rules-pdf .cs-container {
    text-align: center;
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #rules-pdf .cs-title {
    font-size: var(--headerFontSize);
    font-weight: 700;
    margin: 0;
  }
  #rules-pdf #pdf-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: var(--bodyfontsize);
    font-weight: 700;
  }
  #rules-pdf #pdf-controls .pdf-button {
    background-color: var(--primary);
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem;
    color: white;
  }
  #rules-pdf #pdf-controls .pdf-input {
    border: none;
    border-radius: 0.125rem;
    padding: 0.5rem 1rem;
  }
  #rules-pdf #pdf-controls label {
    margin-left: 1rem;
  }
  #rules-pdf #pdf-viewer {
    text-align: center;
  }
  #rules-pdf #pdf-viewer canvas {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 0.625rem;
  }
}
