@media only screen and (max-width: 1000px) {
    .logo img {
        width: 200px;
        margin-top: 20px;
    }
    nav a{
        font-size: 15px;
    }

    header{
        height: 80vh;
        background-size: cover;
    }

    header h1{

        font-size: 30px;
        padding-top: 400px;
    }
    
    header h2{
        font-size: 15px;
        
    }
    .podminky-ceny{
        width: 80%;
        margin: 0 auto;
        font-size: 15px;  
    }
    
}

@media only screen and (max-width: 800px){
    header{
        position: relative;
        height: 85vh;
        width: 100%;
        background: linear-gradient(90deg, rgba(174,216,238,0.5), rgba(118,134,255,0.5)), url(img/Bazen.jpg) ;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
        background-attachment: fixed;
    }

   .o-vile h1{
    font-size: 20px;
   }

    .o-vile p {
        font-size: 14px;
    }

    .vedle {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        /* flex-basis: 300px; */
        flex-wrap: wrap;
        flex-grow: 1;
        
    }
    .podminky-ceny{
        width: 80%;
        margin: 0 auto;
        font-size: 12px;  
    }
    
}

@media only screen and (max-width: 700px) {
    header{
        height: 50vh;
        background-size: 600px 250px;
    }

    header h1{
        font-size: 25px;
        padding-top: 250px;
    }

    header h2{
        font-size: 13px;
    }

    .logo img {
        width: 150px;
        padding-top: 20px;
    }
    .o-vile h1{
        margin-top: 5px;
    }
    .o-vile p {
        font-size: 12px;
    }

    .navigace nav img{
        display: block;
    }
    nav ul{
        position: absolute;
        top: 50px;
        background: rgb(165, 160, 160, .6);
        left: -100%;
        right: 0px;
        width: 100%;
        /* height: 100vh; */
        text-align: right;
        transition: all .5s;
    }
    nav li{
        display: inline-block;
        margin: 30px 10px;
    }
    
    .podminky-ceny{
        width: 80%;
        margin: 0 auto;
        font-size: 10px;  
    }
    
}
@media only screen and (max-width: 600px) {
    header{
        height: 40vh;
        background-size: 600px 250px;
    }

    header h1{
        font-size: 22px;
        padding-top: 180px;
    }

    header h2{
        font-size: 11px;
    }

    .kontakt ifame{
        width: 100px;
    }
    .podminky-ceny{
        width: 80%;
        margin: 0 auto;
        font-size: 8px;  
    }
   
}

@media only screen and (max-width: 500px) {
    header{
        height: 30vh;
        background-size: 480px 200px;
    }

    header h1{
        font-size: 20px;
        padding-top: 150px;
    }

    header h2{
        font-size: 10px;
    }

    .apartmany h1{
            font-size: 35px;
             }
   
}

/* @media only screen and (max-width: 400px) {
    header{
        height: 80vh;
        background-size: 400px 170px;
    }
   
} */

/* @media only screen and (max-width: 300px) {
    header{
        height: 80vh;
        background-size: 300px 150px;
    }
   
} */