@media only screen and (max-width: 1150px){

    /* nav */
    .nav-content{
        width: 90%;
    }

    /* reference */
    .costumer-ref.row{

    display: flex;
    flex-direction:column;
    gap: 30px;
    justify-content: center;
    width:80%;

    }

    .text-ref p{
        align-items: center;
   margin-right: 10px;

}

.about-spec{
    padding-bottom: 40px;
   
}

/* Maximální výkon */
    .spec-flexbox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;

    margin-left: 40px;


    
}

.spec-block{
    margin-left: 20px;
}

.spec-image img{
    width: 100%;
}


}

@media only screen and (max-width: 740px){

    /* Header text */

    .header-text{
        width: 100%;
    left: 0%;
     transform: translate(0px,0%);
    }

    .header-text h1{
        text-align: center;
    }
    
    .btn-left, .btn-right{
    display: block;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 5px;
}

/* Hambgurger menu */

    nav ul{
        display: none;
       
    }

    nav ul.active{
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: rgb(28, 28, 28);
        padding-top: 5px;
        padding-bottom: 10px;
        top: 5px;
        width: 100%;
        left: 0%;
        
    }

    nav ul li{
        margin-top: 6px;
    }

    nav ul li a:link,
nav ul li a:visited{
    font-size: 20px;
}

    

    .hamburger-icon{
        display: flex;

    }


    /* Logo */
    .logo-icon{
        display: none;

    }


}