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

body {
    background: #0f0f0f;
    color: #e0e0e0;
    font-family: 'Fauna One', serif;
    line-height: 1.65;
    min-height: 100vh;
}

.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 40px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background: #ccc;
    margin: 6px 0;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #181818;
    border-right: 4px solid #3a3a3a;
    padding: 50px 25px;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    transition: transform 0.4s ease;
}

.logo-wrapper {
    text-align: center;
    margin-bottom: 10px;
}

.game-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.game-link:hover,
.game-link:focus {
    opacity: 0.92;
    transform: scale(1.02);
}

.game-link:hover .game-img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.game-link:focus {
    outline: 3px solid #777;
    outline-offset: 4px;
}

.main-game {
    width: 100%;
    max-width: 600px;
    margin: 1.5rem auto;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: solid
}

.game-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-img:hover {
    transform: scale(1.03);
}

.logo-img {
    min-width: 120px;
    min-height: 120px;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 12px;
}

.logo-text {
    font-size: 1.4rem;
    color: #ccc;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: block;
    padding: 14px 20px;
    color: #aaa;
    text-decoration: none;
    font-size: 1.15rem;
    border-top: 4px solid #777;
    border: 3px solid #555;
    transition: all 0.25s ease;
}

.menu-item:hover,
.menu-item.active {
    color: white;
    border-color: #666;
    background: rgba(255, 255, 255, 0.04);
}


.content {
    margin-left: 260px;
    flex-grow: 1;
    padding: 60px 50px 100px;
}

.panel {
    display: none;
    max-width: 960px;
    margin: 0 auto;
}

.panel.active {
    display: block;
}

.logo-img:hover {
    border-color: #888;
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.logo-img {
    min-width: 120px;
    min-height: 120px;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border: 3px dashed #666;

    padding: 10px;
    background: transparent;
    transition: all 0.3s;
}

.post,
.project {
    border: 3px double #4a4a4a;
    padding: 1.6rem;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.75);

}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 35px;
    color: #ccc;
    letter-spacing: 1.5px;
    text-align: center;
    border-bottom: 3px solid #444;
    padding-bottom: 15px;
}

.inner-panel {
    border: 4px solid #555;
    border-top: 6px solid #777;
    padding: clamp(30px, 5vw, 45px);
    background: #111;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.75);
}

.inner-panel p {
    margin-bottom: 1.5em;
    font-size: clamp(1.05rem, 2.5vw, 1.18rem);
}

.about-content {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-pic {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border: 5px solid #666;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.itch-embed-wrapper {
    margin: 1.5rem 0 2rem;
    position: relative;
    width: 100%;
    max-width: 552px;
    margin-left: auto;
    margin-right: auto;
}

.itch-embed-container {
    position: relative;
    padding-bottom: 30.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border: 2px solid #333;
    border-radius: 6px;
}

.itch-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background: #181818;
    color: #aaa;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    border-top: 4px solid #3a3a3a;
    width: 100%;
    margin-top: auto;
}


@media (min-width: 851px) {
    footer {
        padding-left: 260px;
        padding-right: 40px;
        box-sizing: border-box;
    }
}

@media (max-width: 850px) {
    .hamburger {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        z-index: 900;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
        padding: 80px 25px 60px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .inner-panel {
        padding: 30px 20px;
    }

}

@media (max-width: 480px) {

    .section-title {
        font-size: 1.9rem;
    }

    .logo-img {
        width: 70px;
        height: 70px;
    }

    .itch-embed-wrapper {
        max-width: 100%;
    }
}

.lang-switcher {
    margin-top: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.theme-switcher {
    margin-top: 5px;
    text-align: center;
    margin-bottom: 10px;
}

.theme-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 6px 12px;
    transition: all 0.2s;

    border-top: none
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #aaa;
    color: white;
}

.lang-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 6px 12px;
    transition: all 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    border: dashed #666
}

.lang-separator {
    color: #555;
    margin: 0 8px;
}

body.theme-2 footer {
    background: #222;
    border-top-color: #444;
}

body.theme-3 footer {
    background: #e8e8e8;
    border-top: 4px solid #999;
    color: #444;
}

body.theme-4 footer {
    background: #001100;
    border-top: 4px solid #00aa30;
    color: #00cc66;
}

body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.theme-1 {
    background: #0f0f0f;
    color: #e0e0e0;
}

body.theme-1 .sidebar {
    background: #181818;
    border-right-color: #3a3a3a;
}

body.theme-1 .inner-panel {
    background: #111;
    border-color: #555;
    border-top-color: #777;
}

body.theme-1 .section-title {
    color: #ccc;
    border-bottom-color: #444;
}

body.theme-2 {
    background: #1a1a1a;
    color: #d0d0d0;
}

body.theme-2 .sidebar {
    background: #222;
    border-right-color: #444;
}

body.theme-2 .inner-panel {
    background: #202020;
    border-color: #606060;
    border-top-color: #808080;
}

body.theme-2 .section-title {
    color: #b0b0b0;
    border-bottom-color: #505050;
}

body.theme-3 {
    background: #f8f8f8;
    color: #222222;
}

body.theme-3 .sidebar {
    background: #e8e8e8;
    border-right: 4px solid #aaa;
}

body.theme-3 .menu-item.active {
    color: rgb(21, 224, 227);
    border-color: #666;
    background: rgba(255, 255, 255, 0.04);
}

body.theme-3 .inner-panel {
    background: #ffffff;
    border: 4px solid #999;
    border-top: 6px solid #777;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.theme-3 .section-title {
    color: #444;
    border-bottom: 3px solid #999;
}

body.theme-3 a {
    color: #0066cc;
}

body.theme-3 a:hover {
    color: #003366;
}

body.theme-4 {
    background: #000;
    color: #00ff41;
}

body.theme-4 .sidebar {
    background: #001100;
    border-right: 4px solid #00aa30;
}

body.theme-4 .inner-panel {
    background: #000800;
    border: 3px solid #008822;
    border-top: 5px solid #00cc33;
    box-shadow: inset 0 0 20px #003300;
}

body.theme-4 .section-title {
    color: #00ff88;
    border-bottom: 3px solid #006600;
    text-shadow: 0 0 8px #00ff41;
}