::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(0,0,0,0);
    -webkit-border-radius: 100px;
}

::-webkit-scrollbar:hover {
    background-color: rgba(0,0,0,.9);
}

::-webkit-scrollbar-thumb:vertical {
    background: rgba(255,255,255,0.5);
    -webkit-border-radius: 100px;
}

::-webkit-scrollbar-thumb:vertical:hover {
    background: rgba(255,255,255,0.6);
}

::-webkit-scrollbar-thumb:vertical:active {
    background: rgba(255,255,255,0.65);
    -webkit-border-radius: 100px;
}

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,aside,footer,header,nav,section {
    display: block
}

h1 {
    font-size: 2em;
    margin: 0.67em 0
}

figcaption,figure,main {
    display: block
}

figure {
    margin: 1em 40px
}

hr {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    -moz-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b,strong {
    font-weight: inherit
}

b,strong {
    font-weight: bolder
}

code,kbd,samp {
    font-family: monospace, monospace;
    font-size: 1em
}

dfn {
    font-style: italic
}

mark {
    background-color: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

audio,video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

img {
    border-style: none
}

svg:not(:root) {
    overflow: hidden
}

button,input,optgroup,select,textarea {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,input {
    overflow: visible
}

button,select {
    text-transform: none
}

button,html [type="button"],[type="reset"],[type="submit"] {
    -webkit-appearance: button
}

button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
    width: 100%;
}

fieldset {
}

legend {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    display: inline-block;
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type="checkbox"],[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0
}

[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button {
    height: auto
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details,menu {
    display: block
}

summary {
    display: list-item
}

canvas {
    display: block;
}

template {
    display: none
}

[hidden] {
    display: none
}

@keyframes fadeIn {
    from {
        opacity: 0.00001;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.00001;
    }
}

@keyframes rotator {
    0% {
        opacity: 0.00001;
        transform: scale(0) rotate(-900deg);
    }

    90% {
        filter: blur(50px);
        opacity: 0.4;
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1; }

img {
    max-width: 100%;
    height: 100%;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    -ms-touch-action: none;
    touch-action: none;
    text-align: center;
    font-size: 20px;
    font-family: 'Open Sans';
    font-weight: 300;
    color: #fff;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    width: 100%;
    margin: 0;
    height: 100%;
    overflow: hidden;
    background: #045241;
}

body.background {
    background: -webkit-linear-gradient(135deg, #2f2f2f, #50001f, #005c7d, #757401);
    background: -moz-linear-gradient(135deg, #2f2f2f, #50001f, #005c7d, #757401);
    background: -o-linear-gradient(135deg, #2f2f2f, #50001f, #005c7d, #757401);
    background: linear-gradient(-45deg, #2f2f2f, #50001f, #005c7d, #757401);
    -webkit-background-size: 400% 400%;
    -moz-background-size: 400% 400%;
    -o-background-size: 400% 400%;
    background-size: 400% 400%;
    -webkit-animation: gradient 15s ease infinite;
    -moz-animation: gradient 15s ease infinite;
    -o-animation: gradient 15s ease infinite;
    animation: gradient 15s ease infinite;
}

body > .background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (max-width: 995px), screen and (max-height: 700px) {
    body {
        /*
		background: #045241;
		-webkit-animation: none;
		-o-animation: none;
		-moz-animation: none;
		     animation: none;
		*/
    }
}

@-webkit-keyframes gradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes gradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@-o-keyframes gradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

a {
    color: #fff;
    text-decoration: none;
    border-bottom: thin solid #fff;
    -webkit-tap-highlight-color: transparent;
}

.container {
    height: 100%;
    width: 100%;
}

h1, strong {
    font-weight: 300;
}

h1 {
    text-shadow: 1px 1px 5px #000000;
}

input, .btn {
    width: 100%;
    border: 0;
}

.input, .btn {
    background-color: rgba(0,0,0,0.5);
    font-size: 1.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Open Sans';
    margin: 0;
    padding: 1rem;
    text-decoration: none;
    display: flex;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0) 100%);
    transition: all .3s ease-in-out;
    outline: none;
}

input::placeholder {
    opacity: .8;
    color: #fff;
}

textarea::placeholder {
    opacity: 1;
    color: #fff;
}

.btn-sm {
    font-size: .75rem;
    line-height: 1;
    padding: .5rem 1rem;
}

.modal .btn {
    background: rgba(255,255,255,0.2);
}

.btn:not([disabled]) {
    cursor: pointer;
}

.btn:hover, .btn:focus, .btn:active {
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0) 100%);
}

.btn:disabled {
    pointer-events: none;
}

.btn:disabled svg {
    opacity: 0.2
}

.input:focus {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.47) inset;
}

.btn svg {
    width: 40px;
    height: 40px;
    fill: #fff;
    display: block;
    transition: all .3s ease-in-out;
    pointer-events: none;
}

.btn .icon-heart {
    fill: red;
}

body.camera-encoded .btn .icon-cloud {
    fill: rgb(76, 204, 255);
}

.btn-camera-icon .icon-star {
    fill: #ffc800;
    filter: drop-shadow(1px 1px 20px #ffc800) drop-shadow(-1px -1px 20px #ffc800);
}

.no-js .camera-live {
    display: none;
}

.camera-button button {
    margin: 0;
    position: absolute;
    bottom: 0;
    opacity: 1;
    display: none;
}

#camera-shutter svg {
    width: 60px;
    height: 60px;
    fill: #fff;
}

#camera-shutter:hover svg, .buttons-bottom > *:hover svg {
    transform: scale(1.1);
}

#camera-canvas {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: var(--width);
    height: var(--height);
    transform: scale(1,-1);
}

.buttons-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
}

#camera-settings:not(:hover) {
    opacity: 0.5
}

