@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;700&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
    --bauhaus-red: #E32636;
    --bauhaus-yellow: #FFD700;
    --bauhaus-blue: #0087BD;
    --bauhaus-black: #1a1a1a;
    --background-color: #f5f5f5;
}

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

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--background-color);
    font-family: 'Work Sans', sans-serif;
    color: var(--bauhaus-black);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: 40px auto;
}

.gallery-display {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.canvas-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    max-width: 800px;
}

@media (min-width: 1024px) {
    .gallery-display {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
    
    .canvas-container {
        width: 60%;
        max-width: none;
    }
    
    .artwork-info {
        width: 40% !important;
        margin-top: 0 !important;
    }
}

#canvas-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 25px;
}

.artwork-info {
    margin-top: 30px;
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bauhaus-black);
    margin: 0;
}

.controls {
    display: flex;
    gap: 15px;
}

.button {
    background-color: var(--bauhaus-black);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.button i {
    font-size: 18px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 600px;
    color: #444;
}

.tag-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}

.tag-info-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: #666;
}

.tag-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--bauhaus-black);
}

.divider {
    width: 50px;
    height: 5px;
    background-color: var(--bauhaus-red);
    margin: 20px 0;
}

.signature {
    font-size: 0.9rem;
    color: #888;
    margin-top: 30px;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        margin: 20px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .controls {
        width: 100%;
    }
    
    .button {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Desktop-specific styles */
@media (min-width: 1024px) {
    body {
        padding: 0 20px;
    }
    
    .container {
        margin: 60px auto;
    }
    
    .button {
        transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }
}
