/* This selector is selceting everything on the page, */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font: normal 25px Arial, sans-serif;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}


/* This is the background images and the height of HTML PAGE changing the background image and the background size */

html {
    height: 100%;
    background: url(https://33.media.tumblr.com/d4a884274dff05760e01bd3bdcc6defb/tumblr_nb1ulnMaP91st5lhmo1_1280.jpg);
    background-size: cover;
}
/*   */

input {
    position: absolute;
    z-index: 6;

    float: left;
    position: relative;
    top: 0;
    cursor: pointer;
    width: 66px;
    height: 56px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    box-shadow: 0px 4px rgba(0, 0, 0, 0.2);
    margin: 0 7px 11px 0;
    color: #ccc;
    line-height: 56px;
    outline:none;
    user-select: none;
    transition: all 0.2s ease;
    border-color:rgba(0, 0, 0, 0.2);
   
}


/* this selector is styling the whole calculator */

#calculator {
    width: 325px;
    height: auto;
    overflow: hidden;
    margin: 100px auto;
    padding: 20px 20px 9px;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}


/* this is the top screen of the cacl  */
.top .screen {
    height: 80px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 10px;
    
    font-size: 27px;
    font-weight: normal;
    line-height: 40px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: right;
    letter-spacing: 1px;
}

.keys,
.top {
    overflow: hidden;
}





.keys input.operator{
    background: rgba(250, 100, 0, 0.3);
    margin-right: 0;
}

.keys input.eval {
    color: #888e5f;
}





.keys input:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

.keys input.eval:hover {
    background: #abb850;
    color: #ffffff;
}






.keys input:active {
    
}

.keys input.eval:active {
    box-shadow: 0px 0px #717a33;
    top: 4px;
}



.top input.clear:active {
	top: 4px;
	box-shadow: 0px 0px #d3545d;
     outline:none;
}

.top input.clear:hover {
  border-radius:190px;
	background: rgba(0,0,0,0.1);
	color: white;
    outline:none;
}

.top input.clear {
	background: transparent;
	box-shadow: none;
	color: #aaa;
  width:56px;
  left:5px;
  border:none;
}






