*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Segoe UI, sans-serif;
}

body{
height:100vh;
display:flex;
flex-direction:column;
background:linear-gradient(135deg,#141e30,#243b55);
}

.container{
flex:1;
display:flex;
justify-content:center;
align-items:center;
}

.calculator{
backdrop-filter:blur(15px);
background:rgba(255,255,255,0.08);
padding:25px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,0.4);
width:320px;
}

#display{
width:100%;
height:60px;
font-size:28px;
text-align:right;
padding:10px;
margin-bottom:10px;
border:none;
border-radius:10px;
background:linear-gradient(145deg,#717385,#202430);
color:white;
}

.history{
color:#bbb;
font-size:14px;
height:20px;
text-align:right;
margin-bottom:5px;
opacity:0.8;
}

.buttons{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:10px;
}

button{
height:55px;
border:none;
border-radius:12px;
font-size:18px;
background:rgba(255,255,255,0.1);
color:white;
cursor:pointer;
transition:0.2s;
}

button:hover{
background:rgba(2, 1, 1, 0.25);
transform:scale(1.05);
}

.operator{
background:#ff7b00;
}

.operator:hover{
background:#332a21;
}

.equal{
background:#00c896;
}

.equal:hover{
background:#00e5a8;
}


header{
display:flex;
align-items:center;
justify-content:center;
gap:15px;
padding:15px;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(10px);
}

#logo{
width:60px;
height:60px;
border-radius:50%;
object-fit:cover;
}

#text-holder {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 10px;
    color: #ccc;
    font-size: 12px;
    margin-top: 20px;
}
footer p a{
    margin: 5px 0;
    color: #ccc;   
}

button {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

button:active {
  transform: scale(0.9);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}
