* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Mono", monospace;
}

body {
    background-color: #000;
    color: #ffffff;
    font-family: "IBM Plex Mono", monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.calculator {
    width: 100%;
    padding: 20px;
}

.box {
    background-color: #000;
    border: 2px solid #3c3c3c;
    border-radius: 13px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.input-field {
    width: 100%;
    height: 37px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 14px;
    font-family: "IBM Plex Mono", monospace;
    text-align: right;
    padding: 0 10px;
    outline: none;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

button {
    padding: 10px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "IBM Plex Mono", monospace !important;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    border-color: white;
}

.equals {
    grid-column: span 2;
}

.box:focus-within {
    border-color: white;
    transition: border-color 0.2s ease;
}