body > .loading {
    display: none;
}

body.loading > .loading {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100vw;
}

body.loading > .loading:after {
    content: '';
    position: fixed;
    z-index: 1001;
    color: #ffffff;
    font-size: 4rem;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    transform: translateZ(0);
    animation: spin 2s infinite ease, round 2s infinite ease;
}

body.loading-has-background .loading-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    animation: fadeIn 1s;
    z-index: 1000;
}

body.loading-non-blocking .loading {
    pointer-events: none;
}

body.loading #loading-text {
    z-index: 1003;
    font-size: 1.6rem;
    font-weight: bold;
    animation: fadeIn 1s;
}

@-webkit-keyframes spin {
    0% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%, 95% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%, 59% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }

    38% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }

    100% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@-moz-keyframes spin {
    0% {
        -moz-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%, 95% {
        -moz-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%, 59% {
        -moz-box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        -moz-box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }

    38% {
        -moz-box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }

    100% {
        -moz-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@-o-keyframes spin {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%, 95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%, 59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }

    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }

    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@keyframes spin {
    0% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        -moz-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%, 95% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        -moz-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%, 59% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
        -moz-box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
        -moz-box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }

    38% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
        -moz-box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }

    100% {
        -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        -moz-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@-webkit-keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 767px) {
    #camera-letsbegin {
        padding-bottom: 72px;
    }
}

#controls-chroma {
    width: 100%;
}

.soc {
    margin: 25px 0 124px 0;
}

.bubble {
    color: #000;
    background-color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 6px #000;
    -moz-box-shadow: 0 0 6px #000;
    box-shadow: 0 0 6px #000;
    display: inline-block;
    padding: 10px 28px;
    position: relative;
    vertical-align: top;
    margin: 5px 45px 5px 20px;
    font-size: 32px;
    margin: 22px 0;
}

.bubble::before, .bubble::after {
    background-color: #fff;
    content: "\00a0";
    display: block;
    height: 16px;
    position: absolute;
    top: 50%;
    transform: rotate( 29deg ) skew( -35deg );
    -moz-transform: rotate( 29deg ) skew( -35deg );
    -ms-transform: rotate( 29deg ) skew( -35deg );
    -o-transform: rotate( 29deg ) skew( -35deg );
    -webkit-transform: rotate( 29deg ) skew( -35deg );
    width: 20px;
    -webkit-box-shadow: -2px 2px 2px 0 rgba( 178, 178, 178, .4 );
    -moz-box-shadow: -2px 2px 2px 0 rgba( 178, 178, 178, .4 );
    box-shadow: -2px 2px 2px 0 rgba( 178, 178, 178, .4 );
    left: -9px;
    margin-top: -8px;
    -webkit-box-shadow: 0 0 26px #000;
    -moz-box-shadow: 0 0 26px #000;
    box-shadow: 0 0 26px #000;
    z-index: -1;
}

