* {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #FFFAF0;
    margin: 0;
}


/* text */

header {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

h1 {
    font-family: "Lobster", cursive;
    text-align: center;
    font-size: 68px;
    display: inline-block;
    padding: 32px 135px 24px 135px;
    margin: 0;
    background-image: url("kasparek.png"), url("kasparek_zp.png");
    background-position: left center, right center;
    background-repeat: no-repeat;
    background-size: 120px;
}

h2 {
    font-size: 24px;
    margin: 0;
}

p {
    text-align: justify;
    line-height: 1.6;
}

p.poznamka {
    font-size: 12px;
    font-style: italic;
    text-indent: 0;
    margin-left: 0;
}

a {
    color: black;
}


/* navbar */

.tapky {
    background-image: url("tapky.png");
    background-repeat: repeat-x;
    background-size: 32px;
    height: 32px;
}

nav {
    background-color: #41b3a3;
}

.nav {
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    border-right: 2px solid white;
    display: inline;
}

.nav li:last-child {
    border-right: none;
}

.nav li a {
    font-size: 20px;
    color: white;
    text-align: center;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    display: inline-block;
    padding: 4px 8px;
    margin: 10px 20px;
    transition: 0.5s;
}

.nav li a:hover {
    border-bottom: 3px solid #e98074;
    transition-delay: 0.1s;
}

.nav span {
    display: none;
}


/* menu icon */

.icon {
    width: 100%;
    height: 55px;
    display: none;
}

button.menu_icon {
    background-color: inherit;
    border: none;
    outline: none;
    padding: 15.5px 16px;
    float: right;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    background-color: white;
    width: 28px;
    height: 4px;
    border-radius: 2px;
    transition: 0.5s;
}

.bar2,
.bar3 {
    margin-top: 6px;
}

.change .bar1 {
    transform: rotate(-45deg) translate(-7px, 7px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-7px, -7px);
}


/* images */

img.uvod {
    width: calc(100% - 314px);
    height: auto;
    margin: 10px 0 10px 0;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
}

.column.left {
    padding-right: 4px;
    margin-bottom: 10px;
}

.column.right {
    padding-left: 4px;
    margin-bottom: 10px;
}

.column img {
    margin-top: 10px;
    vertical-align: middle;
    width: 100%;
}


/* left-side content */

.content {
    margin: 0 10%;
}

.left {
    width: calc(100% - 314px);
    margin-bottom: 36px;
}

.left p {
    text-indent: 8px;
    margin: 8px;
}

.left h2 {
    padding-left: 32px;
    background: url("tapka.png") left center no-repeat;
    background-size: 24px;
}

.left .frame {
    padding: 10px 0 10px 0;
}

.frame ul {
    margin: 8px 0 8px 0;
}

.frame ul li:not(:last-child) {
    margin-bottom: 8px;
}


/* right-side content */

.right {
    width: 290px;
    float: right;
    position: sticky;
    top: 0px;
}

.right p {
    margin: 16px 0 8px 8px;
}

.right .frame {
    background-color: #e98074;
    border-radius: 4px;
    box-shadow: 2px 2px 2px 2px gray;
    padding: 14px 20px;
    margin: 10px 0 20px 0;
}

.right .frame i {
    margin-right: 12px;
}

.right .adresa p {
    display: inline-block;
    position: absolute;
}

address {
    width: calc(100% - 44.25px);
    display: inline-block;
    margin: 16px 0 0 40.25px;
}

iframe {
    border-radius: 6px;
    width: 250px;
    height: 200px;
    margin-top: 10px;
}


/* tables */

table {
    text-align: center;
    width: 100%;
    box-shadow: 2px 2px 2px 2px gray;
    border-spacing: 0;
    margin: 10px 0 20px 0;
}

th {
    background-color: #41b3a3;
}

th,
td {
    font-size: 14px;
    width: 25%;
    padding: 12px;
}

tr {
    background-color: transparent;
}

tr:nth-child(odd) {
    background-color: #c6e8e3;
}

.velikosti {
    text-align: right;
}

.velikost {
    text-align: left;
}

.sluzby tr:nth-child(3) td:first-child {
    width: 40%;
}

.sluzby td:last-child,
.sluzby th:last-child {
    width: 33.33%;
}


/* footer */

footer {
    background-color: #41b3a3;
    position: relative;
    display: block;
    height: 56px;
}

footer p {
    color: black;
    font-size: 14px;
    text-align: center;
    line-height: normal;
    margin: 0;
}

footer p:first-child {
    padding-top: 10px;
}


/* topbtn */

.topbtn {
    color: white;
    background-color: #41b3a3;
    border: none;
    outline: none;
    border-radius: 8px;
    position: fixed;
    bottom: -46px;
    right: 5px;
    padding: 5px 14.25px 10px 14.25px;
    cursor: pointer;
    z-index: 1;
    transition: 0.5s;
}

.topbtn i {
    font-size: 28px;
}


/* mobile */

@media screen and (max-width: 1250px) {
    .content {
        margin: 0 24px;
    }
}

@media screen and (max-width: 1000px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
    .column.left {
        padding-right: 0;
        margin-bottom: 0;
    }
    .column.right {
        padding-left: 0;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 64px;
        background: none;
        padding: 10px 0 10px 0;
    }
    .nav {
        overflow: hidden;
        float: none;
        height: 0;
    }
    .nav li {
        display: block;
        border: none;
        text-align: left;
    }
    .nav li a {
        border: none;
    }
    .nav li a:hover {
        border-bottom: none;
    }
    .nav span {
        display: block;
    }
    .icon {
        display: block;
        position: relative;
        width: 100%;
        right: 0;
        top: 0;
    }
    img.uvod {
        width: 100%;
        margin: 10px 0 0 0;
    }
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
    .column.left {
        padding-right: 4px;
        margin-bottom: 10px;
    }
    .column.right {
        padding-left: 4px;
        margin-bottom: 10px;
    }
    .right .frame h2 {
        font-size: 20px;
    }
    .content {
        margin: 0 12px;
    }
    .left {
        width: 100%;
        display: inline-block;
    }
    .right {
        width: 100%;
        position: relative;
        top: 0;
    }
    iframe {
        width: 100%;
    }
    td {
        padding: 8px 4px;
    }
}

@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
    .column.left {
        padding-right: 0;
        margin-bottom: 0;
    }
    .column.right {
        padding-left: 0;
        margin-bottom: 0;
    }
}