* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a,
a:hover,
a:focus {
  border: none;
  outline: none;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
}

body {
  background: #fff;
  color: rgba(0, 0, 0, 0.6);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.6em;
  height: 100%;
}

.message_box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  font-weight: 700;
  color: #fae3e3;
  font-size: 0.9rem;
  overflow: hidden;
  z-index: 999;
}

.message_box .inner_message_container {
  background: #ED1B24;
  transform: translateY(-100%);
  will-change: transform;
  transition: transform 200ms ease;
  padding: 10px 40px;
  width: 100%;
  height: 100%;
}

.message_box .inner_message_container .text {
  word-wrap: break-word;
}

.content {
  margin: 24px auto;
}

.header {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 32px;
}

.header h1 {
  font-size: 28px;
  text-align: center;
  padding: 12px;
}

.form {
  border: 1px solid #d7d3d0;
  max-width: 680px;
  margin: auto;
}

.form .enc-dec,
.form .update-price {
  font-size: 18px;
  margin: 22px auto;
  padding: 0 12px;
}

.enc-dec .item,
.update-price .item {
  margin: auto;
  padding: 12px 16px;
  width: 100%;
  position: relative;
}

.enc-dec .item label,
.update-price .item label {
  display: inline-block;
  margin-bottom: 6px;
}

.enc-dec input[type="text"],
.enc-dec textarea,
.enc-dec button,
.update-price input[type="number"],
.update-price textarea,
.update-price button {
  line-height: 1.5;
  border: 1px solid #7ac9b7;
  border-radius: 4px;
  background-color: #fff;
  padding: 6px 15px;
}

.enc-dec input[type="text"],
.enc-dec textarea,
.update-price input[type="number"],
.update-price textarea {
  width: 100%;
  font-size: 16px;
}

.enc-dec input[type="radio"] {
  transform: scale(1.2);
}

.enc-dec button,
.update-price button {
  background: #2380fb;
  width: 180px;
  color: white;
  font-size: 18px;
  font-weight: 550;
  cursor: pointer;
}

.enc-dec input[type="text"]:focus,
.enc-dec input[type="text"]:hover,
.enc-dec textarea:focus,
.enc-dec textarea:hover,
.enc-dec button:focus,
.enc-dec button:hover,
.update-price input[type="number"]:focus,
.update-price input[type="number"]:hover,
.update-price textarea:focus,
.update-price textarea:hover,
.update-price button:focus,
.update-price button:hover {
  outline: 2px solid #80bdff;
}

.enc-dec textarea,
.update-price textarea {
  padding-top: 25px;
  overflow: auto;
  resize: vertical;
}

.enc-dec input[type="radio"] {
  cursor: pointer;
  margin: 3px 3px 0px 5px;
}

.tooltips {
  display: none;
  position: absolute;
  top: 45px;
  right: 28px;
}

.tooltips span {
  cursor: pointer;
  font-size: 16px;
}

.tooltips span:hover {
  /* background: #444; */
  color: blue;
}

.tooltips span:active {
  color: #b5e853;
}

.enc-dec textarea:hover~.tooltips,
.update-price textarea:hover~.tooltips,
.tooltips:hover {
  display: inline-block;
}

@media screen and (min-width: 480px) {
  .message_box {
    top: 0;
  }
}