:root {
    --primary-brown: #966A42;
    --light-brown: #EEB579;
    --dark-brown: #6D4324;
    --additional-green: #37A0AB;
    --white: #f3f3f3;
    --black: #000;
    --grey: #575757;
    --light-grey: #cecece;
}


/**
.cinzel-<uniquifier> {
        font-family: "Cinzel", serif;
        font-optical-sizing: auto;
        font-weight: <weight>;
        font-style: normal;
        }
*/
* {
    margin: 0;
}

html,
body {
    max-width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    text-align: center;
    font-family: "Cinzel", serif;
    background-color: #1c1a17;
    /* deep warm brown*/
    color: var(--light-brown);
    /* gold-ish text #e8c078 */
}

h1,
h2,
h3 {
    text-align: left;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-brown);
    padding: 0;
    margin: 0;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--light-brown);
}

h3 {
    font-weight: 600;
    color: var(--light-brown);
}

h4 {
    font-weight: 500;
    color: var(--light-brown);
}

p {
    margin-left: 5vw;
    /*kačenko poraď*/
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 400;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header {
    /*    position: sticky;
    top: 0;     */
    padding: 5vw;
    margin: 0;
    background-color: var(--dark-brown);
}

.hamburger {
    cursor: pointer;
    margin-right: 2vw;
    width: 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transform: scale(2);
}

.hamburger .line {
    transition: all 1;
    background-color: var(--light-brown);
    border-radius: 10px;
    width: 100%;
    height: 3px;
    transition: all 0.3s;
}

nav {
    position: fixed;
    top: 0;
    left: -52%;
    height: 100dvh;
    background-color: var(--light-brown);
    width: 50%;
    /**display: none;*/
    transition: all 0.5s;
    z-index: 2;
}

nav a {
    width: 100%;
    height: 100%;
}

ul {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

ul .line {
    height: 1px;
    background-color: var(--dark-brown);
    width: 10vw;
}

li {
    width: fit-content;
    list-style-type: none;
}

nav a {
    font-weight: 800;
    color: var(--dark-brown);
    text-decoration: none;
}

a {
    color: var(--light-brown);
    font-weight: 800;
    text-decoration: none;
}

.overlay {
    transition: all 1s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    transition: opacity 0.1s ease-in-out;
    visibility: hidden;
    opacity: 0;
    z-index: 0;
    padding: 0;
}

body.show {
    overflow: hidden;
}

nav.show {
    display: block;
    transform: translateX(100%);
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.hamburger.line {
    animation: transform 0.5;
}

.hamburger.show .line:nth-child(2) {
    display: none;
}

.hamburger.show .line:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.hamburger.show .line:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

table {
    border-collapse: collapse;
    margin: 5vh auto;
    min-width: 50%;
    max-width: 90%;
}

td>p {
    font-size: 0.70rem;
}

.opening {
    white-space: nowrap;
}

blockquote {
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-style: italic;
}

section {
    margin: 30px auto;
    width: 85%;
}

strong {
    font-weight: 700;
}

p {
    text-align: justify;
}


tr td:first-child {
    padding-right: 10vw;
    text-align: left;
}

tr td:last-child {
    text-align: right;
    border-right: none;
}

tr td {
    padding: 3px 5px;
    border-bottom: 1px solid var(--light-brown);
}

tr:last-child td {
    border: none;
}

tr:last-child td:last-child {
    border: none;
}

.bernard {
    float: left;
    width: 50px;
    background-color: #00000030;
    border-radius: 50%;
    margin: 10px;
}

.services {
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.services>div {
    flex-grow: 1;
    margin: 0;
    max-width: 210px;
    width: 165px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--light-brown);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.center {
    text-align: center;
}

.seznam li {
    list-style-type: disc;
}

li {
    text-align: left;
}

.seznam ul {
    margin: 10px auto;
    width: fit-content;
    display: block;
}


.seznam a {
    color: var(--light-brown);
}

.seznam a {
    width: fit-content;
    height: 25px;
}

footer {
    padding: 20px;
    background-color: var(--dark-brown);
}

footer>p {
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.hospoda > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;

}

.hospoda p {
    margin: 0;
}

img {
    width: 45vw;
    float: left;
    padding: 10px;
    margin: 5px;
}

.galerie > img {
    width: 35vw;
}

.galerie {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

table td { /*spekulativní ještě to možná odstraním*/
    padding: 5px;
}

.long td:last-child {
        white-space: nowrap;
}

/*
.galerie > img:hover {
    filter: blur(1px);
    outline: 1px solid var(--light-brown);
    outline-offset: -10px;
}

.galerie > div:hover {
    outline: 1px solid var(--light-brown);
    outline-offset: -10px;
}
*/


.kontakty h2 {
    align-self: baseline;
}

.kontakty,
footer {
    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kontakty p,
footer p {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.kontakty a,
footer a {
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 400;
}

span {
    font-weight: 800;
}

/*
section::after {
    content: "";
    height: 1px;
    width: 90vw;
    background-color: var(--dark-brown);
}
*/

section {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-radius: 10px;
}

.menu {
    cursor: pointer;
    position: fixed;
    padding: 5px;
    width: 25px;
    height: 25px;
    bottom: 10px;
    right: 10px;
    border-radius: 40%;
    border: 1px solid var(--light-brown);
}

.nabidka {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    position: fixed;
    padding: 10px;
    top: calc(((100% - 80%) / 2) - 10px);
    left: calc(((100% - 80%) / 2) - 10px);
    width: 80%;
    height: 80%;
    background-color: var(--dark-brown);
    border-radius: 10px;
    transition: opacity 0.25s;
}

.nabidka.show {
    opacity: 1;
}

a {
    text-decoration: underline;
    white-space: nowrap;
}

.pujcovna section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pujcovna img {
    width: 80%;
    filter: drop-shadow(0 0 1px #ffffffff);
}

.line {
    background-color: var(--light-brown);
    height: 1px;
    width: 90%;
    margin: 0 auto;
}

nav a:hover {
    color: var(--black);
    transition: all 0.5s;
}

nav a {
    position: relative;
    display: inline-block;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    bottom: 1px;
    height: 2px;
    background-color: var(--black);
    transition: all 0.25s;
}

@media screen and (min-width: 768px) {

    p,
    li,
    td,
    tr {
        font-size: 20px;
    }

    nav {
        left: -37%;
        height: 100dvh;
        background-color: var(--light-brown);
        width: 35%;
    }

    nav.show {
        display: block;
        transform: translateX(100%);
    }

    section {
        width: 60%;
    }

    header {
        padding: 2.5vw;
    }

    .galerie > img {
        width: 20vw;
    }
    .galerie {
        gap: 20px;
    }

    .less-padding {
        width: 75%;
    }

    nav a:hover::after {
    width: 100%;
    }

    .services > div > p {
        margin-left: 0;
    }

    .hospoda > div {
    display: block;
    }

    img {
        width: 20vw;
        margin: 0;
    }
}