/* #0070c0; */
/* #1F4788; */
/* #5b9bd5; */
body {
  margin: 0;
  padding: 0;
  color: #595959;
  font-size: 18px;
  font-family: Segoe UI, Arial, Helvetica, sans-serif;
  overflow: hidden;
}

a {
  display: block;
  text-decoration: none;
  text-align: center;
}

label {
  position: relative;
}
label:hover {
  cursor: pointer;
}
label:hover input::after {
  box-shadow: 0 0 13px 0 #97a6c4;
}
label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
label input:not([type=range])::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  transition: box-shadow 150ms;
}

.line {
  width: 30%;
  border-top: 1px solid rgba(89, 89, 89, 0.4);
  margin: 10px auto;
}

.bright {
  transition: filter 150ms;
}
.bright:hover {
  filter: brightness(1.1);
  cursor: pointer;
}

.info {
  position: absolute;
  display: flex;
  align-items: center;
  top: 0;
  right: 0;
  width: calc(100% - 20px);
  height: 100%;
  padding: 0 20px;
  background: #e5ebf7;
  color: #707070;
  font-size: 0.75em;
  box-shadow: 0 0 10px #97a6c4;
  transform: translateX(calc(100% + 16px));
  transition: transform 350ms;
}
.info::before {
  content: "?";
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
  border-radius: 9px 0 0 9px;
  background: #e5ebf7;
  box-shadow: 0 0 10px #97a6c4;
}
.info:hover {
  transform: translateX(15px);
}

/* specific */
#popup {
  width: 356px; /* 369px with more options */
  background-image: url("../img/circles.png");
  background-color: white;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
}

#title {
  margin: 5px auto 0;
}
#title img {
  width: 90%;
}

#content {
  margin: 15px 15px 15px 0;
}

#keys {
  position: relative;
  display: flex;
  margin-bottom: 15px;
  padding: 0 5px;
}
#keys label {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#keys input {
  margin-bottom: 3px;
}

#options label,
#strength,
#transition {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 35px 10px 20px;
}

#strength > div:first-child,
#transition > div:first-child {
  width: 35%;
}
#strength input,
#transition input {
  flex: 1;
  margin-left: 30px;
}

#strength-value,
#transition-value {
  flex: 1 1 40%;
}

#review {
  color: #707070;
  background: linear-gradient(45deg, white, #e5ebf7);
  box-shadow: 0 0 10px #97a6c4;
  padding: 10px 15px;
  font-style: italic;
}
#review img {
  width: 20px;
}
