@import url('https://fonts.googleapis.com/css2?family=Mulish&display=swap');

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Mulish', sans-serif;
  background-color: #3b3b98;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

h2 {
  margin: 0.6rem 0 1.25rem;
}

.container {
  background-color: #23235b;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
  padding: 2rem;
  width: 400px;
  max-width: 90%;
}

.result-container {
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 0.75rem 0.6rem;
  height: 3rem;
}

.result-container span {
  word-wrap: break-word;
  max-width: calc(100% - 2.5rem);
}

.result-container .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.5rem;
  font-size: 1.25rem;
}

.result-container .btn:active {
  transform: scale(0.98) translateY(-50%);
}

.btn {
  border: 0;
  background-color: #3b3b98;
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #252592;
}

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

.btn-large:active {
  transform: scale(0.98);
}

.btn:focus {
  outline: 0;
}

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

input:focus {
  outline: 0;
}

@media (max-width: 500px) {
  html {
    font-size: 11px;
  }
}
