/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Athiti:wght@200;300;400;500;600;700&family=Big+Shoulders+Stencil+Display:wght@100..900&family=Jura:wght@300..700&family=MuseoModerno:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "MuseoModerno", sans-serif;
    font-weight: 200;
    font-style: normal;
    background: linear-gradient(to bottom, rgb(244, 252, 242), rgb(248, 252, 222), rgb(231, 221, 235));
    display: flex;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding-top: 7vw;
    background-attachment: fixed;
    background-size: cover;
}

h1 {
    font-weight: 200;
    font-size: 30px;
    margin-bottom: 10px; 
    text-decoration: none;
    color: black;
}

h1 a{
    transition: color 0.3s;
    text-decoration: none;
    color: black;
}

h1 a:hover {
    color: grey;
}

p {
    white-space: pre-wrap;
    font-family: "Jura", sans-serif;
}

p a{
    color: black;
    transition: color 0.3s;
}

p a:hover: {
    color: grey;
}

iframe{
    width: 100%;
    height: auto;
    margin: none;
}

/* Navigation */
nav {
    margin-top: 15px;
    width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between; 
    width: 100%; 
}

nav ul li {
    flex: 1; 
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: 200;
    font-size: 25px;
    transition: color 0.3s;
    display: block;
    width: 100%; 
    transition: color 0.3s;
}

nav ul li:first-child a {
    text-align: left;
}

nav ul li:nth-child(2) a {
    text-align: center;
}

nav ul li:last-child a {
    text-align: right;
}

nav ul li a:hover {
    color: grey;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50vw; 
}

.gif-box {
    display: block; 
    border: 1px solid black;
}

.gif-box video {
    display: block;
    width: 100%; 
    height: auto; 
}

.content-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%; 
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid black;
}

.content-box p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.projectlist{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: left;
    list-style: none;
    padding-inline-start: 0;
    gap: 10px;
}

.projectlist a{
    text-decoration: none;
    color: black;
    font-family: "jura", sans-serif;
    font-size: 20px;
    font-weight: 300;
    transition: color 0.3s;
}

.projectlist a:hover{
    color: grey;
}

.art-box{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; /* Space between columns */
    max-width: 1200px;
    margin: 40px auto;
}

.image-column {
    display: flex;
    flex-direction: column;
    width: 35%;
    gap: 20px;
    position: sticky;
    top: 20px; /* Keeps images visible with slight margin */
    height: fit-content; /* Ensures it doesn't overflow */
    align-self: flex-start;
}

/* Ensure images resize properly */
.image-column img {
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

.image-column figure{
    margin-inline-start: 0;
    margin-inline-end: 20px;
}

.text-column {
    width: 65%;
    font-size: 1.6em;
    white-space: pre-wrap;
    font-family: "Jura", sans-serif;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensures full width of the parent container */
    height: auto;
    margin-top: 0px;
}

/* Make iframe take full width of the container */
.video-container iframe {
    width: 100%; /* Make iframe fill .video-container */
    max-width: none; /* Remove max width limit */
    height: auto;
    aspect-ratio: 16 / 9; /* Ensures responsive aspect ratio */
}

.mobile-header{
    display: none;
}

@media (max-width: 600px) {

    body{
        justify-content: center;
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
    }

    .container {
        margin-top: 5vh;
        width: 95vw;
    }


    .gif-box img {
        width: 80vw; 
    }

    .content-box {
        width: 80vw; 
        padding: 15px;
    }

    .content-box p {
        font-size: 16px; 
    }

    .art-box{
        display: flex;
        flex-direction: column;
    }

    .image-column {
        display: flex;
        flex-direction: column;
        width: 75%;
        gap: 10px;
        height: fit-content;
        align-self: center;
        position: relative;
    }

    .text-column{
        display: flex;
        flex-direction: column;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .desktop-header{
        display: none;
    }

    .mobile-header {
        display: block;
        text-align: center;
        margin-bottom: 5px;
        width: 100%;
        font-family: "Jura", sans-serif;
    }

    h1 {
        font-size: 28px;
    }

    nav {
        margin-bottom: 20px;
    }

    nav ul {
        flex-direction: column; 
        gap: 10px; 
    }

    nav ul li a {
        text-align: center; 
        font-size: 22px; 
    }

    nav ul li:first-child a {
    text-align: center;
    }

    nav ul li:nth-child(2) a {
        text-align: center;
    }

    nav ul li:last-child a {
        text-align: center;
    }
}