#main-container {
    display: grid;
    grid-template-columns: 50% 50%;
    margin: auto;
    padding-bottom: 24px;
}

#calculator-container {
    padding: 8px;
    margin: auto;
    width: 200px;
}

#display {
    resize: none;
    border: none;
    text-align: right;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    font-size: 18pt;
    margin: 16px 16px 10px 10px;
    max-width: 100%;
    overflow-x: scroll;
    /* background: #8fc7df; */
}

#display::-webkit-scrollbar {
    display: none;
}

#button-grid {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

#log-container {
    margin: auto;
    width: 140px;
    padding-top: 24px;
}

#log-entries {
    border: black solid 1px;
    border-radius: 10px;
    height: 100px;
    overflow-y: scroll;
}

.log-entry {
    width: 30%;
    padding: 0px 0px 0px 16px;
    text-align: left;
    font-size: 16px;
}

.calculator-button {
    height: 37px;
    background: #34495E;
    border: none;
    color: white;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    font-size: 10pt;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: 250px;
    margin: 2.5px;
    font-weight: bold;
}

.calculator-button:hover {
    filter: brightness(85%);
    cursor: pointer;
}

.calculator-button:active {
    filter: brightness(55%);
    cursor: pointer;
}

.operation-button {
    background: #43b985;
    font-size: 16pt;
}

.operation-button-selected {
    background: #73d9ab;
    font-size: 16pt;
}

.function-button {
    background: #4acc93;
    font-weight: normal;
}

@media (min-width: 800px) {

    #main-container {
        grid-template-columns: 50% 50%;
        max-width: 1050px;
    }

}

@media (max-width: 800px) {

    #main-container {
        grid-template-columns: none;
        grid-template-rows: auto auto;

    }
}