* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgb(9, 9, 9);
    font-family: Arial, sans-serif;
}
/* heading and blue buttons */
.container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.sidebar {
    color: white;
}
h1 {
    font-size: 3.5rem;
}
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px; 
    margin-right: 230px;
}
.blue-button {
    background-color: #3b82f6; 
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.7s;
    margin-left: 4px;
}
.blue-button:hover {
    background-color: orange; 
    font-weight: bold;
}

/*Calculator Styling*/
.calculator {
    width: 320px;
    background-color: #111;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(85, 85, 82, 0.2);
}

.display {
    width: 100%;
    height: 70px;
    background-color: black;
    color: white;
    text-align: right;
    font-size: 2em;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Buttons Grid */
.buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}

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

/* Button Styles */
button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    cursor: pointer;
    transition: 0.2s;
}

.gray { background: #222; color: white; font-size: 16px;}
.dark-gray { background: #444; color: white; }
.black { background: #333; color: white; }
.orange { background: orange; color: white; }

button:hover {
    opacity: 0.7;
}