.bubble::after {
    z-index: 1;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.bubble-left {
    float: left;
}

.bubble-right {
    float: right;
    margin: 5px 20px 5px 45px;
}

.bubble-right::before {
    -webkit-box-shadow: 2px -2px 2px 0 rgba( 178, 178, 178, .4 );
    -moz-box-shadow: 2px -2px 2px 0 rgba( 178, 178, 178, .4 );
    box-shadow: 2px -2px 2px 0 rgba( 178, 178, 178, .4 );
    right: -9px;
}

.image-result {
    position: relative;
    font-size: 0;
    margin: 0px auto;
}

.image-result img {
    border: 5px solid #fff;
    -webkit-border-radius: 1px 1px 0 0;
    -moz-border-radius: 1px 1px 0 0;
    border-radius: 1px 1px 0 0;
}

.image-result figcaption {
    font-size: 32px;
    padding: 8px 18px 16px 18px;
    background-color: #fff;
    min-height: 50px;
    margin-bottom: 26px;
    color: #000;
}

.errors {
    text-align: center;
    font-size: 16px;
    list-style-type: none;
    padding: 0;
    margin-bottom: 48px;
}

.errors li {
    text-align: center;
}

.message-wrap {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
    color: #fff;
    transition: opacity 0s ease-in-out 0s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#message {
    text-align: center;
    word-break: break-all;
    outline: none;
    padding: 3rem 1rem;
    line-height: 2;
    font-size: calc(16px + (28 - 16) * ((100vw - 360px) / 1560));
    font-size: clamp(25px, calc(16px + (60 - 16) * ((100vw - 360px) / 1560)), 38px);
    word-break: break-word;
}

#message:focus:before {
    opacity: 0.2;
}

#message:empty:before {
    content: attr(placeholder);
    pointer-events: none;
    display: block;
    transition: .3s all ease-in-out;
}

/*
body.landscape-primary .message-wrap {
    transform: rotate(90deg);
    transform-origin: 0 0;
    width: var(--height);
    margin-left: var(--width);
    height: var(--width);
}
*/
#form {
    z-index: 3;
    display: block;
}

body.camera-encoded .message-wrap {
    opacity: 1;
    pointer-events: all;
    transition: opacity 1s ease-in-out 1s;
}

.btn-camera {
    font-size: 1rem;
    border: 1px solid #fff;
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    line-height: 1rem;
    text-align: center;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 3;
    background-color: #0000;
    outline: none;
    -webkit-tap-highlight-color: #0000;
    -webkit-tap-highlight-color: #0000;
    -webkit-transition: all 0.50s ease-in-out;
    -moz-transition: all 0.50s ease-in-out;
    -o-transition: all 0.50s ease-in-out;
    transition: all 0.50s ease-in-out;
    text-shadow: 0 0 0 #fff;
    position: relative;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
}

.btn-fs {
    font-size: .8rem;
}

.btn-camera:not([disabled]) {
    cursor: pointer;
}

.btn-camera[disabled] {
    opacity: .5;
}

.btn-camera-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #fff;
}

.dark-theme-top-left .buttons-left-top *:not(.modal-close) svg, .dark-theme-right-center .buttons-right-center *:not(.pen-gradient):not(.pen-animation):not(.modal-close) svg {
    fill: #000;
}

.dark-theme-top-left .buttons-left-top button:not(.modal-close), .dark-theme-right-center .buttons-right-center button:not(.modal-close) {
    border-color: #000;
}

.dark-theme-top-left .buttons-left-top button:hover, .dark-theme-right-center .buttons-right-center button:hover:not(.active) {
    background-color: rgba(0,0,0,0);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}

