@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Days+One&family=Inter:wght@300;400;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  background-color: black;
  color-scheme: light dark;
}
#viewer {
  display: flex;
  justify-content: center;
  margin: 40px 5px 0 5px;
  canvas {
    width: 100%;
    height: auto;
  }
  @media (min-width: 500px) {
    margin-top: 10px;
    canvas {
      width: 470px;
    }
  }
}
.controllers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  button {
    border-radius: 50%;
    padding: 3px 5px;
    border: none;
    box-shadow: 1px 2px 4px black;
    background-color: rgb(6 149 252 / 27%);
    cursor: pointer;
    svg {
      width: 40px;
      background: transparent;
    }
  }
  #goPage {
    border-radius: 5px;
    background-color: rgba(65, 210, 39, 0.821);
    padding: 4px 13px;
  }
  .goPageContainer {
    margin: 0 25px;
    input {
      width: 25px;
      text-align: center;
      padding: 2px;
      border: solid 1px white;
      border-radius: 5px;
    }
  }
  @media (min-width: 730px) {
    #previousPage {
      position: absolute;
      top: 50%;
      left: 5%;
      svg {
        width: 70px;
      }
    }
    #nextPage {
      position: absolute;
      top: 50%;
      right: 5%;
      svg {
        width: 70px;
      }
    }
  }
  @media (min-width: 1000px) {
    #previousPage {
      position: absolute;
      top: 50%;
      left: 10%;
      svg {
        width: 80px;
      }
    }
    #nextPage {
      position: absolute;
      top: 50%;
      right: 10%;
      svg {
        width: 80px;
      }
    }
  }
}
#loading {
  text-align: center;
  width: 200px;
  margin: 0 auto;
}
