body {
/*  min-height: 100vh;
  display: block;
  align-items: center;
  justify-content: center;*/
	background: linear-gradient(#04101e, #0d3662, #040e1b) !important;
}



.box1{
  margin: auto;
  /*max-width: 400px;*/
  /*max-height: 400px;*/
}

.box2{
  text-shadow: 1px 1px 1px black, 5px 5px 10px rgba(217, 205, 170, 0.6);
  color: #cdbd8f;
  text-align: center;
  font-family:fantasy;
  
}


.box3{
  float: left;
	/*height: 20px;*/
  width: 70px;
}

.box4{
  margin-left: auto;
  margin-right: auto;
}

#trait{
  border-bottom : 1px solid #b59d59;
  align-content: center;
}

.btext{
  text-align: center;
  color: #b59d59;
  /*font-family:fantasy;*/
  text-shadow: 1px 1px 1px black, 5px 5px 10px rgba(217, 205, 170, 0.6);
  font-weight: bold;
}

h1{
  font-family:fantasy;
  text-align: center;
  color: #00387c;
  text-shadow: 1px 1px 1px white, 2px 2px 5px #bba566, 5px 5px 10px rgba(0, 56, 124, 0.8);
}

h2{
  font-family:fantasy;
  text-align: left;
  color: #233142;
  /*text-shadow: 0 0 5px Black;*/
}

h3{
	/*text-shadow: 0 0 5px Black;*/
  text-align: left;
  font-size: 100%;
  color: #00387c;
  font-family:fantasy;
  font-weight: bold;
  
}

h4{
 font-family:fantasy;
  text-align: left;
  color: #233142;
  /*text-shadow: 0 0 5px Black;*/ 
}

fieldset{
	text-transform: uppercase;
	font-weight: bold;
	padding:10% 10%;
	border: 2px solid #b59d59;
	box-shadow: 0 0 4px #00469b, 0 0 5px 1px #00469b, 0 0 6px 1px #00387c, 
				0 0 7px 1px #00387c, 0 0 8px 1px #002d63, 0 0 9px 1px #002d63, 0 0 15px 2px black;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius: 8px;
	align-content: center;
	color: #b59d59;
	text-shadow: 1px 1px 1px black, 5px 5px 10px rgba(217, 205, 170, 0.4);
	background-image: url("/include/pics/background.jpg");
  background-size: cover;
  background-position: center;
}

input[type=text]{
      color: #bba566;
      text-shadow:1px 1px 1px #3f371d, 5px 5px 10px rgba(217, 205, 170, 0.2);
      /*text-shadow:1px 1px 1px black;*/
      text-align: center;
      height: 50%;
      width: 100%;
      font-size: 100%;
      border: 1px solid #233142;
      box-shadow: inset 1px 1px #e2277f, inset -1px -1px #e2277f, 1px 1px 1em white, -1px -1px 1em white;
      box-shadow: 1px 1px #233142, 2px 2px #233142, 3px 3px black, inset 0 0 5px black;
      /*font-family: fantasy;*/
      background-color: #f9fbfc;
      -moz-border-radius:10px;
      -webkit-border-radius:10px;
      border-radius: 10px;
    }

