/* General Styles */
body {
    margin: 0;
    background-color: #1D1E23;
    background: repeating-linear-gradient(45deg,
        #1D1E23,
        #1D1E23 20px,
        #1D1E25 20px,
        #1D1E25 40px);
    font-family: Arial, sans-serif;
}



/* Header Styles */
.site-header {
    background-color: #242424;
    color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo .stitched {
    margin-right: 10px;
}

.header-logo h1 {
    font-size: 24px;
    margin: 0;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.header-nav ul li {
    margin: 0;
}

.header-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.header-nav ul li a:hover {
    color: #8fc866;
}

/* Main Container Styles */
.container {
    display: grid;
    grid-template:
        "canvas canvas" 1fr
        "footer footer" auto;
    padding: 20px;
    margin-top: 60px; /* Adjust based on header height */
}

/* Canvas Container Styles */
.canvasContainer {
    grid-area: canvas;
    background-color: #242424;
    margin-left: 1%;
    margin-right: 1%;
    overflow: hidden; /* Ensure drawing area does not exceed boundaries */
    border: 1px dashed grey;
    position: relative; /* Allow absolute positioning of drawing elements if needed */
    height: 60vh; /* Adjusted height to ensure everything fits */
}

/* Footer Styles */
.footer {
    grid-area: footer;
    display: grid;
    grid-template: 1fr / 3fr 7fr;
    align-items: center;
    justify-items: center;
}

/* Button Styles */
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.button {
    background: none;
    border: 2px solid;
    line-height: 1;
    cursor: pointer;
    color: #8fc866;
    transition: 0.5s;
    text-align: center;
    font-size: 16px; /* Adjust font size as needed */
    padding: 1em;
    box-sizing: border-box;
    border-radius: 5px;
}

.button:hover,
.button:focus {
    border-color: #66c887;
    color: #fff;
}

/* Specific Button Styles */
#share-button {
    background-color: #1DA1F2;
    color: white;
}

#share-button:hover {
    background-color: #0d8ddb;
}

#copy-button {
    background-color: #28a745;
    color: white;
}

#copy-button:hover {
    background-color: #218838;
}

/* Evaluate Button */
.button.slide {
    background: #8fc866;
    color: white;
    border: none;
}

.button.slide:hover,
.button.slide:focus {
    background: #66c887;
}

/* Progress Bar */
#progress-bar {
    margin: auto;
    height: 30px; /* Increase height as needed */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .header-nav ul li {
        margin: 10px 0;
    }

    .container {
        grid-template:
           
            "canvas" 1fr
            "footer" auto;
    }
}
