/* Dynamic Items Style */
.dynamicItem {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 0.25rem;
    }
/* Dynamic Items */
    .dynamicItem h1 {
        font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    }
    .dynamicItem h2  {
        font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    }
    .dynamicItem h3  {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }
    .dynamicItem p, .dynamicItem li {
        font-family: 'PP-Mori';
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        line-height: 1;
        list-style-position: inside;
    }
/* Dynamic Selection */
    .dynamicItem *::selection {
        color: var(--colorBg);
        background-color: var(--colorTxt);
        /* text-shadow: #0d0 1px 1px; */
    }

    .dynamicItem.text {
        width: 90%;
    }

/* Dynamic Items Text */
    .dynamicItem.text h1, .dynamicItem.text h2, .dynamicItem.text h3 {
        width: fit-content;
        padding: clamp(0.7rem, 1.5vw, 1rem);
        border-radius: clamp(25px, 3.5vw, 34px);
        /* background-color: var(--sceme3); */
        box-shadow: var(--colorBg) 10px 10px 10px inset;
    }
    .dynamicItem.text p, .dynamicItem.text ul, .dynamicItem.text ol {
        padding: clamp(0.7rem, 1.5vw, 1rem);
    }
/* Dynamic Items List */
    .dynamicItem ul {
        list-style-type: none;
    }
    .dynamicItem ol {
        list-style-type: decimal;
    }

