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

body {
  background-color: #282a36;
  color: #fff;
  width: 95%;
  max-width: 1300px;
  margin: 10px auto;
}

form {
  width: 100%;
}
form .form-item {
  width: 100%;
}
form .form-item textarea, form .form-item select {
  color: #fff;
  background-color: #181920;
  width: 100%;
  outline: none;
  border: none;
  padding: 5px;
}
form .form-item textarea {
  resize: vertical;
}
form button {
  border: none;
  outline: none;
  background-color: #282a36;
  color: #fff;
  border-radius: 0;
  padding: 10px;
  cursor: pointer;
}
form button:hover {
  background-color: #15171d;
}
form input {
  outline: 1px solid;
  background: #282a36;
  color: #fff;
  outline: none;
  border: none;
  padding: 10px;
}
form #changes_allowed {
  width: 70px;
}
form .controls {
  margin-top: 5px;
  width: 100%;
}
form .controls .menu-bar {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
}
form .controls .menu-bar div, form .controls .menu-bar a {
  height: 100%;
  padding-inline: 20px;
  background: #282a36;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}
form .controls .menu-bar div:not(:first-child), form .controls .menu-bar a:not(:first-child) {
  border-left: none;
}
form .controls .menu-bar div:hover, form .controls .menu-bar a:hover {
  background: #262833;
}
form .controls .menu-bar div.selected, form .controls .menu-bar a.selected {
  border-bottom: none;
  background: #181920;
}
form .controls .content_wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
form .controls .content_wrapper div {
  background: #181920;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
form .controls .content_wrapper div:not(.selected) {
  display: none;
}

#result {
  width: 100%;
  background: #181920;
  margin-top: 10px;
  padding: 20px;
  display: block;
}
#result .decryption_result {
  display: flex;
  flex-direction: row;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
#result .decryption_result .amounts {
  width: max-content;
}
#result .decryption_result .amounts .amount {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
#result .decryption_result .amounts .amount .letter {
  width: 5px;
}
#result .decryption_result .amounts .amount .amount_bar {
  background: green;
}
#result .decryption_result .amounts .amount .translate_to {
  white-space: nowrap;
}
#result .decryption_result .text {
  word-wrap: break-word;
  overflow-x: hidden;
}
#result .decryption_result .text p:last-child {
  width: 100%;
}
#result .decryption_result #solving_message {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  white-space: nowrap;
  background: rgba(255, 0, 0, 0.5);
  width: 100%;
  text-align: center;
}

#viginere_result .text {
  word-wrap: break-word;
}
#viginere_result .amounts_wrapper {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}
#viginere_result .amounts {
  width: max-content;
}
#viginere_result .amounts .amount {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
#viginere_result .amounts .amount .letter {
  width: 5px;
}
#viginere_result .amounts .amount .amount_bar {
  background: green;
}
#viginere_result .amounts .amount .translate_to {
  white-space: nowrap;
}

#ceasar_result {
  word-wrap: break-word;
}

#from, #depth_search {
  width: 50px;
}

body {
  min-height: calc(100vh - 20px);
}

main {
  min-height: calc(100vh - 60px);
}

footer {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
footer a {
  color: #fff;
  text-decoration: none;
}

/*# sourceMappingURL=main.css.map */
