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

.container {
  width: 90%;
  margin: 0 auto 2rem;
  max-width: 740px;
}

button {
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background: #52fe83;
  color: #fff;
  font-weight: 600;
}

button:hover {
  background: #52fe83;
}

body {
  font-family: "Open Sans";
  text-align: center;
  font-size: 15px;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 500px;
  width: 100%;
  background: linear-gradient(45deg, #52fe83, #47fdc0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
  z-index: -1000;
}

.bg title button {
  margin-top: 10px;
}

.title {
  color: #fff;
  margin: 3rem 0 2rem;
}

.title h1 {
  font-size: 1.5rem;
}

.title p {
  max-width: 470px;
  margin: 0.5rem auto;
}

section {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(128, 128, 128, 0.315);
}

section + section {
  margin-top: 1rem;
}

#formError {
  color: #ee3838;
  font-size: 12px;
  margin-bottom: 2rem;
}

.error {
  display: none;
  padding: 0.5rem;
  background: #ee3838;
  color: #fff;
  margin: 0.5rem 0;
  border-radius: 10px;
}

.calc__main {
  border-radius: 10px;
}

.calc__main__heading {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.calc__main__heading label {
  font-size: 13px;
}

.calc__main__heading input {
  width: 100%;
  max-width: 40px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #c5c5c5;
  padding: 0.2rem 0.1rem;
}

.calc__display {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  font-size: 12px;
}

.calc__display div {
  display: flex;
  align-items: center;
}

.calc__display div p {
  margin-left: 20px;
}

.calc__display div + div {
  margin-left: 20px;
}

.result__continue {
  display: none;
  border-radius: 10px;
}

.result__continue div {
  margin-top: 1rem;
}

.display__result {
  display: none;
}

.modal-bg {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.692);
  justify-content: center;
  align-items: center;
  display: flex;
}

.modal {
  background: white;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 90%;
  max-width: 740px;
  padding: 2rem;
}

.modal h2 {
  margin-bottom: 1rem;
}

.modal div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.modal div label {
  text-align: left;
}

.modal div input {
  padding: 0.5rem 0.5rem;
  border: 1px solid #c5c5c5;
  border-radius: 5px;
}

.modal div + div {
  margin-top: 1rem;
}

.modal button {
  margin-top: 2rem;
}

.display {
  margin: 2rem 0;
}

.display__output__container {
  display: flex;
}

.display__output__container select,
.display__output__container input {
  width: 100%;
  border: 1px solid #c5c5c5;
  border-radius: 5px;
  padding: 0.2rem 0.5rem;
}

.display__output__container * + * {
  margin-left: 10px;
}

.display__output__container ~ * {
  flex: 1 1 0px;
}

.display__output__container + .display__output__container {
  margin-top: 0.3rem;
}

.display__heading {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0.5rem;
}

.display__heading h3 {
  width: 100%;
  font-size: 13px;
}

.display__heading ~ * {
  flex: 1 1 0px;
}

.display__result {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.display__result__content {
  background: white;
  border-radius: 10px;
  width: 95%;
  max-width: 740px;
  padding: 2rem;
}

.display__result__content div {
  margin: 1rem 0;
}

.display__result__content div p + p {
  margin-top: 0.5rem;
}

.modalResult-bg {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.692);
  justify-content: center;
  align-items: center;
  margin-top: 0;
  display: none;
}

kbd {
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
  color: #333;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
  padding: 3px 4px;
  white-space: nowrap;
}

#modal {
  position: absolute;
  display: none;
  top: 3rem;
  width: 90%;
  max-width: 740px;
  margin-bottom: 3rem;
}

#modal .guide-modal {
  color: #060614;
  background: #fff;
  z-index: 1;
  border-radius: 5px;
  box-shadow: 0px 0px 0px 10px rgba(211, 211, 211, 0.363);
  animation: fadeIn 0.6s;
}

#modal .guide-modal .cancelBtn {
  font-size: 30px;
  color: #52fe83;
  background: #e9e9e9;
  padding: 0px 10px;
  border-radius: 100%;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

#modal .guide-modal .modal__content ul li {
  list-style: none;
  font-size: 15px;
  padding: 10px;
  font-weight: lighter;
  text-align: left;
}

#modal .guide-modal .modal__content ul li span {
  background: #d0dfff;
  padding: 3px 8px;
  border-radius: 5px;
}

#modal .guide-modal .modal__content ul li b {
  font-size: 20px;
  opacity: 0.3;
}

#modal .modal__content {
  padding: 2rem 0;
}

#modal .modal__content h2 span {
  color: #52fe83;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

footer {
  margin: auto;
  font-size: 12px;
  width: 90%;
}

@media (min-width: 500px) {
  .calc__display {
    font-size: 1rem;
  }
  #modal {
    top: 12rem;
  }
}
/*# sourceMappingURL=style.css.map */