.topnav {
    overflow: hidden;
    background-color: rgb(11, 27, 61);
  }
  
  .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;
  }

  @media screen and (max-width: 68em) {
  body{
    background-color: white
  }

  .body-container {
    margin-left: 1%;
    margin-right: 1%;
  }
}

#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(11, 27, 61);
  color: white;
}


/* Responsive navigation menu (for mobile devices) */
@media screen and (max-width: 68em) {
  .predmety {
    display: none;
  }
  
  .topnav a:not {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;
  }
}

@media screen and (max-width: 68em) {
  .predmety {
    display: none;
  }
  
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .topnav-right{
    float: left;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .obsah {
    padding-left:15px;
    padding-right:15px;
    padding-top:0px;
    padding-bottom:20px;
  }
}