:root {
    --primary-yellow: #f8d13e;
    --text-dark: #333;
    --text-light-grey: #666;
    --border-grey: #e0e0e0;
    --background-light: #f5f5f5;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: black;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.container {
    display: flex;
    min-height: 100vh;
}

.menuToggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: fixed;
    top: 20px;
    left: 20px;
}

.menuToggle .bar {
    background: rgb(255, 255, 255);
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}

.menuToggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menuToggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menuToggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.sidebar {
    width: 250px;
    background-color: var(--text-dark);
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 30px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--text-dark);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.profilesmall {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--text-dark);
}

.profilesmall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-nav ul {
    list-style: none;
    width: 100%;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-left: 5px solid transparent;
}

.sidebar-nav a i {
    margin-right: 15px;
    font-size: 1.1em;
    color: var(--primary-yellow);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: var(--text-dark);
    color: var(--primary-yellow);
    border-left-color: #fff;
}

.sidebar-nav a.active i {
    color: var(--primary-yellow);
}

.main-content {
    flex-grow: 1;
    background-color: #000000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-grey);
    overflow: hidden;
}

.section {
    padding: 40px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-grey);
}

.profilelarge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 30px;
    border: 5px solid var(--primary-yellow);
}

.profilelarge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text h2 {
    font-size: 2.5em;
    margin-bottom: 5px;
    color: var(--primary-yellow);
}

.text p {
    font-size: 1.1em;
    color: var(--text-light-grey);
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.category-button {
    background-color: var(--background-light);
    color: var(--text-dark);
    border: 1px solid var(--border-grey);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.category-button:hover,
.category-button.active {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border-color: var(--primary-yellow);
}

#fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#fullscreen-overlay.active {
    opacity: 1;
    visibility: visible;
}

#fullscreen-figma-embed {
    width: 100%;
    height: 100%;
    border: none;
    background-color: white;
}

#close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    line-height: 1;
    z-index: 10000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#close-fullscreen:hover {
    background-color: white;
    color: black;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
}

.item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item:hover .overlay {
    opacity: 1;
}

.overlay h4 {
    font-size: 2em;
    color: white;
    margin-bottom: 10px;
}

.overlay p {
    margin-bottom: 15px;
}

.btn {
    width: 6.5em;
    height: 2.5em;
    margin: 0.5em;
    background: rgb(255, 231, 18);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 0.625em;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

button:hover {
    color: rgb(255, 255, 255);
}

button:after {
    content: "";
    background: rgb(9, 9, 9);
    position: absolute;
    z-index: -1;
    left: -20%;
    right: -20%;
    top: 0;
    bottom: 0;
    transform: skewX(-45deg) scale(0, 1);
    transition: all 0.5s;
}

button:hover:after {
    transform: skewX(-45deg) scale(1, 1);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

#close-fullscreen {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

@media (max-width: 1024px) {
    .main-content {
        padding: 30px;
        margin: 15px;
    }

    .header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .profilelarge {
        width: 120px;
        height: 120px;
        margin-right: 20px;
    }

    .text h2 {
        font-size: 2em;
    }

    .text p {
        font-size: 1em;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .item img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .menuToggle {
        display: flex;
    }

    .sidebar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        background-color: #000000ea;
        padding-top: 70px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding-top: 20px;
        margin-bottom: 20px;
    }

    .sidebar-nav ul li a {
        font-size: 1.3em;
    }

    .main-content {
        margin: 10px;
        padding: 25px;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }

    .profilelarge {
        margin: 0 auto 20px auto;
        width: 100px;
        height: 100px;
    }

    .text h2 {
        font-size: 1.8em;
    }

    .text p {
        font-size: 0.9em;
    }

    .categories {
        gap: 10px;
        margin-bottom: 20px;
    }

    .category-button {
        padding: 8px 15px;
        font-size: 0.8em;
    }

    .grid {
        grid-template-columns: 2fr;
        gap: 15px;
    }

    .item img {
        height: 220px;
    }

    .overlay h4 {
        font-size: 1.1em;
    }

    .overlay p {
        font-size: 0.8em;
    }
}
