@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root {
  --body-color: #fff7ed;
  --primary-color: #f59e0b;
  --secondary-color: #ffedd5;
  --dark-gray: #9ca3af;
  --light-gray: #f3f4f6;
  --white: #fafafa;
  --error: #ef4444;
  --profit: #22c55e;
  --loss: #f87171;
}
/* For typography */
body {
  font-family: "Poppins", sans-serif;
  margin: 0px;
  background-color: var(--body-color);
  height: 100vh;
}
/* For Containers */

hr {
  margin: 2rem 0;
}
.container {
  padding: 0 1rem;
}

.container-center {
  max-width: 600px;
  margin: auto;
}

/* For hero */
.hero {
  padding: 2rem;
  /* text-align: center; */
}

.hero .hero-heading {
  color: var(--primary-color);
  text-align: center;
}

.hero-subheading {
  color: var(--dark-gray);
  text-align: center;
}
.hero-subheading-highlight {
  color: var(--primary-color);
}

.hero .hero-img {
  max-width: 260px;
  display: block;
  margin: auto;
}

/* For Links */
.link {
  text-decoration: none;
  padding: 0.5rem 1rem;
}
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  cursor: pointer;
}
/* for sections */
.section {
  padding: 2rem;
}

.section h3,
.section h1 {
  text-align: center;
}
.section-off-white {
  background-color: var(--light-gray);
}

.section-output {
  position: relative;
}

.section-error {
  display: none;
  color: var(--error);
  text-align: center;
}

/* For button alignment */

.button-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
/* For Lists */
.list-non-bullet {
  list-style: none;
}

.list-item-inline {
  display: inline;
  padding: 0rem 0.5rem;
}

.unordered-list.list-non-bullet {
  padding-inline-start: 0px;
}

/* For nav */
.navigation {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1rem 4rem;
}

.navigation > .nav-brand {
  font-weight: bolder;
}

.navigation .link {
  color:var(--secondary-color);
}

.nav-pills {
  text-align: end;
}

.navigation .link-active {
  font-weight: bold;
}

/* for footer */

.footer {
  padding: 2rem 1rem;
  background-color: var(--primary-color);
  text-align: center;
}
.footer .link {
  color: var(--white);
}

.footer ul {
  padding-inline-start: 0px;
}

.footer .footer-header {
  font-size: large;
  font-weight: bold;
  color: var(--secondary-color);
}

.number-wrapper {
  text-align: center;
  margin: 1rem 2rem;
}

.label {
  color: var(--dark-gray);
}

.input-field {
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  border: 1px solid var(--primary-color);
  border-radius: 0.5rem;
}
.output-note,
.output-container {
  text-align: center;
}

.output-container {
  display: none;
  font-size: larger;
  font-weight: 500;
  color: var(--primary-color);
}

.profit-text {
  color:var(--profit);
}

.loss-text {
  color:var(--loss);
}

/* for icons */
.lni {
  font-size: larger;
  color: var(--icon-color);
}

.footer .lni {
  font-size: x-large;
  color: var(--icon-color);
}