@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
html::-webkit-scrollbar {
    display: none;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0px;
    background-color: rgb(129, 14, 14);
    text-align: justify;
}
img {
    width: 100%;
    max-width: max-content;
}
article {
    flex: 1;
}
section {
    display: flex;
    flex-direction: column;
}
/* menu */
header div {
    background-color: rgb(129, 14, 14);
    display: flex;
    flex-direction: column;
    padding: 1% 2% 2% 2%;
    border-bottom: 2px solid white;
}
header div nav {
    flex-direction: column;
    display: flex;
    text-align: center;
}
nav a {
    text-decoration: none;
    color: white;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid white;
    font-weight: bold;
}
header div .nadpis {
    color: white;
    font-family: 'Marck Script', cursive;
    font-weight: normal;
    font-size: 50px;
}
header div .nadpis .pozadi {
    background-image: url('../img/mountains.png');
    width: 99px;
    position: relative;
    left: 49px;
}
nav .here {
    background-color: white;
    color: rgb(129, 14, 14);
}
/* top tlačítko */
.top {
    position: relative;
    font-size: 50px;
    text-decoration: none;
    color: white;
    bottom: -4px;
    right: 11px;
}
/* footer */
footer article {
    padding: 0;
    text-align: center;
}
footer {
    display: flex;
    flex-direction: row;
    color: white;
    background-color: black;
    height: 60px;
    line-height: 60px;
    width: 100%;
}
.stred, footer article {
    display: flex;
    flex-direction: column;
    align-items: center;
}
section.home article {
    background-color: white;
    margin: 2%;
    padding: 2%;
    border-radius: 3px;
}
section.fotky article{
    margin: 0;
    padding: 0;
}
section.home div article {
    padding: 2%;
}
.f1 {flex: 1;}
.f2 {flex: 2;}
.f3 {flex: 3;}
.f4 {flex: 4;}
section.map-img {
    padding: 3% 5% 3% 5%;
}
section.map {
    padding: 0% 5% 3% 5%;
}
section.map-img article {
    margin-right: 0;
    margin-bottom: 2%;
    position: relative;
    text-align: center;
}
section.map-img article:last-child {
    margin-right: 0;
}
section.map-img img {
    border: 2px solid white;
}
section.map-img h2 {
    position: absolute;
    bottom: -18px;
    left: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: normal;
    width: 100%;
}
section.map-img article {
    display: flex;
    flex-direction: column;
    align-items: center;
}
section.map iframe {
    width: 100%;
    height: 500px;
    border: 2px solid white;
}
@media (min-width:1130px) {
    /* menu */
    header {
        background-image: url('../img/header.jpg');
        background-size: cover;
        background-position: left bottom;
        padding-bottom: 43%;
        border-bottom: 2px solid white;
    }
    header div {
        align-items: baseline;
        justify-content: space-between;
        flex-direction: row;
        padding: 1% 2% 0% 5%;
    }
    header div nav {
        flex-direction: row;
    }
    nav a {
        margin-right: 50px;
        padding-left: 29px;
        padding-top: 12px;
        border: none;
        font-weight: normal;
        background-size: auto 0%;
        background-position: center bottom;
        background-repeat: no-repeat;
    }
    nav a:last-child {
        margin-right: 120px;
    }
    nav .herepc {
        background-color: transparent;
        color: white;
        background-image: url('../img/mountains.png');
        background-repeat: no-repeat;
        background-size: auto 80%;
        background-position: left top;
    }
    nav a:hover {
        background-image: url('../img/mountains.png');
        background-position: left top;
        background-repeat: no-repeat;
        background-size: auto 80%;
        transition: 0.7s;
    }
    /* Tlačítko k návratu na top */
    .top {
        font-size: 50px;
        font-weight: 550;
        text-decoration: none;
        color: rgb(129, 14, 14);
        background-color: whitesmoke;
        border-radius: 50%;
        position: fixed;
        z-index: 10;
        bottom: 20px;
        right: 20px;
        transition: 0.3s;
    }
    .top:hover {
        transition: 0.4s;
        border-radius: 15%;
        transform: scale(1.2);
        transition: 0.3s;
    }
    section.map-img article {
        margin-right: 30px;
    }
    section.map-img article:last-child {
        margin-right: 0;
    }
    section {
        flex-direction: row;
    }
    section.fotky article{
        margin: 2%;
        padding: 2%;
    }
    section.home article {
        background-color: white;
        margin: 2% 5% 2% 5%;
        padding: 2%;
        border-radius: 3px;
    }
    section.home div article {
        padding: 2% 5% 2% 5%;
    }
    section.home {
        padding: 1%;
    }
    section.zalamovat {
        flex-direction: row;
        flex-wrap: wrap;
    }
    section.zalamovat article {
        flex-basis: 300px;
    }
    section.zalamovat.po3 article {
        flex-basis: 30%;
    }
    section.zalamovat.po4 article {
        flex-basis: 20%;
    }
    section.home article {
        margin-right: 20px;
    }
    section.home section.fotky article{
        margin: 10px 10px 10px 0px;
        padding: 0px;
    }
    section.home section.fotky article:last-child{
        margin: 10px 0px 10px 0px;
        padding: 0px;
    }
    .home-div {
        margin: 30px 5% 30px -20px
    }
}
@media (min-width:700px) {
    section.zalamovat {
        flex-direction: row;
        flex-wrap: wrap;
    }
    section.zalamovat article {
        flex-basis: 33.34%;
    }
}
@media (min-width:1000px) {
    section.zalamovat article {
        flex-basis: 25.1%;
    }
}
@media (min-width:1600px) {
    section.zalamovat article {
        flex-basis: 9.29%;
    }
}