*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html 
{
    scroll-behavior: smooth;
}
body
{
    background:linear-gradient(black 30%, #4a3832 );
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0; /* Rimuove margini predefiniti del browser */
    padding: 0; /* Rimuove padding predefiniti del browser */
    width: 100%;
    overflow-x: hidden; /* Evita lo scorrimento orizzontale */
}

.container
{
    max-width: 100vw;
    /* overflow-x: hidden; */
    padding:0 10px;
    text-align: center;
}

#logo-image
{
    display: block;
    margin: 0 auto;
    top: 10px;
    max-width: 100%;
}

#logo-caption
{
    font-size: 18px;
    font-family: "Sancreek", sans-serif;
    font-weight: 350;
    color: #6e797a;
    margin: 10px auto;    
    text-align: center;
    margin-top: 10px;
    max-width: 90%;
    margin-left: 40%;
    margin-right: 40%;
}

#logo-end hr
{
    margin: 20px auto;
    width: 90%;
    border: 0;
    color: #6e797a;
}

#table
{
    margin: 20px auto;
    text-align: center;
    position: relative;
    color: #6e797a;
    border-collapse: collapse;
    width: 90%;
    max-width: 600px;  
}

#table a 
{
    text-decoration: none;
    color: inherit;
}

#table th
{
    padding: 15px;
    font-family: "Sancreek", sans-serif;
    font-weight: 350;
    font-size: 25px;
    /* text-shadow: 1px 1px 0px white; */
    width: 300px;       
    text-align: center;
    box-sizing: border-box;
    cursor:pointer;

}

#table::before, #table::after
{
    content:'';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #6e797a, transparent);
    opacity: 0.8;
    transition: height 0.3s ease, opacity 0.3s ease;
}



#table th:first-child, #table td:first-child
{
    border-left: none; /* Rimuove il bordo sinistro della prima colonna */
}

#table th:last-child, #table td:last-child
{
    border-right: none; /* Rimuove il bordo destro dell'ultima colonna */
}

#table th:hover
{
    text-shadow: 1px 1px 20px white;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: 8px;
    z-index: 1;
}



#menu-section
{
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
    scroll-margin-top: 40px;
}

#menu-title
{
    position: relative;
    font-family: "Sancreek", sans-serif;
    font-weight: 150;
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-bottom: none;
    color: #969696;
}

#menu-title::after, #menu-title::before
{
    content:'';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent 20%, #6e797a, transparent 80%);
    opacity: 0.8;
    transition: height 0.3s ease, opacity 0.3s ease;
}

#menu-title::before {
    top: -2px; /* Bordo superiore */
}

#menu-title::after {
    bottom: -2px; /* Bordo inferiore */
}

.menu-scrollbar-container.sticky-bg {
    background-color: rgba(0, 0, 0, 1) !important;
}

.menu-scrollbar-container
{
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px;
    background-color: transparent;
    /* transition: background-color 0.3s; */
}

