@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.png);
  background-repeat: no-repeat;
  background-size: 110%;
  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: 240px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
}

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

.zpet {
    position: absolute;
    bottom: 50px;
    left: 130px;
    background-image: url('./obrazky/home.png');
    background-color: #ffffff;
    background-size: 70% 70%; 
    background-repeat: no-repeat;
    background-position: center;
    padding: 5px;
    margin: 5px;
    width: 90px;
    height: 90px;
    border: 4px #000 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: 65% 65%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 5px;
    margin: 5px;
    width: 90px;
    height: 90px;
    border: 4px #000 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;
    background-image: url('./obrazky/play.png');
    background-color: #ffffff;
    background-size: 70% 70%; 
    background-repeat: no-repeat;
    background-position: 71% 50%;
    padding: 5px;
    margin: 5px;
    width: 200px;
    height: 200px;
    top: 40%;
    left: 54%;
    border: 4px #000 solid;
    border-radius: 50% 50%;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	  transform: scale(1);
	  animation: pulse 2s infinite;
}

#close {
  background-image: url('./obrazky/close.png');
  background-color: #ffffff;
  background-size: 60% 60%; 
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 5px;
  margin: 5px;
  width: 80px;
  height: 80px;
  top: 40%;
  left: 54%;
  border: 4px #000 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;
}



.start-button {
  font-size: 50px;
  position: relative;
  top: 200px;
  margin:15px;
  padding: 15px;
  border: 1px black solid;
  border-radius: 5px;
  width: 50%;
  box-shadow: 1px 2px 4px black;
}



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

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

.answer-to-question {
  background-color: rgb(255, 255, 255);
  padding: 15px;
  margin:15px;
  font-size: 25px;
  border: 2px #000 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, .close {
  background-color: rgba(0, 0, 0, 1);
  border: 2px #000 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-image: url('./obrazky/play.png');
      background-color: #ffffff;
      background-size: 70% 70%; 
      background-repeat: no-repeat;
      background-position: 71% 50%;
      padding: 5px;
      margin: 5px;
      width: 150px;
      height: 150px;
      border: 4px #000 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 #000 solid;
  border-radius: 25px;
  left: 47%;
  top: 35%;
  width: 520px;
  color: white;
}

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

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