* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: 24px;
  font-weight: 700; /* Use the appropriate numeric value for bold variant */
  margin-bottom: 24px;
}

p {
  line-height: 24px;
}

button {
  cursor: pointer;
}

#pdf-wrapper {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #606060;
  padding: 12px;
  box-sizing: border-box;
}

canvas {
  max-width: 100%;
}

/* iPhone SE */
@media (min-width: 320px) {
  canvas {
    max-height: 390px;
    /* width: 320px; */
  }
}

/* iPhone 12, iPhone 12 Pro */
@media (min-width: 389px) {
  canvas {
    max-height: 474px;
  }
}

/* iPad */
@media (min-width: 768px) {
  canvas {
    max-height: 930px;
  }
}

@media (min-width: 1024px) {
  canvas {
    max-height: 930px;
  }
}

@media (min-width: 1200px) {
  canvas {
    max-height: 100%;
  }
}

.top-bar {
  background: transparent;
  color: #fff;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
}

.top-bar-first {
  display: flex;
  align-items: center;
}

.btn-music-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  margin-right: 12px;
  border: none;
  outline: none;
}

.btn {
  background: #f4f4f4;
  color: #000;
  border: none;
  outline: none;
  cursor: pointer;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  transition: background 0.2s ease-out;
  margin-right: 4px;
}

.btn-modal,
.btn-arrow-left,
.btn-arrow-right {
  font-weight: 600;
}

.btn-arrow-left img {
  margin-top: -2px;
  width: 6px;
  margin-right: 4px;
}

.btn-arrow-right img {
  margin-top: -2px;
  width: 6px;
  margin-left: 4px;
}

.page-info {
  display: flex;
  width: 160px;
  align-items: center;
  justify-content: center;
}

.page-info span {
  margin-left: 4px;
  margin-right: 4px;
  font-weight: 600;
}

@media (max-width: 680px) {
  .mobile-remove {
    display: none;
  }

  .btn-arrow-left img {
    margin-top: 0px;
    width: 8px;
    margin-right: 0px;
  }

  .btn-arrow-right img {
    margin-top: 0px;
    width: 8px;
    margin-left: 0px;
  }
}

button:hover {
  background: rgb(195, 195, 195);
}

/* toggle */

.toggle {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background: #ccc;
  border-radius: 16px;
  width: 48px;
  height: 26px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}
.toggle-switch:before,
.toggle-switch:after {
  content: "";
}
.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  border-radius: 50%;

  width: 20px;
  height: 20px;
  top: 3px; /* Adjust top position to center the button vertically */
  position: absolute;

  left: 4px;
  transition: left 0.25s;
}

.toggle-checkbox:checked + .toggle-switch {
  background: #56c080;
}
.toggle-checkbox:checked + .toggle-switch:before {
  left: 25px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 5px;
  font-weight: 600;
  position: relative;
  top: 2px;
}

/* start-modal */

.start-modal {
  position: fixed;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

@media (max-width: 680px) {
  .start-modal {
    position: absolute; /* or any other position value as needed */
    align-items: flex-start;
  }

  .start-modal-inner {
    padding: 24px;
    border-radius: 0px;
  }
}

.start-modal.hidden {
  /* Set opacity to 0 when modal is hidden */
  opacity: 0;
}

.start-modal-inner {
  padding: 36px;
  max-width: 560px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 4px;
}

.start-modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* music-modal */

.music-container {
  position: relative;
}

.music-modal {
  margin-top: 12px;
  position: absolute;
  background: #f4f4f4;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
  width: 260px;
  right: 0px;
  display: none;
}

@media (max-width: 680px) {
  .music-modal {
    left: -88px;
  }
}

.music-modal-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 200px;
  margin-bottom: 16px;
}

.music-modal-buttons button {
  border: none;
  background-color: transparent;
  padding: 12px;
  width: 60px;
  border-radius: 50px;
  transition: background 0.2s ease-out;
}

.music-modal-buttons button img {
  margin-top: 2px;
  width: 20px;
}

.music-modal-buttons button:hover {
  background: #e8e8e8;
}

.music-container input {
  margin-top: 16px;
}

/*********** Baseline, reset styles ***********/
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
}

/* Removes default focus */
input[type="range"]:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
  background-color: #ededed;
  border-radius: 1rem;
  height: 0.5rem;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: -4px; /* Centers thumb on the track */
  background-color: #b5b5b5;
  border-radius: 0.5rem;
  height: 16px;
  width: 16px;
}

input[type="range"]:focus::-webkit-slider-thumb {
  outline: 3px solid #b5b5b5;
  outline-offset: 0.125rem;
}

/*********** Firefox styles ***********/
/* slider track */
input[type="range"]::-moz-range-track {
  background-color: #ededed;
  border-radius: 1rem;
  height: 0.5rem;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
  background-color: #b5b5b5;
  border: none; /*Removes extra border that FF applies*/
  border-radius: 0.5rem;
  height: 16px;
  width: 16px;
}

input[type="range"]:focus::-moz-range-thumb {
  outline: 3px solid #b5b5b5;
  outline-offset: 0.125rem;
}

select {
  appearance: none;
  /* safari */
  -webkit-appearance: none;
  /* other styles for aesthetics */
  width: 100%;
  font-size: 14px;
  padding: 12px;
  background-color: #fff;
  border: 1px solid #caced1;
  border-radius: 0.25rem;
  color: #000;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  border: 1px solid #ccc;
  padding: 8px 24px 8px 8px;
  font-size: 16px;
}

.custom-select-arrow {
  position: absolute;
  top: 40%;
  right: 8px;
  transform: translateY(-50%);
}
