@font-face {
    font-family: 'IPA Gothic';
    src: url('resources/ipagp-mona.ttf') format('truetype');
}

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

body {
    font-family: 'IPA Gothic', monospace;
    background-color: #000000;
    background-image: url('images/bg.gif');
    background-repeat: repeat;
    background-size: auto;
    min-height: 100vh;
    color: #ffffff;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
    font-size: 10px;
}

.navbar {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex: 1;
}

.ugly-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.ugly-mode-toggle label {
    cursor: pointer;
}

.ugly-mode-toggle input[type="checkbox"] {
    width: 40px;
    height: 20px;
    appearance: none;
    background-color: #333333;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ugly-mode-toggle input[type="checkbox"]:checked {
    background-color: #666666;
}

.ugly-mode-toggle input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.ugly-mode-toggle input[type="checkbox"]:checked::before {
    transform: translateX(20px);
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 0px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #ffffff;
}

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sidebar-right-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-left, .sidebar-right {
    background: linear-gradient(135deg, rgba(32, 32, 32, 0.9), rgba(48, 48, 48, 0.7));
    border-radius: 0px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.main-content {
    background: linear-gradient(135deg, rgba(32, 32, 32, 0.95), rgba(48, 48, 48, 0.8));
    border-radius: 0px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 0px;
    object-fit: cover;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.bio-facts h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.bio-facts ul {
    list-style: none;
    margin-bottom: 1rem;
}

.bio-facts li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: #cccccc;
}

.bio-text p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #cccccc;
}

.intro-section h1 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.intro-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #cccccc;
}

.blinkies-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.blinkies-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.fav-category {
    text-align: center;
}

.fav-category h4 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.awesome-picture-section {
    text-align: center;
}

.awesome-picture-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.awesome-pic {
    max-width: 100%;
    height: auto;
    border-radius: 0px;
}

.blinkie {
    max-width: 100%;
    height: auto;
    border-radius: 0px;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .intro-section h1 {
        font-size: 2rem;
    }
    
    .profile-pic {
        width: 100px;
        height: 100px;
    }
}

.art-sections {
    margin-top: 2rem;
}

.art-category {
    margin-bottom: 3rem;
}

.art-category h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.art-grid.blinkie-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.art-image {
    cursor: pointer;
}

.art-image:not(.blinkie-pixel) {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.blinkie-pixel {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    width: auto;
    height: auto;
    max-width: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 3px;
}

.close:hover {
    color: #cccccc;
}

@media (max-width: 768px) {
    body {
        font-size: 12px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .main-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .intro-section h1 {
        font-size: 1.8rem;
    }
    
    .art-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .art-grid.blinkie-grid {
        grid-template-columns: none;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .art-category h2 {
        font-size: 1.4rem;
    }
}

