@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');@import url('https://fonts.googleapis.com/css2?family=Goblin+One&display=swap');#recorderForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
#recorderForm .logo {
        margin: 1rem auto;
        height: 36px;
        width: 151px;
    }
#recorderForm .video {
        background-color: #171717;
        border: 1px solid #ff146a99;
        border-radius: 4px;
    }
#recorderForm .field {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }
#storyViewer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
#storyViewer .logo {
        margin: 1rem auto;
        height: 36px;
        width: 151px;
    }
#storyViewer .video {
        background-color: #171717;
        border: 1px solid #2edc9f99;
        border-radius: 4px;
    }


html,
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto;
    background-color: #171717;
    font-family: 'Inter', sans-serif;
    color: #f9fafa;

}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-button {
    display: none;
}

/* For Firefox */

html, #main {
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
}

body {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    min-height: 100%;
    justify-content: center;
}

#main {
    flex: 1;
    box-sizing: border-box;
    display: flex;
    max-width: 420px;
    /* border: 1px solid #f9fafa99; */
    border-radius: 8px;
    padding: 1rem;
    background-color: #050506;
    justify-content: center;
    overflow: auto;
    /* box-shadow:
        0 0 3rem #ff146a66,
        0 0 6rem #c9135533; */
    scrollbar-gutter: stable both-edges;
}

body {
    font-family:;
}

h1,
h2 {
    display: block;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #f9fafa;
}

label {
    margin: 0 0 0.5rem;
    font-weight: 400;
    font-size: 18px;
    color: #f9fafa;
}

hr {
    height: 0;
    border-bottom: 1px solid #787878;
    margin: 1px 0 0;
}

input {
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: 1px solid #787878;
    background-color: #171717;
    color: #f9fafa;
    font-size: 18px;
    border-radius: 4px;
}

button {
    display: block;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: none;
    font-weight: 400;
    font-size: 16px;
    color: #f9fafa;
    border-radius: 4px;
}

button.pink {
        background-color: #ff146a;
    }

button.pink:hover:not(:disabled) {
            background-color: #c91355;
        }

button.green {
        background-color: #2edc9f;
    }

button.green:hover:not(:disabled) {
            background-color: #29ae7f;
        }

button:disabled {
        opacity: 0.5;
    }


.story {
    position: relative;
    width: 100%;
    height: 0px;
    padding-bottom: 177.77%;
}

.story .video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.story-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.story-overlay.reveal {
        display: flex;
        opacity: 1;
        transition: opacity 0.5s ease-out;
    }

.story-overlay .overlay-text-container {
        display: block;
        max-width: 75%;
        max-height: calc(75% - 6rem);
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.85);
        border-radius: 1rem;
        padding: 1rem;
        margin-bottom: 2rem;
        box-shadow:
            0 0 8px #ff69b4,
            0 0 16px #800080;
        transform: rotate(-3deg);
    }

.story-overlay .overlay-text {
        margin: 0;
        font-family: 'Goblin One', serif;
        font-weight: 400;
        font-size: 20px;
        background: linear-gradient(45deg, #ff69b4, #800080);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

.story-overlay .cta {
        max-width: 75%;
        max-height: 25%;
        background-image: linear-gradient(45deg, #ff69b4, #800080);
        font-family: 'Goblin One', serif;
        font-weight: 400;
        font-size: 20px;
        color: white;
        text-align: center;
        border: none;
        cursor: pointer;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        text-shadow: 0 0 8px white;
        transform: rotate(2deg);
        transition: all 0.3s ease;
    }

.story-overlay .cta:hover {
            background-image: linear-gradient(45deg, #ff1493, #9400d3);
            box-shadow: 0 0 15px white;
        }
