
body {
    align-items: center;
    background-image: linear-gradient(236deg, #74ebd5, #acb6e5);
    display: flex;
    height: 100vh;
    justify-content: center;
}

.container {
    max-width: 25em;
}

.container>p {
    text-align: center;
}



.calculator__display {
    background-color:whitesmoke;
    color: red;
    font-size: 1.714285714em;
    padding: 0.5em 0.75em;
    text-align: right;
}

.calculator__keys {
    background-color: #999;
    display: grid;
    grid-gap: 1px;
    grid-template-columns: repeat(4, 1fr);
}

.calculator__keys>* {
    background-color: #fff;
    padding: 0.5em 1.25em;
    position: relative;
    text-align: center;
}

.calculator__keys>*:active::before,
.calculator__keys>.is-depressed::before {
    background-color: rgba(0, 0, 0, 0.2);
    bottom: 0;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5) inset;
    content: "";
    left: 0;
    opacity: 0.3;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.key--operator {
    background-color: #eee;
}

.key--equal {
    background-image: linear-gradient(to bottom, #fe886a, #ff7033);
    grid-column: -2;
    grid-row: 2 / span 4;
}

.calculator {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.18);
}


.calculator__keys>*:hover {
    transform: translateY(-2px);
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}
.key--operator {
    background-image: linear-gradient(to bottom right, #ff7e5f, #feb47b);
    color: #fff;
    border: none;
}
.key--equal {
    background-image: linear-gradient(to bottom right, #43cea2, #185a9d);
    color: #fff;
    border: none;
}

.calculator__keys>*:active {
    transform: scale(0.95);
    transition: transform 0.1s ease-in-out;
}

body {
    font-family: 'Poppins', sans-serif;
}
.calculator__display {
    font-family: 'Roboto Mono', monospace;
}
.calculator__display {
    transition: all 0.3s ease-in-out;
}

.calculator__keys>* {
    border-radius: 8px;
}
.calculator__display {
    border-radius: 12px 12px 0 0;
}

.calculator {
    height: 25em; 
    padding: 2em; 
}

.calculator__display {
    font-size: 2em; 
    padding: 1em 0.75em; 
    height: 2.5em; 
}

.calculator__keys>* {
    padding: 0.75em 0.75em; 
    font-size: 1.2em; 
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(120deg, #74ebd5, #acb6e5, #74ebd5);
    background-size: 300% 300%;
    animation: gradientAnimation 5s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.developer-credit:hover {
    color: #000;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.developer-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.85em;
    color: #666;
    font-style: italic;
    z-index: 1000; 
}


