@font-face {
    font-family: Pixel;
    src: url('../fonts/PixelPoint.ttf');
}

@font-face {
    font-family: Play;
    src: url('../fonts/Play-Regular.ttf');
}
*,*:before,*:after {-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box}
body,
html {
    margin: 0;
    padding: 1px;
    background: #39576f;
}

#calculator {
    width: 376px;
    height:500px;
    margin: 10px auto;
    background: #000;
    box-shadow: 0px 0px 40px #000;
    border: 2px solid #4d5368;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}

#calculator .logo {
    margin-top: 10px;
    margin-left: 15px;
    margin-bottom: 5px;
    float: left;
    font-style: bold;
    font-weight: 700;
    font-family: 'Play', 'Russo One', sans-serif;
    font-size: 1.4em;
    color: #acb4c1;
    -webkit-user-select: none;
}

#calculator v {
    font-size: 0.6em;
    margin-top: 20px;
    margin-right: 18px;
    color: #acb4c1;
    float: right;
    font-family: 'Play', 'Russo One', sans-serif;
    -webkit-user-select: none;
}

.raad {
    font-size: 0.7em;
    margin-top: 3px;
    margin-right: 22px;
    color: #acb4c1;
    float: right;
    font-family: 'Play', 'Russo One', sans-serif;
}

.form-control {
    text-align: center;
}

#display-box {
    position: relative;
    padding-right: 7px;
    padding-top: 22px;
    padding-bottom: 0px;
    width: 350px;
    height: 53px;
    margin-top: 5px;
    margin-bottom: 9px;
    font: 30px bold;
    font-family: "Pixel";
    text-align: right;
    border-radius: 5px;
    background: #b6d1c2;
    box-shadow: 0px 0px 40px #2b4753;
    display: inline-block;
}

.notification {
    position: absolute;
    z-index: 1;
    left: 65px;
    top: 58px;
    font-size: 12px;
    font-family: "Pixel";
}

.calc-rad {
    position: absolute;
    padding: 2px;
    padding-left: 5px;
    bottom: 2px;
    font-size: 14px;
    line-height: 14px;
    outline-width: 5px;
}

.calc-hold{
    position: absolute;
    z-index: 1;
    right: 8px;
    top: 58px;
    font-size: 12px;
    font-family: "Pixel";
}

.calc-top {
    margin: 7px;
    display: inline-block;
}

.calc-left {
    position: relative;
}

.sign {
    position: absolute;
    left: 39px;
    bottom: 4px;
    font-size: 8px;
    font-family: inherit;
    color: inherit;
}

.calc-down {
    margin: 11px;
    display: inline-block;
}



.trigo-keys {
    width: 40px;
    height: 27px;
    font-size: 1em;
    color: #fff;
    margin: 3px;
    cursor: pointer;
    background: #2b4753;
    border: 1px solid #1a2f38;
    border-radius: 5px;
    display: inline-block;
    font-family: 'Play', 'Russo One', sans-serif;
    vertical-align: middle;
}

.calc-second {
    background-color: #222;
    width: 40px;
    height: 27px;
    font-size: 1em;
    color: #d86672;
    margin: 3px;
    cursor: pointer;
    background: #2b4753;
    border: 1px solid #1a2f38;
    border-radius: 5px;
    display: inline-block;
    font-family: 'Play', 'Russo One', sans-serif;
    vertical-align: middle;
}

.trigo-keys:hover {
    background: #345361;
    border: 1px solid #1a2f38;
    border-radius: 5px;
}

.trigo-keys:active {
    font-size: 1em;
    color: #fff;
    background: #2b4753;
    border: 1px solid #000;
    border-radius: 5px;
}

.keys,.keys-intro{
    text-align: center;
    padding: 0px;
    color: #fff;
    font-family: 'Play', 'Russo One', sans-serif;
    font-size: 2em;
    cursor: pointer;
    margin: 1px;
    width: 62px;
    height: 50px;
    border: 2px solid #697394;
    border-top-left-radius: .6em;
    border-top-right-radius: .6em;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    background: #8696a5;
    display: inline-block;
    vertical-align: middle;
}

