body {
    background-color: hsl(0, 0%, 95%);

}

body h1 {
    margin: 0px;
    padding: 0px;
    text-align: center;
    background-color: hsl(0, 0%, 95%);
    font-family: Garamond, serif;
    font-size: 200%;

}


.webcontent {
    margin: 0px;
    display: flex;
    justify-content: center;
    height: 580px;
}


#calculator {
    font-family: Arial, sans-serif;
    background-color: hsl(0, 0%, 15%);
    max-width: 400px;

    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    /*for handling the display long equations*/
}

#display {
    width: 100%;
    height: 70px;
    padding: 10px;
    border: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 300%;
    text-align: left;
    background-color: hsl(0, 0%, 20%);
    color: white;
    overflow-x: auto;
}

#keys {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    grid-template-rows: repeat(4, 1fr);
    padding: 10px;
}

button {
    width: 90px;
    height: 90px;
    border-radius: 100px;
    border: none;
    background-color: hsl(0, 0%, 30%);
    color: white;
    font-size: 200%;
    font-weight: bold;
    cursor: pointer;

}

button:hover {
    background-color: hsl(0, 0%, 40%);
}

/*increasing the lightness*/
button:active {
    background-color: hsl(0, 0%, 50%);
}

.operator-btn {
    background-color: hsl(39, 100%, 40%);
}

.operator-btn:hover {
    background-color: hsl(39, 100%, 45%);
}

.operator-btn:active {
    background-color: hsl(35, 100%, 60%);
}

.history {
    background-color: hsl(0, 0%, 40%);
    border-radius: 15px;
    border-bottom-left-radius: 0px;
    max-width: 1000px;
    min-width: max-content;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    /* to make it resizable  */
    resize:horizontal;
    overflow: auto;

    cursor: pointer;
}

.header p{
    text-align: center;
    color: white;
    font-weight: bolder;
    font-size: larger;
}

.record {
    color: white;
    width: 100%;
    overflow-y: auto;
}