body {
  margin: 0;
}
#main{
  position: relative;
  background-image: url("../images/constant-background.svg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:top;
  height: 650px;
  width: max-content;
  width: -moz-max-content;
  width: -webkit-max-content;
  width: -o-max-content;
  padding: 20px;
}

#rocket-wrapper {
  position: relative;
  display: block;
  float: left;
  width: 100%;
  max-width: 800px;
  max-height: 650px;
  overflow: hidden;

}

#rocket-controls {
  box-sizing: border-box;
  background-image:  url("../images/control-panel-bg-bordered.svg"),
   url("../images/control-popup-bg.svg");
  background-position:  center;
  background-repeat:no-repeat;
  background-size: 100%;
  position: absolute;
  bottom: 0;
  width: 807px;
  height: 255px;
  padding: 20px;
  padding-top: 50px;
  z-index: 1;
  display: flex;
  transition: bottom .5s ease, opacity .5s ease, scale .5s ease;
}

#rocket-controls:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-image: url("../images/control-popup-bg.svg");
  bottom: 0px;
  left: 0;
}

.game-loader: {
  position: absolute;
  width: 400px;
  height: 50px;
  background-color: 'green';
  z-index: 2000;
}

.sim-active #rocket-controls {
  bottom: -100px;
  opacity: 0;
}

.rocket-slides {
  width: 60%;
  display: flex;
}

.rocket-slide-wrapper {
  width: 33.333%;
  text-align: center;
}

.unit{
  font-size: 22px;
  color: white;
  display: contents;
  font-family: Poppins;
  font-weight: 100;
  padding: 0;
  margin: 0;
}

.rocket-buttons {
  display: flex;
  flex-direction: column;
}

.rocket-button-wrapper {
  width: 100%;
  text-align: center;
}

.info-wrapper{
  float: left;
  display: -webkit-box;
  height:auto;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
   align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.rocket-slide-label,
.rocket-button-label {
  color: #3D86C6;
  font-family: Poppins;
  font-weight: bold;
  font-size: 14px;
  padding: 5px 3px;
  padding-bottom: 0;
  text-align: center;
  text-transform: uppercase;
}
.rocket-slide-label {
  font-size: 12px;
}

.rocket-info {
  align-self: center;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  border: 2px #44C7F1 solid;
  padding: 10px;
  font-family: Poppins;
  font-weight: medium;
  font-size: 12px;
}

.rocket-info table{
  width: 100%;
}
.rocket-info table p{
  margin: 0;
  display: inline;
}

.rocket-launch-wrapper {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.rocket-launch-wrapper input {
  position: absolute;
  cursor: pointer;
  width: 90px;
  color: #ffffff;
  height: 90px;
  font-size: 12px;
  font: Poppins;
  font-weight: bold;
  background: url('../images/launch-bg.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: background .25s ease;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.49);
  border-radius: 100%;
  border: none;
}

.launch-highlight {
  position: absolute;
  pointer-events: none;
  width: 63px;
  height: 63px;
  border: 4px solid #E6E017;
  transition: all .5s ease;
  border-radius: 60px;
  box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.25), 0px 0px 5px 0px rgba(0,0,0,0.55);
  z-index: 20;
}

.launch-highlight-restart {
  position: absolute;
  pointer-events: none;
  width: 63px;
  left:9px;
  top:9px;
  height: 63px;
  border: 4px solid #E6E017;
  transition: all .5s ease;
  border-radius: 60px;
  box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.25), 0px 0px 5px 0px rgba(0,0,0,0.55);
  z-index: 20;
}

.launch-spinners {
  position: absolute;
  pointer-events: none;
  cursor: pointer;
  width: 90px;
  height: 90px;
  background: url('../images/lauch-btn-lines.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: all .25s ease;
  transition: transform 1s ease;
  border: none;
  z-index: 20;
}

.rocket-launch-wrapper:hover .launch-spinners,
#rocket-restart:hover .launch-spinners {
  transform: rotate(360deg);
}

.rocket-launch-wrapper:hover .launch-highlight,
#rocket-restart:hover .launch-highlight-restart{
  border-color: #8ee128;
  transform: rotate(360deg);
}

.rocket-launch-wrapper:active .launch-highlight,
#rocket-restart:active .launch-highlight-restart{
  transform: scale(1.1);
}