.select-style {
    padding: 0;
    margin: auto;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.select-style select {
    padding: 5px 8px;
    width: 100%;
    border: 1px solid #233142;
    box-shadow: 1px 1px #233142, 2px 2px #233142, 3px 3px black, inset 0 0 5px black;
    /*font-family: fantasy;*/
    text-align: center;
    text-shadow:1px 1px 1px #3f371d, 5px 5px 10px rgba(217, 205, 170, 0.2);
    color: #bba566;
    background-color: #f9fbfc;
    background-image: none;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.select-style:after {
    top: 50%;
    left: 85%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-top-color: #000000;
    border-width: 5px;
    margin-top: -2px;
    z-index: 100;
}
.select-style select:focus {
    outline: none;
}

.flex-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
}

.flex-container > div {
  text-align: left;
  font-size: 100%;
  font-family:fantasy;
  font-weight: bold;
  margin: 1%;
  width: 95%;
 color: rgba(217, 205, 170);
  font-family:fantasy;
  text-shadow: 1px 1px 1px black, 5px 5px 10px rgba(217, 205, 170, 0.6);
}

.Flex1{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: left;
  padding: 1%;
  box-shadow:0 1px 2px rgba(0,0,0,0.7), 
                0 2px 4px rgba(0,0,0,0.7), 
                0 4px 8px rgba(0,0,0,0.7), 
                0 8px 16px rgba(0,0,0,0.7),
                0 16px 32px rgba(0,0,0,0.7), 
                0 32px 64px rgba(0,0,0,0.7);
  border-radius: 10px;
}

.Flex2{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: center;
  text-decoration: underline;
  padding: 1%;
  border-radius: 15px;
  font-weight: bold;
  padding :1%;
  border :5px double #e4829a;
}


/*Progress Bar*/
.progress {
  position: relative;
  margin-top: 2px;
  margin-left: 20px;
  margin-bottom: 20px;
  z-index: 5;
    color:white;
  background:#071624;
  border: 0px solid #282828;
  border-radius: 5px;
  display: inline-block;
  /*box-shadow: 0 5px 17px rgba(40, 40, 40, 0.5),0 0 3px 1px rgba(40, 40, 40, 0.5) inset;*/
  -webkit-box-shadow:0 5px 10px rgba(40, 40, 40, 0.5),0 0 3px 1px rgba(40, 40, 40, 0.5) inset, 0 0 5px 1px rgba(40, 40, 40, 0.5);
    -moz-box-shadow:0 5px 10px rgba(40, 40, 40, 0.5),0 0 3px 1px rgba(40, 40, 40, 0.5) inset, 0 0 5px 1px rgba(40, 40, 40, 0.5);
    box-shadow:0 5px 10px rgba(40, 40, 40, 0.5),0 0 3px 1px rgba(40, 40, 40, 0.5) inset, 0 0 5px 1px rgba(40, 40, 40, 0.5);


}
.progress-text {
  color: white;
  position: absolute;
  font: bold 14px/20px Arial;
  text-align: center;
  text-shadow: 1px 1px 1px black;
  top: 0;
  left: 0;
}

.progress, .progress-bar, .progress-text, .progress-text-red {
  width: 250px;
  max-width: 250px;
  height: 22px;
}
.progress .progress-text:first-child {
  z-index: 5;
  color: white;
}
.progress .progress-text:last-child {
  z-index: 10;
  color: white;
}
.progress-bar {
  overflow: hidden;
  position: relative;
  z-index: 10;
  border-radius: 5px;
  width: 0;
  -moz-transition: width .2s linear;
  -webkit-transition: width .2s linear;
  -o-transition: width .2s linear;
  transition: width .2s linear;
}



/* Test Style */
.progress.test .progress-bar {
  background-color: #0f3d6f;
  background-image: -moz-linear-gradient(left, #d1fffb 0%, #0f3d6f 100%);
  background-image: -webkit-linear-gradient(left, #d1fffb 0%,#0f3d6f 100%);
  background-image: -o-linear-gradient(left, #d1fffb 0%,#0f3d6f 100%);
  background-image: -ms-linear-gradient(left, #d1fffb 0%,#0f3d6f 100%);
  background-image: linear-gradient(to right, #d1fffb 0%,#0f3d6f 100%);
    background-size: 250px 20px;

  overflow: visible;
}
.progress.test .progress-text:first-child {
  display:none;
}
.progress.test .progress-text:last-child {
  left: auto;
  top:auto;
  bottom: -26px;
  right: -12px;
  display: block;
  background-color: #0f3d6f;
  width: 40px;
  height: 20px;
  border-radius: 3px;
}

.test[data-width='0%'] .progress-text:last-child {
  display: none;
}

.progress.test .progress-text:last-child:before {
  position: absolute;
  left: 12px;
  top: -6px;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #0f3d6f transparent;
}

/* Aqua Style */
.progress.aqua .progress-bar {
  background-color: #000000;
  background-image: -moz-linear-gradient(left, #821612 0%, #128216 100%);
  background-image: -webkit-linear-gradient(left, #821612 0%, #128216 100%);
  background-image: -o-linear-gradient(left, #821612 0%, #128216 100%);
  background-image: -ms-linear-gradient(left, #821612 0%, #128216 100%);
  background-image: linear-gradient(to right, #821612 0%, #128216 100%);
    background-size: 250px 20px;
}
/* End Progress bar */


.button {
  height: 40px;
  width: 170px;
  --y: -10;
  --x: 0;
  --rotation: 0;
  --speed: 2;
  --txt: "Calculate";
  --padding: 0.5rem 2rem 2rem;
  cursor: pointer;
  padding: var(--padding);
  color: transparent;
  border-radius: 15px;
  border: 2px solid #b59d59;
  box-shadow: 0 0 4px #00469b, 0 0 5px 1px #00469b, 0 0 6px 1px #00387c, 
        0 0 7px 1px #00387c, 0 0 8px 1px #002d63, 0 0 9px 1px #002d63, 0 0 15px 2px black;
  font-weight: bold;
  font-size: 1.25rem;
  transition: background 0.1s ease;
  background: #0b294b;
  outline-color: #cdbd8f;
  -webkit-animation-name: flow-and-shake;
          animation-name: flow-and-shake;
  -webkit-animation-duration: calc(var(--speed) * 1s);
          animation-duration: calc(var(--speed) * 1s);
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
}
.button:after {
  content: var(--txt);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: var(--padding);
  color: #cdbd8f;
  /*font-family:fantasy;*/
  /*text-shadow: 1px 1px 1px black, 5px 5px 10px rgba(217, 205, 170, 0.6);*/
  font-weight: bold;
}
.button:hover {
  background: #2f3d68;
  --speed: 0.1;
  --rotation: -1;
  --y: -1;
  --x: 1;
  --txt: "Calculate";
}
.button:active {
  --speed: 4;
  --x: 0;
  --y: 5;
  --rotation: 0;
  background: #29355a;
}
.button__wrap {
  position: relative;
}
/*.button__shadow {
  position: absolute;
  border-radius: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: hsl(0, 10%, 65%);
  -webkit-animation: shadow 2s infinite ease-in-out;
          animation: shadow 2s infinite ease-in-out;
  z-index: -1;
}*/
@-webkit-keyframes shadow {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    opacity: 0.2;
    transform: scaleX(0.25);
  }
}
@keyframes shadow {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    opacity: 0.2;
    transform: scaleX(0.25);
  }
}
@-webkit-keyframes flow-and-shake {
  0%, 100% {
    transform: translate(calc(var(--x) * -1%), 0) rotate(calc(var(--rotation) * -1deg));
  }
  50% {
    transform: translate(calc(var(--x) * 1%), calc(var(--y) * 1%)) rotate(calc(var(--rotation) * 1deg));
  }
}
@keyframes flow-and-shake {
  0%, 100% {
    transform: translate(calc(var(--x) * -1%), 0) rotate(calc(var(--rotation) * -1deg));
  }
  50% {
    transform: translate(calc(var(--x) * 1%), calc(var(--y) * 1%)) rotate(calc(var(--rotation) * 1deg));
  }
}