.btn-camera-img {
    height: auto;
    display: flex;
    width: auto;
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
    object-position: center center;
    margin: 0 auto;
}

.btn-camera-img-cover {
    width: 250%;
    max-width: none;
    height: 100%;
    object-position: center center;
    transform: translateX(-50%);
}

.transition-box-shadow-opacity {
    transition: box-shadow .5s ease-in-out, opacity .5s ease-in-out, transform 0.5s ease-in-out;
}

.btn-camera:hover {
    box-shadow: 0 0 10px #fff;
    background-color: rgba(0,0,0,0.5);
    opacity: 1;
}

.btn-camera-icon.active {
    background: #987c17;
}

.btn-camera#reverse.active {
    background: purple;
}

.btn-camera#reverse.active svg {
    transform: rotate(90deg);
}

#camera-switch {
    transform: translateY(-200%);
}

.camera-multiple #camera-switch {
    transform: translateY(0%);
}

#camera-light {
    pointer-events: none;
    opacity: 0;
}

.buttons-left-top {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    pointer-events: none;
}

.buttons-left-top > button {
    pointer-events: all;
}

.buttons-left-top > button:not(:first-child) {
    margin-left: 2vw;
}

.buttons-left-bottom {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    z-index: 1;
}

.buttons-left-bottom > button:not(:first-child) {
    margin-left: 2vw;
}

.buttons-right-top {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
}

.buttons-right-top > button:not(:last-child) {
    margin-right: 2vw;
}

.buttons-right-bottom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    z-index: 1;
}

.buttons-right-bottom > button:not(:last-child) {
    margin-right: 2vw;
}

body.haslight #camera-light {
    pointer-events: all;
    opacity: 1;
}

body.haslight.haslight--disabled #camera-light {
    opacity: 0.5;
}

#camera {
    width: 100vw;
    height: 100%;
    position: relative;
}

.slider {
    width: 400vw;
    height: 100%;
    overflow: hidden;
    display: flex;
}

.slider-item {
    width: 100vw;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: opacity 0s ease-in-out;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

body.letsbegin .slider-item:nth-child(1), body.camera-live .slider-item:nth-child(2), body.camera-take-begin .slider-item:nth-child(2), body.camera-taken .slider-item:nth-child(2), body.camera-final .slider-item:nth-child(3), body.camera-share .slider-item:nth-child(4) {
    opacity: 1;
    transition: opacity .8s ease-in-out;
}

body.camera-live .slider, body.camera-take-begin .slider, body.camera-taken .slider {
    transform: translateX(-25%);
}

body.camera-final .slider {
    transform: translateX(-50%);
}

body.camera-share .slider {
    transform: translateX(-75%);
}

.orientation {
    transform: var(--rotation);
    transition: all .2s linear;
}

.btn-orientation {
    transition: all .2s linear;
    display: inline-flex;
    transform: var(--rotation);
}

/*
body.portrait-secondary .btn-orientation {
	transform: rotate(180deg);
}

body.landscape-primary .btn-orientation {
	transform: rotate(90deg);
}

body.landscape-secondary .btn-orientation {
	transform: rotate(270deg);
}
*/
/*
#camera-canvas-preview {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: block;
}
*/
#signature {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: block;
    /* z-index: 2; */
    cursor: cell;
    opacity: 0;
    pointer-events: none;
}

body.camera-taken #signature {
    pointer-events: all;
}

/*
body.camera-taken #camera-canvas-preview {
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

body.camera-taken-landscape #camera-canvas-preview {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    width: auto;
    height: auto;
    margin-left: 100%;
}
*/
#camera-debug {
    position: absolute;
    top: 96px;
    left: 24px;
    right: 24px;
    font-size: 16px;
    z-index: 999;
    word-wrap: break-word;
    pointer-events: none;
    width: 100vw;
}

#camera-debug video, #video-final {
    object-fit: cover;
    width: 100vw;
    height: 100%;
    position: absolute;
    z-index: 3;
}

.camera-taken-landscape #video-final {
    transform: rotate(90deg);
    transform-origin: 0 0;
    width: var(--height);
    height: var(--width);
    margin-left: 100vw;
    top: 0;
    left: 0;
}

