body {
  margin: 0;
  background-color: #C29999;
  background-image: url("check.png");
  background-attachment: fixed;
  animation-name: bg;
  animation-duration: 1.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  font-family: 'Poppins', sans-serif;
}

.btn {
  font-size: 12pt;
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2.0em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.0em;
}
.title {
  text-align: center;
  letter-spacing: 1px;
}
p {
  line-height: 1.5;
  text-align: justify;
}
.main {
  margin: 1em auto;
  max-width: 50em;
  padding: 0 1em 1em 1em;
  overflow: auto;
  background-color: #eee;
  color: #111;
  box-shadow: 0px 0px 8px black;
}
.fa-chevron-down {
  float: right;
  color: #777;
  font-size: 1.5em;
  transform: rotate(0deg);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
}
.fa-chevron-down.selected{
  transform: rotate(-180deg);
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 1em 0;
}
.flex-left {
  flex-basis: 25%;
}
.flex-right {
  flex-basis: 75%;
}
.flex-left-small {
  flex-basis: 15%;
}
.flex-right-small {
  flex-basis: 85%;
}
.flex-even {
  flex-basis: 50%;
}
.flex-title {
  font-weight: bold;
}
.monospaced-table td:nth-child(odd) {
  font-family: 'Roboto Mono', monospace;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th {
  text-align: left;
  border-bottom: 2px solid #ccc;
}
tr {
  border-bottom: 1px solid #ccc;
  transition: text-shadow 0.2s ease;
}
tr:hover {
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.125);
}
th, td {
  padding: 5px;
}
a>.fa {
  margin-right: 5px;
}
a {
  color: #337ab7;
  text-decoration: none;
}
a:hover {
  color: #23527c;
  text-decoration: underline;
}
a.button, .btn {
  display: inline-block;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  padding: 6px 12px;
  margin: 5px;
  text-align: center;
  border: 1px solid #d81b60;
  border-radius: 5px;
  cursor: pointer;
  color: #fff;
  background-color: #ec407a;
  transition: 0.2s;
}
a.button:hover, .btn:hover {
  border: 1px solid #c2185b;
  background-color: #e91e63;
}
a.button:active, .btn:active {
  border: 1px solid #ad1457;
  background-color: #d81b60;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
.pad {
  padding: 4px;
}
.button-row {
  text-align: center;
}
@keyframes bg {
  from {background-position: 0px 0px;}
  to {background-position: 16px 16px;}
}
.panel {
  margin: 20px 0;
  background-color: #fff;
  border: 1px solid transparent;
  border-color: #ddd;
  box-shadow: 0px 0px 2px rgba(0,0,0, 0.125);
}
.panel:first-child {
  margin-top: 0;
}
.panel:last-child {
  margin-bottom: 0;
}
.panel-heading {
  color: #333;
  background-color: #dddddd;
  border-color: #ddd;
  padding: 10px 15px;
  text-decoration: none;
}
.panel-heading:hover {
  text-decoration: underline;
  cursor: pointer;
}
.panel-heading .fa {
  margin-right: 10px;
}
.panel-body {
  background-color: #f8f8f8;
  display: none;
}
.padding-15 {
  padding: 15px;
}
.padding-15-table {
  padding: 10px 15px 15px 15px;
}
p:first-child {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}
ul.list-group {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.list-group li {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  border-bottom: 1px solid #ddd;
}
.badge {
  display: inline-block;
  float: right;
  font-weight: bold;
  padding: 3px 7px;
  font-size: 12px;
  color: #fff;
  text-align: center;
  width:30px;
  vertical-align: middle;
  background-color: #777;
  border-radius: 8px;
}
input[type="number"] {
  display: block;
  margin: 0;
  width: 740px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  box-shadow: none;
  padding: 5px 10px;
  outline: none;
  border: solid 1px #dcdcdc;
  transition: box-shadow 0.3s;
}
input[type="number"]:focus {
  box-shadow: inset 0 0 5px 1px #337ab7;
}
.input-wrapper {
  width: 800px;
  height: 39px;
  position: relative;
}
#collatz-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 37px;
  background-color: #dcdcdc;
  border: 1px solid #ccc;
  border-left: none;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
#collatz-button:hover {
  background-color: #ccc;
  border: 1px solid #bcbcbc;
  border-left: none;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.75);
}
#collatz-button:active {
  background-color: #bcbcbc;
  border: 1px solid #acacac;
  border-left: none;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.75);
  box-shadow: inset 1px 1px 2px 1px rgba(0, 0, 0, 0.25);
}
#collatz-button .fa {
  color: white;
  font-size: 24px;
  margin: 7px 9px;
}
canvas {
  margin: 10px;
  background-color: white;
  border: solid 1px black;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}
select {
  font-family: 'Poppins', sans-serif;
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
  transition: border-color ease 0.2s, box-shadow ease 0.2s;
}
select:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1), 0 0 8px rgba(102,175,233,.6);
}
.lighter {
  color: #999;
  cursor: not-allowed;
}
input[type="text"] {
	height: 39px;
  width: 96px;
  font-family: 'Poppins', sans-serif;
  font-size: 14pt;
  padding: 0 4px;
}
input[type="text"].bad {
  background-color: #FFDDDD;
  box-shadow: inset 0px 0px 4px rgba(204, 44, 44, 0.5);
}
.rule-label {
  padding: 0 4px;
  font-weight: bold;
}