@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
  margin: 0;
  padding: 0;
  outline: 0px;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  font-weight: bold;
  --width: 100vw;
  --height: 100vh;
}

body {
  background: #f6f7fb;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  min-height: var(--height);
  width: 100%;
  max-width: var(--width);
  overflow: hidden auto;
}

#container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#title {
  font-size: calc(20pt + 3vw);
  margin: 7rem auto 4rem;
}

p {
  color: #666;
  text-align: center;
  width: calc(100vw - 50px);
  margin-bottom: 25px;
  font-size: 12pt;
}

input {
  width: calc(100% - 60px);
  max-width: 460px;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#result {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 0;
  width: 400px;
  max-width: calc(var(--width) - 40px);
  height: 125px;
  position: relative;
  overflow: hidden;
}

#result > span {
  transform: translateX(-25%);
  font-size: 14pt;
}

#result > span b {
  font-size: 13pt;
  user-select: all;
}

#ring {
  position: absolute;
  top: -30%;
  right: 5%;
  width: 100px;
  height: 150px;
}

#description {
  max-width: 1000px;
  margin: 1rem auto;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

code {
  border-bottom: 1px solid rgba(137, 125, 154, 0.4);
  text-align:center;
  padding: 0 5px;
  margin: 0 5px;
}

#plot {
  box-shadow: 2px 2px 10px 5px rgba(176, 170, 185, 0.2);
  width: calc(var(--width) - 70px);
  max-width: 800px;
  margin: 2rem auto 1rem;
  border-radius: 14pt;
  overflow: hidden;
}

#plot .modebar-container {
  margin-top: 10px;
}

#plot .plotlyjsicon,
#plot .modebar-btn[data-title="Box Select"],
#plot .modebar-btn[data-title="Lasso Select"] {
  display: none !important;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222;
  text-align: center;
  color: #eee;
  width: var(--width);
  min-height: 60px;
}

footer a {
  text-decoration: none;
  color: #b284e4;
}

footer a:hover {
  text-decoration: underline;
  cursor: pointer;
}
