@media only screen and (max-width: 1800px) {
    .logo {
        color: rgb(245, 217, 43);
    }
}


@media only screen and (max-width: 1150px) {
    nav a {
        font-size: 16px;
    }
    
    .nazev-strany h1 {
        font-size: 40px;
    }

    .nazev-strany h2 {
        font-size: 50px;
    }

    .nazev-strany {
        height: 200px;
    }

}

@media only screen and (max-width: 1100px) {
    .oblast, .oblast-uprostred, .posta {
        width: 95vw;
    }

    .nabizeny-produkt h1{
        font-size: 24px;
    }
    
    .uvod p {
        font-size: 18px;
        line-height: 24px;
    }
    .texty-a-tabulka p {
        font-size: 18px;
        line-height: 24px;
    }
    
    th, td {
        font-size: 18px;
        line-height: 24px;
    }

    .posta p {
        font-size: 18px;
        line-height: 24px;
    }
    
    footer {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1040px) {
    nav a {
        font-size: 14px;
        margin-left: 0px;
        margin-right: 0px;
    }

    footer {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1000px) {
    .nazev-strany h2 {
        font-size: 45px;
    }

    .nazev-strany {
        height: 190px;
    }
}


@media only screen and (max-width: 890px){
    .checkicon {
        display: block;
    }

    .logo {
        color: black;
    }

    nav ul {
        position: absolute;
        top: 0px;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        text-align: center;
    }

    nav li {
        display: block;
        margin: 20px 0;
        line-height: 30px;
    }

    nav li a {
        font-size: 20px;
    }
        
    nav a:hover, nav a.active {
        background: rgb(245, 217, 43);
    }
        
    #check:checked ~ ul {
        left: 0;
    }

    .nazev-strany {
        height: 195px;
    }  
}


@media only screen and (max-width: 820px) {
    .nazev-strany {
        height: 175px;
    }
    
    .nazev-strany h1 {
        font-size: 30px;
    }

    .nazev-strany h2 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 800px) {
    .nabizeny-produkt h1{
        font-size: 22px;
    }
    
    .uvod p {
        font-size: 16px;
        line-height: 22px;
    }
    .texty-a-tabulka p {
        font-size: 16px;
        line-height: 22px;
    }
    
    th, td {
        font-size: 16px;
        line-height: 22px;
    }

    .posta p {
        font-size: 16px;
        line-height: 22px;
    }
    
    footer {
        font-size: 16px;
    }
}


@media only screen and (max-width: 700px) {
    .nazev-strany {
        height: 165px;
    }
    
    .nazev-strany h1 {
        font-size: 30px;
    }

    .nazev-strany h2 {
        font-size: 35px;
    }  
}

@media only screen and (max-width: 650px) {
    .nazev-strany {
        height: 145px;
    }
    
    .nazev-strany h1 {
        font-size: 24px;
    }

    .nazev-strany h2 {
        font-size: 30px;
    }
}

@media only screen and (max-width: 550px) {
    .nazev-strany h1 {
        font-size: 24px;
    }

    .nazev-strany h2 {
        font-size: 26px;
    }
}

@media only screen and (max-width: 500px) {
    .nabizeny-produkt h1{
        font-size: 20px;
    }
    
    .uvod p {
        font-size: 16px;
        line-height: 22px;
    }
    .texty-a-tabulka p {
        font-size: 16px;
        line-height: 22px;
    }
    
    th, td {
        font-size: 16px;
        line-height: 22px;
    }

    .posta p {
        font-size: 16px;
        line-height: 22px;
    }
}


@media only screen and (max-width: 450px) {
    .nazev-strany {
        height: 125px;
    }

    .nazev-strany h1 {
       display: none;
    }
    .nazev-strany h2 {
        font-size: 24px;
        padding: 40px 15px 20px 15px;

    }
}

@media only screen and (max-width: 400px) {
    .nazev-strany {
        height: 130px;
    }

    .nazev-strany h2 {
        font-size: 24px;

    }  
}

@media only screen and (max-width: 360px) {
    .nazev-strany {
        height: 130px;
    }
    
    
    .nazev-strany h1 {
        font-size: 20px;
    }

    .nazev-strany h2 {
        font-size: 22px;

    }  
}