body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-transform: uppercase;
}

header, footer {
    background-color: #1e1e1e;
    padding: 1em;
    text-align: center;
}

header h1, footer p {
    margin: 0;
    font-size: 2em;
}

nav ul.menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 1em;
}

nav ul.menu:last-child {
    margin-bottom: 0;
}

nav ul li {
    flex: 1;
}

nav ul li a {
    display: flex;
    background-color: #2e2e2e;
    padding: 1em;
    border-radius: 0.5em;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    justify-content: center;
    align-items: center;
}

nav ul li a:hover {
    background-color: #3e3e3e;
    color: #ffcc00;
}

nav ul.menu + ul.menu {
    margin-top: 1em;
}

main {
    flex: 1;
    padding: 1em;
}

h2 {
    text-align: center;
    margin-bottom: 1em;
    font-size: 2em;
}

.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

.menu-card {
    background-color: rgba(51, 51, 51, 0.7);
    border: 1px solid #ffffff;
    border-radius: 0.5em;
    width: 80%;
    padding: 2em;
    box-sizing: border-box;
}

.menu-card h3, .menu-card p, .menu-card ul {
    margin: 0.5em 0;
    text-align: center;
}

.menu-card ul {
    list-style: none;
    padding: 0;
}

.menu-card ul li {
    margin: 0.5em 0;
}

.price {
    font-size: 1.5em;
    color: #ffcc00;
}
.a-price {
    font-size: 1.2em;
    color: #ffcc00;
    padding-left: 3px;
}

.variant {
    background-color: rgba(51, 51, 51, 0.6);
    border: 1px solid #ffffff;
    border-radius: 0.5em;
    padding: 1em;
    margin-top: 1em;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.variant h4 {
    margin: 0.5em 0;
    font-size: 1.6em;
    color: #ffcc00;
}

.variant ul {
    list-style: none;
    padding: 0;
    margin: 0.5em 0;
}

.variant ul li {
    margin: 0.5em 0;
    text-align: left;
}

@media (max-width: 768px) {
    header h1, footer p {
        font-size: 1.5em;
    }

    nav ul.menu {
        gap: 0.5em;
    }

    nav ul li a {
        font-size: 1em;
        padding: 0.5em;
    }

    .menu-card {
        width: 90%;
        padding: 1em;
    }

    h2 {
        font-size: 1.5em;
    }

    .menu-card h3, .menu-card p, .menu-card ul {
        font-size: 1em;
    }

    .price {
        font-size: 1.2em;
    }

    .variant h4 {
        font-size: 1em;
    }

    .variant ul li {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header h1, footer p {
        font-size: 1.2em;
    }

    nav ul.menu {
        gap: 0.2em;
    }

    nav ul li a {
        font-size: 0.8em;
        padding: 0.4em;
    }

    .menu-card {
        width: 100%;
        padding: 0.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    .menu-card h3, .menu-card p, .menu-card ul {
        font-size: 0.8em;
    }

    .price {
        font-size: 1em;
    }

    .variant h4 {
        font-size: 0.8em;
    }

    .variant ul li {
        font-size: 0.7em;
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.card {
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #ffffff;
    border-radius: 0.5em;
    width: 15em;
    height: 11em;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card .front, .card .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column; /* Added to ensure h3 and h4 are stacked vertically */
    align-items: center;
    justify-content: center;
    border-radius: 0.5em;
    padding: 0.5em;
    box-sizing: border-box;
    background-color: rgba(51, 51, 51, 0.7);
}

.card .back {
    background-color: rgba(68, 68, 68, 0.7);
    transform: rotateY(180deg);
}

.card.flipped {
    transform: rotateY(180deg);
}

.card h3, .card p {
    margin: 0.5em;
    text-align: center;
    font-size: 1em;
    border-radius: 0.5em;
}

.card .front h3 {
    font-size: 1.2em; /* Increased font size for better visibility */
}

.card .front h4 {
    font-size: 1.5em;
    color: #ffcc00; /* Different color for prices */
    margin-top: 0.3em; /* Ensure some space between h3 and h4 */
}

.novinky {
    background-color: #2e2e2e;
    padding: 1em;
    border-radius: 0.5em;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    text-align: center;
    display: block;
    max-width: 96.5%;
    transition: background-color 0.3s, color 0.3s;
}

.novinky:hover {
    background-color: #3e3e3e;
    color: #ffcc00;
}

.coctail {
    background-image: url("../img/cocktails.webp");
    background-size: cover;
}

.food {
    background-image: url("../img/Burger.webp");
    background-size: cover;
}

.gin-tonic {
    background-image: url("../img/gin_tonic.webp");
    background-size: cover;
}

.hotdrink {
    background-image: url("../img/hotdrink.webp");
    background-size: cover;
}

.nonalco {
    background-image: url("../img/nonalco.webp");
    background-size: cover;
}

.shisha {
    background-image: url("../img/shisha.webp");
    background-size: cover;
}

.wine {
    background-image: url("../img/wine.webp");
    background-size: cover;
}

.shots {
    background-image: url("../img/shots.webp");
    background-size: cover;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Fade animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Dots/circles */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}
h2.category {
    width: 100%;
    text-align: center;
    margin: 2em 0 1em 0;
}
/* Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#openModalBtn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #2e2e2e;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 2em;
}

#openModalBtn:hover {
    background-color: #3e3e3e;
    color: #ffcc00;
}
#translateButton
{

    background-color: #2e2e2e;
    padding: 1em;
    border-radius: 0.5em;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;

}
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
        border-color: rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 1);
        border-color: rgba(255, 215, 0, 1);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
        border-color: rgba(255, 215, 0, 0.4);
    }
}

.new {
    animation: pulse-border 2s infinite alternate ease-in-out;
    border: 2px solid rgba(255, 215, 0, 0.4);
}
/* Štítek NOVÝ */
.badge {
    position: absolute;
    top: 8px;
    right: 8px;
    /*  background-color: gold;*/
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    padding: 0.3em 0.6em;
    border-radius: 0.3em;
    text-transform: uppercase;
    box-shadow: 0 0 5px gold;
    backface-visibility: hidden;
}
