* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', monospace;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    overflow-y: scroll;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    cursor: url('cursor.png'), auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px;
    flex: 1;
    width: 100%;
}

.header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.header-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.control-button {
    background: none;
    border: 1px solid #dddddd00;
    padding: 8px 15px;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    color: #66666698;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.control-button:hover {
    color: #424242;
    border-color: #20202000;
}

.control-button.active {
    background-color: #d3d3d300;
    color: #2c2c2c;
    border-color: #7c7c7c00;
}

.name {
    font-family: 'Cutive Mono', monospace;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 35px;
    color: #222;
    letter-spacing: -0.2px;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.name img {
    max-height: 70px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.name:hover {
    color: #555;
}

.nav {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.nav-item {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.nav-item:hover,
.nav-item.active {
    color: #333;
}

.content {
    min-height: 500px;
    position: relative;
    width: 100%;
}

.section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro {
    margin-bottom: 40px;
    color: #555;
    max-width: 750px;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#exhibitions-intro {
    text-align: center;
}

.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
}

.home-image-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.home-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.home-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    font-size: 18px;
    color: #000000c2;
    text-align: center;
    border: 2px solid #77777763;
    box-sizing: border-box;
}

.home-image-container:hover .home-text-overlay {
    opacity: 1;
}

.home-text-overlay p {
    margin-bottom: 20px;
    max-width: 400px;
}

.project {
    margin-bottom: 30px;
    padding: 30px;
    border-bottom: 2px solid #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #2020202f;
    border-radius: 0px;
}

.project:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #40404050;
}

.project-detail {
    display: none;
    animation: fadeInProject 0.4s ease;
}

@keyframes fadeInProject {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-button {
    background: none;
    border: none;
    font-family: inherit;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: #333;
}

.project-detail-content {
    max-width: 750px;
    margin: 0 auto;
}

.project-detail-content h1 {
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.project-year {
    color: #888;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.project-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.project-tech {
    color: #888;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 30px;
}

.project-images {
    margin: 30px 0;
}

.project-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-bottom: 30px;
    transition: transform 0.2s ease;
}

.project-image:hover {
    transform: translateY(-2px);
}

.project-image:last-child {
    margin-bottom: 0;
}

.project-image.clickable {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-image.clickable:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.image-grid .project-image {
    margin-bottom: 0;
}

.project-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 17px;
}

.project-list-year {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-list-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
}

.project-list-tech {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

.about-content {
    color: #555;
    max-width: 750px;
    font-size: 16px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 50px auto 0 auto;
    display: block;
    border: 2px solid #525252;
    padding: 0px;
}

.links-list {
    list-style: none;
    margin-top: 0px;
    margin-bottom: 30px;
    padding-top: 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.links-list li {
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
}

.links-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.links-list a:hover {
    color: #333;
}

.links-list img {
    max-height: 30px;
    max-width: 300px;
    height: auto;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.links-list a:hover img {
    opacity: 0.7;
}

.arrow {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.links-list a:hover .arrow {
    transform: translateX(3px);
}

.exhibitions-list {
    list-style: none;
    margin: 40px auto;
    padding: 0;
    max-width: 750px;
    color: #555;
    text-align: left;
}

.exhibitions-list li {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.exhibitions-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

.footer {
    margin-top: 60px;
    padding: 40px 0;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #272727;
    font-family: 'Courier Prime', monospace;
}

.exhibitions-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: 30px auto 0 auto;
    display: block;
}

#audio-icon {
    font-size: 24px; 
}

.projects-list {
    animation: fadeIn 0.3s ease;
}

.section {
    animation: fadeIn 0.3s ease;
}

.video-container {
    margin: 40px 0;
}

.video-title {
    font-family: 'Courier Prime', monospace;
    font-size: 18px;
    font-weight: normal;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.spaced-text {
    letter-spacing: 0.15em;
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    line-height: 1.8;
}

.photo-grid-section {
    margin-top: 50px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px 0;
}

.photo-item {
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    cursor: pointer;
}

.lightbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #333;
    font-size: 30px;
    font-family: 'Courier Prime', monospace;
    font-weight: normal;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.close-lightbox:hover {
    opacity: 0.7;
}

@media (max-width: 800px) {
    .container {
        padding: 30px 20px;
    }
    
    .header {
        margin-bottom: 40px;
    }

    .header-controls {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .nav-item {
        font-size: 15px;
    }
    
    .name {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .name img {
        max-height: 60px;
    }

    .intro {
        font-size: 15px;
        padding: 0 10px;
    }

    .spaced-text {
        font-size: 16px;
        letter-spacing: 0.1em;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project {
        padding: 20px;
        margin-bottom: 20px;
    }

    .project-title {
        font-size: 16px;
    }

    .project-list-description {
        font-size: 15px;
    }
    
    .home-image {
        max-width: 100%;
    }

    .home-text-overlay {
        font-size: 15px;
        padding: 15px;
    }

    .home-text-overlay p {
        max-width: 90%;
    }

    .exhibitions-image {
        max-width: 100%;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .close-lightbox {
        top: 20px;
        right: 20px;
        font-size: 24px;
    }

    .project-detail-content h1 {
        font-size: 20px;
    }

    .project-description {
        font-size: 15px;
    }

    .about-content {
        font-size: 15px;
        padding: 0 10px;
    }

    .about-image {
        max-width: 100%;
        margin-top: 30px;
    }

    .links-list {
        gap: 50px;
        margin-bottom: 20px;
    }

    .exhibitions-list {
        padding: 0 10px;
    }

    .exhibitions-list li {
        font-size: 15px;
    }

    .footer {
        margin-top: 40px;
        padding: 30px 0;
    }
}