h1 {color: rgb(0, 0, 0); font-size: 21pt; text-align:left; font-family: Arial, Helvetica, sans-serif}
h2 {color: rgb(41, 39, 39); font-size: 17pt}
h3 {color: rgb(34, 60, 21); font-size: 15pt}
p {font-size: 15pt; text-align: left; color: rgb(0, 0, 0)}
li {font-size: 15pt}
a {color: rgb(43, 3, 13); font-size: 15pt}

.topnav {
  overflow: hidden;
  background-color: rgb(34, 60, 21);
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: left;
  padding: 15px;
  text-decoration: none;
  font-size: 16pt;
}

.topnav a:hover {
  text-decoration: underline
}

.topnav a.active {
  background-color: #000000;
  color: white;
}

/* Right-aligned section inside the top navigation */
.topnav-right {
  float: right;
}

.topnav .icon {
  display: none;
}

.topnav .icon7 {
  position: absolute;
  right: 47.8px;
  top: 0;
}

.topnav .icon3 {
  position: absolute;
  right: 0px;
  top: 0;
}

body{
  background-color: #f0f0f0;
  font-family: sans-serif;
  border: 0;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.body-container {
margin-left: 18%;
margin-right: 18%;
margin-bottom: 1.4%;
margin-top: 1.4%;
background-color: #fff;
padding: 2%;
padding-top: 0%;
border-radius: 0.5%;
}

.img-container {
    text-align: center;
    display: block;
}

div.center {
  text-align: center;
}

#obalovydiv
{
background: #ffffff;
width: 100%;
font: Verdana, sans-serif;
}
.obsah
{
padding-left:35px;
padding-right:35px;
padding-top:0px;
padding-bottom:20px;
}

.topnav a:hover {
  text-decoration: underline;
}

.topnav a.active {
  background-color: rgb(34, 60, 21);
  color: white;
}


/* Responsive navigation menu (for mobile devices) */
@media screen and (max-width: 940px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a {
    float: left;
    font-size: 15pt;
  }

  .topnav-right a:not(:nth-child(0)) {display: none;}

  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav a.icon7 {
    float: right;
    display: block;
    position: absolute;
    right: 38.8px;
    top: 0;
  }
  .topnav a.icon3 {
    float: right;
    display: block;
    position: absolute;
    right: 80.6px;
    top: 0;
  }
}

@media screen and (max-width: 940px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav-right{
    float: left;
  }

  .topnav.responsive .icon7 {
    position: absolute;
    right: 38.8px;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .obsah
  {
    padding-left:15px;
    padding-right:15px;
    padding-top:0px;
    padding-bottom:20px;
  }
}

div.scroll {
  margin: 4px, 4px;
  padding: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

#hp  {
  float: right;    
   margin: 0 0 0 15px;
  }


footer{
  margin-top: auto;
  background-color: rgb(34, 60, 21);
  width: 100%;
  text-align: center;
  padding-bottom: 15px;
	padding-top: 15px;
}

footer a {
  color: #ffffff;
  font-size: 16pt;
}

article {
  margin: auto 0;
}

ul.breadcrumb {
  list-style: none;
  margin: 10;
  padding: 0;
}

ul.breadcrumb li {
  display: inline;
}


ul.breadcrumb li+li:before {
  content: ">\00a0";
}

span.dalsi-dila {
  color: rgb(5, 50, 175);
}

.extra-clenstvi {
  color: rgb(255, 89, 0);
}

.v-priprave {
  color: rgb(16, 255, 3);
}

.pdf {
  color: rgb(7, 11, 237);
}

.odkaz-video {
  color: rgb(5, 50, 175);
}

.odkaz-audio {
  color: rgb(10, 150, 70);
}

.odkaz-ekniha {
  color: rgb(120, 20, 20);
}

.odkazy-lista {
  font-size: 13pt;
}

a.home-button {
  font-weight: bold;
}

a.extra-button {
  color: rgb(252, 134, 0);
  font-weight: bold;
}

.rozbor-polozka {
  font-weight: bold;
}



/* nasledujici prekopriovano 1/11/2024 */

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.5em;
  color: rgb(11, 27, 61);
  margin-bottom: 10px;
  text-align: center;
}

@media screen and (max-width: 68em) {
.header h1 {
  font-size: 2em;
}
}

.header p {
  font-size: 1.2em;
  color: #666;
  text-align: center;
}


/* Sections */
.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 3px solid #2a5298;
  padding-bottom: 5px;
}

.section a {
  font-weight: bold;
}

/* Card styles */
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  /* Make the whole card clickable */
  text-decoration: none;
  color: #333;
  display: block;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Card categories */
.card.teorie {
  border-left: 10px solid #4CAF50;
}

.card.practise {
  border-left: 10px solid #FF9800;
}

.card.kvizy {
  border-left: 10px solid #2196F3;
}