/* Color Notes:

    Navbar: #193441;
    Footer: #193441;
    Button Color: #6496c8;
    Body Background: #D1DBBD;
    Main Background: #91AA9D;
    Calc Backgroudn: #467;

*/

html {
  position: relative;
  height: 100%;
}

body {
  background-color: #D1DBBD;
  min-width: 320px;
  width: 100%;
  height: 100%;
}

hr {
  width: 90%;
  margin-top: 20px;
  margin-bottom: -10px;
}

.main {
  background-color: #91AA9D;
  min-width: 320px;
  max-width: 1024px;
  margin: auto;
  margin-top: 50px;
  padding-top: 50px;
  height: 100%;
}

.calc {
  background-color: #467;
  width: 320px;
  height: 485px;
  margin: auto;
  border-radius: 10px;
  border-bottom-left-radius: 80px 20px;
  border-bottom-right-radius: 80px 20px;
  border-top-left-radius: 100px 10px;
  border-top-right-radius: 100px 10px;
  padding: 7px;
  box-shadow: 7px 10px 34px 1px rgba(0, 0, 0, 0.68), inset -1px -6px 12px 0.1px #245;
}

#logo {
  font-family: 'Play', serif;
  text-align: center;
  color: #CCD;
  text-shadow: 0.5px 0.5px 0.5px #223;
}

#display {
  background-color: #EEE;
  color: rgba(60, 60, 60, 0.8);
  width: 280px;
  height: 60px;
  margin: 5px auto 0 auto;
  border-radius: 100px 100px 100px 100px / 5px;
  padding: 10px 5px 10px 5px;
  text-align: right;
  line-height: 40px;
  font-family: 'VT323', monospace;
  font-size: 64px;
  box-shadow: inset 2px 2px 4px 1px rgba(0,0,0,0.9);
}
#display.small {
  font-size: 32px;
  line-height: 60px;
}

#solar-panel {
  box-shadow: inset 8px 5px 7px 0px rgba(0,0,0,0.9);
  y: 30px;
  margin-left: 12px;
  margin-bottom: 20px;
  margin-right: 8px;
  width: 124px;
  height: 50px;
}

rect {
  width: 30px;
  height: 50px;
  stroke-width: 3px;
  stroke: black;
  opacity: 0.7;
  fill: sienna;
}

#buttons {
  width: 320px;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;

}

.btn-outline-primary {
  background-color: white;
}

.calc-btn {
  padding: 0;
  vertical-align: top;
  width: 46px;
  height: 46px;
  margin-right: 8px;
  margin-left: 16px;
  margin-bottom: 18px;
  color: #fff;
  background-color: #58A;
  border: none;
  border-radius: 50%;
  display: inline-block;
  font-family: 'Play', sans-serif;
  font-size: 24px;
  text-align: center;
  box-shadow: 3px 3px 4px rgba(0,0,0,0.7);
}

.calc-btn:hover,
.calc-btn:active,
.calc-btn:focus {
  background-color: #479
}

.calc-btn:active,
.calc-btn:focus {
  box-shadow: inset 2px 2px 10px rgba(0,0,0,0.9);
  transform: translateY(4px);
}

.op-btn {
  background-color: #8AC;
  color: #225;
}
.op-btn:hover, 
.op-btn:active, 
.op-btn:focus {
  background-color: #79B;
}

.clr-btn {
  background-color: #D55;
}
.clr-btn:hover,
.clr-btn:active, 
.clr-btn:focus {
  background-color: #C44;
}



.text-shadow-white {
  color: #DDD;
}
.text-shadow-white:hover,
.text-shadow-white:focus {
  color: #FFF;
  text-shadow: 0 0 12px #FFF;
}







/* --- Begin Navbar CSS --- */
.nav-container {
  min-width: 414px;
  max-width: 1024px;
  margin: auto;
}
.navbar {
  background-color: #193441;
}
.navbar-brand {
  max-width: 240px;
}
.fixed-top {
  max-width: 1024px;
  margin: auto;
}
.navbar .navbar-toggler {
  border: 1px solid rgba(240,240,240, 0.8);
  margin-top: 3px;
  color: rgba(240,240,240, 0.8);
}
.navbar .navbar-toggler:hover,
.navbar .navbar-toggler:active {
  border-color: rgba(240,240,240, 0.9);
  color: white;
}
.fa .fa-bars:hover {
  color: white;
}
.navbar a {
  color: #DDD;
}
.navbar a:hover,
.navbar a:focus {
  color: #FFF;
}
/* === End Navbar CSS === */



/* --- Begin Footer CSS --- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 414px;
  max-width: 1024px;
  height: 45px; /* Set the fixed height of the footer here */
  background-color: #193441;
  padding: 0;
  margin: auto;
}
.footer p {
  margin-top: 10px;
  color: #DDD;
  display: visible;
}
.footer a {
  color: #b7deed;
}
.footer a:focus,
.footer a:hover {
  text-decoration: none;
  color: #48E;
}
.footer .social-media {
  font-size: 1.8em;
  padding: 0 4px 2px 4px;
}
/* === End Footer CSS === */


@media only screen and (max-width: 768px){
  .nav-container {
    padding: 0;
    width: 100%;
  }
  body {
    margin-bottom: 60px;
  }
  .footer {
    width: 100%;
  }
  .footer p {
    margin-top: 10px;
  }
}
@media only screen and (max-width: 576px){
  .footer {
    padding: 5px 0 10px;
    height: 80px;
  }
  .footer p {
    margin-top: 0;
  }
}