#camera-white {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: -1;
    opacity: 0;
}

body.camera-white #camera-white {
    z-index: 999;
    -webkit-animation: fadeIn .3s forwards;
    -moz-animation: fadeIn .3s forwards;
    -o-animation: fadeIn .3s forwards;
    animation: fadeIn .3s forwards;
}

progress[value]::-webkit-progress-bar {
    background-color: transparent;
}

progress[value]::-webkit-progress-value {
    position: relative;
    -webkit-background-size: 35px 20px, 100% 100%, 100% 100%;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    -webkit-animation: animate-stripes 5s linear infinite;
    animation: animate-stripes 5s linear infinite
}

@-webkit-keyframes animate-stripes {
    100% {
        background-position: -100px 0
    }
}

@-moz-keyframes animate-stripes {
    100% {
        background-position: -100px 0
    }
}

@-o-keyframes animate-stripes {
    100% {
        background-position: -100px 0
    }
}

@keyframes animate-stripes {
    100% {
        background-position: -100px 0
    }
}

progress[value]::-webkit-progress-value:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: 7px;
    right: 7px;
    background-color: #fff;
    -webkit-border-radius: 100%;
    border-radius: 100%
}

progress[value]::-moz-progress-bar {
    background-image: -moz-linear-gradient(135deg, transparent, transparent 33%, rgba(0, 0, 0, .1) 33%, rgba(0, 0, 0, .1) 66%, transparent 66%), -moz-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0, 0, 0, .2)), -moz-linear-gradient(left, #09c, #f44);
    -moz-background-size: 35px 20px, 100% 100%, 100% 100%;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}

.progress-bar {
    background-color: transparent;
    border-radius: 50%;
    width: 50vw;
    height: 50vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    max-width: 50vh;
    max-height: 50vh;
}

.progress-bar:after {
    content: attr(value)' %';
    text-align: center;
    color: #fff;
    font-size: 50px;
    white-space: nowrap;
    position: absolute;
    transition: all .5s ease-in-out;
}

/*
body.landscape-primary .progress-bar {
    transform: rotate(90deg);
}
*/
::-webkit-progress-value {
    background-image: -webkit-linear-gradient(135deg, transparent, transparent 33%, rgba(0, 0, 0, .1) 33%, rgba(0, 0, 0, .1) 66%, transparent 66%), -webkit-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0, 0, 0, .2)), -webkit-linear-gradient(left, #09c, #690)
}

::-moz-progress-bar {
    background-image: -moz-linear-gradient(135deg, transparent, transparent 33%, rgba(0, 0, 0, .1) 33%, rgba(0, 0, 0, .1) 66%, transparent 66%), -moz-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0, 0, 0, .2)), -moz-linear-gradient(left, #09c, #690)
}

.buttons-right-center {
    position: absolute;
    top: 50%;
    right: 0px;
    padding-right: 16px;
    transform: translateY(-50%) translateX(100%);
    -webkit-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    transition: all 0.30s ease-in-out;
    pointer-events: none;
}

body.viewport-height-sm .buttons-right-center button {
    width: 2rem;
    height: 2rem;
    font-size: .6rem;
}

body.camera-taken #camera-effect-buttons {
    right: auto;
    left: 0px;
    padding-right: 0;
    padding-left: 16px;
    transform: translateY(-50%) translateX(-100%);
}

body.camera-live.camera-effects #camera-effect-buttons, body.camera-taken #camera-paint-buttons, body.camera-taken.camera-effects #camera-effect-buttons {
    transform: translateY(-50%) translateX(0%);
}

.buttons-right-center button {
    margin: 14px auto;
    overflow: hidden;
    pointer-events: all;
}

.camera-onlive, .camera-ontaken {
    opacity: 0;
    pointer-events: none;
}

body.camera-live .camera-onlive, body.camera-taken .camera-ontaken {
    opacity: 1;
    pointer-events: all;
}

.hide-if-settings-modal {
    transition: .3s all ease-in-out;
}

