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

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

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

.title {
  width: 95%;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: red;
}

.subtitle {
  font-size: 17px;
  text-align: center;
  vertical-align: bottom;
  padding: 3px 15px;
  margin: 10px 0;
}

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

.percent {
  color: #4c3bff;
  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;
}

#stockcode:focus {
  outline: none;
  border-color: green;
}

#btnAnalysis {
  width: 90%;
  height: 58px;
  border-radius: 26px;
  margin-top: 20px;
  background-color: #436289;
  color: greenyellow;
  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 {
  font-size: 16px;
  font-weight: 600;
  color: #5c3200;
  text-align: center;
  margin: 0 auto;
}

#convertPanel > .description {
  padding-bottom: 8px;
  text-align: left;
  color: #fff;
  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;
  border: 0;
}

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

  50% {
    transform: scale(0.95);
  }

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