@font-face {
  font-family: "DSEG7ClassicMini";
  src: url("fonts/DSEG7ClassicMini-Regular.woff2") format("woff2"),
       url("fonts/DSEG7ClassicMini-Regular.woff") format("woff");
}

body {
    background-color: #ccc;
}
header {
    max-width: 975px;
    background-color: #eee;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    margin-left: auto;
    margin-right:auto;
    margin-bottom: 30px;
    
}

section {
    max-width: 975px;
    background-color: #eee;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    margin-left: auto;
    margin-right:auto;
}

#calc {
   width: 500px;
   padding: 15px;
   background-color: #333;
   position: relative;
   border-radius: 5px;
   
   
}
#calc #display {
   background-color: black;
   font-family: DSEG7ClassicMini;
   color: red;
   text-align: right;
   font-size: 4em;
   padding: 15px;
   padding-top: 20px;  
   margin-bottom: 35px;
   margin-top: 15px;
}

#icons {
   top: 32px;
   left: 40px;                              
   color: rgba(255,0,0,0.25);
   position: absolute;
   font-family: Arial, sans-serif;
}

#icons .active {
   color: rgb(255,0,0);
}

#calc #display span {
   display: block;
   z-index: 10;
}

#calc #display:before {
    content: "8.8.8.8.8.8.8.8.8.";
    z-index: 1;
    color: rgba(255,0,0,0.25);
    display:block;
    position: absolute;
    right: 0;  
    margin-right: 30px;
}

#calc .row button {
  width: 100px;
  margin-right: 10px;
  margin-bottom: 10px;
  height: 100px;
  font-size: 2em;
  border-radius: 5px
}

#calc .row button.clear {
    background-color: rgb(255,102,0);
    border: 1px rgb(204,102,0) solid;
    color: white;                 
}

#calc .row button.clear:hover {
    background-color: rgb(204,102,0);                     
}

#calc .row button.number {
    background-color: rgb(102,153,255);
    border: 1px rgb(0,153,255) solid;
    color: white;                 
}

#calc .row button.number:hover {
    background-color: rgb(0,153,255);                     
}

#calc .row button.function {
    background-color: #aaa;
    border: 1px #999 solid;
    color: white;                 
}

#calc .row button.function:hover {
    background-color: #999;                     
}
 
header h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
