* {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: #1c1c1c;
    font-family: monospace;
}

.calculator {
    width:calc( 100% - 1rem);
    max-width: 360px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 0.5rem;
    background: transparent;
    border: 1px solid #2c2c2c;
    box-shadow: 1px 3px 6px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.calculator input {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 2rem);
    width: 100%;
    height: 200%;
    padding: 1rem;
    text-align: right;
    border: none;
    color: white;
    background-color: transparent;
}

.calculator input::placeholder {
    font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
    color: white;
}

.calculator input:focus {
    outline: none !important;
    border: none !important;
}

.calc-btn-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.calc-btn-container button {
    width: 4rem;
    height: 4rem;
    font-size: clamp(0.8rem, 1vw + 0.4rem, 1.2rem);
    border: none;
    border-radius: 50%;
    background-color: #2e2e2e;
    color: white;
    cursor: pointer;
    box-shadow: 1px 2px 4px rgba(255, 255, 255, 0.2);
}

#equal-btn {
    background-color: #114ccc;
    font-weight: bold;
}

#operator {
    background-color: #1e1e1e;
    font-weight: bold;
}