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

.links {
    font-family: 'Courier New', Courier, monospace;
    color: white;
    margin-top: 6px;
}

.links a {
    color: white;
}

body {
    background-color: rgb(50,50,50);
    font-family: 'Helvetica Neue', sans-serif;
    margin: 25px;
}

.calculator {
    background: black;
    width: 563px;
    height: 1218px;
    border-radius: 50px;
    padding: 20px;
    color: white;
    position: relative;
}

.top-container {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    height: 250px;
}

.value {
    font-size: 130px;
    font-weight: 300;
    margin-bottom: 20px;
    height: 158px;
    text-align: right;
    margin-right: 20px;
}

.buttons-container {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.button {
    height: 110px;
    width: 110px;
    font-size: 45px;
    border-radius: 50%;
    cursor: pointer;
    background: #333;
    display: flex;
    justify-content: center;
    transition: filter .3s;
    align-items: center;
}

.button.function {
    color: black;
    background: #a5a5a5;
}

.button.operator {
    background:#f1a33c ;
}

.button.number-0 {
    width: 250px;
    border-radius: 55px;
    justify-content: flex-start;
    padding-left: 43px;
    grid-column: 1 / span 2;
    /* grid-column-start: 1; */
    /* grid-column-end: 3; */
}

.button:active,
.button:focus {
    filter: brightness(150%);
}

.bottom {
    width: 200px;
    height: 5px;
    background: white;
    border-radius: 4px;
    position: absolute;
    bottom: 10px;
    left: 50%;/*要素の左端を50%の位置に移動する*/
    transform: translateX(-50%);/*要素の中心を50%後退させる*/
}