.heading
  {  
      text-align: center;
  }
  .outerbox
  {
    display: block;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 8rem;
  }

  .herobox
  {
    display: flex;
    background: #202A44;
    padding: 2rem 5rem;
    justify-content: center;
  }
  .herotextbox
  {
    margin: 0 6rem;
    color: white;
  }
/*quadraticbox*/
.quadraticbox
{
  display: inline-block;
  text-align: center;
  box-shadow: 1px 2px 20px #2828288c;
    padding: 1.5rem;
    border-radius: 1rem;
    max-width: 30rem;
}
.quadeqbox
{
  display: block;
}
.dbox
{
  background: #7a7979;
    color: white;
    padding: 1rem;
    margin-top: 1rem;
}
.dbox p
{
    color: white;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
}
.resultbox
{
  margin-top: 1.2rem;
  background: #ffbbed;
    color: white;
    padding: 0.7rem 1rem;
        display: flex;
    justify-content: space-between;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
.xsmallbox
{
   font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
    margin-bottom: 0;
}
.xcont
{
  margin: 1rem;
  display: inline-block;
    min-width: 9rem;
    padding: 0.5rem 0.7rem;
    background: crimson;
    border-radius: 0.4rem;
}
.calcbtn
{
  margin: 1.4rem 0 0;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
}
.delbtn
{
  float: right;
}
input
{
  padding: 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid #abaaaa;
    width: 4rem;
    text-align: center;
}
.eachbox
{
  margin-top: 1rem;
}
.entertext
{
      margin-bottom: 1rem;
  color: grey;
}
.vboxvar
{
  margin: 0 0.5rem;
  font-size: 1.2rem;
    color: #999595;
    font-weight: 700;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
*:focus {
    outline: none;
}

  /*list style*/

.liststyle
{
  font-style: italic;
  font-size: 0.9rem;
  color: #e1e1e1;
  list-style: inside;
  padding-left: 0;
}

.footer
{
        position: fixed;
    bottom: 0;
    width: 100%;
    background: #3c3c3c;
    padding: 0.7rem;
    color: white;
    text-align: center;
}
.footer p
{
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;

}


@media only screen and (max-width: 500px){
    .resultbox
    {
      flex-direction: column;
    }
    .quadraticbox {
      margin:1rem;
    }
    .herobox
    {
      flex-direction: column;
    padding: 1rem;
    }
    .heroimgbox
    {
      text-align: center;
    }
    .herotextbox
    {
      margin: 1rem;
    }
    h1
    {
      font-size: 2rem;
    text-align: center;
    }
    .outerbox {
    margin-top: 1rem;
    margin-bottom: 5rem;
}
.vboxvar {
    margin: 0 0.2rem
    }
    input {
    width: 3rem;
  }
  .dbox p {
    font-size: 0.9rem;
  }
   .footer p
    {
        font-size: 1rem;
    }
}


#article {
  padding: 0 10% 1%;
}