body {
    margin: 0;
    font-family: sans-serif;
    font-size: 5vh;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: honeydew;
}

#calculator {
    background-color: rgb(42, 42, 42);
    display: flex;
    flex-direction: column;
    padding: 2vh;
    gap: 2vh;
    border-radius: 2vh;
}

#screen {
    width: 50vh;
    min-height: 20vh;
    background-color: white;
    border-radius: 2vh;
    padding: 2vh;
    background-color: rgb(187, 196, 166);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;
    word-break:break-all;
}

#result {
    font-size: 3vh;
    min-height: 4vh;
    text-align: end;
    width: 100%;
}

#current {
    font-size: 8vh;
    width: 100%;
    text-align: end;
}

#clear {
    display: flex;
    justify-content: space-between;
    gap: 2vh;
}

#clear div {
    flex: 1;
    height: 11vh;
    border-radius: 11vh;
    background-color: rgb(198, 87, 87); 
}

#clear div:active {
    background-color: rgb(218, 138, 138);
}

#input div,
#clear div {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
}

#input {
    width: 50vh;
    height: 50vh;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vh;
}

#input div {
    background-color: rgb(109, 109, 109); 
    border-radius: 50%;
}

#input div:active {
    background-color: rgb(165, 165, 165); 
}

#input .color{
    background-color: rgb(87, 152, 198); 
}

#input .color:active {
    background-color: rgb(155, 200, 233); 
}

.button:hover {
    transform: translateY(-0.2vh);
}