@import url('https://fonts.googleapis.com/css2?family=Intel+One+Mono:ital,wght@0,300..700;1,300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Intel One Mono", monospace;
}

body {
    width: 100%;
    height: 100vh;
    background: linear-gradient(50deg, #0a0a0a, #3a4452);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.calculater {
    border: 2px solid #717377;
    border-radius: 20px;
    padding: 20px;
    background: transparent;
    box-shadow: 0 3px 15px rgba(113, 115, 117, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
    max-width: 400px;
}

#inputBox {
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    background: transparent;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    font-size: 36px;
    text-align: right;
    color: white;
}

#inputBox::placeholder {
    color: #ccc;
}

.calculater div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

button {
    width: 22%;
    aspect-ratio: 1 / 1;
    margin: 1%;
    font-size: 20px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: wheat;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.1),
                4px 4px 10px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: scale(0.95);
}

.operater {
    background-color: rgb(91, 102, 114);
}

.equalbtn {
    background-color: rgb(126, 84, 7);
}

/* ✅ Responsive tweaks */
@media (max-width: 480px) {
    .calculater {
        padding: 15px;
    }

    #inputBox {
        font-size: 28px;
        padding: 15px;
    }

    button {
        font-size: 18px;
    }
}
