html {
    line-height: 1.15;
    scroll-behavior: smooth
}

body {
    font-weight: 400;
    font-style: normal;
    background-color: #000000;
    font-size: 20px;
    font-family: "Noto Sans", "DejaVu Sans Mono", serif;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.15;
    overflow: hidden;
}

.language-dropdown-content {
    position: absolute;
    z-index: 1;
    display: none;
}

.language-dropdown:hover .language-dropdown-content {
    display: block;
}

.language-dropdown-item {
    display: block;
    padding: 5px;
}

.site-container {
    width: 100vw;
    min-height: 100vh;
    overflow: auto;
    align-items: center;
    flex-direction: column;
}

.menu-container {
    flex: auto;
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: flex-start;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
}

.content-container {
    width: 100%;
    height: 90vh;
    overflow-y: scroll;
}

.menu-logo-container {
    flex: 0 0 auto;
    width: auto;
    height: 100%;
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
    flex-direction: column;
    justify-content: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-img:hover {
    cursor: pointer;
}

.dropdown-btn {
    display: none;
    font-size: 25px;
}

.menu-dropdown-container {
    flex: auto;
    width: 526px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 30px;
    margin-right: 30px;
    flex-direction: row;
    justify-content: flex-end;
}

.menu-item {
    line-height: 100%;
    padding: 10px;
    margin: 0px;
    text-align: center;
    font-style: italic;
    font-weight: 400;
}

.page-1-container {
    flex: auto;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-left: 30px;
    flex-direction: row;
    justify-content: flex-start;
    background-color: #000000;
    color: #FFFFFF;
    overflow: hidden;
}

.full-white-container {
    width: 100%;
    min-height: 92vh;
    display: flex;
    flex: auto;
    flex-direction: row;
    align-items: center;
    background-color: #FFFFFF;
    color: #000000;
    position: relative;
}

.full-black-container {
    width: 100%;
    min-height: 92vh;
    display: flex;
    flex: auto;
    flex-direction: row;
    align-items: center;
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
}

.footer-container {
    width: 100%;
    min-height: 35vh;
    display: flex;
    flex: auto;
    flex-direction: row;
    align-items: center;
    background-color: #FFF;
    color: #000;
}

.page-1-text-container {
    width: 25%;
}

#page-3-container .text-container {
    width: 40%;
    height: 100%;
}

#page-4-container .image-container {
    width: 60%;
    padding: 20px;
    position: relative;
    height: 92vh;
    overflow: hidden;
    align-items: center; /* Add this to vertically center */
    justify-content: center; /* Add this to horizontally center */
}

#treeCanvas {
    position: absolute;
    background-color: transparent;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
}

/*canvas {*/
/*    position: absolute;*/
/*    background-color: transparent;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    padding: 0;*/
/*    margin: 0;*/
/*}*/

#page-5-container {
    flex-direction: column !important;
    background-color: #000000;
    color: #fff;
    padding: 50px 20px;
    align-items: center;
    min-height: 92vh; /* Make sure container takes full viewport height */
    justify-content: space-between; /* This will push items to the edges */
}

#page-5-container h1 {
    text-align: center;
    margin-bottom: 60px;
    font-style: italic;
}

#page-5-container .portfolio-item {
    width: 70vw;
    height: 25vh;
    margin-bottom: 60px;
    padding: 30px;
    background-color: #f8f8f8;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
}

#page-5-container .portfolio-content {
    flex: 0 1 70%; /* Takes up to 70% of space but can shrink */
    padding-right: 20px; /* Space between content and logo */
}

#page-5-container .portfolio-logo {
    flex: 0 0 25%; /* Fixed 25% width, won't grow or shrink */
    height: 80%; /* Height relative to portfolio item */
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-5-container .portfolio-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#page-5-container .portfolio-item h2 {
    font-style: italic;
    margin-bottom: 20px;
}

/* Push more to the left */
#page-5-container .portfolio-item:nth-child(odd) {
    margin-left: 15%;
    margin-right: 0;
}

/* Push more to the right */
#page-5-container .portfolio-item:nth-child(even) {
    margin-left: 0;
    margin-right: 15%; /* Much closer to right edge */
}

#page-5-container .portfolio-footer {
    font-style: italic;
    color: #666;
    margin-top: auto; /* Push to bottom */
    padding-bottom: 30px; /* Add some spacing from bottom */
    text-align: center;
}

.front-font {
    color: rgb(255, 255, 255);
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
}

.array-container {
    width: 75%;
    font-size: 10px;
    text-align: center;
    font-family: arial, serif;
    user-select: none;
}

.array-container td {
    padding: 0;
    margin: 0;
    width: 1em;
    height: 1em;
    text-align: center;
    color: black;
}

.text-container {
    padding-left: 50px;
    padding-right: 50px;
    width: 50%;
}

