* {
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to left top, #000428, #004e92);
  margin: 0;
  color: #fff;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

p {
  margin: 5px 0;
}

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

input[type='checkbox'] {
  margin-right: 0;
}

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

.result-container {
  background-color: #434343;
  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);
}

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

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

.btn:hover {
  background: linear-gradient(to left top, #000428, #004e92);
}

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

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

@media (prefers-color-scheme: light) {
  body {
    background: #ecf0f3;
    color: black;
  }

  .container {
    background: #dedede;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  }

  .btn {
    background-color: #cbcbcb;
  }

  .result-container {
    background: #bbbbbb;
  }
}