.menu-scrollbar-container::before,
.menu-scrollbar-container::after {
    content: '';
    position: absolute;
    left: -200px;
    width: calc(100% + 400px); /* Adjust width to cover the scrollbar area */
    height: 2px;
    background: linear-gradient(to right, transparent 20%, #6e797a, transparent 80%);
    opacity: 0.8;
    z-index: 1;
}

.menu-scrollbar-container::before {
    top: 0; /* Position the left fading line */
}

.menu-scrollbar-container::after {
    bottom: 0; /* Position the right fading line */
}


.menu-scrollbar
{
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; 
    /* scroll-behavior: smooth; */
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 10px 0;
}

.menu-scrollbar::-webkit-scrollbar
{
    display: none;
}

.menu-scrollbar-list
{
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    /* justify-content: center; */
    gap: 50px;
}

.menu-scrollbar-list li
{
    display: inline-block;
}

.menu-scrollbar-list a
{
    text-decoration: none;
    color: #6e797a;
    font-family: "Sancreek", sans-serif;
    font-size: 25px;
}

.menu-scrollbar-list a:hover
{
    text-shadow: 1px 1px 20px white;
}

.scroll-button {
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: #6e797a;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.scroll-button:hover {
    color: #969696;
}

.scroll-button.left {
    margin-right: 10px;
}

.scroll-button.right {
    margin-left: 10px;
}

.menu-category
{
    margin-bottom: 40px;
    scroll-margin-top: 50px;
}

.category-title
{
    font-family: "Sancreek", sans-serif;
    color: #969696;
    font-size: 24px;
    /* font-weight: bold; */
    /* text-transform: uppercase; */
    line-height: 1;
    margin-bottom: 2px;
    padding-top: 30px;
}

.category-title-translation
{
    font-family: "Sancreek", sans-serif;
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 5px;
    line-height: 1.5;
    border-bottom: 1px dotted #969696;
    color: #6e797a;
    padding-bottom: 3px;
}

.menu-items
{
    list-style: none;
    padding: 0;
    margin: 0;
}

.dish
{
    display: flex;
    justify-content: space-between;
}

.dish-name
{
    font-family: "Noto Serif", sans-serif;
    flex: 1;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1;
    color: #969696;
    
}

.dish-price
{
    text-align: right;
    width: 55px;
    color: #969696;
    font-weight: bold;
    
}

.dish-translation
{
    font-family: "Playwrite AU SA", sans-serif;
    color: #6e797a;    
    font-size: 10px;
    text-transform: uppercase;
    margin: 1px 0 15px 0;
    line-height: 1.5;
}
.frozen
{
    font-style: italic;
    color: #6e797a;
    font-family: "Noto Serif", sans-serif;
    /* text-transform: uppercase; */
    text-align: right;
    font-size: 9px;
}

.sized-dish {
    display: block; /* Stack the beer name and sizes vertically */
    margin-bottom: 15px; /* Add spacing between beer items */
    color: #6e797a;    
}

.dish-sizes {
    margin-left: 50px; /* Indent the sizes */
    margin-top: 5px; /* Add spacing below the beer name */
    color: #6e797a;    
}

.dish-sizes .size {
    display: flex; /* Align size and price on the same line */
    justify-content: space-between; /* Keep size on the left and price on the right */
    color: #6e797a;    
    margin-bottom: 5px; /* Add spacing between sizes */
}

.dish-sizes .size-name {
    font-weight: normal; /* Differentiate size text from main name */
    font-size: 16px; /* Slightly smaller font size for sizes */
}

/* .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    justify-content: center;
    z-index: 2;
}

.play-icon {
    margin-left: 5px; 
}

.play-btn:hover {
    background: rgba(0,0,0,0.8);
} */

@media (max-width: 600px) {
    /* Ensure no horizontal scrolling */
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden; /* Disable horizontal scrolling */
    }

    /* Wrapper adjustments */
    .wrapper {
        width: 100%; /* Ensure the wrapper occupies the full width */
        overflow-x: hidden; /* Disable horizontal scrolling */
    }

    .wrapper, .container {
        position: relative; /* Allow sticky positioning */
    }

    /* Container adjustments */
    .container {
        max-width: 100%; /* Ensure the container occupies the full width */
        margin: 0 auto; /* Center the container */
        /* padding: 0 10px; Add some padding for spacing */
        text-align: center;
    }

    #logo-caption
    {
        margin-left: 5%;
        margin-right: 5%;
    }
    /* Menu section adjustments */
    #menu-section {
        padding: 10px;
        max-width: 100%; /* Ensure the menu section occupies the full width */
        margin: 0 auto;
        overflow-x: visible;
    }

    /* Sticky scrollbar adjustments */
    .menu-scrollbar-container {
        display: flex;
        align-items: center;
        position: sticky; /* Preserve sticky behavior */
        top: 0; /* Stick to the top of the viewport */
        z-index: 100;
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.8); /* Add a background color for better visibility */
    }

    /* Scrollbar list adjustments */
    .menu-scrollbar-list {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 15px; /* Reduce gap for smaller screens */
        white-space: nowrap; /* Prevent items from wrapping */
    }

    .menu-scrollbar-list a {
        font-size: 16px; /* Adjust font size for better readability */
        color: #6e797a;
        text-decoration: none;
    }

    /* Scroll buttons adjustments */
    .scroll-button {
        font-size: 20px; /* Adjust button size */
        padding: 5px;
        color: #6e797a;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .scroll-button:hover {
        color: #969696;
    }

    /* Menu category adjustments */
    .menu-category {
        margin-bottom: 20px;
        scroll-margin-top: 60px; /* Adjust scroll offset for better alignment */
    }

    .category-title {
        font-size: 18px; /* Adjust font size for smaller screens */
        margin-bottom: 1px;
    }

    .category-title-translation {
        font-size: 10px; /* Adjust translation text size */
        margin-top: 5px;
    }

    /* Dish adjustments */
    .dish {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .dish-name {
        font-size: 12px; /* Adjust dish name size */
    }

    .dish-price {
        font-size: 12px; /* Adjust price size */
        text-align: right;
    }

    .dish-translation {
        font-size: 7px; /* Adjust translation text size */
        margin-top: 2px;
    }

    /* Logo adjustments */
    #logo-image {
        max-width: 100%; /* Ensure the logo scales properly */
        height: auto;
        margin: 0 auto;
    }
}