body.settings-modal .hide-if-settings-modal {
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (hover: none) {
    .buttons-right-center button {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .buttons-right-center button:active {
        transform: translateX(-5px);
    }
}

@media (hover: hover), all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .buttons-right-center button:hover {
        transform: translateX(-5px);
    }
}

.buttons-right-center .btn-camera.hide {
    opacity: 0.3;
    pointer-events: none;
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

.shining:before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.1) 100%);
    background: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0)), to(rgba(255,255,255,.1)));
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.1) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.1) 100%);
    -webkit-transform: skewX(-25deg);
    -moz-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    -o-transform: skewX(-25deg);
    transform: skewX(-25deg);
    -webkit-animation: shine 1s;
    -moz-animation: shine 1s;
    -o-animation: shine 1s;
    animation: shine 1s;
    pointer-events: none;
}

#video-share {
    font-size: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0) 100%);
    padding: .6rem;
    z-index: 4;
    transition: .3s opacity ease-in-out;
    opacity: .6;
    color: #fff;
    cursor: pointer;
}

#video-share:hover {
    opacity: 1;
}

/*
body.landscape-primary #video-share {
    writing-mode: vertical-rl;
    display: inline-block;
    text-orientation: upright;
    transform: translateX(100%) rotate(90deg);
    transform-origin: 0 0;
    left: auto;
    height: 100vw;
    letter-spacing: 0;
    max-width: 5rem;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0) 100%);
}

body.landscape-primary #btn-complete {
    writing-mode: vertical-rl;
    display: inline-block;
    text-orientation: upright;
    transform: translateX(-100%) rotate(90deg);
    transform-origin: 100% 100%;
    width: 100px;
    height: 500px;
    background: linear-gradient(270deg, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0) 100%);
    font-size: 1.2rem;
}
*/
.modal {
    display: none;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    transition: .3s all ease-in-out;
}

.modal.no-background {
    background: rgba(0,0,0,0);
}

.modal-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    overflow-y: overlay;
    overflow-x: hidden;
    max-height: var(--height);
    padding-bottom: 90px;
    font-size: .8rem;
    user-select: none;
    min-height: var(--height);
    padding: 1rem;
}

#settings-modal .modal-list {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
}

body.landscape-primary .modal-list {
    transform: rotate(90deg);
    overflow-x: overlay;
    transform-origin: 0 0;
    width: var(--height);
    margin-left: var(--width);
    min-height: var(--width);
    max-height: var(--width);
}

body.sticker-modal #signature-sticker-modal, body.settings-modal #settings-modal {
    display: block;
    -webkit-animation: fadeIn .3s forwards;
    -moz-animation: fadeIn .3s forwards;
    -o-animation: fadeIn .3s forwards;
    animation: fadeIn .3s forwards;
}

#signature-sticker-modal-search {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 24px 24px 24px;
    z-index: 3;
}

body.landscape-primary #signature-sticker-modal-search {
    transform: translateY(-100%) rotate(90deg);
    top: 0;
    bottom: auto;
    right: auto;
    transform-origin: 0 100%;
    width: var(--height);
}

#signature-sticker-modal-search:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0) 100%);
    z-index: -1;
    pointer-events: none;
}

#signature-sticker-modal-search-input {
    border: 2px dashed rgba(255,255,255,0.5);
    background-color: transparent;
    color: #fff;
    padding: 8px;
    text-align: center;
    outline: none;
    -webkit-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    transition: all 0.30s ease-in-out;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: all;
}

#signature-sticker-modal-search-input:focus {
    border: 2px dashed rgba(255,255,255,0.8);
}

#signature-sticker-modal-search-btn {
    display: none;
}

#signature-sticker-modal-list {
    padding: 0;
}

#signature-sticker-modal-list a {
    margin: .5rem;
    -webkit-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    transition: all 0.30s ease-in-out;
    border: 0;
    display: block;
}

#signature-sticker-modal-list picture {
    position: relative;
    display: block;
}

#signature-sticker-modal-list picture.loading {
    background: linear-gradient(rgb(45 45 45 / 58%) 66%, rgba(242, 242, 242, 0));
}

#signature-sticker-modal-list picture:not(.loading) {
    padding: 0;
    width: auto;
}