.ui-widget.ui-widget-content {
  max-height: 150px;
  margin: 0 auto;
  border: 2px #44C7F1 solid;

}

#rocket-restart {
  /* width: 80%;
  display: block;
  background: green;
  border-radius: 10px;
  border: 5px solid white;
  text-align: center;
  font-size: 2em;
  color: white;
  font-family: Poppins;
  padding: 10px 25px;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 5%;
  z-index: 99;
  box-sizing: border-box;
  cursor: pointer; */


  position: absolute;
  top: 55%;
  left: 45.5%;
  width: 100%;
  align-items: center;
  display: none;
    z-index: 99;
  transition: all .25s ease-in-out;
}

#rocket-restart input{
  position: absolute;
  cursor: pointer;
  width: 90px;
  color: #ffffff;
  height: 90px;
  font-size: 12px;
  font: Poppins;
  font-weight: bold;
  background: url('../images/launch-bg.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: all .25s ease;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.49);
  border-radius: 100%;
  border: none;
}

#rocket-restart input:active{
  box-shadow: none;
}

#rocket-URL{
  width: 88%;
  display: block;
  background-image: url("../images/control-popup-bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #44C7F1;
  text-align: center;
  font-size: 1em;
  color: #44C7F1;
  font-family: Poppins;
  padding: 5px 10px;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 20%;
  z-index: 99;
  box-sizing: border-box;
  cursor: pointer;
  display: none;
  transition: all .25s ease-in-out;
}

#rocket-URL:hover {
  color:white;
  border: 2px solid white;
}

#rocket-URL-text{
  font-size: 10px;
}

#rocket-pause,
#rocket-skip,
#rocket-play-speed,
#info {
  font-weight: bold;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 99;
  color: #00ffff;
  padding: 5px 10px;
  transition: color .25s ease, background .25s ease;
}

#rocket-pause:hover,
#rocket-skip:hover{
  background: #ffffff;
  color: #010020;
  cursor: pointer;
}

#drag-info,
#mass-info,
#drag,
#mass_change{
  font-family: times;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

#drag-info svg,
#mass-info svg,
#drag svg,
#mass_change svg{
  font-family: times;
}

#drag-info:hover ,
#mass-info:hover,
#mass_change:hover,
#drag:hover{
  cursor: pointer;
  opacity: 50%;
}

#drag-info:active ,
#mass-info:active,
#mass_change:active,
#drag:active {
  opacity: 100%;
  transform: scale(0.9);
}

#rocket-play-speed {
  width: 210px;
  padding: 0;
  top:0;
  padding-right: 10px;
  display: flex;
  justify-content: space-evenly;
}

.normal-speed{
  background-position: 12px -32px;
}
.fast-speed{
  background-position: -23px -32px;
}
.faster-speed{
  background-position: -58px -32px;
}
.pause-speed{
  background-position: -93px -32px;
}


.normal-speed:hover,
input:checked+.normal-speed {
  background-position: 12px -52px;
  background-color: #44C7F1;
}

.fast-speed:hover,
input:checked+.fast-speed {
    background-position: -23px -52px;
    background-color: #44C7F1;
}

.faster-speed:hover,
input:checked+.faster-speed {
  background-position: -58px -52px;
    background-color: #44C7F1;
}

.pause-speed:hover,
input:checked+.pause-speed {
    background-position: -93px -52px;
    background-color: #44C7F1;
}


ul {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
}

ul li {
  display: inline-block;
  width: 39px;
  height: 30px;
  position: relative;
}

ul li:after {
  content: "";
  position: absolute;
  background: #44C7F1;
  height: 2px;
  width:9px;
  right: -6px;
  top: calc(50% - 1px);
}

ul li:last-of-type {
  margin-right: 0;
}

ul li:last-of-type:after {
  content: none;
}

#rocket-play-speed input {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#rocket-play-speed label {
  cursor: pointer;
  z-index: 99;
  display: inline-block;
  background-image: url('../images/speed-controls.svg');
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: 7em 7em;
  border-radius: 50%;
  border:2px #44C7F1 solid;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

#rocket-pause {
  right: 80px;
  top: 50px;
}

#rocket-skip {
  top: 50px;
}

#info {
  padding: 5px;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ffff;
  border: 2px solid #00ffff;
  font-family: serif;
  border-radius: 2px;
  text-align: center;
  border-radius: 100%;
  background: #010020;
  border: 2px solid #00ffff;
}

