@font-face {
    font-family: 'FleischWolf.ttf';
    src: url('typefaces/FleischWolf.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexMono-Thin.ttf';
    src: url('typefaces/IBMPlexMono-Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Camcorder.ttf';
    src: url('typefaces/Camcorder.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f3f3eb;
    min-height: 100vh;
    color: #333;
}

/* body::after {
    content: '';
    position: fixed;
    inset: 10px;
    border: 10px solid black;
    pointer-events: none;
    z-index: 9999;
} */

h1 {
    font-family: 'FleischWolf.ttf';
    color: black;
    font-size: 3rem;
}

h2 {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: gray;
    font-size: 1.0rem;
}

h3 {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: gray;
    font-size: 0.8rem;
}

p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    color: #3a9b37;
    text-decoration: none;
    opacity: 1;
}

a:hover {
    color: #3a9b37;
    font-family: 'IBMPlexMono-Thin.ttf';
    letter-spacing: 0.05em;
    font-weight: bold;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: none;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.home-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.container {
    background: #f4f3ef;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
}


.project-container {
    display: flex;
    flex-direction: column;
}

.project-header-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    margin-bottom: 10rem;
}

.project-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding-bottom: 1rem;
}

.project-header-information {
    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: center;
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: justify;
    color: black;
}

.project-image-container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
    overflow: hidden;
}

.project-image-container img {
    /* max-width: 100%; */
    max-height: 100%;
    /* height: auto; */
    width: auto;
    ;
    border-radius: 8px;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
}

.project-image-container h3 {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: gray;
    font-size: 0.80rem;
    font-weight: normal;
    text-align: right;
    width: 100%;
    /* Only as wide as parent container */
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.project-title-container {
    /* position: absolute; */
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    margin-left: 1rem;
    margin-right: 1rem;
    z-index: 1;
}

.project-title-container h1 {
    font-family: 'FleischWolf.ttf';
    color: black;
    font-size: 2.5rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.project-title-container h2 {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: black;
    font-size: 1.0rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.project-title-container h3 {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: black;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.project-description-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: top;
    width: 50%;
    /* text-transform: lowercase; */
}

.project-description-container h3 {
    color: black;
}

.project-details-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: top;
    width: 50%;
}

.project-content-container-row {
    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: top;
    gap: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.project-section-visual-content {
    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: top;
    gap: 1rem;
    margin-left: 1rem;
    flex: 1;
    min-width: 0;
}

.project-content-title-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: top;
    width: 100%;
}

.project-content-text-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: top;
    /* text-align: justify; */
    flex: 0 0 15%;
}

.project-content-text-container h2 {
    font-family: 'Camcorder.ttf';
    color: black;
    font-size: 0.8rem;
    font-weight: normal;
}

.project-content-text-container h3 {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: black;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.project-content-image-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: top;
    flex: 1;
    min-width: 0;
}

.project-divider {
    border: 0.5px solid gray;
    /* width: 100%; */
    margin-right: 1rem;
    margin-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}



.side-menu {
    position: fixed;
    top: 0;
    right: 5%;
    width: 150px;
    height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 1.5rem; */
    z-index: 100;
    border-left: 0.25px solid black;
    border-right: 0.25px solid black;
}

.side-menu a {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: black;
    text-decoration: none;
    font-family: 'IBMPlexMono-Thin.ttf';
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}

.side-menu a:hover {
    opacity: 0.7;
    color: #f5452f;
    font-weight: bold;
}

.side-menu-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.side-menu-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.side-menu h1 {
    font-family: 'FleischWolf.ttf';
    color: black;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.side-menu h2 {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: black;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}

.side-menu p {
    font-family: 'IBMPlexMono-Thin.ttf';
    color: black;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}

.side-menu a:hover {
    opacity: 0.5;
}

.side-menu button {
    all: unset;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: black;
    text-decoration: none;
    font-family: 'IBMPlexMono-Thin.ttf';
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
    cursor: pointer;
}

.side-menu button:hover {
    opacity: 0.7;
    color: #f5452f;
    font-family: 'Camcorder.ttf';
    font-weight: bold;
}

.detail-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.detail-bar h1 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: gray;
    text-decoration: none;
    font-family: 'IBMPlexMono-Thin.ttf';
    font-size: 0.65rem;

    transition: opacity 0.2s;
}

@media (max-width: 760px) {
    .project-header-information {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .project-details-container,
    .project-description-container {
        width: 100%;
    }

    .project-content-container-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .project-content-text-container {
        flex: 0 0 auto;
    }

    .project-section-visual-content {
        flex-direction: column;
        margin-left: 0;
    }

    .project-content-image-container {
        width: 100%;
    }

    .project-content-image-container img {
        width: 100%;
    }

    .project-image-container video,
    .project-image-container img {
        width: 100%;
        height: 60vh;
        max-height: none;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center center;
        border-radius: 8px;
    }
}

@media (max-width: 400px) {
    .project-title-container h2 {
        font-size: 1rem;
    }

    .project-title-container h3 {
        font-size: 0.5rem;
    }

    .project-image-container img {
        aspect-ratio: 1/1;
    }
}