.keys:hover,.keys-intro:hover{
    color: #fff;
    background: #91a4b5;
}

.keys:active,.keys-intro:active {
    color: #fff;
    background: #758492;
    border: 2px solid #3f4969;
}

.keys2,.btn-blue-black{
    background: #4a5f73;
}

.keys2:hover,.btn-blue-black:hover {
    background: #52687d;
}

.keys2:active,.btn-blue-black:active {
    background: #425669;
    border: 2px solid #3f4969;
}

.del-ac {
    background: #c86e78;
    width: 134px;
}

.del-ac:hover,.btn-red:hover {
    background: #da7d88;
}

.del-ac:active,.btn-red:active {
    color: #fff;
    background: #bb626c;
    border: 2px solid #3f4969;
}

.equal {
    width: 134px;
    /*    background: #3f4661;*/
}

.calc-buttons {
    display: none;
}

.calc-blank {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 0px;
    height: 0px;
    padding: 0px;
    margin: 0px;
}

.calc-active{
    box-shadow: 0px 0px 3px #91a4b5;
}

.wrapper{
    text-align: center;
    width:800px;
    margin:5em auto;
}

.features{
    color: #fff;
    text-align: left;
    font-size: 1.1em;
    line-height: 1.4em;
}

.features ul {
    padding: 1.3em;
}

.features li {
    padding: 0.1em;

}

.calc-intro{
    margin: 5em 0;
}

.calc-sci{
    margin: 5em 0;
}

.info {
    text-align: left;
    margin:.8em auto;
    display: flex;

}

.des{
    color: #fff;
    display: inline-block;
    margin: 3px 5px;
    padding: 0 10px 0;
    flex: 1;

}

.logo {
    margin-top: 10px;
    margin-left: 15px;
    margin-bottom: 5px;
    font-style: bold;
    font-weight: 700;
    font-family: 'Play', 'Russo One', sans-serif;
    font-size: 2.7em;
    color: #fff;
    -webkit-user-select: none;
}

.title{
    color:#acb4c1 ;
    font-size: 22px;
    text-align: center;
    margin: 2em 0;
}


.trigo-keys {
    text-align: center;
    width: 40px;
    height: 27px;
    font-size: 1em;
    color: #fff;
    margin: 3px;
    cursor: pointer;
    background: #2b4753;
    border: 1px solid #1a2f38;
    border-radius: 5px;
    display: inline-block;
    font-family: 'Play', 'Russo One', sans-serif;
    vertical-align: middle;
}


.trigo-keys:hover {
    background: #345361;
    border: 1px solid #1a2f38;
    border-radius: 5px;
}

.trigo-keys:active {
    font-size: 1em;
    color: #fff;
    background: #2b4753;
    border: 1px solid #000;
    border-radius: 5px;
}

.btn-red {background: #c86e78; width: 62px;}


.calc-buttons {display: none;}

.calc-blank {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 0px;
    height: 0px;
    padding: 0px;
    margin: 0px;
}

.v {
    font-size: 0.3em;
    color: #acb4c1;
    font-family: 'Play', 'Russo One', sans-serif;

}

.footer{
    text-align: center;
    width:800px;
    margin:2.5em auto;
    color: #acb4c1;
}

.footer a{
    color: #acb4c1;
    text-decoration: none;
}

@media only screen and (max-width:800px){
    .wrapper,.footer{width: 100%; padding: 15px;}
}
@media only screen and (max-width:375px){
    #calculator {width:96%;margin:10px auto; padding: 10px; height: 560px;  }
    #display-box{width: 100%;}
    .calc-top{margin: 10px 0;}
    .keys{width: 55px;}
    .del-ac,.equal{width: 120px;}
    .wrapper{ margin:50px auto; }
}
