* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Marko';
    src: url('fonts/MarkoOne-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'WorkSans';
    src: url('fonts/WorkSans-VariableFont_wght.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'WorkSans-black';
    src: url('fonts/WorkSans-Black.woff2') format('woff2');
    font-weight: bolder;
    font-style: normal;
}

::selection {
    background-color: var(--yellow);
    color: var(--text-dark);
  }

  ::-moz-selection {
    background-color: var(--bg-accent);
    color: var(--text-dark);
  }

:root {
    --bg-light: #F8F7F4;
    --bg-dark: #2D2D2D;
    --bg-accent: #C8E68C;
    --text-dark: #2D2D2D;
    --text-light: #F8F7F4;
    --yellow: #FFF3B1;
    --font-serif: 'Marko', serif;
    --font-sans: 'WorkSans', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    margin: 0 auto;
    height: 100vh;
}

h1 {
    font-family: 'WorkSans-black', sans-serif !important;
    font-size: 90px;
}

h3 {
    font-family: 'WorkSans-black', sans-serif !important;
    font-size: 40px;
    margin: 0px;
    text-align: left;
}

em {
    font-family: 'Marko', serif;
    font-style: normal;
}

.project-button:hover {
    color: #2D2D2D !important;
}

.project-page {
    display: flex;
    min-height: 100vh;
}

.text-column {
    flex-basis: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.project-content {
}

h1 {
    margin: 0 0 20px 0;
}

p {
    font-size: 24px;
    line-height: 1.6;
}

.project-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: var(--bg-accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    font-family: 'WorkSans-black', sans-serif;
    font-size: 24px;
}

.project-content {
    text-align: left;
    margin-top: 100px;
    padding-left: 8px;

}

.image-column {
    flex-grow: 1;
    background-color: #f0f0f0;
    position: relative;
    height: 91vh;
    overflow: scroll;
}

.back-arrow {
    font-size: 2rem;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.page-footer {
    text-align: left;
}

.image-column {
    width: 50%;
}

.moving-container {
    overflow: hidden;
    width: 100%;
    background-color: var(--bg-accent);
    display: flex;
    white-space: nowrap;
    position: absolute;
    bottom: 0px;
}

.moving {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 0px 20px 40px;
    flex-shrink: 0;
    animation: move-left 20s linear infinite;
}

@keyframes move-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

.moving h3 {
    font-family: 'Marko', serif;
    font-size: 16px;
}

.moving p {
    font-family: 'WorkSans', sans-serif;
    font-style: italic;
    font-size: 16px;
}

.vertical {
    display: none;
}

.final-image {
    margin-bottom: 16px;
}

.moving {
    padding: 20px 40px 20px 0px;
}

.mobile-hidden {
    display: block;
}

.desktop-hidden {
    display: none;
}

@media (max-width: 430px) {
    .mobile-hidden {
        display: none;
    }
    .desktop-hidden {
        display: block;
    }
    h1, em {
        font-size: 40px !important;
    }
    .final-image {
        margin-bottom: 78px;
    }
    .text-column {
        flex-basis: auto;
        padding: 0px 20px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        height: 43vh !important;
        justify-content: center;
    }
    .image-column {
        flex-basis: auto;
        width: 100vw;
        height: 40vh;
        overflow: scroll;
        flex-grow: initial;
    }
    .project-page {
        display: flex;
        min-height: 100vh;
        flex-direction: column;
    }
    .project-content {
        margin-top: 0px;
    }
    .project-content p {
        font-size: 14px;
    }
    .project-button {
        margin-top: 4px;
        font-size: 16px;
    }
    header {
        padding-bottom: 0px !important;
    }
    .moving {
        padding: 0px 40px 0px 0px;
    }
    body {
        overflow-y: hidden;
    }
    .image-column {
        width: 100%;
    }
}

@media (min-width: 430px) and (max-width: 890px) {
    .mobile-hidden {
        display: none;
    }
    .desktop-hidden {
        display: block;
    }
    .text-column {
        flex-basis: auto;
        padding: 0px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        height: 50vh;
    }
    .image-column {
        flex-basis: auto;
        width: 100vw;
        height: 43vh;
        overflow: scroll;
        flex-grow: initial;
    }
    .project-page {
        display: flex;
        min-height: 100vh;
        flex-direction: column;
    }
    .project-content {
        margin-top: 0px;
    }
    .project-content p {
        font-size: 14px;
    }
    .project-button {
        margin-top: 16px;
        font-size: 16px;
    }
    header {
        padding-bottom: 0px !important;
        padding: 24px;
    }
    .moving {
        padding: 10px 40px 10px 0px;
    }
    body {
        overflow-y: hidden;
    }
    .image-column {
        width: 100%;
    }
}

@media (min-width: 1098px) and (max-width: 1200px) {
    .project-content h1 {
        font-size: 60px;
    }
    .page-footer {
        margin-bottom: 64px;
    }
}

@media (min-width: 1200px) {
    .page-footer {
        margin-bottom: 64px;
    }
}

@media (max-height: 648px) {
    .horizontal {
        display: none;
    }
    .vertical {
        display: flex;
    }
    .vertical {
        bottom: 235px;
        display: flex;
        transform: rotate(90deg);
        height: 40px;
        z-index: 3;
    }
}

@media (width: 1024px) and (max-height: 800px) {
    .horizontal {
       top: 0px !important;
       bottom: auto;
    }
    .vertical {
        none;
    }
    header {
        padding-top: 92px;
    }
    .image-column {
        height: 100vh;
    }
    .mobile-hidden {
        display: none;
    }
    .desktop-hidden {
        display: block;
    }
    .project-button {
        margin-top: 0px !important;
    }
    .project-content h1 {
        font-size: 40px !important;
    }
}

.custom-cursor {
    width: 80px;
    height: 80px;
    background-color: var(--bg-accent);
    border-radius: 50%;
    color: var(--bg-dark);
    font-family: 'WorkSans-black', sans-serif;
    font-size: 16px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    z-index: 9999;
}