@media (max-width :1780px) {

    .imgSlider .navigation {
        bottom: 70px;
    }
    
    .imgSlider .navigation .btn {
        width: 45px;
        height: 5px;
        margin: 8px;
    }
    
   .navbar .nav-menu {
        right: 5%;
    }
    
    .obor_obr {
        width: 60%;
    }
    
    .obor_text {
        width: 50%;
        margin-left: 15%;
        margin-top: -10%;
    }
    
    .podstranaNadpis {
        padding: 1.5rem;
        font-size: 22px;
    }
    
    .intrPDF {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (max-width :1690px) {
    
    .topnavlogo {
        left: 8%;
    }
    
    .topnavkontakt {
        left: 5%;
    }
    
    .topnavmenu {
        left: 10%;
    }
    
    .footer_text a {
        font-size: 14px;
    }

    .obor_obr {
        width: 70%;
    }
    
    .obor_text {
        margin-left: 12%;
        margin-top: -10%;
    }
    
    .oborOdkaz {
        padding: 1.3rem;
        font-size: 20px;
    }
    
    .slider img {
        margin-top: -11rem;
    }
    
    .logoPoly {
        margin-left: 8%;
    }
    
    .spojuje1 {
        margin: 10rem 0 0rem 0;
    }
    
    .spojuje2 {
        margin: 10rem 0 0rem 0;
    }
    
    .navbar .nav-menu {
        right: 8%;
    }
    
    .navbar a {
        padding: 1.5rem 1.5rem;
        font-size: 18px;
    }

}

@media (max-width :1440px) {
    
    #cookie-banner {
        height: 25%
    }

    .imgSlider .navigation {
        bottom: 70px;
    }
    
    .topnavlogo {
        left: 7%;
        max-width: 200px;
    }
    
    .topnavlogo img {
        width: 80%;
    }
    
    .topnavkontakt {
        left: 1%;
        font-size:12px;
        margin-top: 12px;
    }
    
    .topnavmenu {
        left: 1%;
    }
    
    .topnavmenu a {
        font-size: 0.8rem;
    
    }
    
    .fa-brands {
        font-size: 1rem;
    }  

    .navbar a{
        font-size: 1rem;
}   
    .footer_text a {
        font-size: 12px;
    }
    
    .container {
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .grafik {
        width: 100%; 
         padding-bottom: 25%;
    }
    
    .footer_text h4 {
        font-size: 1rem;
        margin: 0.8rem 0 0.8rem 0;
    }

    .footer_text p {
        font-size: 11px;
    
    }
    
    .footer_text a {
        font-size: 11px;
    
    }
    
    .footer_logo img {
        width: 70%;
    }
    
    .nadpis_obor {
        font-size: 120px;
        margin: -11rem 0 1.5rem 0;
    } 
    
    .obor_text {
        margin-left: 10%;
        margin-top: -8%;
    }
    
    .oborOdkaz {
        padding: 1.2rem;
        font-size: 30px;
    }
    
    .obor_text h3 {
        font-size:1.5rem; 
    }
    
    .obor_text b  {
        font-size:1.5rem; 
    }
    
    .oborOdkaz {
        padding: 1rem;
        width: 50%;
        font-size: 18px;
    }
    
    .magentaNadpis3,
    .magentaNadpis2,
    .magentaNadpis1,
    .magentaNadpis {
         font-size: 28px;
    }
    
    .slider img {
        margin-top: -10rem;
    }
    
    .logoPoly {
        margin-left: 7%;
        width: 8%;
    }
    
    .nadpis_podstrana1 {
        margin: -18rem 14.5% 0rem 0rem;
        font-size: 120px;
    }
    
    .spojuje1 {
        margin: 10rem 0 0rem 0;
    }
    
    .zamestnanec {
        width: 50%;
         margin: 2rem 0;
    }
    
    .nadpis_podstrana2 {
        font-size: 80px;
        margin: -14rem 10% 10rem 0rem;
    }
    
    #gallery {
        width: 80%;
    }
    
    .navbar .nav-menu {
        right: 5%;
    }
}

@media (max-width :1340px) {

    .imgSlider .navigation {
        bottom: 70px;
    }
    
    .topnavlogo .border1 {
        width: 2px;
    }

   .topnavlogo .border2 {
        width: 2px;
    }
    
    .topnavlogo .border3 {
        width: 2px;
    }
    
    .topnavlogo .border4 {
        width: 2px;
    }
    
    .topnavlogo {
        left: 6%;
        max-width: 200px;
    }
    
    .topnavlogo img {
        width: 80%;
    }
    
    .topnavkontakt {
        left: 5%;
        font-size:12px;
        margin-top: 12px;
    }
    
    .topnavmenu .bordermenu {
        border-right: solid 0.5px #e6007e;
    }
    
    .fa-brands {
        font-size: 1rem;
    }  
    
    .navbar a{
        font-size: 1rem;
    }
    
    .navbar .nav-menu {
        right: 3%;
    }
    
    .footer_text a {
        font-size: 12px;
    }

    .container {
        width: 60%;
    }

    .grafik {
        width: 100%; 
    }
    
    .footer_text h4 {
        font-size: 1rem;
        margin: 0.8rem 0 0.8rem 0;
}

    .footer_text p {
        font-size: 11px;
    }
    
    .footer_text a {
        font-size: 11px;
    }
    
    .footer_logo img {
        width: 70%;
    }
    
    .nadpis_obor {
        font-size: 100px;
    } 
    
    .oborOdkaz {
        padding: 1rem;
        font-size: 17px;
    }
    
    .logoPoly {
        margin-left: 3rem;
    }
    
    .spojuje1 {
        margin: 10rem 0 0rem 0;
        font-size: 18px;
    }
    
    .magentaNadpis3,
    .magentaNadpis2,
    .magentaNadpis1 {
         font-size: 24px;
    }
    
    .spojuje2 {
         margin: 10rem 0 0rem 0;
    }
    
    .kontaktyTisk {
        display: flex;
        flex-direction: column;
    }
    
    .onTopBtn {
        left: 90%;
        top: 90%;
    }
    
      #gallery {
        width: 90%;
    }
    
    .nadpis_nerozdelena_podstrana {
        font-size: 60px;
        margin: -4rem 5% 2rem 0rem;
    }
    
    .navbar a {
        padding: 1.3rem 1.3rem;
        font-size: 16px;
    }
    
    .nav-container {
        width: 85%;
    }

}

