html {
  background-color: #3e4555;
  /*font-family: monospace; */
  font-family: sans-serif;
}
table {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  /*font-variant: small-caps;*/
}
.calc-table td {
  height: 100px;
  width: 100px;
  color: black;
  background-color: lightgrey;
  text-align: center;
}
th {
  height: 100px;
  width: 400px;
  color: black;
  background-color: lightgrey;
}
#equation {
  height: 30px;
  font-size: 1.2rem;
  font-weight: lighter;
}
#result {
  border-radius: 3px 3px 0 0;
  font-size: 2rem;
  height: 60px;
}

td:hover {
  background-color: #3e4555;
  color: white;
  font-size: 120%;
}

#AC:hover,
#CE:hover {
  color: #c11935;
}
#divide:hover, #minus:hover, #plus:hover,
#multiply:hover, #equals:hover, #dot:hover   {
  color: #d18434;
  font-size: 140%;
}

/*fun box*/
.fun-box {
  text-align: center;
  width: 100%;
  height: 2.1rem;
}
#lessFun, #moreFun {
  padding-top: 0.8rem;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  height: 2.1rem;
  width: 200px;
  background-color: #4b5160;
  font-size: 0.8rem;
  border-radius: 3px 3px 0 0;
  display: inline-block;
}
#moreFun {
  margin-top: 2px;
  border-radius: 0 0 3px 3px;
}

#lessFun:hover, #moreFun:hover {
  background-color: #f1c689;
}

/*-------*/

.homeLink {
  margin-top: 10%;
  text-align: center;
}
.homeLink img {
  width: 30px;
}
img:hover {
  width: 50px;
}

/*DIAPLAY*/
/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2) {

    .calc-table td {
      height: 200px;
      width: 200px;
      font-size: 2rem;
  }
    #equation {
      height: 70px;
    }
    #result {
      height: 130px;
    }
}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {

    .calc-table td {
      height: 200px;
      width: 200px;
      font-size: 2rem;
  }
    #equation {
      height: 70px;
    }
    #result {
      height: 130px;
    }
}

/* ----------- other ----------- */

@media (min-width: 750px) {}

@media (min-width: 1125px) {}


/*#3e4555;
#4d4b51;
#c11935;
#857877;
#dea95e;*/
