body {
    font-family: 'Roboto', sans-serif;
    background-color: #fdfdfd;
    color: #000000;
}

*, *:after, *:before {
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

.container{
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0 0;
    overflow: auto;
}
/* PS img: 15x12*/

/*          Global*/
:root{
    --hover-txt-color: #c80000;
    --main-txt-color: #000000;
    --main-txt-color-invert: #fafafa;
}

li a, .showcase_text h2, .showcase_box a, .contacts a{
    color: var(--main-txt-color);
}



h1, h2, h3, h4, p, a, li, ol, ul, body {
    margin: 0;
    padding: 0;
}

a:hover{
    color: var(--hover-txt-color);
    border-bottom: var(--hover-txt-color) 1px solid;
    transition: all 0.5s ease-out;
}

/*          Header*/
.flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header{
    height: 50px;
    border-bottom: var(--border-line-color) 2px solid;
    padding: 0 3%;
}

nav{
    margin: 0;
    padding: 0;
}

nav ul{
    display: flex;
    flex-direction: row;
}

nav li{
    padding-left: 20px;
}

/*          Showcase*/
.showcase{
    position: relative;
    height: 500px;
    background: url(../img/hr1.jpg) no-repeat center -100px/cover;
}

.showcase_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    background: #fdfdfd;
    margin-left: 3%;
    padding-left: 40px;
    opacity: 0.85;
    width: 500px;
    height: 100%;
    line-height: 1.5;
}

/*          Content*/
.content{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.text{
    flex-direction: column;
    line-height: 3;
    padding: 15px;
    width: fit-content;
    max-width: 850px;
}

.content_ceniky{
    display: flex;
    flex-direction: column;
}

.cenik table{
    width: 400px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-collapse: collapse;
}

th, td{
    padding: 5px;
    border: 1px solid black;
}


.contenttop{
    padding: 5px;
}

.content img{
    height: 300px;
}

.galerie{
    flex-direction: column;
    text-align: center;
    line-height: 3;
    background: #e9e9e9;
    margin: 0 5%;
}

.contacts{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 15px;
    line-height: 2;
    color: var(--main-txt-color);    
}

.contact_person h2, .company h2{
    text-align: center;
}

.index, .koby, .bech{
    padding: 15px;
    width: 350px;
    height: 300px;
}

.index{
    background: url(../img/lakadlo_hlavni.jpg) no-repeat center center/cover;
}

.koby{
    background: url(../img/lakadlo_kobylisy.jpg) no-repeat center center/cover;
}

.bech{
    background: url(../img/lakadlo_bechovice.jpg) no-repeat center center/cover;
}

.content_map{
    display: flex;
    flex-direction: row;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.map_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map{
    overflow: hidden;
    position: relative;
    width: 90%;
    height: 500px;
}

.map iframe{
    top: 15px;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    padding: 20px;
    position: absolute;
}

/*          Footer*/
.footer{
    border-top: var(--border-line-color) 2px solid;
    height: fit-content;
    background-color: #f0f0f0;
    padding-top: 30px;
}

.footer ul{
    justify-content: center;
}

.footer li{
    padding: 0 3%;
    margin: 0;
}

.footer_info ul{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_info .location{
    display: flex;
    flex-direction: row;
}

.footer li{
    padding-bottom: 30px;
}

.footer_info{
    padding: 0 auto;
    margin: 0 auto;
}

.info_details li{
    display: flex;
    flex-direction: column;
}

.box404{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img_w404{
    width: auto;
    height: 400px;
}

#favi-mobile-L{
    padding: 0 5px 0 0;
}

#favi-mobile-R{
    padding: 0 5px 0 15px;
}

@media screen and (max-width: 1250px){
    .content{
        display: flex;
        flex-direction: column;
        text-align: center;
        margin: 0;
        padding: 30px 1%;
    }

    .text{
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        line-height: 3;
    }
}

@media screen and (max-width: 900px){
    h2{
        font-size: 18px;
        padding-bottom: 15px;
    }

    .container{
        margin: 0;
        padding: 0;
    }

    .header{
        display: flex;
        flex-direction: column;
        text-align: center;
        height: auto;
        border-bottom: var(--border-line-color) 2px solid;
    }

    .header h1{
        margin: 0;
        padding-top: 10px;
    }

    nav ul{
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        line-height: 250%;
        font-size: 20px;
    }

    nav li{
        margin: 0;
        padding: 0;
    }

    .showcase{
        position: relative;
        height: 300px;
        background: url(../img/hr1.jpg) no-repeat center center/cover;
    }

    .showcase_box{
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: absolute;
        background: #fdfdfd;
        opacity: 0.85;
        padding: 0 0 0 10px;
        margin: 0;
        height: 170px;
        width: 95%;
    }

    .showcase_box h2{
        font-size: 19px;
    }

    .showcase_box p{
        font-size: 15px;
    }



    .content img{
        height: 200px;
    }

    .contenttop{
        padding: 45px 0 0;
    }



    .cenik table{
        width: 320px;
    }

    .index, .koby, .bech{
        width: 100%;
        height: 250px;
        margin: 0;
        padding: 0;
    }

    .content_map{
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 0 0 40px 0;
    }
    
    .map_box{
        display: flex;
        flex-direction: column;
        justify-content: center; 
    }
    
    .map{
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 500px;
        padding-top: 40px;
    }
    
    .map iframe{
        top: 50px;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        padding: 30px 5px;
    }

    .map h3{
        font-size: 16px;
    }

    .contacts{
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 2;
        padding: 0;  
    }

    .contact_person h2, .company h2{
        text-align: center;
    }

    .company{
        padding: 30px 0;
    }

    .footer{
        padding-top: 0;
    }

    .footer ul{
        display: flex;
        flex-direction: column;
        text-align: center;
        margin: 0;
    }

    .footer li{
        padding: 5px;
    }
}