@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Merriweather", serif;
    min-width: 100%;
    min-height: 100vh;
    background-image: url(images/background.jpg);
    background-position: center;
    background-size: cover;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 300px;
    height: 480px;
    border: none;
    background-color: #242424;
    border-radius: 30px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.7), -5px -5px 20px rgba(54, 54, 54, 0.8) inset;
    border: 2px solid rgb(37, 37, 37);
}

.display {
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 0px 10px;
}

.display input {
    width: 100%;
    margin: 10px;
    text-align: right;
    font-size: 25px;
    padding: 0px 10px;
    outline: none;
    border-radius: 15px;
    border: 2px solid black;
    box-shadow: 0px 0px 20px grey inset;
}

.keys {
    width: 100%;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
}

.btn-key {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.btn-key-last {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

button {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #202020;
    text-align: center;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn,
.btn-zero {
    background: linear-gradient(235deg, #fff, grey);
    font-weight: 500;
}

.btn-zero {
    width: 41%;
    border-radius: 50px;
}

.btn-side {
    background: linear-gradient(335deg, #ff5100, #ffc400);
    color: black;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0px 0px 5px #ff831d9c;
}

.btn-del {
    background: linear-gradient(235deg, #fff, grey);
    font-size: 17px;
    font-weight: 500;
}


button:hover {
    transform: scale(1.05);
    border: .5px solid grey;
}

button:active {
    transform: scale(0.95);
    box-shadow: 0px 0px 20px rgb(138, 138, 138);
}

::selection {
    background-color: transparent;
}
