* {
    box-sizing: border-box;
}

body {
    background-color: cadetblue;
    color: white;
    font-family: 'Muli', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    margin: 0;
}

h2 {
    margin: 10px 0 20px;
    text-align: center;
}

.container {
    background-color: rgb(64, 120, 128);
    box-shadow: 0px 2px 10px rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 350px;
    max-width: 100%;
}

.result-container {
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 12px 10px;
    height: 50px;
    width: 100%;
}

.result-container #result {
    word-wrap: break-word;
    max-width: calc(100% - 40px);
    overflow-y: scroll;
    height: 100%;
}

#result::-webkit-scrollbar {
    width: 1rem;
}

.result-container .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 60px;
    height: 40px;
    font-size: 20px;
}

.btn {
    border: none;
    background-color: cadetblue;
    color: white;
    font-size: 16px;
    padding: 8px 12px;
    cursor: pointer;
}

.btn-large {
    display: block;
    width: 100%;
}

.setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.setting input[type="text"] {
    padding: 5px 8px;
    font-size: 14px;
    width: 140px;
    border: none;
    border-radius: 3px;
    outline: none;
}

.history-container {
    background-color: rgb(64, 120, 128);
    box-shadow: 0px 2px 10px rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 350px;
    max-width: 100%;
    margin-top: 20px;
}

.history-container h3 {
    margin: 0 0 15px;
    text-align: center;
}

#history-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 15px 0;
    max-height: 120px;
    overflow-y: auto;
}

#history-list li {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    margin-bottom: 5px;
    word-break: break-all;
    font-size: 14px;
    letter-spacing: 1px;
}

#history-list::-webkit-scrollbar {
    width: 0.5rem;
}