* {
	margin: 0;
	padding: 0;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
	background: url('../img/bg.png') top no-repeat;
	background-size: contain;
	font-family: 'Ubuntu', sans-serif;
}

.main-wrapper {
	width: 90%;
	max-width: 800px;
	margin: auto;
	position: relative;
}

h1, h2 {
	width: 100%;
	text-align: center;
	margin-top: 20px;
}

h1 {
	font-size: 4em;
	color: #812990;
}

h2 {
	position: relative;
	margin-bottom: 20px;
	color: #ed1a3b;
}

h2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 45%;
  height: 1px;
  background-color: #ed1a3b;
  transform: translateY(-50%);
  z-index: -1; /* posunieme pod text */
}

h2::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 45%;
  height: 1px;
  background-color: #ed1a3b;
  transform: translateY(-50%);
  z-index: -1; /* posunieme pod text */
}

p {
	text-align: center;
	margin: 10px 0px;
}

p.stronger {
	font-weight: bold;
	color: #812990;
	font-size: 1.1em;
}

.otazka {
    width: 100%;
    background: white;
    border-radius: 15px;
    /* margin-top: 20px; */
    border: solid 1px #ed1a3b;
    transition: all 0.3s;
    box-shadow: blacck;
    box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.3);
}

.otazka-wrapper {
	padding: 20px;
}

.left, .right {
	float: left;
}

.left {
	width: 10%;
}

.right {
    margin-left: 49px;
    width: calc(77% - 15px);
}

.clearfix {
  clear: both; /* obnoví tok obsahu po float-ových elementoch */
}


.cislo {
	height: 70px;
	width: 70px;
	border-radius: 35px;
	background-color: #ed1a3b;
	text-align: center;
	line-height: 70px;
	font-size: 1.5em;
	color: white;
	font-weight: bold;
}

.prva, .druha {
	padding: 5px;
	width: 100%;
	border-radius: 10px;
	transition: all 0.4s;
}

.prva:hover, .druha:hover {
	cursor: pointer;
 	color: white;
	}

.prva {
    margin-bottom: 10px;
    background-color: rgba(247, 33, 69, 0.15);
    padding: 10px 10px;
    /* text-indent: 7px; */
}

.druha {
	background-color: rgba(129, 41, 144, 0.15);
  padding: 10px 10px;
	/* text-indent: 7px; */
}

.prva:hover {
	background-color: rgba(247, 33, 69, 1);
	cursor: pointer;
}
 
 .druha:hover {
 	background-color: rgba(129, 41, 144, 1);
 	cursor: pointer;
 }

 .prva.zaskrtnute {
 	background-color: rgba(247, 33, 69, 1);
 	color: white;
 }

 .druha.zaskrtnute {
 	background-color: rgba(129, 41, 144, 1);
 	color: white;
 }

 footer {
 	width: 100%;
 	margin-top: 20px;
 	color: black;
  margin-bottom: 20px;
 }

 footer a {
 	color: #ed1a3b;
 }

 footer a:hover {
 	color: #812990;
 }

.vyhodnot {
    /* display: inline-block; */
    padding: 20px 35px;
    background-color: #ed1a3b;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    left: 50%;
    transition: all 0.4s;
}

  .vyhodnot:hover {
	cursor: pointer;
	background-color: #812990;
  }

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label:before {
  content: "\2713";
  font-size: 1.5em;
  color: gray;
  display: inline-block;
  margin-right: 0.5em;
}

input[type="checkbox"]:checked + label:before {
  content: "";
}


#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /*transition: none;*/
}

#overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /*transition: none;*/
}

.overlay-content {
  background-color: white;
  padding: 20px;
  width: 450px;
  text-align: center;
  /*transition: none;*/
  border-radius: 20px;
  transition: opacity 0.3s;
}

#rozumiem-btn, #rozumiem-btn2 {
  background-color: #ed1a3b;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 15px;
  color: white;
  margin-top: 15px;
  text-transform: uppercase;
  border: 1px solid white;
}

#rozumiem-btn2 {
  background-color: #812990;
  }

#rozumiem-btn:hover, #rozumiem-btn2:hover {
	background: white;
	border-color: #ed1a3b;
	color: #ed1a3b;
	}

	#rozumiem-btn2:hover {
  border-color: #812990;
  color: #812990;
  }


body.overlay-visible {
  overflow: hidden;
}

.hidden {
	display: none;
	visibility: hidden;
}

.otazky-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
	grid-gap: 20px;
}

h2.alert {
	margin: 0 0;
	font-size: 3em;
}

h2.alert2 {
	margin: 0 0;
	font-size: 3em;
	color: #812990;
  margin-bottom: 15px;
}

h2 span {
  color: #812990;
}

p.alert {
    font-weight: bold;
    font-size: 1.2em;
}

p span {
  font-weight: bold;
}

#fin {
  text-align: center;
  display: inline-block;
  width: 100%;
}

#fin p {
  display: inline-block;
  text-align: left;
}


@media only screen and (max-width: 750px) {
  /* CSS vlastnosti pre obrazovky menšie ako 750px */
  .otazky-wrapper {
    display: grid;
    grid-template-columns: none;
    grid-gap: 20px;
  }
}
