:root {
  --white: hsl(0, 0%, 98%);
  --true-white: hsl(0, 0%, 100%);
  --pk-orange: rgb(243, 152, 105);
  --pk-orange: hsl(20, 85%, 68%);
  --pk-orange-dark: hsl(20, 85%, 28%);
  --pk-gray: rgb(130, 139, 148);
  --black: #111;
  --true-black: #000;
  --headerHeight: 30px;
  --footerHeight: 30px;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Verdana;
}
iframe {
  display: none;
}
body {
  --margin: 5px;
  height: calc(100vh - (2*var(--margin)));
  width: calc(100vw - (2*var(--margin)));
  background: var(--white);
  margin: var(--margin);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--margin);
  padding: var(--margin);
  box-shadow: inset 0px 0px 5px var(--true-white), 0px 0px 5px var(--true-black);
  display: flex;
  /* justify-content: center; */
  align-items: center;
  flex-direction: column;
}
span.debug {
  background: red;
  display: none;
}
h2 {
  width: 100%;
  display:flex;
  justify-content: center;
  color:var(--pk-orange);
}
    /*    HEADER     */
.header {
  height: var(--headerHeight);
  width: 100%;
  display:flex;
  justify-content: center;
  color:var(--pk-orange);
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.2);
  /* background: purple; */
}
.middle {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100% - var(--headerHeight) - var(--footerHeight));
  overflow-wrap: normal;
  overflow-y: scroll;
}
/* hidding scrollbar */
/* .testResult, .testIntro  { */
.middle{
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  }
/* .testResult::-webkit-scrollbar, .testIntro::-webkit-scrollbar { */
.middle::-webkit-scrollbar{
  display: none;/* for Chrome, Safari, and Opera */
}
.middle p {
  color: var(--pk-gray);
  text-align: justify;
}
.glassPane {
  display: flex;
  justify-content: center;
  align-items: center;
  --bodyMBP: 22px; /* Margin Border Padding*/
  position: absolute;
  z-index: 10;
  top: calc(11px + var(--headerHeight));
  /* background: hsla(300, 100%, 25%,1); */
  background: hsla(0,0%,98%, 0.5);
  height: calc(100% - var(--headerHeight) - var(--footerHeight) - var(--bodyMBP));
  width: calc(100% - var(--bodyMBP));
}
.glassPane .userData {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  border: 4px solid var(--pk-orange);
  box-shadow: inset 0 0 15px rgba(255,255,255,1),  0 0 15px rgba(0,0,0,1);
  width: 300px;
  background: var(--pk-gray);
}
.glassPane .closeBtn input {
  border: 1px solid hsla(0,0%,0%,0.5);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  position: absolute;
  right: 4px;
  top: 4px;
  background: var(--white);
  color: var(--pk-orange-dark);
}
.glassPane .userData h4{
  position: absolute;
  top:calc(-18px);
  border: 1px solid var(--pk-orange);
  border-radius: 20px;
  padding: 4px 15px;
  box-shadow: inset 0 0 6px hsla(0,0%,100%, 0.5);
  background: var(--pk-gray);
  color: var(--white);
  letter-spacing: 2px;
  margin: 0;
}
.glassPane .userData .userDataBeruf,
.glassPane .userData .userDataAlter,
.glassPane .userData .userDataGeschlecht,
.glassPane .userData .userDataName {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.glassPane .userData .userDataBeruf.hidden,
.glassPane .userData .userDataAlter.hidden,
.glassPane .userData .userDataGeschlecht.hidden,
.glassPane .userData .userDataName.hidden
 {
  display: none;
} 

.glassPane .userData .userDataBeruf .inputBox input[type="text"],
.glassPane .userData .userDataName .inputBox input[type="text"]
{
  padding: 12px 10px 12px 48px;
  border: none;
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--pk-gray);
  font-weight: 300;
  border-radius: 25px;
  font-size: 1em;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.35);
  transition: 0.5s; 
  outline: none;
}
.glassPane .userData .userDataBeruf .inputBox  span, 
.glassPane .userData .userDataName .inputBox  span{
  position: absolute;
  left: 0px;
  padding: 12px 10px 12px 48px;
  pointer-events: none;
  font-size: 1em;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--pk-gray);
  opacity: 0.5;
  border-radius: 25px;
  transition: 0.5s;
}
.glassPane .userData .userDataBeruf .inputBox input:valid ~ span,
.glassPane .userData .userDataBeruf .inputBox input:focus ~ span,
.glassPane .userData .userDataName .inputBox input:valid ~ span,
.glassPane .userData .userDataName .inputBox input:focus ~ span{
  color: var(--white);
  opacity: 1;
  border: 1px solid var(--pk-orange);
  background: var(--pk-gray);
  transform: translateX(25px) translateY(-7px);
  font-size: 0.6em;
  padding: 0 8px;
  border-radius: 10px;
  letter-spacing: 0.1em;
}

