:root {
    --header-image: url('../public/banner.png');
    --content: #181819;
}

@font-face {
  font-family: 'Teko';
  src: url('../public/fonts/teko/Teko-Light.woff2') format('woff2');
  font-weight: 300;
}

@font-face {
  font-family: 'Teko';
  src: url('../public/fonts/teko/Teko-Regular.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Teko';
  src: url('../public/fonts/teko/Teko-Medium.woff2') format('woff2');
  font-weight: 500;
}

@font-face {
  font-family: 'Teko';
  src: url('../public/fonts/teko/Teko-SemiBold.woff2') format('woff2');
  font-weight: 600;
}

@font-face {
  font-family: 'Teko';
  src: url('../public/fonts/teko/Teko-Bold.woff2') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: 'Khand';
  src: url('../public/fonts/khand/Khand-Medium.woff2') format('woff2');
  font-weight: 500;
}

@font-face {
  font-family: 'Khand';
  src: url('../public/fonts/khand/Khand-SemiBold.woff2') format('woff2');
  font-weight: 600;
}

@font-face {
  font-family: 'Khand';
  src: url('../public/fonts/khand/Khand-Bold.woff2') format('woff2');
  font-weight: 700;
}

body {
    font-family: 'Khand', sans-serif;
    font-weight: 400;
    margin: 0;
    background-color: #0a0a0b;
    background-size: 65px;
    color: #ffffff;
    background-image: var(--body-bg-image);
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

#container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#container a {
    color: #93DDD5;
    font-weight: bold;
}

#header {
    width: 100%;
    background-color: #0a0a0b;
    height: 200px;
    background-image: var(--header-image);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    background-attachment: scroll;
    max-width: 100%;
}

#navbar {
    height: 40px;
    background-color: #0a0a0b;
    width: 100%;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #93DDD5;
    text-decoration: underline;
}

#flex {
    display: flex;
    flex-wrap: wrap;
}

main {
    background-color: #181819;
    flex: 1;
    padding: 40px;
    order: 2;
    min-height: 100vh;
    border: 2px solid white;
    overflow: hidden;
}

#leftSidebar {
    background-color: #181819;
    width: 200px;
    padding: 30px;
    font-size: small;
    order: 1;
    border: 2px solid white;
}

#rightSidebar {
    background-color: #181819;
    width: 300px;
    padding: 30px;
    font-size: smaller;
    order: 3;
    border: 2px solid white;
}

footer {
    background-color: #0a0a0b;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    color: #93DDD5;
}

h1 {
    font-size: 35px;
}

h2 {
    font-size: 30px;
}

strong, b {
    font-weight: 700;
    color: #93DDD5;
}

.box {
    font-family: inherit;
    background-color: #272728;
    border: 1px solid #93DDD5;
    padding: 10px;
}

/* ============ BUTTON STYLES ============ */
.button {
    padding: 8px 16px;
    background: #93DDD5;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Teko', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.button:hover {
    background: #6ab8af;
    color: #000000;
    text-decoration: none;
}

.button.active {
    background: #6ab8af;
    color: #000000;
}
.featured-artwork {
    margin: 30px 0;
    padding: 0;
}

.artwork-card {
    background: #272728;
    border-radius: 0px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #93DDD5;
}

.artwork-card img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 80x;
    margin-bottom: 15px;
}

.artwork-card h3 {
    margin: 10px 0 5px 0;
    color: #93DDD5;
    font-size: 1.4em;
}

.artwork-card p {
    margin: 5px 0;
    color: #ffffff;
    font-size: 0.95em;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #93DDD5;
    font-style: italic;
}

#sidebar-artwork img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #93DDD5;
}

#sidebar-artwork h4 {
    margin: 10px 0 5px 0;
    color: #93DDD5;
    font-size: 1.2em;
}

#sidebar-artwork p {
    font-size: 0.9em;
    color: #ffffff;
    margin: 2px 0;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    padding: 5px;
}

.close-sidebar {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    padding: 5px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 100;
}

@media only screen and (max-width: 800px) {
    #flex {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    #leftSidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 200px;
        height: 100vh;
        z-index: 200;
        transition: left 0.3s ease;
        overflow-y: auto;
        order: 1;
        border-right: 2px solid white;
        border-top: none;
        border-bottom: none;
        border-left: none;
    }

    #rightSidebar {
        position: static;
        width: 100%;
        height: auto;
        order: 3;
        border: 2px solid white;
        margin-top: 20px;
    }

    main {
        order: 2;
        width: 100%;
        min-height: auto;
    }

    .hamburger {
        display: block;
    }

    #navbar ul {
        flex-wrap: wrap;
    }

    #leftSidebar.active {
        width: 400px;
        padding: 25px;
        left: 0;
        border-right: 2px solid white;
    }

    #leftSidebar.active h2 {
        font-size: 1.5rem;
    }

    #leftSidebar.active h3 {
        font-size: 1.15rem;
    }

    #leftSidebar.active .box,
    #leftSidebar.active ul {
        font-size: 1.05rem;
    }

    .overlay.active {
        display: block;
    }

    .close-sidebar.active {
        display: block;
    }

    .hamburger.active {
        display: none;
    }
    
    #header {
        padding-left: 40px;
        background-size: contain;
        height: 150px;
    }

    .artwork-card {
        padding: 15px;
    }

    .artwork-card img {
        max-height: 300px;
    }

    .artwork-card h3 {
        font-size: 1.2em;
    }
}