#signature-sticker-modal-list img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    -webkit-user-drag: none;
    user-drag: none;
}

#signature-sticker-modal a:hover {
    transform: scale(1.2);
}

.btn-camera[data-size]:before, .btn-camera[data-pos]:before, .btn-camera[data-speed]:before {
    content: '';
    width: 0%;
    height: 0%;
    background-color: rgba(255,255,255,.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 50%;
    -webkit-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    transition: all 0.30s ease-in-out;
    display: block;
}

.btn-camera[data-speed]:before {
    width: var(--speed-size);
    height: var(--speed-size);
}

.dark-theme-right-center .btn-camera[data-size]:before {
    background-color: rgba(0,0,0,.4);
}

.btn-size-hide[data-size]:before {
    opacity: 0;
}

.btn-camera[data-pos="1"]:before {
    width: 50%;
    height: 50%;
}

.btn-camera[data-pos="2"]:before {
    width: 100%;
    height: 100%;
}

.btn-camera[data-size="20"]:before {
    width: 20%;
    height: 20%;
}

.btn-camera[data-size="40"]:before {
    width: 40%;
    height: 40%;
}

.btn-camera[data-size="60"]:before {
    width: 60%;
    height: 60%;
}

.btn-camera[data-size="80"]:before {
    width: 80%;
    height: 80%;
}

.btn-camera[data-size="100"]:before {
    width: 100%;
    height: 100%;
}

img.lazyload, img.lazyloading {
    opacity: 0;
}

img.loading, img.lazyload, img.lazyloaded {
    opacity: 1;
    transition: 2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes scaleout {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

picture.loading:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    animation: scaleout 2s infinite ease-in-out;
    background-color: rgba(255,255,255,.1);
}

.pen-animation {
    -webkit-animation: randomBackground 2s infinite;
    animation: randomBackground 2s infinite;
}

.pen-gradient {
    background: -webkit-linear-gradient(135deg, #2f2f2f, #50001f, #005c7d, #757401);
    background: -moz-linear-gradient(135deg, #2f2f2f, #50001f, #005c7d, #757401);
    background: -o-linear-gradient(135deg, #2f2f2f, #50001f, #005c7d, #757401);
    background: linear-gradient(-45deg, #2f2f2f, #50001f, #005c7d, #757401);
    -webkit-background-size: 400% 400%;
    -moz-background-size: 400% 400%;
    -o-background-size: 400% 400%;
    background-size: 400% 400%;
    -webkit-animation: gradient 5s ease infinite;
    -moz-animation: gradient 5s ease infinite;
    -o-animation: gradient 5s ease infinite;
    animation: gradient 5s ease infinite;
}

@keyframes randomBackground {
    0% {
        background-color: purple;
    }

    20% {
        background-color: red;
    }

    40% {
        background-color: yellow;
    }

    60% {
        background-color: green;
    }

    80% {
        background-color: blue;
    }

    100% {
        background-color: purple;
    }
}

#video-final-share {
    display: block;
    max-width: fit-content;
    margin: 0 auto;
    width: inherit;
}

#figure {
    opacity: 0.00001;
    display: inline-flex;
    box-shadow: 0 0 50px 1px rgb(0 0 0), 0 0 30px 0 rgb(0 0 0 / 10%) inset;
    flex-direction: column;
    max-width: 85vw;
    background-color: #fff;
    overflow: hidden;
    padding: 1rem;
    margin: 0;
    justify-content: space-evenly;
    width: fit-content;
    align-content: stretch;
    max-height: 100%;
}

body.camera-share #figure {
    animation: rotator linear 1s forwards;
}

body.camera-taken-landscape #figure {
    transform: rotate(90deg) !important;
    max-width: 85vh;
}

#figcaption:not(:empty) {
    color: #000;
    font-weight: bold;
    font-size: calc(16px + (28 - 16) * ((100vw - 360px) / 1560));
    font-size: clamp(16px, calc(16px + (28 - 16) * ((100vw - 360px) / 1560)), 28px);
    padding: 1rem 1rem 0 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: fit-content;
    min-width: 16ch;
    font-family: 'Lobster', cursive;
}
