body,
h1,
h2,
p1,
p2 {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
}

html,
body {
    overflow: auto;
    margin: 0;
    height: 100%;
    width: 100%;
    position: static;
}

.header img {
    top: -15px;
    width: 55%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: center;
}

.topnav {
    position: relative;
    background-color: #80d4ff;
    text-align: center;
    overflow: hidden;
}

.topnav a {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    color: #fefefe;
    text-align: center;
    font-size: 35px;
    padding: 17px 0px;
    text-decoration: none;
    margin: 0px 15px;
}

.topnav a:hover {
    color: black;
    font-weight: bold;
}

.topnav a.active {
    color: black;
    font-weight: bold;
}

.topnav .icon {
    display: none;
}


/*Grid index*/

.grid_index {
    background-color: #e6e6e6;
    width: 1400px;
    position: relative;
    margin: auto auto;
    height: 550px;
}


/*Grid pro Kontakt*/

.grid_contact {
    top: 550px;
    position: relative;
    margin: auto auto;
}

.grid_contact h {
    font-family: 'Roboto', sans-serif;
    font-size: 45px;
    position: absolute;
    float: right;
    top: -550px;
    left: 850px;
}

.grid_contact table.contact_table {
    font-family: 'Roboto', sans-serif;
    /*Radky*/
    position: absolute;
    float: right;
    top: -490px;
    left: 750px;
    text-align: left;
    border: 0px;
    padding: 20px 0px;
}

.grid_contact table.contact_table tr,
td {
    /*Tucne*/
    font-size: 25px;
}

.grid_contact table.contact_table th {
    text-align: left;
    padding: 20px 20px;
}


/*Grid pro ceník*/

.grid_cenik {
    top: 280px;
    left: 780px;
    position: absolute;
    margin: auto auto;
}

.grid_cenik h {
    font-family: 'Roboto', sans-serif;
    font-size: 45px;
    position: relative;
    float: center;
    left: 150px;
}

.grid_cenik p {
    font-family: 'Roboto', sans-serif;
    font-size: 25px;
    position: relative;
}


/*Grid pro About*/

.grid_about {
    top: 10px;
    left: 30px;
    background-color: #e6e6e6;
    position: relative;
    margin: 0 auto;
}

.jtf {
    display: block;
    position: absolute;
}

.jtf0 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    top: -10px;
    left: 10px;
}

.jtf1 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    top: 80px;
    left: 10px;
}

.jtf2 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    top: 170px;
    left: 10px;
}

.grid_about img.van_first {
    position: absolute;
    float: right;
    width: 270px;
    top: 10px;
    left: 410px;
}

.grid_about img.iron_first {
    position: absolute;
    float: right;
    width: 270px;
    height: 210px;
    top: 155px;
    left: 410px;
}

.grid_about img.van_second {
    position: absolute;
    float: right;
    width: 270px;
    top: 390px;
    left: 410px;
}


/*Grid pro faq*/

.grid_faq {
    background-color: #e6e6e6;
    width: 1400px;
    position: relative;
    margin: auto auto;
    height: 600px;
    top: -20px;
}

.grid_faq p {
    font-family: 'Roboto', sans-serif;
    font-size: 25px;
    position: relative;
    top: -10px;
}

.grid_faq ul {
    list-style-type: square;
}

.grid_faq li {
    font-family: 'Roboto', sans-serif;
    font-size: 35px;
    font-weight: bold;
    list-style-type: square;
    position: relative;
    top: 10px;
}

.grid_povinn {
    background-color: #e6e6e6;
    width: 1400px;
    position: relative;
    margin: auto auto;
    height: 280px;
}

.grid_povinn p {
    position: relative;
    margin-top: -10px;
    margin-left: 80px;
}


/*Footer*/

.footer p {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    color: black;
    text-align: center;
    font-size: 15px;
}

.footer span a {
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.footer span a:hover {
    text-decoration: none;
    font-weight: bold;
    color: red;
}

@media screen and (max-width: 850px) {
    .header img {
        top: -4px;
        width: 70%;
    }
    .topnav {
        position: relative;
        height: 80px;
        width: 100%;
        text-align: left;
    }
    .topnav a:not(:first-child) {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
    .topnav a {
        float: left;
    }
    .topnav.responsive {
        height: 220px;
        width: 100%;
        text-align: left;
        position: relative;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .grid_index {
        top: -10px;
        position: relative;
        width: 100%;
        height: 580px;
    }
    .grid_about {
        left: 20px;
    }
    .jtf0 {
        font-size: 12px;
    }
    .grid_about img.van_first {
        width: 140px;
        position: absolute;
        top: -7px;
        left: 170px;
    }
    .jtf1 {
        font-size: 12px;
        top: 50px;
    }
    .grid_about img.iron_first {
        width: 140px;
        height: 110px;
        position: absolute;
        top: 68px;
        left: 170px;
    }
    .jtf2 {
        font-size: 12px;
        top: 110px;
    }
    .grid_about img.van_second {
        width: 140px;
        position: absolute;
        top: 190px;
        left: 170px;
    }
    .grid_contact {
        float: left;
        position: relative;
        top: 365px;
    }
    .grid_contact h {
        position: relative;
        float: left;
        font-size: 17px;
        font-weight: bold;
        left: 23px;
        top: -80px;
    }
    .grid_contact table.contact_table {
        position: relative;
        float: left;
        font-size: 10px;
        left: 0px;
        top: -100px;
    }
    .grid_contact table.contact_table tr,
    td {
        font-size: 11px;
    }
    .grid_cenik {
        float: left;
        position: relative;
        top: 270px;
        left: 10px;
    }
    .grid_cenik h {
        float: left;
        left: 17px;
        font-size: 17px;
        font-weight: bold;
    }
    .grid_cenik p {
        font-size: 12px;
        left: 15px;
    }
    .grid_faq {
        background-color: #e6e6e6;
        width: 100%;
        position: relative;
        margin: auto auto;
        height: 560px;
        top: -20px;
        left: -15px;
    }
    .grid_faq li {
        position: relative;
        font-size: 16px;
    }
    .grid_faq p {
        position: relative;
        font-size: 12px;
        top: 5px;
    }
    .grid_povinn {
        width: 100%;
        height: 560px;
    }
    .grid_povinn p {
        position: relative;
        left: -20px;
        float: left;
    }
    .footer p {
        position: relative;
        top: -10px;
        font-size: 11px;
    }
}