@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

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

.container {
    background: linear-gradient(135deg, #74ebd5 0%, #8593d2 100%);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calculator {
    background-color: #3a4452;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.1);
    animation: scaleIn 2s ease-in-out;
}

.calculator form input {
    border: 0;
    outline: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 10px;
    box-shadow:  5px 5px 10px rgba(0, 0, 0, 0.2), -5px -5px 10px rgba(255, 255, 255, 0.1);
    background: #3a4452;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}

.calculator form input:hover {
    box-shadow: inset 8px 8px 15px rgba(0, 0, 0, 0.3), inset -8px -8px 15px rgba(255, 255, 255, 0.2);
}

form .display {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
    padding: 15px;
    background: #3a4452;
    border-radius: 30px;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
}

form .display input {
    text-align: right;
    flex: 1;
    border-radius: 30px;
    padding-right: 30px;
    font-size: 45px;
    background: transparent;
    color: #fff;
    border: none;
}

form input.b {
    width: 145px;
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


form input.equal{
    width:145px;
    border-radius: 40px;
}