* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: clamp(14px, 4vw, 20px);
  color: #fff;
}

#background-video {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

.app {
  width: 100%;
  min-width: 375px;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  font-size: 16px;
  text-align: center;
  vertical-align: bottom;
  padding: 10px 15px;
  background-color: #162538;
  border-radius: 26px;
  margin: 10px 0;
}

.percent {
  font-weight: bold;
  color: gold;
}

.description {
  background-color: #162538;
  border-radius: 11px;
  padding: 10px 25px;
  margin: 0 10px;
  opacity: 0.9;
}

.main p {
  text-align: left;
  padding: 1rem 1rem 0 0.5rem;
  font-size: 1.1rem;
}

.main {
  color: deepskyblue;
}

.main > .description {
  padding-bottom: 1rem;
  color: #fff;
}

.percent {
  color: goldenrod;
  font-weight: 600;
}

#count {
  color: greenyellow;
  font-weight: 600;
}

#stockcode {
  width: 90%;
  height: 50px;
  border-radius: 8px;
  border: 1px solid green;
  text-align: center;
  font-size: 1.1rem;
  margin-top: 20px;
}

#btnAnalysis {
  width: 90%;
  height: 58px;
  border-radius: 26px;
  margin-top: 20px;
  background-color: #162538;
  color: yellowgreen;
  font-size: 1.2rem;
  font-weight: 600;
  animation: a_btn 2s linear infinite;
  opacity: 0.8;
}

footer {
  margin-top: 15px;
  width: 100%;
  height: 50px;
  text-align: center;
  color: gray;
}

#convertPanel {
  padding: 20px;
  text-align: center;
}

#convertPanel > .title {
  padding: 15px 0;
  font-size: 15px;
  font-weight: 600;
  color: #e28412;
  text-align: center;
  margin: 0 auto;
}

#convertPanel > .description {
  padding-bottom: 8px;
  text-align: left;
  color: #fff;
  line-height: 28px;
  margin: 15px auto;
}

#convertPanel p {
  margin-bottom: 11px;
}

#btnConvert {
  width: 99%;
  height: 66px;
  border-radius: 12px;
  background-color: rgb(11, 205, 56);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  animation: a_btn 2s linear infinite;
}

@keyframes a_btn {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}
