:root {
	--clr-light-100: #fdfaf8;
	--clr-light-100-50: #fdfaf880;
	--clr-light-200: #f1f1f1;
  --clr-light-300: #DDDBD9;
	--clr-dark-900: #193358;
	--clr-accent-400: #5d9732;
	--clr-accent-500: #3f8236;
	--clr-dark-900-60: #19335899;
	--clr-dark-900-80: #193358cc;

	--section-padding: 9.5rem;
	--space-title-section: 5rem;
	--space-vertical: 4.88rem;

	--ff-headings: 'Inter', sans-serif;
	--ff-regular: 'Manrope', sans-serif;

	--fs-h1-h2: clamp(2rem, 3.695vw + 1.044rem, 4rem);
	--fs-h3: 4rem;
	--fs-regular: clamp(1rem, 0.231vw + 0.94rem, 1.125rem);
	--fs-strong: 1.375rem;
	--fs-small: 0.875rem;

	--fw-300: 300;
	--fw-400: 400;
	--fw-500: 500;
	--fw-600: 600;
	--fw-700: 700;
	--fw-800: 800;
	--fw-900: 900;

	--lineheight: clamp(3rem, 1.848vw + 2.522rem, 4rem);

	--br-sm: 1rem;
	--br-lg: 1.875rem;

	--card-box-shadow: 0px 0px 0px 0px #0000001a, 0px 14px 31px 0px #0000001a,
		0px 56px 56px 0px #00000017, 0px 125px 75px 0px #0000000d,
		0px 223px 89px 0px #00000003, 0px 349px 98px 0px #00000000;
}

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

html {
  background-color: var(--clr-dark-900);
  color: var(--clr-light-100);
}

body {
  font-family: "Manrope", sans-serif;
  max-width: 62rem;
  padding-inline: 2rem;
  margin-inline: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button, .btn {
  cursor: pointer;
}

.btn {
  padding: 0.75rem;
  border-radius: var(--br-sm);
}

.btn-accent-400 {
  background-color: var(--clr-accent-500);
  color:var(--clr-light-100)
}

/* -------------- NAV ------------------ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
}

nav .logo-container {
  max-width: 19rem;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1.12rem;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-block: 2rem 1.5rem;
  text-align: center;
}

/* -------------- FORM ------------------ */
.card {
  background-color: var(--clr-light-100);
  color: var(--clr-dark-900);
  border-radius: var(--br-lg);
  padding: 2.34rem;
  box-shadow: var(--card-box-shadow);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 1.62rem;
  column-gap: 3.25rem;
  margin-bottom: 6rem;
}

.input-group {
  display: flex;
  flex-direction: column;
}

input {
  background-color:#F1F1F1;
  font-size: 0.9rem;
  padding: 0.7rem 1.42rem;
  border-radius: var(--br-lg);
  border: none;
}

button#evaluateBtn {
  display: flex;
  align-items: center;
  font-family: inherit;
  color: var(--clr-light-100);
  font-size: 1rem;
  font-weight: 500;
  background-color: var(--clr-dark-900);
  padding: .5rem;
  border: none;
  width: fit-content;
  border-radius: 0.55rem;
  gap: 0.2rem;
}

/* -------------- GRAPH ------------------ */
h2 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.roi {
  background-color: var(--clr-accent-500);
  display: flex;
  width: fit-content;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--br-sm);
  font-size: 1.2rem;
  font-weight: 500;
  margin-inline: auto;
  margin-bottom: 1.7rem;
}

#roi {
  font-weight: 900;
}

.graph-container {
  padding: 3rem;
  margin-bottom: 14rem;
}

.graph {
  /* background-color: rgb(0, 0, 0, 0.4); */
  position: relative;
  margin-inline: 3rem;
  padding: 3rem;
}

.divider {
  width: calc(100% - 6rem);
  background-color: var(--clr-light-300);
  height: 3px;
  position: absolute;
  z-index: 1;
}

.divider::before {
  content: attr(data-number);
  position: absolute;
  left: -2.4rem;
    top: 50%;
    transform: translateY(-50%);
}

.chart {
  padding-inline: 2rem;
  height: 500px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: end;
  justify-items: center;
}

.chart-line {
  background: var(--clr-accent-500);
  width: 150px;
  position: relative;
  z-index: 2;
  margin-inline: auto;
  border-radius: 8px 8px 0 0;
}

.current-profit::after,
.expected-profit::after,
.coaching::after{
  content: attr(data-number);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1.4rem;
}

.current-profit::before,
.expected-profit::before,
.coaching::before {
  content: var(--_content-label);
  text-align: center;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.current-profit::before {
  --_content-label: 'Current Profit';
}

.expected-profit::before{
  --_content-label: 'Expected Profit';
}

.coaching::before{
  --_content-label: 'Coaching Investment';
}

/* -------------- FOOTER ------------------------ */
footer .links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.links-group {
  display: flex;
  flex-direction: column;
}

.link-group-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.links-group a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 0.4rem;
}

.social-media-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.legal {
  opacity: 0.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
}

.legal a {
  text-decoration: underline;
}

.toc {
display: flex;
gap: 1rem;
}