* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #111;
    color: #ddd;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */

.sidebar {
    width: 280px;
    padding: 100px 24px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
}

.sidebar h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #888;
    letter-spacing: 2px;
}

.work-list {
    list-style: none;
    margin-bottom: 70px;
}

.work-list li {
    margin-bottom: 10px;
}

.work-list a,
.extra-nav a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.work-list a:hover,
.extra-nav a:hover {
    color: white;
}

.work-list .active {
    color: #ff3c3c;
}

.extra-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.extra-nav a {
    letter-spacing: 1px;
}

/* Main content */

/* Main content */

.content {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 80px 60px 120px;
}

/* Header */

.project-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 80px;
}

.project-info {
    width: min(800px, 100%);
    text-align: right;
}

.project-info h1 {
    font-size: 35px;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 600;
}

.year {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 30px;
}

.meta {
    color: #bbb;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.dimensions {
    color: #888;
}

/* Gallery */

#gallery {
    display: flex;
    flex-direction: column;
    gap: 4rem;

    max-width: 1200px;
    margin: 0 auto;
}

#gallery img {
    display: block;

    max-width: min(100%, 800px);
    width: auto;
    height: auto;

    margin: 0 auto;
}

.description {
    max-width: 850px;

    margin: 0 auto;

    line-height: 1.8;
    font-size: 1.1rem;

    color: #ccc;
}

/* Responsive */

@media (max-width: 900px) {

    body {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 30px 24px;
    }

    .content {
        margin-left: 0;
        width: 100%;
        padding: 40px 24px;
    }

    .project-header {
        justify-content: center;
    }

    .project-info {
        text-align: left;
    }

    .project-info h1 {
        font-size: 2.5rem;
    }
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  
  .back-button:hover {
    transform: scale(1.1);
  }

  .youtube-video {
    display: block;

    width: 100%;
    max-width: 1000px;

    aspect-ratio: 16 / 9;

    border: none;

    margin: 0 auto;
}