@font-face {
  font-family: 'calcu'; 
  src: url('fuentes/MalbergTrial-regular.ttf')
}


body {
  font-family: calcu, sans-serif;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  background-color: #252935;

}

.calculadora-1{
  position: relative;
  margin-right: .5rem;
}

h1 {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px;
  text-align: center;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 40px;
  color:rgba(245, 255, 255, 0.9); 
  border-radius: 10px;
  box-shadow: 3px 3px 5px rgba(100, 100, 100, 0.8);
  background-color: #151926;
  border: double 1px #999;

}

h2 {
  text-align: center;
  margin-top: 10px;
  color: #666;

}
span{
  color: coral;
}

.calculadora {
  width: 315px;
  height: 300px;
  margin: 0 auto;
  background-color: #151926;
  background-size: cover;;
  background-repeat: no-repeat;
  padding: 30px 25px 30px 25px;
  border-radius: 10px;
  box-shadow: 3px 3px 5px rgba(100, 100, 100, 0.8);
  border: solid 0.3px rgb(30, 30, 30, 5.0);
  border: double 1px #999;

}

.pantalla {
  width: 90%;
  padding: 10px;
  font-size: 20px;
  margin-bottom: 10px;
  text-align: right;
  background-color: rgb(240, 250, 240, 1.0);
  box-shadow: inset 5px 5px 5px rgba(100, 100, 100, 0.5);
  border-radius: 5px;
  font-weight: bold;
  border: double 1px white
}

input[type="button"] {
  width: 70px;
  height: 40px;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 16px;
  background-color: rgb(240, 250, 240, 1.0);
  border: solid 0.3 black;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: inset 5px 5px 5px rgba(100, 100, 100, 0.5);
  font-weight: bold;
  color: #323948;
  border: double 2px white
}

#c{
  color:rgba(123, 1, 70, 0.9);
  box-shadow: inset 3px 3px 20px rgba(255, 53, 10, 0.15);
}
#borrar{
  color: #025f71;
  box-shadow: inset 3px 3px 30px rgba(0, 56, 56, 0.25);
}

#borrarUno{
  color: coral;
}

/* .imagen{

 width:80px; 
  height: 50px;
  background-image: url('iconos/calculadora.png');
  background-size: 100% 85%;
  background-repeat: no-repeat;
/*  border: none;*/
/* cursor: pointer;
 float: right;
} */


input[type="button"]:hover {
  background-color: rgb(225, 225, 225);
}

input[type="button"]:last-child {
  margin-right: 0;
}

.regulador{
  width: 100%;
  height: 57px;
}

.btn-calc{
  position: absolute;
  left: 93%;
  top:60%;
  height: 40px;
  width: 20px;
  cursor: pointer;
  background-color: transparent;
  border: solid 1px #999;
  border-radius: 2px;
  color: #999; 
  transition: ease 3.s;
}

.btn-calc:hover{
  border: solid 1px #333;
  color: #333;
}


.calc-science {
  display: none;
  perspective: 2000px;
}

.enabled {
  display: block;
  animation: rotacion 1.2s forwards;
}



/* animacion de rotacion */

@keyframes rotacion {
  from {
      transform: rotateY(-20deg);
      opacity: 0;
  }
  to {
      transform: rotateY(0deg);
      opacity: 1;
  }
}