.userData .inputBox input[type="button"]{
  margin-top: 15px;
  background: var(--pk-gray);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid hsla(0,0%,100%, 0.2);
  box-shadow: inset 0 0 10px hsla(0,0%,0%, 0.2), 0 0 10px hsla(0,0%,100%, 0.2);
  color: var(--white);
  transition: all 0.2s;
}
.userData .inputBox input[type="button"]:hover {
  border-color: var(--pk-orange);
  box-shadow: inset 0 0 10px hsla(0,0%,0%, 0.2), 0 0 10px hsla(0,0%,100%, 0.8);
}

.userData .rangeWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 10px 12px 10px;
  border: none;
  background: linear-gradient(to bottom, hsla(0,0%,0%, 0.2), hsla(0,0%,100%, 0.8));
  border-radius: 25px;
  box-shadow: 0 0 10px hsla(0,0%,100%, 0.3);
}
.userData .userDataAlter .rangeWrap span,
.userData .userDataGeschlecht .wrapRadio span
 {
  position: absolute;
  left: 28px;
  top: 14px;
  padding: 0 8px;
  pointer-events: none;
  font-size: 0.6em;
  letter-spacing: 0.1em;
  border-radius: 10px;
  color: var(--white);
  border: 1px solid var(--pk-orange);
  background: var(--pk-gray);
}
.userData .rangeWrap input{
  width: calc(100% - 45px);
  height: 15px;
  appearance: none;
  background: var(--white);
  outline: none;
  border-radius: 15px;
  overflow: hidden;
}
.userData .rangeWrap input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 15px;
  height: 15px;
  background: var(--pk-orange);
  border-radius: 50%;
  border: 2px solid hsla(0,0%,0%,0.1);
  box-shadow: -208px 0px 0 200px var(--pk-orange-dark);
  cursor: pointer;
}
.userData .rangeWrap .lbl{
  user-select: none;
  position: relative;
  text-align: center;
  width: 45px;
  font-size: 1.4em;
  color: var(--pk-orange-dark);
  margin-left: 0.3em;
  border-radius: 15px;
}

.userData .wrapRadio {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--pk-gray);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 4px hsla(0,0%,0%,0.4), inset 0 0 4px hsla(0,0%,0%,0.4);
}

.userData .wrapRadio .inputBox {
  margin: 0.5em;
}

.wrapRadio input[type='radio']{
  appearance: none;
  width: 15px;
  height: 15px;
  background: var(--white);
  border: 1px solid var(--pk-orange);
  border-radius: 50%;
  box-shadow: 0 0 2px hsla(0,0%,0%,0.4), inset 0 0 2px hsla(0,0%,0%,0.4);
  transition: all 0.3s;
}
.wrapRadio input[type='radio']:checked{
  background-color: var(--pk-orange);
  border: 1px solid var(--pk-orange-dark);
  box-shadow: 0 0 2px hsla(0,0%,0%,0.4), inset 0 0 4px hsla(0,0%,100%,0.4);
}

.wrapRadio label {
  color: var(--white);
  transition: color 0.5s;
}
.wrapRadio input[type='radio']:checked ~ label{
  color: var(--pk-orange-dark);
}

.userDataName .inputBox {
  margin: 5px;
}



/* .glassPane .userData .inputBox input {
  padding: 12px 10px 12px 48px;
  border: none;
  width: 100%;
  background: hsl(var(--default-background-H), var(--default-background-S), var(--default-background-L));
  border: 1px solid rgba(0,0,0,0.1);
  color: #fff;
  font-weight: 300;
  border-radius: 25px;
  font-size: 1em;
  box-shadow: -5px -5px 15px rgba(255,255,255,0.1), 5px 5px 15px rgba(0,0,0,0.35);
  transition: 0.5s; 
  outline: none;
} */


