* {
  margin: 0;
  padding: 0;
}

body{
  overflow-x: hidden;
  background-color: #000;
  min-height: 100vh;
}

#pdf-container{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min-content;
  overflow-x: hidden;
}
#pdf-container > canvas, #pdf-preview > canvas{
  width: 100%;
  object-fit: contain;
}

#phone{
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 5rem;
  background-image: url("../img/frame.png");
  width: min-content;
  padding: 12.5vmin 3.24vmin 12vmin 3.6vmin;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#pdf-preview{
  width: 33.8vmin;
  height: 60vmin;
  overflow-x: hidden;
  overflow-y: scroll;
  background-color: #000;
}

#upload{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

#loader{
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}
.spinner{
  height: 2em;
  width: 2em;
  border-left: 2px solid #fff;
  border-right: none;
  border-top: none;
  border-bottom: none;
  border-radius: 1em;
  margin-left: auto;
  margin-right: auto;
  animation: spin 1s linear 0s infinite;
}
#loader > .spinner{
  height: 5rem;
  width: 5rem;
  border-radius: 10rem;
}
@keyframes spin {
  0%{
      transform: rotateZ(0);
  }
  100%{
      transform: rotateZ(360deg);
  }
}
