
/* yellow box with formula */
.temp-list-box {
  text-align: center;
  padding: 22px 28px 22px 28px;
  max-width: 540px;
  width: 72%;
  background-color: lightyellow;
  border: 1px solid red;
  line-height: 1.6;
}



/* just what it says this is a spacer */
.spacer {
  margin-top: 12px;
}



/* container for fraction divs */
.fraction-container {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 1rem;
  margin-bottom: 20px;
  border: 1px solid red;
}

/* container for numerator and denominator */
.fraction {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  margin-left: 10px; /* Space between "slope =" and the fraction */
}

/* numerator */
.fraction .numerator {
  border-bottom: 1px solid black;
  padding: 0 5px;
  padding-bottom: 5px; /* Add space between text and line */
}

/* denominator */
  .fraction .denominator {
  padding: 0 5px;
}






















/* Responsive styling for screens with max-width of 740px */
@media (max-width: 740px) {
	
/* yellow box with formula */
.temp-list-box {
  width: 80%;
}



/* just what it says this is a spacer */
.spacer {
  margin-top: 12px;
}



/* container for fraction divs */
.fraction-container {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 1.2rem;
  color: blue;
  margin-bottom: 20px;
  border: 1px solid red;
  width: 90%;
}

/* container for numerator and denominator */
.fraction {
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  vertical-align: middle;
  margin-left: 10px; /* Space between "slope =" and the fraction */
}

/* numerator */
.fraction .numerator {
  border-bottom: 1px solid black;
  font-size: 1.2rem;
  padding: 0 5px;
  padding-bottom: 5px; /* Add space between text and line */
}

/* denominator */
  .fraction .denominator {
  padding: 0 5px;
}
}








