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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f7592b;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 80vmin;
    height: auto;
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.headline {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2b2b2b;
}

.calculator {
    width: 100%;
    max-width: 400px;
    background: #2b2b2b;
    border-radius: 10px;
    overflow: hidden;
}

.display {
    background: #1e1e1e;
    padding: 20px;
}

.display input {
    width: 100%;
    height: 60px;
    background: #1e1e1e;
    border: none;
    color: #fff;
    font-size: 2rem;
    text-align: right;
    padding-right: 10px;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

button {
    width: 100%;
    height: 60px;
    font-size: 1.5rem;
    border: 1px solid #333;
    background: #444;
    color: #fff;
    outline: none;
    cursor: pointer;
    transition: all 1s ease-out;
}

button:hover {
    background: #555;
}

button.equal {
    background: #f39c12;
}

button.equal:hover {
    background: #e67e22;
}

button.history {
    background: #3498db;
}
svg{
    width: 20px;
    height: 20px;
    color: #fff;
}

button.history:hover {
    background: #2980b9;
}

.history-container {
    margin-top: 20px;
    display: none;
}

.history-container h2 {
    margin-bottom: 10px;
}

.history-container ul {
    list-style-type: none;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
}

.history-container li {
    background: #f1f1f1;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 5px;
}