.testResult, .testIntro, .testQuestions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-height: calc(100% - 25px);
  overflow-wrap: normal;
  overflow-y: scroll;
  border-radius: 5px;
  background: var(--white);
}
/* hidding scrollbar */
.testResult,
.testIntro,
.testQuestions  {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
}
.testResult::-webkit-scrollbar,
.testIntro::-webkit-scrollbar,
.testQuestions::-webkit-scrollbar {
  display: none;/* for Chrome, Safari, and Opera */
}
.testIntro {  
  /* align-items: flex-start; */
  max-height: calc(100% - 30px);
}
.testIntro p {
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  width: 100%;
  margin: 0.5em 0;
}
p.bold {
  font-weight: 800;
}
p.center {
justify-content: center;
}

 /*================================
 |          QUESTIONS             |
 *===============================*/
.testQuestions {
  /* background: hsla(180, 100%, 50%, 0.1); remover */
  padding: 5px 5px;
}

.testQuestions h3 {
  color: var(--pk-orange-dark);
}
.respostas {
  position: relative;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
}
.respostas .testQuestResp {
  position: relative;
  background-color: var(--white);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid var(--pk-gray);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  font-size: 1em;
  font-weight: 600;
  color: var(--pk-gray);
  white-space: normal;
  word-wrap: break-word;
  cursor: pointer;
}
.respostas .testQuestResp:hover, .respostas .testQuestResp.selected{
  border-color: var(--pk-orange);
}

.testQuestions .alerta {
  color:red;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  user-select: none;
}


 /*================================
 |          RESULT                |
 *===============================*/
 .testResult {
  max-height: 100%;
}
.testResult h2 span {
  color:var(--pk-gray);
}
.testResult table {
  width: 600px;
  border: 1px solid #000;
  border-collapse: collapse;
  background: var(--pk-gray);
}
.testResult table td {
  width: 100px;
  border: 1px solid #ff0;
  padding: 5px;
  cursor: pointer;
}
.testResult table td p {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: var(--pk-gray);
  color: #000;
}
.testResult table td p.selected {
  background: green;
  color: var(--pk-orange);
}
.testResult .results {
  margin-top: 5px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  width: 300px;
  background: var(--pk-gray);
}
.results.hidden{
  display: none;
}
.testResult .results .resultsCard div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cardBox {
  position: relative;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
}
.cardBox .card {
  position: relative;
  background-color: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1), inset 0 0 5px rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
}
.cardBox .card .cardName {
  font-weight: 500;
  font-size: 1.75em;
}
.cardBox .card .numbers span{
  font-size: 1.1em;
}
.cardBox .card .numbers {
  font-size: 1.1em;
  margin-top: 5px;
}
.cardBox .card .iconBx {
  font-size: 2.5rem;
  color: var(--clr);
}
.cardBox .card .iconBx img {
  width: 2.5rem;
  height: 2.5rem;
}

.significado {  
  display: grid;
  padding: 20px;
  grid-gap: 20px;
}
.resultados, .fim {
  position: relative;
  min-width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1), inset 0 0 5px rgba(255, 255, 255, 0.4);
  background: var(--white);
}
.resultados .stark div,
.resultados .schwach div
 {
  margin-top: 5px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 5px;
  padding: 3px;
}
.resultados .schwach div{
  border-color: var(--pk-orange);
  background: var(--true-white);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.4);
}



 /*================================
 |          CONTROLS              |
 *===============================*/
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  user-select: none;

}
.btn {
  color: var(--pk-orange);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5), inset 0 0 4px rgba(255, 255, 255, 0.4);
  width: 90px;
  height: 25px;
  font-size: 1rem;
  background: var(--pure-white);
  border: 1px solid var(--pk-gray);
  padding: 0 1em;
  border-radius: 1em;
  cursor: pointer;
  margin: 0 3px;
  text-align: center;
  transition: all 0.2s;
}
.btn:hover {
  /* border: 1px solid var(--pk-orange); */
  border-color: var(--pk-orange);
}

/*    FOOTER     */
.footer {  
  display: flex;
  width: 100%;
  height: var(--footerHeight);
  padding: 0 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid hsla(0, 0%, 0%, 0.2);
}
.footer span {
  margin: 0 10px 10px;
}
.footer span a {
  text-decoration: none;
}
.footer .pkLogo {
  height: 1.5em;
  border-radius: 50%;
  box-shadow: 0 0 3px hsla(0,0%,0%,1);
}
.footer img {
  height: 1em;
}


.hidden {
  display:none;
}

@media only screen and (max-width:945px) {
  .cardBox, .respostas {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width:575px){
  .footer {
    height: 50px;
  }
}
@media only screen and (max-width:500px) {
  .cardBox, .respostas {
    grid-template-columns: repeat(1, 1fr);
  }
  
}
@keyframes fade {
  0%,100% { opacity: 1 }
  50% { opacity: 0 }
}