.text-container h1 {
    padding-top: 1em;
    padding-bottom: 1em;
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
}

.text-container p {
    padding-bottom: 2em;
}

.image-container {
    width: 50%;
    padding: 50px;
}

.image-container img {
    width: 100%;
    object-fit: contain;
}

.footer-container {
    background-color: #FFF;
    color: #000;
    padding: 30px;
}

* {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
}

p, li, ul, pre, div, h1, h2, h3, h4, h5, h6, figure, blockquote, figcaption {
    margin: 0;
    padding: 0;
}

button {
    background-color: transparent;
}

a {
    color: inherit;
    text-decoration: inherit;
}

.quote-footer {
    font-size: 0.9em; /* Smaller font size to keep it subtle */
    color: #AAA; /* Light gray color for a subtle effect */
    font-style: italic; /* Italic to distinguish it as a quote */
    text-align: center; /* Center the quote in the footer */
    margin-top: 20px; /* Space above the quote for separation */
    padding: 10px 20px; /* Optional padding for a bit of breathing room */
}

@media screen and (max-width: 600px) {

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

    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100vw;
    }

    .front-font {
        font-size: 28px; /* Adjust size as needed */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Optional: helps readability */
    }

    .menu-container {
        /*position: fixed;*/
        margin: 0;
        padding: 0;
        flex: auto;
        width: 100vw;
        height: 10vh;
        flex-direction: column;
        align-content: center;
        background-color: #000000;
        color: #FFFFFF;
    }


    .menu-logo-container {
        margin: 0;
        padding: 3px 15px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-content: center;

    }

    .menu-dropdown-container {
        position: absolute;
        top: 10vh;
        left: -5vh;
        width: 101vw;
        height: auto;
        display: none;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: #000000; /* Same as menu background */
        z-index: 1000;
    }

    .dropdown-btn {
        display: block;
        align-self: center;
        cursor: pointer;
    }
    .dropdown-btn a{
        pointer-events: none
    }

    .dropbtn {
        display: none;
    }

    .content-container {
        padding-top: 10vh;
    }

    .page-1-container {
        position: relative; /* For absolute positioning context */
        min-height: 100vh;
        padding: 0; /* Remove padding to allow full coverage */
        display: block; /* Change from flex to simpler layout */
    }

    .array-container {
        width: 100vw;
        height: 70vh;
        margin: 0;
        padding: 0;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 9px;
        opacity: 0.5;
    }


    .page-1-text-container {
        position: absolute;
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Perfect centering */
        display: block; /* Show instead of none */
        width: auto; /* Auto width based on content */
        text-align: center;
        z-index: 1; /* Ensure it's above the array */
    }


    .language-dropdown {
        width: 60px;
        height: 1em;
        margin: 10px;
        flex-direction: row;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .language-dropdown-content {
        display: block;
    }

    .image-container {
        display: none;
    }

    .text-container {
        padding-left: 50px;
        padding-right: 50px;
        width: 100%;
    }

    #page-3-container {
        flex-direction: column;
    }

    #page-3-container .text-container {
        padding-left: 50px;
        padding-right: 50px;
        width: 100%;
    }

    #page-4-container {
        position: relative; /* For absolute positioning context */
        min-height: 100vh;
        overflow: hidden;
    }

    #page-4-container .image-container {
        position: absolute;
        display: block;
        top: 0;
        left: 20%; /* Push it right by 10% */
        width: 130vw !important; /* Make it wider than viewport */
        height: 100vh !important;
        /*opacity: 0.3; !* Make it subtle like we did with binary *!*/
    }

    #page-4-container .text-container {
        position: relative; /* Keep it above the canvas */
        z-index: 100;
        width: 100%;
        padding: 20px;
        text-align: center;
        background-color: transparent;
    }

    #treeCanvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.3;
    }

    #page-5-container {
        padding: 20px;
        min-height: 100vh;
    }

    #page-5-container h1 {
        font-size: 24px;
        margin-bottom: 30px;
        text-align: center;
    }

    #page-5-container .portfolio-item {
        width: 100%;
        height: auto;
        margin: 0 0 30px 0 !important;
        padding: 20px;
        border-radius: 10px;

        /* Use flexbox layout */
        display: flex;
        align-items: center;
        gap: 15px; /* Space between content and logo */
    }

    #page-5-container .portfolio-content {
        flex: 1; /* Take up remaining space */
        padding: 0;
    }

    #page-5-container .portfolio-logo {
        flex: 0 0 60px; /* Fixed width, won't grow or shrink */
        height: 60px;
        /* Remove absolute positioning */
        position: static;
    }

    #page-5-container .portfolio-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    #page-5-container .portfolio-content p {
        font-size: 16px;
        line-height: 1.4;
    }


    #page-5-container .portfolio-footer {
        margin-top: 20px;
        font-size: 16px;
    }

    #footer-container {
        flex-direction: column;
    }

}


