@media only screen and (max-width: 1150px){
    
    /***** Photo gallery *****/
    .photo-segment {
      margin-left: 10px;
      margin-right: 10px;  
    }
    
    /***** Reference *****/
    .col.span-1-of-3.one-reference {
      margin-right: 3%;
       margin-left: 1.5%;
    }
    
    .one-reference:nth-child(3) {
        display: none;
    }
    
    /***** About us *****/
    .pizza-example img {
        margin-left: 2%;
        margin-right: 2%;
    }
    
    .pizza-example .span-1-of-2 {
        width: 48.3%;
    }
    
}
@media only screen and (max-width: 1362px){
    nav ul li a:link,
    nav ul li a:visited{
        font-size: 25px;
        
    }}



@media only screen and (max-width: 1025px){
    
    nav ul li {
        display: block;
        font-size: 30px;
    }
    
    .nav-background {
/*        display: none;*/
        
    }
    
    
    .mobile-nav-back {
        height: 295px;
        position: fixed;
        width: 100%;
        background-color: rgba(0,0,0,0.9);
        opacity: 80%;
        border-bottom: 2px solid #fff;
        display: none;
        z-index: 100;
        
    }
    
    .mobile-nav-icon {
       display: inline-block;
        z-index: 200;
        position: fixed;
        right: 2%;
    }
    
    nav ul {
        display: none;
        z-index: 200;
    }
    
 
    
    nav ul li a:hover,
    nav ul li a:active {
        border-bottom: 2px solid transparent;
     
    }
    .aktualne-text img{
        width: 300px;
        height: 200px;
    }
}


@media only screen and (max-width: 860px){
    
    /***** Our pizza *****/
    .pizza-info .span-1-of-2 {
        width: 96%;
    }
    
    .pizza-info img {
        margin-left: 2%;
        margin-right: 2%;
    }
    
    .text-pizza p {
        padding-top: 12px;
    } 
    
}


@media only screen and (max-width: 765px){

    /***** Our pizza *****/
    .text-pizza p {
        padding-top: 0px;
    } 
    
}

@media only screen and (max-width: 750px){
    
    /***** Photo gallery *****/
    .photo-segment .col {
      margin-left: 0;  
    }
    
    .photo-segment li {
      width: 100%;
    }
    
    /***** About us *****/
    .pizza-example .span-1-of-2 {
        width: 96%; 
    }
    
    .pizza-example .col {
        margin-left: 0;
    }
    
    .pizza-example img {
        margin-left: 2%;
        margin-right: 2%;
    }
    
}

@media only screen and (max-width: 730px){
    
    /***** header *****/
    .header-text {
        width: 100%;
        left: 0%;
        transform: translate(0%,0%);
    }
    
    
    .header-text h1 {
       text-align: center;
    }
    
    .btn {
       display: block;
        text-align: center;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .btn-empty:link,
    .btn-empty:visited {
        margin-left: 10px;
    }
}


@media only screen and (max-width: 685px){
    
    /***** Reference *****/
    .col.span-1-of-3.one-reference {
       width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .more{
    
    display: none;
    
    }
    
    .photo-name {
        float: right;
        margin-right: 25px;
    }
    
    .text-pizza-vybor p{
    
    margin-left: 15%;
    font-size: 20px;
    
    }
    .text-pizza strong{
        
    
    font-size: 20px;
    
    }
    
    
    
.text-pizza-prihlasky a:link,
.text-pizza-prihlasky a:visited{
margin-left: 15%;
}
}

@media only screen and (max-width: 415px){


.text-pizza-prihlasky a:link,
.text-pizza-prihlasky a:visited{
    
    font-size: 15px;
    
}
.text-pizza-prihlasky a:hover,
.text-pizza-prihlasky a:active{

    
    font-size: 15px;
   
    }
}


@media only screen and (max-width: 400px){
.text-pizza-prihlasky p a{

margin-left: 20%;
}

}



@media only screen and (max-width: 310px){

.text-pizza-prihlasky a{
font-size: 15px;
}}



@media only screen and (max-width: 310px){


.text-pizza-prihlasky a:link,
.text-pizza-prihlasky a:visited{
    
    font-size: 13px;
    
}
.text-pizza-prihlasky a:hover,
.text-pizza-prihlasky a:active{

    
    font-size: 13px;
   
    }
}


@media only  screen and (max-width: 290px){  

    .text-pizza-vybor p  .cerven{
    
        margin-left: 15%;
        font-size: 18px;
        
        }

}
@media only screen and (max-width: 360px){

.row-sec{

font-size: 17px;
}


}