body {
  text-align: center;
  padding: 50px;
  font-family: sans-serif;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  margin-bottom: 0;
  font-weight: 800;
}

p {
  margin: 0;
  font-weight: 500;
}

.spBr {
  display: none;
}

.title {
  margin-bottom: 20px;
}

.icon {
  width: 50%;
  margin: 0 auto 40px;
  max-width: 400px;
}

.icon img {
  width: 100%;
  height: auto;
}

.spinnerWrap {
  margin: 25px 0;
}

.spinner {
  border: 8px solid #e6ebf5;
  border-top: 8px solid #e94709;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
  margin: 20px auto;
}

#status {
  color: #abb3c6;
}

.bubble {
  position: relative;
  background: #c4cbd3;
  border-radius: 10px;
  padding: 5px 20px;
  text-align: center;
  width: fit-content;
  margin: 30px auto 10px;
  font-weight: bold;
}

.bubble p {
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: #c4cbd3 transparent transparent;
}

#waitingTime {
  margin-top: 10px;
}

#waitingTime span {
  color: #00aaff;
}

#waiting {
  display: none;
}

.waitingAnimation {
  width: 120px;
  margin: 20px auto;
}

.waitingAnimation img {
  width: 100%;
  height: auto;
}

#waitingNumber {
  display: inline-block;
  background-color: #e94709;
  color: #fff;
  padding: 15px 10px;
  font-size: 25px;
  font-weight: bold;
  border-radius: 10px;
}

#waitingCaution {
  color: #e94709;
  margin: 30px 0;
  display: none;
}

#waitingCaution p {
  margin-bottom: 20px;
}

.progress-container {
  width: 80%;
  max-width: 700px;
  height: 20px;
  background-color: #e6ebf5;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #00aaff;
  transition: width 1s linear;
}

#errorText {
  color: #e94709;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 765px) {
  body {
    padding: 20px;
  }

  main {
    display: grid;
    place-content: center;
    height: 90vh;
    text-align: left;
  }

  .icon {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 10px;
  }

  h1 {
    font-size: 24px;
  }

  .subTitle {
    font-size: 16px;
  }

  p {
    font-size: 13px;
  }

  #status {
    text-align: center;
  }

  .bubble {
    margin-top: 20px auto;
  }

  .progress-container {
    width: 100%;
  }

  #waiting {
    text-align: center;
  }

  #waitingTime {
    text-align: center;
  }

  #waitingCaution {
    margin: 20px 0;
  }
}
