@media only screen and (max-width: 900px){



    /*První stránka*/
    .first, .three, .allthree, .five{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .part.two {
        width: 100%;
      }
      .part.two video {
        width: 100%;
        height: auto;
      }

      .three .middle{
        border-right: none;
        border-left: none;
        border-top: solid 1px black;
        border-bottom: solid 1px black;
    }

    .three .right, .three .left, .three .middle, .five .right, .five .middle, .five .left{
        padding: 10px 10px;
        margin: 15px 0px;
    
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    
    }

    .underpart{
        width: 90%;

        
    }

    .first .left {
        padding: 0px 10px;
    }

    .one h3{
        font-size: 10px;
        
        }
        
        .one p{
        font-size: 10px;
           
        }
        
        .underpart h3, .ever h3{
            font-size: 20px;
            font-weight: bold;
        
        }
        
        .underpart p, .ever p{
            font-size: 15.5px;
        
        }
        
        .three h2{
            font-size: 25px;
            /* font-weight: bold; */
        }
        
        .three p{
            font-size: 15px;
        
        }
        
        .three .ser{
            width: 200px;
            margin-bottom: 50px;
            cursor: pointer;
        }
        
        .three .ser img{
            width: 175px;
            
        }
        
        .ser h4{
            font-size: 13.5px;
            
        }


        .ever{
            padding: 15px 15px;
            letter-spacing: 2px;
            word-spacing: 1px;
            line-height: 1;
        }




        /*Galerie */
        .prdc {
            width: 80%;
            min-height: 60vh;
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: center;
            background-color: white;
            margin-bottom: 55px;
        
        }
        
        .prodPic img{
            max-width: 200px;
            margin: 10px;
            height: 125px;
        
        }
        .aboutProd{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        
            width: 70%; 
            padding: 0px 15px;
        
        }
        
        .aboutProd li, .aboutProd p, .aboutProd h6{
            font-size:8.5px;
        
            letter-spacing: 1px;
            word-spacing: 1.5px;
            line-height: 1;
        
            margin-bottom: 15px;
        }
        
        .aboutProd h5{
            font-size: 15px;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .aboutProd h6{
            font-size: 12.5px;
            font-weight: bold;
        }
        

        
        .prodPic{
            width: 30%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
        
        }
        /* .prodPic img{
            max-width: 100%;} */

        .prodThree{
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /*Popup okno v galerii*/

        .popup {
            margin-top: 65px;
            display: none;
            position: fixed;
            z-index: 1;
            left: 2%;
            right: 2%;
            top:10%;
            width: 95%;
            height: 50%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            text-align: center;
        
        }
        
        .popCont {
            padding-top: 20px;
            margin: auto;
            display: block;
        
            max-width: 350px;
            max-height: 275px;
          }
        
        .close{
            position: absolute;
            top: 2%;
            right: 10px;
            color: rgb(231, 14, 14);
            font-size: 35px;
            cursor: pointer;
            background-color: rgba(0, 0, 0, 0.27);

        }
        
        .prev, .nextis {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            margin-top: -20px; 
            padding: 16px;
            color: rgb(235, 17, 17);
            font-weight: bold;
            font-size: 24px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            background-color: rgba(0, 0, 0, 0.27);
          }
          
          .nextis {
            right: 0;
            border-radius: 3px 0 0 3px;
          }
          
          .prev {
            left: 0;
          }


          /*fotogalerie*/
          .mySlides img{
            width:60vh;
          }

         .mobile{
            min-height: 100vh;
          }

          .prev2, .nextis2{
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -22px;
            color: rgb(0, 183, 255);
            background-color: rgba(253, 251, 251, 0.8);
            font-weight: bold;
            font-size: 15px;
            transition: 0.6 ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
        }

        /*Kalendář*/
        .oneDay{
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: center;
            width:35px;
            height: 90px;
            }
            .calendar p{
                width: 30px;
                text-align: center;
                font-size: 5.5px;
                margin: 1px;
            
            }

            .contact p{
                margin: 1px;
            }

            .calendar td{
                height: 120px;

            }
            .oneDay p{
                margin: 1px;
                padding: 0;


            }

            .undermenu{

                height: 35px;
        
            }
            .undermenu ul li {
margin:0;                            }

         
            .undermenu ul li a{
font-size: 10px;
            }
        
            .calendar a{
                border-radius: 3px;
                box-shadow: 5px 5px 10px  black;
                margin: 0.5px;
                font-size: 5px;
                margin-bottom: 0;
                white-space: wrap;

            }

            .steel table {
                margin: 0;
                font-size: 7.5px;
                /* background-color: black; */
                width: auto;
            
            }
            
            .steel table tr td{
                padding: 3px 3px;
                border-radius: 1.5px;
                /* background-color: white; */
            }

            .steel select option{
                font-size: 5.5px;
            }

            .steel select {
                font-size: 5.5px;
                width:20px ;

            }

            .steel select {
                font-size: 5.5px;
                width: 20px;

            }

            .steel input[type="submit"] {
                font-size: 5.5px;
                width:20px ;

            }

            /*services*/

            .homes{
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .three .ser img{
                width: 87.5px;
                
            }

            .three .ser{
                min-width: 100%;

            }
            .tepping{
                min-width: 100%; 
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .tepping h2{
                margin-bottom: 10px;
            }


            

            .teps{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            
            }
            
            .three .teps{
                margin-bottom: 50px;
                cursor: pointer;
            }
            
            .three .teps .h4{
                margin: 25px;
            }
            
            .pictPrice{
            display: flex;
            flex-direction: row;
            justify-content: center;
            width: 30%;
            }
            
            .textPrice{
            display: flex;
            flex-direction: column;
            
            margin-left: 20px;
            width: 30%;
            }
            
            .three .teps img{
                width: 87.5px;
                /* margin-left: 300px; */
                
            }
            
            .teps h4{
                font-size: 15px;
            }
            
            .four h4{
                font-size: 20px;
            }

            .popupContent p{
    font-size: 7.5px;
    line-height: 8px;
    margin: 5px;

}
.gRec {
  transform: scale(0.6); /* 0.5 = 50 %, 0.85 = 85 % */
  transform-origin: 0 0; /* zarovnání vlevo nahoře */
height: 45px;
margin:10px;
margin-left: 35%;
}

            #popupForm{
    
                margin-top: 90px;
                position: fixed;
                left: 12.5%;
                top: 0;
                width: 75%;
                height: 75%;
                background: rgba(0, 0, 0, 0.5);
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }
            
            .popupContent{
                margin-top: 10%;
                margin-left: 10%;
                padding: 20px;
                border-radius: 5px;
                box-shadow: 0px 0px 10px 0px grey;
                background: white;
                width: 75%;
            }

            .underI{
                height: 40px;
            }
            
            .underH{
                height: 20px;
               
            }
        

            .underP{
                height: 80px;

            }
            .vox{
                min-height: 350px;
            }
            .someText p{
                font-size: 15px;
                margin: 10px 25px;
            }
            
            .otherMakeThree{
                display: flex;
                flex-direction: column;
                justify-content:  start;
                align-items: center;
            }
        
            .recP p{
                font-style: italic;
                padding: 10px 25px;
                font-size: 15px;
            }
            
            .recName p{
                font-style: italic;
            
            }
            
            .rec{
                padding:10px;
            }

            .byt, .ovanes, .dows{
                width: 427.5px;
                height: 285px;
            }

            .byt h4{
                font-size: 20px;
                
            }
            
            .byt h3{
                font-size: 15px;
                
            }
        
            .ovanes h3, .dows h3{
                font-size: 15px;
            }

            .am img{
                max-width: 100%;
            }

            .outAm{
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
            }
            
            .am h3{
                font-size: 20px;
                font-weight: bold;
            }
            
            .am p{
                font-size: 15px;
                margin: 10px 25px;
            }

            /*services*/

            .allRightThree{
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
                flex-wrap: wrap;
            }
            
            .fineOne{
                margin: 20px 65px;
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
                height: 350px;
            }
            
            .finePic{
                width: 150px; 
                height: 150px; 
                border-radius: 50%;
                
            
            }
            
            .fineText{
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
            }
           

            
            .fineText h3{
                font-size: 15px;
                margin: 20px 0px;
                
            
            }
            
            .fineText p{
                font-size: 10px;
                width: 75px;
                margin: 10px 0px;
                height: 60px;
            }
            
            .fineText img{
                width: 10px;
            }
            .ever .textLab{
                text-align: center;
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
            }
            
            .ever .twigy{
                font-size: 12.5px;
                letter-spacing: 2px;
                word-spacing: 1.5px;
                line-height: 1.25;
                padding: 10px 25px;
            }
            
            .textLab{
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
                letter-spacing: 2px;
                word-spacing: 1.5px;
                line-height: 1.25;
            }
            .textLab p{
                font-size: 10px;
                margin: 15px 0px;
            }
            
            
            .priceLab{
                background-color: white;
                text-align: center;
                padding: 15px;
                border-radius: 5px;
                border: 0.5px solid black;
                font-size: 10px;
            }
            .labSection{
                display: flex;
                flex-direction: column;
            }
            
            .mainLab{
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
                margin: 1px 20px;
                width: 250px;
            
            }
            
            .mainLab img{
                width: 250px;
                cursor: pointer;
            
            }
            
            .labMenu{
                display: flex;
                flex-direction: column;
                justify-content: start;
                align-items: center;
                margin: 1px 15px;
            
            }
            
            .labMenu a{
                font-size: 10px;
                padding: 10px 20px;
                width: 165px;
                text-decoration: none;
                color: black;
                margin: 1px;
            }
            
            .labMenu a:hover{
                background-color: orangered;
            }
            
            .ouRange{
                background-color: orangered;
            }
            
            .ouGray{
                background-color: lightgray;
            
            }


            
            .textLab table{
                margin-top: 10px;
            }
            .textLab table td{
                padding-top: 10px;
                font-size: 12.5px;

            }
            
            .lefLabTab{
                border-bottom: 1px dotted black;
            }
            
            .midLabTab{
                width: 200px;
                border-bottom: 1px dotted black;
            }
            
            .rigLabTab{
                border-bottom: 1px none black;
            }
            .textLab h3{
                font-size: 17.5px;
                font-weight: lighter;
            }
            
            .textLab h4{
                font-size: 15px;
                font-weight: lighter;
                margin-top: 10px;
            }
            .textLab ul{
                list-style: none;
            }
            
            .textLab li{
                margin-top: 10px;
                font-size: 12.5px;

            }



}

@media only screen and (max-width: 980px) {
    header{
        min-height: 35px;

    }
    main{
        margin-top: 35px;

    }
    .menu, nav ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }

    nav{
        margin: 0;
    }
    nav li{
        padding: 0;
    }
    .logo{
display: none;
    }
    .duelogo img{
        width: 40px;
    }
    .duelogo p{
        font-size: 10px;
    }
    .ham_menu{
        display: block;

    }

    .nav{
        display:none;
    }
    .popupContent p{
    font-size: 7.5px;
    line-height: 8px;
    margin: 5px;

}
.gRec {
  transform: scale(0.6); /* 0.5 = 50 %, 0.85 = 85 % */
  transform-origin: 0 0; /* zarovnání vlevo nahoře */
height: 45px;
margin:10px;
margin-left: 35%;
}


}

@media only screen and (min-width: 901px) and (max-width:1111px) {
    .oneDay{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        width:70px;
        height: 120px;
        }
        .calendar p{
            width: 60px;
            text-align: center;
            font-size: 7.5px;
            margin: 1px;
        
        }

        .contact p{
            margin: 1px;
        }
        .oneDay p{
            margin: 1px;
            padding: 0;


        }

        .undermenu{

            height: 35px;
    
        }
        .undermenu ul li {
margin:0;                            }

     
        .undermenu ul li a{
font-size: 10px;
        }
    
        .calendar a{
            border-radius: 3px;
            box-shadow: 5px 5px 10px  black;
            margin: 0.5px;
            font-size: 7.5px;
            margin-bottom: 0;
            white-space: wrap;

        }

        .steel table {
            margin: 0;
            font-size: 7.5px;
            /* background-color: black; */
            width: auto;
        
        }
        
        .steel table tr td{
            padding: 3px 3px;
            border-radius: 1.5px;
            /* background-color: white; */
        }

        .steel select option{
            font-size: 7.5px;
        }

        .steel select {
            font-size: 7.5px;
            width:20px ;

        }

        .steel select {
            font-size: 7.5px;
            width: 20px;

        }

        .steel input[type="submit"] {
            font-size: 7.5px;
            width:20px ;

        }

        .popupContent p{
    font-size: 7.5px;
    line-height: 8px;
    margin: 5px;

}
.gRec {
  transform: scale(0.6); /* 0.5 = 50 %, 0.85 = 85 % */
  transform-origin: 0 0; /* zarovnání vlevo nahoře */
height: 45px;
margin:10px;
margin-left: 35%;
}

}

@media only screen and (min-width: 901px) and (max-width:1505px){
    .underI{
        height: 80px;
    }
    
    .underH{
        height: 100px;
       
    }

    .vox p{
        font-size: 17.5px;
    }

    .vox h2{
        font-size: 35px;
        font-weight: bold;
    }
    .underP{
        height: 160px;
        margin-top: 60px;
    }
    .someText p{
        font-size: 17.5px;
        margin: 15px 35px;
    }

    .recP p{
        font-style: italic;
        padding: 10px 10px;
        font-size: 15px;
    }

    .byt, .ovanes, .dows{
        width: 855px;
        height: 570px;
    }

    .byt h4{
        font-size: 35px;
        
    }
    
    .byt h3{
        font-size: 20px;
        
    }

    .ovanes h3, .dows h3{
        font-size: 20px;
    }


    .outAm{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }
    
    .am .left{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }
    .popupContent p{
    font-size: 7.5px;
    line-height: 8px;
    margin: 5px;

}
.gRec {
  transform: scale(0.6); /* 0.5 = 50 %, 0.85 = 85 % */
  transform-origin: 0 0; /* zarovnání vlevo nahoře */
height: 45px;
margin:10px;
margin-left: 35%;
}




}

@media only screen and (max-width: 427.5px){
    .vox p{font-size: 10px;}

    .vox h2{
        font-size: 20px;
        font-weight: bold;
    }

    .byt, .ovanes, .dows{
        width: 213.75px;
        height: 142.5px;
    }

    .byt h4{
        font-size: 15px;
        /* text-shadow: 0px 0px 10px white; */
        color: white;
        background-color: rgba(0, 0, 0, 0.402);
        
    }
    
    .byt h3{
        font-size: 10px;
        /* text-shadow: 0px 0px 10px white; */
        color: white;
        background-color: rgba(0, 0, 0, 0.402);



        
    }

    .ovanes h3, .dows h3{
        font-size: 10px;
    }

    .am h3{
        font-size: 17.5px;
        font-weight: bold;
    }
    
    .am p{
        font-size: 12.5px;
        margin: 7.5px 20px;
    }
    .redAlert{
        font-size: 7px;
    }
    .popupContent p{
    font-size: 7.5px;
    line-height: 8px;
    margin: 5px;

}
.gRec {
  transform: scale(0.6); /* 0.5 = 50 %, 0.85 = 85 % */
  transform-origin: 0 0; /* zarovnání vlevo nahoře */
height: 45px;
margin:10px;
margin-left: 35%;
}


}
@media only screen and (min-width: 981px){
    header{
        min-height: 130px !important;
    }

    main{
        margin-top:130px !important;
    }

    .ham_menu, .cross_menu{
        display: none !important;
    }

    .nav{
        display: block !important;
    }
    .popupContent p{
    font-size: 7.5px;
    line-height: 8px;
    margin: 5px;

}
.gRec {
  transform: scale(0.6); /* 0.5 = 50 %, 0.85 = 85 % */
  transform-origin: 0 0; /* zarovnání vlevo nahoře */
height: 45px;
margin:10px;
margin-left: 35%;
}



}