html, body {
    padding-top:10px; /* Adjust this based on header/nav height */
    
    /* height: 100%;*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5dc; /* Coffee-inspired cream color */
    color: #3e2723; /* Dark brown for text */
    
    /* Slide Show */
    overflow-x: hidden;
}

/* Center Main Titles */
main {
    padding-top:120px;
    padding-bottom: 70px;
    flex: 1; /* Expands to take available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers form properly */
    text-align: center;
    /*padding-bottom: 4rem; /* Adds spacing so the footer doesn't overlap */
    overflow: auto; /* Ensures scrolling inside main */
}

main h1, main h2 {
    color: #6f4e37;
    text-align: center;
}

/* Center Form Properly */
.table-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    height: 60vh; /* Ensure centering within viewport */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #6f4e37; /* Coffee brown */
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 2rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it stays above other elements */
}

/* Navigation */
nav {
    position: fixed;
    top: 80px; /* Adjust to match header's height */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #3e2723;
    padding: 0.8rem 0;
    z-index: 999;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #dda15e; /* Coffee caramel color */
}

/* Footer */
footer {
    background-color: #3e2723;
    color: white;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    position: fixed; /* Changed from absolute */
    bottom: 0;
}

/* Rules table*/
.divider_cafe
{
    width: 100%;
    height: 30px; /* Adjust height as needed */
    background-image: url('images/icon_grao_01.png');
    background-repeat: repeat-x; /* Repeat horizontally */
    background-size: auto 100%; /* Keep original width, fill height */
}

/* Table without borders `*/
.wo_border {
    width: 75%;
    border-collapse: collapse;
}

.wo_border th, .wo_border td {
    border: 0px;
    padding: 10px; /* Adds space inside each cell */
    text-align: left;
}

/* Slide Show */
        #slideshow-container {
            position: relative;
            width: 100vw;
            height: 150px;
            overflow: hidden;
            display: flex;
            gap: 5px;
            will-change: transform; /* Optimize performance */
        }
        #slideshow-content {
            display: flex;
            gap: 5px;
            will-change: transform;
        }
        .slide {
            width: 400px;
            height: 150px;
            flex-shrink: 0;
        }

#bigImageContainer {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#bigImage {
    max-width: 90vw;
    max-height: 90vh;
    border: 5px solid brown; /* Changed to brown */
    border-radius: 8px; /* Optional: Rounded edges */
}
.thumbnail {
    cursor: pointer;
    width: 100px; /* Adjust as needed */
    border: 5px solid brown; /* Added brown border */
    border-radius: 8px; /* Optional: Rounded corners */
}
