@font-face {
       font-family: vlastnifont;
       src: url("../admin/pismo/pismo.otf"); 
                 }

@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

body {
  background: url(./obrazky/pozadi_uvod.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  color: black;
  font-family: vlastnifont;
  overflow: hidden;
  //opacity: .8;
  text-align: center;
}

#loading { 
  position: fixed; 
  top: 0px;
  left: 0px;  
  background-color: black; 
  opacity: 0.7; 
  font-size: 30px; 
  color: white;
  width: 100%; 
  height:100%; 
  z-index: 100000;
}

.bok {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 20%;
  background: rgba(0, 0, 0, 0.7);;
  margin: 0px;
  padding: 0px 0px 0px 0px;
}

.logo {
  position: absolute;
    top: 20px;
    left: 58px;
    background-image: url('./obrazky/velkelogo.png');
    width: 260px;
    height: 300px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
}

.popishry {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 340px;
  text-align: left;
  font-size: 50px;
  line-height: 50px;
  display: blok;
  color: white;  
}

.zpet {
    position: absolute;
    bottom: 50px;
    left: 130px;
    background-image: url('./obrazky/home.png');
    //background-color: #ffffff;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    padding: 5px;
    margin: 5px;
    width: 90px;
    height: 90px;
    //border: 4px #A38B30 solid;
    border-radius: 50px 50px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;

}

.novahra {
    position: absolute;
    bottom: 170px;
    left: 130px;
    background-image: url('./obrazky/zpet.png');
    //background-color: #ffffff;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 5px;
    margin: 5px;
    width: 90px;
    height: 90px;
    //border: 4px #A38B30 solid;
    border-radius: 50px 50px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;

}


/***************************************************
  START-PAGE STYLING
***************************************************/

header {
  border: 1px black solid;
  border-radius: 5px;
}

#start-button {
    position: absolute;
    top: 40%;
    left: 54%;
    width: 200px;
    height: 200px;
    padding: 0;
    margin: 5px;

    background: transparent url('./obrazky/play.png') center center / contain no-repeat;
    border: none;
    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
    animation: pulse 2s infinite;
    cursor: pointer;
}

.legacy-close {
  background-image: url('./obrazky/close.png');
  //background-color: #ffffff;
  background-size: contain; 
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 5px;
  margin: 5px;
  width: 80px;
  height: 80px;
  top: 40%;
  left: 54%;
  //border: 4px #A38B30 solid;
  border-radius: 50% 50%;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  transform: scale(1);
  animation: pulse 2s infinite;
}

.header-div {
  margin-top: 50px;
}

h2 {
  text-align: center;
}

h1 {
  text-align: center;
}
h1, .start-page-header {
  font-family: vlastnifont, cursive;
}

h1, .start-page-header-author {
  color: #000;
}

.start-page-header-author {
  font-size: 12px;
}

.start-page-header-quote {
  color: #000000;
  font-size: 20px;
}

.start-page-middle {
  margin-top: 30px;
}

.start-page-form {
  margin-top: 25px;
  text-align: center;
}



/***************************************************
  QUIZ-QUESTIONS STYLING
***************************************************/

.main-quiz-form {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  //border: 4px #A38B30 solid;
  border-radius: 25px;
  left: 35%;
  top: 19%;
  width: 1000px;
}

.answer-to-question {
  background-color: rgb(225, 225, 225);
  padding: 15px;
  margin:15px;
  font-size: 25px;
  //border: 2px #A38B30 solid;
  border-radius: 10px;
  width: 50%;
  box-shadow: 1px 2px 4px black;
}

.quiz-div {
  margin-top: 50px;
}

.quiz-questions {
  color: #ffffff;
  font-size: 40px;
  width: 100%;
}

.submit-question {
  background-color: rgba(0, 0, 0, 1);
  //border: 2px #A38B30 solid;
  border-radius: 5px;
  padding: 10px;
  margin-top:10px;
  font-size: 40px;
  font-family: vlastnifont;
  width: 19%;
  color: white;
  box-shadow: 1px 2px 4px black;
}