@media (max-width :1190px) {
    
    .topnavlogo {
        left: 4%;
        max-width: 200px;
    }
    
    .topnavlogo img {
        width: 80%;
    }
    
    .topnavkontakt {
        
        font-size:10px;
        margin-top: 12px;
    }
    
    .topFlex {
        margin-left: 0;
    }
    
    .topnavkontakt ul {
        margin-left: 0;
        padding-left: 0;
    }
    
    .topnavmenu a {
        font-size: 0.7rem;
    }
    
    .fa-brands {
        font-size: 0.9rem;
    }  
    
    .footer_text a {
        font-size: 12px;
    }

    .footer_text h4 {
        font-size: 0.8rem;
        margin: 0.8rem 0 0.8rem 0;
}

    .footer_text p {
        font-size: 10px;
    
    }
    
    .footer_text a {
        font-size: 10px;
    
    }
    
    .footer_logo img {
        width: 60%;
    }
    
    .footer_magenta {
        font-size: 26px;
    }
    
    .footer_cyan {
        font-size: 26px;
    }
    
    .footer_yellow {
        font-size: 26px;
    }
    
    .info {
         width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .aktualita {
        width: 100%;
        padding: 0;
        }

    .skola1 {
        font-size: 40px;
    
    }

    .skola2 {
    
        font-size: 40px;
    
    }
    
    .textgrey {
        font-size: 1.1rem;
    }

    .textmagenta{
        font-size: 1.1rem;
    }

    .textyellow {
        font-size: 1.1rem;
    }
    
    .oskole {
        font-size: 12px;
        width: 80%;
    }
    
    .nadpis_obor {
        font-size: 100px;
        margin: -10rem 0 1.5rem 0;
    } 
    
    .oborOdkaz {
        padding: 0.8rem;
        font-size: 16px;
    }
    
    .slider img {
        margin-top: -8rem;
    }
    
    .logoPoly {
        margin-left: 3rem;
    }
    
    .spojuje1 {
        margin: 10rem 0 0rem 0;
    }
    
    .tisk_obr {
        margin: 0 auto;
    }
    
     .volnaMista {
         width: 50%;
         top: 5%;
        line-height: 34px;
         z-index: 999;
    }

    .volnaMista ul {
         list-style: none;
         padding-right: 20px;
        line-height: ;
    }
        
    .volnaMista ul li {
        font-size: 14px;
    }

    .volnaMista ul .volnaMistaInfo {
         font-size: 18px;
         margin-top: 15px;
    }

    .volnaMistaOdkaz {
        padding: 5px 20px;
        font-size: 18px;
        width: 70%;
    } 
}

@media (max-width :1075px) {
    
    .topnavlogo {
        left: 1%;
        max-width: 175px;
    }
    
    .topnavlogo img {
        width: 80%;
    }
    
    .topnavkontakt {
        left: 0%;
        font-size:11px;
        margin-top: 12px;
    }
    
    .topnavmenu {
        left: 0%;
    }
    
     .topnavkontakt ul {
        padding: 0;
    }
    
    .topnavmenu ul {
        padding: 0;
    }
    
    .topnavmenu li {
        padding: 0 15px 0 10px;
    }
    
    .topFlex {
        margin: 0;
    }
    
    .bakalari {
        background-image: none;
    }
    
    .bakalari:hover {
        background-image: none;
    }

    .baktext {
        margin-left: -5px;
    }
    
    .topnavmenu a {
        font-size: 0.6rem;
    }
    
    .fa-brands {
        font-size: 0.8rem;
    }  
    
    b {
        font-size: 7px;
    }
    
    .navbar a {
        font-size: 14px;
    }
    
    .footer_text a {
        font-size: 10px;
    }

    .footer_text h4 {
        font-size: 0.7rem;
        margin: 0.4rem 0;
}

    .footer_text p {
        font-size: 8px;
    }
    
    .footer_text a {
        font-size: 8px;
    }
    
    .footer_logo img {
        width: 60%;
    }
    
    .footer_magenta {
        font-size: 24px;
    }
    
    .footer_cyan {
        font-size: 24px;
    }
    
    .footer_yellow {
        font-size: 24px;
    }

    .aktualita {
        width: 100%;
        }

    .skola1 {
        font-size: 36px;
    
    }

    .skola2 {
    
        font-size: 36px;
    
    }
    
    .textgrey {
        font-size: 1rem;
    }

    .textmagenta{
        font-size: 1rem;
    }

    .textyellow {
        font-size: 1rem;
    }
    
    .oskole {
        font-size: 11px;
    }
    
    .grafik {
        width: 100%; 
        padding-left: 1rem;
        padding-right: 3%;
        padding-bottom: 25%;
        border-left: solid 3px #636363;
        border-right: solid 3px #636363;
        border-bottom: solid 3px #636363;
    }

    .grafik h2 {
        font-size: 60px;
        color: #fff;
        margin: 0;
    }

    .trilety {
        font-size: 16px;
    }

    .ctyrlety {
        font-size: 16px;
    }
    
    .aktuality_start {
   
        font-size: 40px;
        padding-right: 13%;
        height: 4.4rem;
    }
    
    .info h3 {
        font-size: 24px;
    }
    
    .aktual_datum {
        font-size: 0.7rem;
        margin: 1rem 0;
    }
    
    .aktual_text {
        font-size: 11px;
        margin: 1rem 0;
    }
    
    .aktualita a {
        padding: 0.7rem 2rem;
        font-size: 12px;
    }
    
    .aktualita h3 {
        margin: 1rem 0;
    }
    
    .nadpis_obor {
        font-size: 110px;
         margin: -15rem 0 1.5rem 0;
        padding: 0;
    } 
    
    .obor_podstr2,
    .obor_podstr1,
    .obor_podstr {
        display: flex;
        flex-direction:column-reverse;
        margin: 0 auto;
        width: 90%;
    }
    
    .obor_podstr1 {
        flex-direction: column;
    }
    
    .obor_podstr2 {
         flex-direction:column;
        width: 100%;
    }
    
    .podstr {
        width: 100%;
        padding: 0 5%;
    }

    .obor_obr {
        margin-top: 1rem;
        width: 100%;
    }
    
    .kontakt_text1,
    .kontakt_text,
    .obor_text {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .obor_obr img {
        width: 100%; 
    }
    
    .magentaNadpis1,
    .magentaNadpis {
        padding: 3%;
        margin: 0;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .magentaNadpis3 {
         width: 100%;
         margin: 2rem 0 2rem 0;
        padding: 3%;
    }
    
    .magentaNadpis2 {
         width: 100%;
         margin: 2rem 0 2rem 0;
        padding: 3%;
    }
    
    .podstrana {
        margin: 0;
        padding: 0;
        margin-top: 3rem;
    }
    
    .nadpis_podstrana {
        margin: -14rem 5% 0rem 0rem;
    }
    
    .nadpis_podstrana1 {
        margin: -10rem 14.5% 0rem 0rem;
        font-size: 100px;
    }
    
    .nadpis_obor {
        margin: -10rem 5% 0rem 0rem;
    }
    
    .slider img {
        margin-top: -6rem;
    }
    
    .spojuje {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .spojuje1 {
        margin: 0;
        text-align: center;
        width: 100%;
        border-top: solid 0px #3e3e3e;
    }
    
    .spojuje2 {
        margin:0;
        text-align: center;
        width: 100%;
         border-top: solid 0px #3e3e3e;
    }
    
    .kontaktyTisk {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }
    
    .nadpis_podstrana2 {
        font-size: 70px;
        margin: -7rem 5% 0rem 0rem;
    }
    
    .nadpis_nerozdelena_podstrana {
        font-size: 60px;
        margin: -3rem 5% 2rem 0rem;
    }
    
}


@media (max-width: 990px) {
  .nav-toggle {
    display: block;
      color: white;
  }

  .nav-menu {
    display: none !important; 
    flex-direction: column;
    width: 100%;
    background-color: rgba(85, 85, 85, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
  }
    
    
    .nav-container {
    width: 100%;
    
}
    

  .nav-menu.open {
    display: flex !important;
  }

  .nav-menu li {
    width: 100%;
  }
    
.nav-menu a {
    font-size: 20px; 
  }

  .has-submenu > .submenu {
    display: none;
    position: static;
    background-color: rgba(85, 85, 85, 0.8);
  }

  .has-submenu.open > .submenu {
    display: flex;
    flex-direction: column;
  }

  .submenu .has-submenu.open > .submenu {
    display: flex;
  }

  .nav-toggle.open i::before {
    content: "\f00d"; /* FontAwesome "times" icon */
      color: white;
  }
    
    .has-submenu:hover > .submenu {
    display: block;
  }
    
    /* Výchozí stav – submenu skryté */
    .has-submenu .submenu {
        display: none;
    }

    /* Po kliknutí – zobraz submenu */
    .has-submenu.open > .submenu {
        display: block;
    }
    
    .submenu {
        padding-left: 40px;
    }

    .has-submenu .submenu li  {
        padding-left: 30px;
    }
    
}

/*------------880----------------*/

@media (max-width: 880px){

    .imgSlider {
        min-height: 70%;
    }

    .imgSlider .navigation {
        bottom: 60px;
    }
  
    .logo {
        margin-bottom: 10px;    
    }
    
    .topnavmenu .bordermenu {
        border-right: none;
    }

    .topFlex {
        display: flex;
        flex-direction: row;
        margin-left: 1%;
    }
    
    .topnavlogo img {
        width: 70%;
    }
    
    .topnavkontakt {
        left: 0%;
        font-size:10px;
        margin-top: 11px;
        height: 50px;
    }
    
    .topnavmenu {
        height: 60px;
    }
    
    .topnavmenu li {
        padding: 0 10px 0 5px;
    }

     .checkBtn #open {
        display: block;
    }
    
    .checkBtn #open,
    .checkBtn #closed{
        font-size: 24px;
        right: 1rem;
    }
    
    .navbar a{
        font-size: 20px;
    }
    
    
    .menuKontakt {
        margin-right: 1rem;
    }

    b {
        font-size: 10px;
    }

    .bakalari {
        background-image: none;
    }
    
    .bakalari:hover {
        background-image: none;
    }

    .baktext {
        margin-left: -3px;
    }
    
    .topnavmenu a {
        font-size: 0.5rem;
    }
    
    .topnavmenu ul {
        padding: 0;
    }
    
    .topnavkontakt ul {
        padding: 0;
    }

    .fa-brands {
        font-size: 0.7rem;
    }  

    .footer_text  {
        width: 100%;
        text-align: center;
    }

    .footer_text h4 {
        font-size: 26px;
        margin: 1rem 0;
    }   

    .footer_text p {
        font-size: 18px;
    }
    
    .footer_text a {
        font-size: 16px;
        margin: 5px 0;
    }
    
    .footer_logo img {
        width: 100%;
    }
    
    .footer_logo {
        width: 40%;
        display: block;
        margin: 0 auto;
    }
    
    .footer_magenta {
        font-size: 38px;
    }
    
    .footer_cyan {
        font-size: 38px;
    }
    
    .footer_yellow {
        font-size: 38px;
    }

    .aktualita {
        width: 100%;
        }
    
    .skola1box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        margin-top: 40px;
    }

    .skola1 {
        font-size: 30px;
        border-right: none;
        margin: 10px 0;
        border-bottom: solid #d0d0d0 2px;
    }

    .skola2 {
        margin: 10px 0;
        font-size: 30px;
    }
    
    .textgrey {
        font-size: 1.2rem;
    }

    .textmagenta{
        font-size: 1.2rem;
    }

    .textyellow {
       font-size: 1.2rem;
    }
    
    .oskole {
        font-size: 11px;
    }
    
    .container {
        width: 70%;
    }
    
    .grafik {
        width: 100%; 
    }

    .grafik h2 {
        font-size: 48px;
        color: #fff;
        margin: 0;
    }

    .trilety {
        font-size: 13px;
    }

    .ctyrlety {
        font-size: 13px;
    }
    
    .aktuality_start {
        font-size: 36px;
        padding-right: 13%;
        height: 4rem;
    }
    
    .info h3 {
        font-size: 20px;
    }
    
    .aktual_datum {
        font-size: 0.7rem;
        margin: 1rem 0;
    }
    
    .aktual_text {
        font-size: 11px;
        margin: 0.8rem 0;
    }
    
    .aktualita a {
        padding: 0.6rem 1.8rem;
        font-size: 12px;
    }
    
    .aktualita h3 {
        margin: 0.8rem 0;
    }
    
    
    .footer_container {
        width: 90%;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }
    
    .nadpis_obor {
        font-size: 90px;
    } 
    
     .topnavlogo {
        left: 3%;
        max-width: 200px;
         height: 70px;
    }
    
    
    .nadpis_podstrana {
          margin: -11rem 5% 0rem 0rem;
        font-size: 120px;
    }
    
    .nadpis_podstrana1 {
        margin: -8.5rem 5% 0rem 0rem;
        font-size: 80px;
    }
    
    .nadpis_obor {
        margin: -8rem 5% 0rem 0rem;
    }
    
    .nadpis_obor1 {
        margin: -8rem 5% 0rem 0rem;
        font-size: 90px;
    }
    
    .logoPoly {
        margin-left: 1rem;
        margin-top: 1rem;
        width: 12%;
    }
    
    .zamestnanec {
        width: 100%;
        text-align: center;
        margin: 2rem 0;
    }
    
      .volnaMista {
         width: 60%;
         top: 10%;
        line-height: 22px
    }

    .volnaMista h5 {
         font-size: 16px;
         padding: 5px 20px;
        line-height: 20px;
    }

    .volnaMista ul {
         list-style: none;
         padding-right: 15px;
    }
        
    .volnaMista ul li {
        font-size: 18px;
    }

    .volnaMista ul .volnaMistaInfo {
         font-size: 18px;
         margin-top: 10px;
    }

    .volnaMistaOdkaz {
        padding: 5px 15px;
        font-size: 16px;
        width: 100%;
    } 
    
    .nadpis_nerozdelena_podstrana {
        font-size: 52px;
        margin: -3rem 5% 2rem 0rem;
    }

    .informaceNadpis {
        font-size: 30px;
        margin: 20px 0;
    }
    
    .informace_seznam li {
        font-size: 18px;
        margin: 10px 0;
    }

    h6 {
        font-size: 24px;
    }
    
}

@media (max-width: 770px){
    
    .topnavlogo {
        left: 3%;
        max-width: 150px;
         height: 70px;
    }

    .imgSlider {
        min-height: 60%;
    }
    
    .navbar a{
        font-size: 1rem;
    }
    
    .topFlex {
        display: flex;
        flex-direction: column;
    }
    
    .topnavkontakt{
        height: 25px;
        padding: 0;
        margin: 0;
    }
    
    .topnavkontakt ul {
        padding: 0;
        margin: 0;
    }
    
    .topnavmenu ul {
        padding: 0;
        margin: 0;
    }
    
     .slider img {
        margin-top: -5rem;
    }
    
    .nadpis_podstrana1 {
        margin: -8rem 5% 0rem 0rem;
        font-size: 70px;
    }
    
     .nadpis_podstrana {
        margin: -9rem 5% 0rem 0rem;
        font-size: 100px;
    }
    
     .container {
        width: 90%;
    }
    
    .nadpis_podstrana2 {
        font-size: 50px;
        margin: -5rem 5% 0rem 0rem;
    }
    
    .onTopBtn {
        display: none;
    }
    
    .nadpis_nerozdelena_podstrana {
        font-size: 42px;
        margin: -2rem 5% 2rem 0rem;
    }
}


@media (max-width: 550px){
    
    #cookie-banner {
        height: 30%
    }
    
    .imgSlider {
        min-height: 60%;
    }
    
    .nadpis_obor {
        font-size: 4rem;
    }
     
    .nadpis_podstrana {
        margin: -8rem 5% 0rem 0rem;
        font-size: 70px;
    }
    
    .nadpis_podstrana1 {
        margin: -7rem 5% 0rem 0rem;
        font-size: 60px;
    }
    
    .nadpis_obor1 {
        margin: -7rem 2% 0rem 0rem;
        font-size: 57px;
    }
    
    .c,
    .spojuje2,
    .spojuje1 {
        font-size: 14px;
    }
    
    .kontaktyTisk {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .tisk_obr {
        width: 70%;
        display:flex;
        flex-direction: column;
}

    .tisk_obr img{
        width: 100%;
    }

    .obrFlex {
        display: flex;
        flex-direction:column;
        gap: 1rem;
    }

    .obrFlex1 {
        display: flex;
        flex-direction:column;
    }
    
    .klobasa {
        height: 100%;
    }
    
    .nadpis_podstrana2 {
        font-size: 42px;
        margin: -5rem 5% 0rem 0rem;
    }
    
    .nadpis_nerozdelena_podstrana {
        font-size: 3px;
        margin: -2rem 5% 2rem 0rem;
    }
    
    .informaceNadpis {
        font-size: 26px;
        margin: 20px 0;
    }
    
    .informace_seznam li {
        font-size: 16px;
        margin: 20px 0;
    }

    h6 {
        font-size: 20px;
    }
    
}


@media (max-width: 450px){
    
    .topnavlogo {
        left: 2%;
        max-width: 100px;
         height: 60px;
    }
    
    .topFlex {
        margin-left: -2%;
    }
    
    .topnavkontakt ul li {
        font-size: 8px;
        margin: 15px 5px;
    }
    
    .topnavmenu {
       font-size: 8px; 
        margin-top: 10px;
    }
    
    .slider img {
        margin-top: -4rem;
    
    }
    
    .nadpis_podstrana1 {
        margin: -6rem 5% 0rem 0rem;
        font-size: 42px;
    }
    
    .magentaNadpis3,
    .magentaNadpis2,
    .magentaNadpis1,
    .magentaNadpis {
         font-size: 20px;
    }
    
    .c,
    .spojuje2,
    .spojuje1 {
        font-size: 12px;
    }
    
    .textgrey {
        font-size: 15px;
    }

    .textmagenta{
        font-size: 15px;
    }

    .textyellow {
       font-size: 15px;
    }
    
    .bakalari {
        margin: 0;
        padding: 0;
    }
    
    .nadpis_podstrana2 {
        font-size: 30px;
        margin: -5rem 5% -2rem 0rem;
    }
    
    .volnaMista {
         width: 80%;
         top: 10%;
        line-height: 20px
    }

    .volnaMista h5 {
         font-size: 16px;
         padding: 10px 20px;
        line-height: 16px;
    }

    .volnaMista ul {
         list-style: none;
         padding-right: 15px;
    }
        
    .volnaMista ul li {
        font-size: 18px;
        line-height: 30px;
    }

    .volnaMista ul .volnaMistaInfo {
         font-size: 18px;
         margin-top: 5px;
    }

    .volnaMistaOdkaz {
        padding: 5px 15px;
        font-size: 12px;
        width: 100%;
    }  
    
    .nadpis_nerozdelena_podstrana {
        font-size: 32px;
        margin: -2rem 3% 2rem 0rem;
    }
}

@media (max-width: 380px){
    
    .topnavmenu li {
       padding: 5px;
    }
}

@media (max-width: 900px) {
            .gallery {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }

@media (max-width: 500px) {
            .gallery {
                grid-template-columns: 1fr !important;
            }
        }