canvas {
  background: #ecf6ff;
  width: 100%;
  max-width: 800px;
  vertical-align: top;
  display: block;
}

.switch
.switch-help{
  position: relative;
  display: inline-block;
}

.switch input[type="checkbox"]:before {
  content: url('../images/control-toggle-off.svg');
  display: block;
  width: 50px;
  height: 50px;
}
.switch input[type="checkbox"]:checked:before {
  content: url('../images/control-toggle-on.svg');
}

.switch-help input[type="checkbox"]:before {
  content: url('../images/control-info.svg');
  display: block;
  width: 30px;
  height: 30px;
}

*:focus {
  outline: none;
}

.native-hidden {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.rocket-buttons-config {
  padding-bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.rocket-button-label {
  display: block;
  width: 100%;
}

.rocket-launch-label {
  padding: 10px 10px;
  color: white;
  font-family: Poppins;
  margin-right: 20px;
  font-size: 14px;
}


#challenge-box{
  width: 20%;
  position: absolute;
  background: rgba(0,0,0,0.8);
  top: 100px;
  left: 5%;
  z-index: 999;
  border: 1px #44C7F1 solid;
  padding: 5px;
}

#challenge-box p{
  font-family: Poppins;
  font-size: 11px;
  padding-left: 10px;
  line-height: normal;
  padding-right: 10px;
  color: #15b9ed;
  text-align: center;
  margin:0;
  margin-bottom: 15px;

}

#challenge-box p:first-of-type {
  margin-top: 10px;
  margin-bottom: 10px;
}

#mass-info-popup, #drag-info-popup{
  width: 21%;
  height: 21%;
  background-image: url("../images/control-popup-bg.svg");
  background-position:left;
  background-repeat:no-repeat;
  background-size:cover;
  position: absolute;
  z-index: 999;
  border: 2px #44C7F1 solid;
  padding: 5px;
  font-family: Poppins;
  display: none;
}

.mass-popup{
  top: 68%;
  left: 74%;
}
.drag-popup{
  top: 68%;
  left: 50%;
}
.heading{
  color: #44C7F1;
  text-align: center;
  font-family: Poppins;
  font-weight: bolder;
  font-size: 14px;
  text-transform: uppercase;
  padding-top: 17px;
}

#mass-info-popup p, #drag-info-popup p{
  color: #44C7F1;
  text-align: center;
  font-family: Poppins;
  font-weight: normal;
  font-size: 11px;
}

#mass-info-popup-close,
#drag-info-popup-close{
  font-weight: bold;
  float: right;
  width: 10px;
  height: 10px;
  padding-right: 5px;
  cursor: pointer;
}


#debug-controls {
  box-sizing: border-box;
  height: 650px;
  background-image: url("../images/control-popup-bg.svg");
  background-position:left;
  background-repeat:no-repeat;
  background-size:cover;
  border: 2px #44C7F1 solid;
  position: relative;
  bottom: 0;
  overflow: hidden;
  padding: 20px;
  transition: bottom .5s ease, opacity .5s ease;
  /* display: flex; */
  display: none;
}

.debug-wrapper {
  width: 100%;
  text-align: center;
  padding: 10px;
}

.debug-input-wrapper {
  width: 100%;
  text-align: center;
  padding-bottom: 10px;
}

.debug-label {
  width: 60%;
  box-sizing: border-box;
  float: left;
  font-size: 12px;
  color: white;
  font-family: Poppins;
  padding: 5px 3px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 5px;
}

.debug-input {
  padding: 3px 0px;
  width: 40%;
  text-align: center;
  border: 0;
  font-weight: bold;
  font-family: Poppins;
  color: white;
  background: none;
  font-weight: lighter;
}

.debug-reset-wrapper input {
  cursor: pointer;
  width: 60px;
  color: #ffffff;
  height: 40px;
  background: #ff4848;
  transition: background .25s ease;
  border-radius: 5px;
}

.debug-reset-wrapper input:hover {
  background: red;
}

#grad1 {
  width: 40px;
  display: inline-table;
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 2px;
  position: absolute;
  top: 150px;
  right: 20px;
  color: #44C7F1;
  border: 2px solid #44C7F1;
  transition: color .25s ease, background .25s ease;
  display: none;
}

#bar-img{
  width: 40px;
  clip-path:inset(100% 0% 0% 0%);
  z-index: 1;
}