.submit-question {
  margin-left: 18px;
  font-size: 30px;
  width: 35%;
  margin-bottom: 10px;
}

.score-and-question {
  margin-left: 18px;
  font-size: 18px;
}

.current-question-div, .current-score-div, .score-and-question, .submit-div {
  font-size: 25px;
  display: inline-block;
  color: #ffffff;
}

.current-question-div {
  margin-right: 16px;
}

.answer-to-question {
  display: block;
}

.hidden {
  display: none;
}




/***************************************************
  RESULTS-PAGE STYLING
***************************************************/

.final-results {
  text-align: center;
  font-size: 32px;
  border: 0px black solid;
  width: 50%;
  color: white;
  left: 35%;
  top: 19%;
  //box-shadow: 1px 2px 4px black;
}

.start-over {
  font-size: 50px;
  position: relative;
  //background-color: white;
  top: 130px;
  margin:15px;
  padding: 15px;
  //border: 1px black solid;
  border-radius: 5px;
  width: 50%;
  box-shadow: 1px 2px 4px black;
}

#vysledek{
  position: absolute;
  top: 5%;
  left: 35%;
  width: 1000px;
}

.final-score-paragraph  { 
text-align: center;
font-size: 80px;
font-weight: bold;
color: rgb(0, 0, 0);
//box-shadow: 1px 2px 4px black;
}

.final-score-paragraph2  { 
  text-align: center;
  font-size: 70px;
  font-weight: bold;
  color: rgb(255, 0, 0);
  //box-shadow: 1px 2px 4px black;
  }

  .final-score-paragraph3  { 
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    //box-shadow: 1px 2px 4px black;
    }
    
    #hrajznova {
        background: transparent url('./obrazky/play.png') center center / contain no-repeat;
        border: none;
        outline: none;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
      padding: 5px;
      margin: 5px;
      width: 150px;
      height: 150px;
      /*border: 4px #A38B30 solid;*/
      border-radius: 50% 50%;
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
      transform: scale(1);
      animation: pulse 2s infinite;
    }  

/***************************************************
  POP-UP-IMAGE STYLING
***************************************************/

.body-transparent {
  opacity: .1;
}

.pop-outer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.pop-inner {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  //border: 4px #A38B30 solid;
  border-radius: 25px;
  left: 47%;
  top: 35%;
  width: 520px;
  color: white;
}

.pop-inner-correct {
  background-color: rgba(32, 140, 70, 0.72);
}

.pop-inner-incorrect {
  background-color: rgba(180, 40, 40, 0.72);
}

.pop-up-text {
  font-size: 25px;
  text-align: center;
}

.pop-up-image {
  height: 70%;
  width: 85%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.close-popup {
  position: relative;
  bottom: 10px;
  //transform: translateX(-50%);
  width: 150px;
  height: 60px;
  padding: 0;
  margin: 5px;

  background: transparent url("./obrazky/dalsi.png") center center / contain no-repeat;
  border: none;
  outline: none;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  border-radius: 15px;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  transform: scale(1);
  animation: pulse 2s infinite;
  cursor: pointer;
}

.main-area{border:0 solid black;width:100%;}
.question-panel{width:100%;border:0 solid black;}
.answers-wrap{display:flex;flex-direction:column;align-items:center;}
.answer-line{width:100%;font-size:25px;text-align:left;}
.answer-line input[type="radio"]{height:30px;width:30px;vertical-align:middle;}
.below-submit{display:block;margin-top:12px;margin-left:18px;margin-bottom:16px;text-align:left;}
.below-submit .current-question-div,.below-submit .current-score-div{display:block;margin-top:8px;margin-right:0;}
.pop-inner{padding:24px 24px 18px 24px;}
.start-over{border:0;cursor:pointer;}

