
:root {
    --bg-color: #0b0f1e;
    --text-color: #c5cbed;
    --bg-ligth: #0f172a;
    --accent-color: cyan;

}

* {
    font-family: "Google Sans", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    background: var(--bg-color) ;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.calContainer {
    background: white;
    flex: 1;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 400px;
}

.display {
    background: var(--bg-ligth);
    padding: 14px;
    border-radius: 14px;
    border: 2px solid var(--text-color);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 1.6em;
    line-height: 1rem;
    overflow: hidden;

}

.display h1 {
    white-space: nowrap;
    text-align: end;
    font-weight: 800;
}

.btnsContainer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 8;
}

.btnRow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    flex: 4;
}

.smRow {
    flex: 4 !important;
}

.smRow>button:nth-child(1),
.smRow>button:nth-child(2) {
    background: white !important;
    color: var(--bg-color);
    
}

.btn { 
    background: var(--bg-color);
    color: var(--text-color);
    border: 2px solid var(--text-color);
    border-radius: 8px;
    place-items: center ;
    display: grid;
    cursor: pointer;
    transition-duration: 200ms;
}

.btn:hover {
    opacity: 0.8;
}

.btn p {
    font-size: 1.2rem;

}

.btnRow:last-child > .btn:nth-child(3) {
    border-color: var(--bg-color);
    background: white;
}

/* button {
    width: 30px;
    height: 30px;
    text-align: center;
    margin: auto;
} */


