@font-face {
    font-family: 'DominoBrick';
    src: url('resources/DominoBrick-aYy39.ttf') format('truetype');
}

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

body {
    font-family: 'DominoBrick', monospace;
    background-color: #000000;
    position: relative;
    min-height: 100vh;
    color: #ffffff;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
    font-size: 10px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/art/texture-stonewall.png');
    background-repeat: repeat;
    background-size: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transform: scale(2);
    transform-origin: 0 0;
    z-index: -1;
}

.top-controls {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-start;
    position: relative;
    align-items: center;
    padding: 2rem 2rem;
    z-index: 100;
    background: transparent;
}

.center-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.center-title h1 {
    color: #ffffff;
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
}

.back-home a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 2px solid #ffffff;
    border-radius: 0px;
    transition: all 0.3s ease;
}

.back-home a:hover {
    background-color: #ffffff;
    color: #000000;
}



.main-container {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 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: transparent;
    border-radius: 0px;
    padding: 0;
    box-shadow: none;
}

.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: 0;
}

.art-category {
    margin-bottom: 0;
}


.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;
    gap: 0;
}

.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;
    }
    
    .top-controls {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-home a {
        font-size: 1rem;
    }
    
    .center-title h1 {
        font-size: 2.5rem;
    }
    
    .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: 0;
    }
    
    .main-container {
        margin-top: 0;
    }
}