/* Dynamic Items Media */
    .dynamicItem.media {
        /* justify-content: center; */
            width: 90%;
            /* background-color: var(--neue5);
            border: 1px solid var(--neue5);
            border-radius: 35px; */
    }
        /* Image Container */
        .dynamicItem.media div {
        position: relative;
        }
        .dynamicItem.media img {
            /* max-height: calc(100vh - 0.5rem); */
            /* width: 100%; */
            object-fit: cover;
            height: 100%;
            width: 100%;
            border-radius: clamp(25px, 3.5vw, 34px);
            border: 1px solid var(--colorTxt);
        }
        .dynamicItem .credit {
            position: absolute;
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            /* color: black !important; */
            /* color: var(--accent) !important; */
            /* text-shadow: #0d0 -1px -1px; */
            left: 100%;
            rotate: -90deg;
            transform-origin: left top;
            top: 100%;
            width: 100%;
            padding: 0.25rem;
            padding-bottom: 0 !important;
        }

        .dynamicItem.media h1 {
            font-size: clamp(1.2rem, 3vw, 2rem);
            padding-top: clamp(0.7rem, 1.5vw, 1rem);
            padding-bottom: calc(clamp(0.7rem, 1.5vw, 1rem) / 2);
            color: var(--colorTxt);
        }
        .dynamicItem.media p {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            color: var(--colorTxt);
            font-weight: 300;
            margin-top: 0.25rem;
            padding-bottom: calc(clamp(0.7rem, 1.5vw, 1rem) - 0.25rem);
            width: 90%;
        }
    
    .dynamicItem.media video {
        max-height: calc(100vh - 0.5rem);
        width: 100%;
        position: relative;
            border-radius: clamp(25px, 3.5vw, 34px);
            border: 1px solid var(--colorTxt);
    }
    .controls {
        display: flex;
        align-items: center;
        box-shadow: var(--colorBg) 10px 10px 10px inset;
        padding: clamp(0.7rem, 1.5vw, 1rem);
        border-radius: clamp(25px, 3.5vw, 34px);
        margin-top: 0.25rem;
        background-color: var(--sceme1);
        width: 90%;
        }
        .controls button {
            background-color: transparent;
            border: none;
            font-size: clamp(1.5rem, 3vw, 2rem);
            color: var(--sceme4);
        }
        .controls input {
            appearance: none;
            width: 100%;
            height: 0.3rem;
            margin: 0 0.25rem;
            /* border: 1px solid var(--sceme4); */
            border-radius: 0.25rem;
            background: var(--sceme2);
            outline: none;
        }
        .controls input::-webkit-slider-thumb {
            appearance: none;
            width: 1rem;
            height: 1rem;
            background: var(--sceme3);
            /* border: 1px solid var(--sceme4); */
            cursor: pointer;
            border-radius: 50%;
            border: none;
        }
        .controls input::-moz-range-thumb {
            width: 1rem;
            height: 1rem;
            background: var(--sceme3);
            /* border: 1px solid var(--sceme4); */
            cursor: pointer;
            border-radius: 50%;
            border: none;
        }
        .controls span {
            user-select: none;
            min-width: clamp(2.75rem, 6.5vw, 3.875rem);
            font-size: clamp(0.6rem, 1.5vw, 0.8rem);
            color: var(--sceme4);
            font-family: 'PP-Mori';
        }



        /* Project */
        .dynamicItem.project {
            height: fit-content;
            width: 90%;
            /* overflow: hidden; */
            /* border: var(--colorTxt) 1px solid; */
            /* border-radius: clamp(25px, 3.5vw, 34px); */
            /* background-color: var(--colorTxt); */
            scrollbar-width: none;
            /* position: relative; */
            transition: border-radius 0.5s, width 0.5s, height 0.5s, left 0.5s, top 0.5s;
            z-index: 1;
            background-color: var(--neue2);
            border-radius: clamp(26px, calc(3.5vw + 1px), 35px);
            border: 1px solid var(--neue2);
            }
                .dynamicItem .project_container div {
                    position: relative;
                }

                .dynamicItem .project_img {
                    height: auto;
                    width: 100%;
                    border-radius: clamp(25px, 3.5vw, 34px);
                    border: 1px solid var(--colorTxt);
                }
                .dynamicItem .project_title {
                    font-size: clamp(1.2rem, 3vw, 2rem);
                    padding-top: calc(clamp(0.7rem, 1.5vw, 1rem) / 2);
                    padding-left: clamp(0.7rem, 1.5vw, 1rem);
                    /* padding-bottom: calc(clamp(0.7rem, 1.5vw, 1rem) / 2); */
                    color: var(--colorTxt);
                }
                .dynamicItem .project_subtitle {
                    font-size: clamp(0.9rem, 2vw, 1.1rem);
                    color: var(--colorTxt);
                    font-weight: 300;
                    margin-top: 0.25rem;
                    /* border-top: 1px dashed var(--colorTxt); */
                    padding-left: clamp(0.7rem, 1.5vw, 1rem);
                    padding-bottom: calc(clamp(0.7rem, 1.5vw, 1rem) - 0.25rem);
                }
                .dynamicItem.project .project_time {
                    position: absolute;
                    top: 100%;
                    left: 100%;
                    font-size: clamp(0.9rem, 2vw, 1.1rem);
                    rotate: -90deg;
                    transform-origin: left top;
                    width: 100%;
                    padding: 0.25rem;
                    padding-bottom: 0 !important;
                    font-weight: 100;
                }




            /* Project Modal */
             .project_modal {
                display: flex;
                flex-direction: column;
                position: fixed !important;
                width: 100vw;
                height: 100vh;
                top: 0;
                left: 0;
                z-index: 10;
                background-color: var(--neue2);
                color: var(--colorTxt);
                overflow: scroll;
                scrollbar-width: none;
            }

            @media only screen and (max-width: 600px) {
                .container {
                    display: flex;
                    flex-direction: column-reverse;
                    padding: 0.25rem;
                    /* border-bottom: 1px solid var(--colorTxt); */
                }
                .container_1 {
                    width: 100%;
                    padding-right: 10%;
                }
                .container_2 {
                    width: 100%;
                }
            }
            @media only screen and (min-width: 601px) {
                .container {
                    display: flex;
                    flex-direction: row-reverse;
                    padding: 0.25rem;
                    /* border-bottom: 1px solid var(--colorTxt); */
                }
                .container_1 {
                    width: 50%;
                    padding-right: 5%;
                }
                .container_2 {
                    width: 50%;
                }
            }

            .container span {
                display: flex;
                justify-content: center;
                align-items: center;
                z-index: 10;
                position: absolute;
                height: 3rem;
                width: 3rem;
                top: 0.25rem;
                right: 0.25rem;
                background-color: transparent;
                border: none;
                color: var(--colorBg);
                font-size: clamp(2rem, 2vw, 5rem);
            }

        .project_modal img, .project_modal video {
            object-fit: cover;
            height: 100%;
            width: 100%;
            border-radius: clamp(25px, 3.5vw, 34px);
            border: 1px solid var(--colorTxt);
        }
        .project_modal .container_2 div {
            position: relative;
            width: 90%;
        }

        .project_modal .project_time {
            position: absolute;
            top: 100%;
            left: 100%;
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            rotate: -90deg;
            transform-origin: left top;
            width: 100%;
            padding: 0.25rem;
            padding-bottom: 0 !important;
            font-weight: 100;
        }



        .project_modal h1 {
            font-size: clamp(1.8rem, 4.5vw, 2.8rem);
            margin-top: 0.25rem;
        }

        .project_modal p {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
        }

        .project_modal .project_description {
            /* border-top: 1px solid var(--colorTxt); */
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            padding: 0.25rem 0;
        }

        .project_links {
            display: flex;
            /* border-top: 1px solid var(--colorTxt); */
            }
        .project_links a {
                background-color: var(--colorBg);
                color: var(--colorTxt);
                padding: 0.25rem;
                border-radius: 34px;
                margin: 0.125rem;
            }
