@font-face {
    font-family: 'Cal';
    font-style: normal;
    font-weight: 500;
    src: local('Cal'),
        url(CalSans-Regular.ttf) format('truetype');
}

:root {
    --scroll-size: 10px;
    --scroll-radius: 100px;
    --scroll-track: rgb(0 0 0 / 0%);
    --scroll-thumb-color: #666;
}

body,
html {
    min-height: 100lvh;
}

body {
    font-family: 'Cal';
    background-color: #000;
    margin: 0;
    color: #000;
    background-position-x: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

::-webkit-scrollbar {
    width: var(--scroll-size, 10px);
    height: var(--scroll-size, 10px);
}

::-webkit-scrollbar-track {
    background-color: var(--scroll-track, transparent);
    border-radius: var(--scroll-track-radius, var(--scroll-radius));
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color, grey);
    background-image: var(--scroll-thumb, none);
    border-radius: var(--scroll-thumb-radius, var(--scroll-radius));
}

@keyframes palpitar {
    0% {
        transform: scale(1);
    }

    90% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotar {
    0% {
        /*transform: rotate(0deg);*/
        color: #fff;
    }

    50% {
        color: #666;
        /*transform: rotate(359deg);*/
    }

    100% {
        /*transform: rotate(0deg);*/
        color: #fff;
    }
}

#studio_section {
    margin: 1em auto;
    width: fit-content;
    background: rgba(255, 255, 255, .95);
    border-radius: 15px;
    padding: 1em;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}

#former {
    border-radius: 25px;
    margin-left: 15px;
}

#studio_section #foto {
    height: auto;
}

#studio_section #publicar {

    max-width: 275px;
}

#studio_status {
    display: block;
    text-align: left;
    color: #666;
    margin: 0 .5rem;
}

#former h1 {
    margin: 0 .5rem;
}

a.logo img {
    width: 75px;
    border-radius: 50%;
    outline: solid 5px #800808;
    outline-offset: 5px;
}

a.logo {
    display: block;
    color: #666;
    margin: 10px;
    position: relative;
}

header h1,
header h2 {
    margin: 0;
    font-family: monospace;
    margin-bottom: 20px;
    font-weight: normal;
    text-align: left;
    color: #fff;
}

.secuencia {
    display: inline-block;
    background: linear-gradient(0deg, #16161d, #111);
    padding: 1em;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .5);
    min-width: 280px;
    font-size: 20px;
}

header .secuencia>span>img {
    width: 30px;
    margin-right: 5px;
    filter: invert(1);
}

header .secuencia>span {
    display: flex;
    align-items: flex-end;
}

header p {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

#logout {
    flex: 0 0 auto;
    width: auto;
    display: inline;
    margin: 0;
    padding: .2rem 1rem;
    color: #666;
    background: #000000;
    border-radius: 7px;
}

.botones {
    display: flex;
    justify-content: center;
    align-items: center;
}

#publicar>div.final {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
}

.historia div>p.nivel {
    font-size: .9em;
    display: inline-block;
    border-radius: 10px;
    padding: 5px;
    margin: .3em 20px;
    margin-right: 0;
}

article.trabajo {
    border: solid 2px #666;
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

input.review_check[type="checkbox"] {
    display: block;
}

#lectura input[type="text"] {
    width: 75%;
}

#lectura input[readonly] {
    width: 65px;
}

.opcion-1 {
    display: inline-block;
    padding: .3em .5em;
    border-radius: 3px;
    /* background-color: rgb(39, 39, 39); */
    cursor: pointer;
    transition: .3s;
    margin-right: 7px;
    border: solid 1px;
    color: #444;
}

real {
    background-color: #16161d;
    color: #fff;
    border-radius: 10px;
    padding: 0 .5em;
}

votos.opcion-1 {
    background-color: #fc0;
    color: #000;
    cursor: default;
}

span.opcion-1 {
    font-size: .8em;
    cursor: default;
}

a.opcion-1 {
    display: block;
    color: #ccc;
    margin: 10px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 320px;
    animation: rotar 3s infinite linear;
}

.title_b {
    font-family: arial;
    font-size: 1.1em;
}

#nivel-1:checked:checked~.opcion-1 {
    background-color: #000;
    color: #999;
    border-color: #000;
}

#nivel-2:checked:checked~.opcion-1 {
    background-color: #16161d;
    color: #ddd;
    border-color: #16161d;
}

#nivel-3:checked:checked~.opcion-1 {
    background-color: #ffbf001c;
    color: #fc0;
    border-color: #fc0;
}

#nivel-4:checked:checked~.opcion-1 {
    /* background-color: #333; */
    color: #333;
    border-color: #333;
}

#nivel-5:checked:checked~.opcion-1 {
    background-color: #333;
    color: #fff;
    border: solid 1px #333;
}

#nivel-6:checked:checked~.opcion-1 {
    /* background-color: rgb(0, 0, 0); */
    color: rgb(50, 186, 204);
    border: solid 1px;
}

#nivel-7:checked:checked~.opcion-1 {
    /* background-color: rgb(0, 0, 0); */
    color: #000;
    border: solid 1px;
}

#nivel-8:checked:checked~.opcion-1 {
    background-color: rgb(0, 0, 0);
    color: rgb(204, 65, 0);
    border: solid 1px;
}

#nivel-9:checked:checked~.opcion-1 {
    background-color: rgb(0, 0, 0);
    color: #fc0;
    border: solid 1px;
}


.cabecera {
    display: flex;
    align-items: center;
}

#title {
    align-self: center;
    border: solid 2px;
    color: #666;
    padding: 10px;
    cursor: move;
    margin-left: 10px;
    border-radius: 3px;
}

.tagElement {
    display: flex;
    align-items: center;
    background-color: #999;
    border-radius: 5px;
    padding: 2px 5px;
    margin: 5px;
}

textarea.editar {
    padding: 0 10px;
    margin: 0 .5em;
    box-sizing: border-box;
    position: relative;
    display: block;
    border: 0;
    width: calc(100% - 1em);
    color: #333;
    /* background: #eee; */
}

#usuario .tagElement>span,
.tagElement>span {
    padding: 3px 5px;
    margin: 0;
    color: #000;
}

#usuario span.xTagElement,
span.xTagElement {
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 0 5px;
    border-radius: 5px;
    margin: 0;
    color: #ccc;
    cursor: pointer;
}

fieldset {
    display: flex;
    border: 0;
    border-radius: 5px;
    margin: .5em;
    padding: 0;
}

*:focus {
    outline: none;
}

.colgarCamara {
    color: #000;
    display: flex;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 10px;
}

.url_video {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    /* margin: 0 1em; */
}

.url_video>input {
    flex: 1 1 auto;
}

.url_video>label {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    color: #16161d;
    margin-right: 1em;
}

.url_video>label>input[type="checkbox"] {
    transform: scale(1.7);
    margin-right: .8em;
    background-color: #fc0;
}

.colgarCamara .progreso {
    /* background: #cc4f00; */
    border-radius: 7px;
    padding: .5em;
    color: #666;
}

fieldset#recursos,
fieldset.recursos {
    flex-flow: row wrap;
    align-items: center;
    margin: 1em .5em;
    padding: .5em;
    border: solid 1px #999;
    background: #fff;
}

fieldset.inputRecursos {
    margin: 1em;
}

fieldset#recursos>input[type="text"],
fieldset.recursos>input[type="text"] {
    flex: 1 1 auto;
    border: 0;
    padding: .5em;
    color: #000;
}

#publicar>input.recursos {
    margin: 1em .5em;
    width: auto;
}

.historia>div p.recursos {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: .9em;
    margin: 0 0 0 15px;
}

recurso {
    display: block;
    background-color: rgb(183 185 185);
    color: #16161d;
    padding: 5px;
    margin: 3px 5px;
    border-radius: 3px;
    white-space: pre-wrap;
}

recurso::before {
    content: '';
    white-space: pre;
}

nivel {
    border-radius: 7px;
    color: #999;
    background: #000;
    padding: 5px 10px;
}

.carr_pend {
    margin: 0 1.2em;
    color: #c30;
}

a {
    color: #333;
    text-decoration: none;
    /* font-weight: bold; */
    transition: .2s;
}

a.visitar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff0000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    margin: 1em .5em 0 .5em;
}

a.visitar>img {
    height: 30px;
    /* margin-right: 10px; */
    /* filter: brightness(0); */
}

a.visitar:hover {
    transform: scale(1.05);
}

p>a {
    color: #ffbf00;
    font-weight: 100;
}

nav {
    /* position: sticky; */
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    border-radius: 0 0 30px 30px;
    margin: 0 auto;
    padding: 1em;
    max-width: 1200px;
}

nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1em;
    transition: .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

nav a>span {
    color: #111;
    ;
}

nav a:hover {
    transform: scale(1.02);
}

nav a>img {
    width: auto;
    height: 30px;
    margin: 0;
    /* margin-right: 0; */
}

nav a:first-child>img {
    height: 30px;
    width: auto;
    box-sizing: border-box;
    margin-right: 5px;
}

nav>a:first-child>img:first-child {
    height: 50px;
}

header,
section {
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

header {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    max-width: 900px;
    min-width: 700px;
    border-radius: 20px;
    margin: 1rem auto;
}

section#historias {
    border-radius: 15px;
    overflow-x: auto;
    align-items: stretch;
    width: fit-content;
}

.link_activo>img {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.accionPublicar img {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 50%;
    filter: invert(1);
}

.link_activo,
.accionPublicar {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #ff0000;
    padding: .5rem 1rem;
    border-radius: 15px;
    transition: ease-in-out all 0.1s;
    max-width: 480px;
    color: #000;
}

.link_activo:nth-child(2) {
    margin-left: 20px;
}

.link_activo:hover,
.accionPublicar:hover {
    transform: scale(1.05);
}

.link_activo:hover>img,
.accionPublicar:hover img {
    transform: rotate(-5deg);
}

.link_activo>a {
    color: #333;
    font-weight: normal;
}

footer {
    background: #141414;
    color: #666;
    padding: 3rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
    margin: 0;
    text-align: left;
}

footer a {
    display: inline-block;
    margin: 0 .3em;
}

footer a:hover>img {
    transform: scale(1.1) rotate(-5deg);
}

footer img {
    width: auto;
    height: 25px;
    filter: brightness(1000);
}

.ico_ova_nimacion {
    width: 25px;
    height: 25px;
    position: absolute;
    z-index: 2000;
    transition: .1s;
}

.completar {
    border: solid 1px #ccc;
    margin: 10px;
    border-radius: 7px;
    overflow: hidden;
}

#usuario,
#lectura {
    /* visibility: hidden; */
    z-index: 99;
    margin-right: 10px;
    margin-left: 10px;
    bottom: -100vh;
    left: calc(50% - 332px);
    height: max-content;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    background-color: #fcfcfc;
    padding: .5em 1em;
    /* box-shadow: 0 0 90px rgba(0, 0, 0, .5); */
}

#usuario {
    bottom: auto;
    left: auto;
    position: relative;
    flex: 1 1 auto;
    min-width: 420px;
    max-width: 480px;
    z-index: 0;
    padding: 1rem;
    background: #222;
}

#lectura {
    width: 600px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row nowrap;
    padding: 1em;
    height: calc(100vh - 2em);
    z-index: 1001;
    background: #00000099;
    backdrop-filter: blur(100px);
    border-radius: 0;
}

#lectura textarea,
#lectura input {
    border: 0;
    border-radius: 0;
    background: none;
    color: #ccc;
}

#lectura>div {
    position: relative;
}

#lectura button {
    background: #fff;
    color: #111;
    padding: .5em 1em;
    margin-left: 10px;
    border: 0;
    cursor: pointer;
    border-radius: 5px;
}

#lectura button:last-child {
    position: absolute;
    right: 15px;
    bottom: 2px;
}

#lectura button:hover {
    background: rgb(255, 225, 0);
}

#lectura textarea {
    width: calc(100% - 2em);
    margin: 1em 0;
    padding-top: 25%;
}

#usuario span {
    font-family: Courier New;
    color: #666;
    font-weight: bold;
    display: inline-block;
    margin: .2rem .5rem;
    font-size: .9em;
}

#capa {
    background: linear-gradient(135deg, rgb(0 0 0 / 50%), rgb(58 58 58 / 50%));
    padding: 15px;
}

#usuario h2 {
    color: #46f;
    margin-top: .2em;
    font-weight: normal;
}

article img[data-src] {
    filter: blur(10px);
}

#cargador {
    position: sticky;
    bottom: 10px;
    left: 10px;
    margin: 0 auto;
    width: fit-content;
    padding: .5em;
    color: #eee;
    font-size: 1em;
    text-align: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    z-index: 20;
}

#cargador>img {
    width: 30px;
    margin-right: 5px;
}

#objetivo {
    display: none;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    margin: 0;
    z-index: 20;
}

#objetivo>div {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    max-width: 370px;
    background-color: #16161d;
    border: solid 1px #ff0000;
    font-size: medium;
    border-radius: 20px;
    padding: 1.5em 2em;
}

#objetivo>div>h2,
#objetivo>div>h3 {
    margin: .5em 0;
    font-weight: 100;
    color: #eee;
    text-align: left;
}

#objetivo>div>p {
    margin: .5em 0;
    font-size: 1em;
    color: #ddd;
}

#objetivo>div>span {
    display: inline-block;
    background: hsl(0deg 0% 22.2% / 0%);
    border-radius: 10px;
    margin-top: 1em;
    padding: .5em 1em;
    cursor: pointer;
    color: #fc0;
}

#objetivo>div>span:hover {
    transform: scale(1.05);
}

#ver_ocultar>span {
    border-radius: 100px;
    color: #000;
    padding: .2em 1em;
    font-size: 1.1em;
    border: solid 1px #000;
}

#ver_ocultar>a>img {
    height: 50px;
    width: auto;
    margin: 0 1em;
}

#publicar {
    display: flex;
    flex-flow: column nowrap;
}

#publicar>div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: .5em;
}

#publicar>div.prim {
    margin-top: 1em;
}

#publicar>div:last-child {
    margin-top: 0;
}

#publicar>input {
    flex: 1 1 100%;
    border-radius: 5px;
    width: 40%;
}

#publicar>div>input {
    flex: 1 1 auto;
    border-radius: 15px;
    width: fit-content;
    background: #000;
}

#publicar>div>input[type="button"],
a.cancelar {
    flex: 0 1 auto;
    border-radius: 100px;
    margin-left: .7em;
    background-color: rgb(57 66 57);
    cursor: pointer;
    border: none;
    font-size: .9em;
    width: auto;
    color: #eee;
}

#publicar>div>input[type="button"]:hover,
a.cancelar:hover {
    transform: scale(1.05);
}

#cargar_imagen {
    /* position: absolute; */
    /* right: 10px; */
    /* top: 10px; */
    cursor: pointer;
    margin: 0 .5rem;
    margin-left: .8rem;
}

.cargar_imagen {
    width: fit-content;
    cursor: pointer;
}

#cargar_imagen>img,
.cargar_imagen>img {
    width: 30px;
    height: 30px;
}

#cargar_imagen:hover>img,
.cargar_imagen:hover>img {
    transform: scale(1.1) rotate(-5deg);
}

#progreso {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    cursor: pointer;
    color: #fff;
    text-shadow: 0 2px black;
}

.progreso {
    text-align: right;
    cursor: pointer;
    color: #000;
    margin-right: 5px;
    display: inline-block;
}

input[type="text"] {
    border-radius: 15px;
}

#publicar>input[type="text"] {
    width: auto;
    border: 0;
    padding: 10px;
    border-bottom: solid 1px #444;
    background: no-repeat;
    border-radius: 0;
    color: #999;
}

input[type="file"] {
    display: none;
}

input,
textarea {
    border-radius: 3px;
    padding: 10px 20px;
    border: 0;
    font-size: 1.2rem;
    background: none;
    color: #fff;
    border: solid 2px #666;
}

input[type="range"] {
    background-color: #099;
}

textarea {
    resize: none;
    border-radius: 5px;
    padding: 10px;
    background: none;
    border: 0;
    color: #999;
    height: 100%;
    overflow: hidden;
}

label.condicion {
    color: #000;
    text-align: center;
    text-shadow: 1px 1px 1px #999;
}

label.footer {
    margin-bottom: 1em;
}


#publicar>div>input[type="submit"] {
    background: #ff0000;
    border: 0;
    font-size: 1.1em;
    width: 50%;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}

#publicar>div>input[type="submit"]#botonSubmit {
    /* background: #000; */
    /* flex: 0 0 auto; */
}

input[type="submit"]:hover {
    transform: scale(1.03);
}

#foto {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    overflow: hidden;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    background: #ff0000;
    position: relative;
    outline: solid 2px #ff0000;
    outline-offset: 4px;
}

#foto_publi {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.pie {
    --w: 50px;
    --b: 3px;
    --c: #394239;
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1em;
    background-color: #333;
    border-radius: 50%;
    align-self: center;
    flex: 0 0 auto;
}

.pie:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 0;
    background: conic-gradient(#ff0000 calc(var(--p) * 1%), #0000 0);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
    mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
}


#historias {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    color: #666;
    margin: 2rem auto;
}

.lista_vertical {
    display: flex;
    flex-flow: column;
    align-items: center;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-gap: 15px;
    /* grid-auto-rows: minmax(100px, auto); */
    flex: 1 0 auto;
    /* width: 100%; */
    margin: 5px 10px;
    transition: all .5s ease-out;
}

.one {
    grid-column: 14 / 9;
    grid-row: 1 / 2;
}

.two {
    grid-column: 5 / 10;
    grid-row: 2 / 3;
}

.three {
    grid-column: 6 / 11;
    grid-row: 3 / 4;
}

.four {
    grid-column: 7 / 12;
    grid-row: 4 / 5;
}

.five {
    grid-column: 8 / 13;
    grid-row: 5 / 6;
}

.six {
    grid-column: 9 / 14;
    grid-row: 6 / 7;
}

.lista_vertical:nth-child(2) .one {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
}

.lista_vertical:nth-child(2) .two {
    grid-column: 7 / 12;
    grid-row: 2 / 3;
}

.lista_vertical:nth-child(2) .three {
    grid-column: 6 / 11;
    grid-row: 3 / 4;
}

.lista_vertical:nth-child(2) .four {
    grid-column: 5 / 10;
    grid-row: 4 / 5;
}

.lista_vertical:nth-child(2) .five {
    grid-column: 4 / 9;
    grid-row: 5 / 6;
}

.lista_vertical:nth-child(2) .six {
    grid-column: 3 / 8;
    grid-row: 6 / 7;
}

article.historia {
    flex-flow: row nowrap;
    align-items: flex-start;
    align-self: flex-start;
    flex: 1 1 auto;
    border-radius: 20px;
    position: relative;
    min-width: 480px;
    max-width: 480px;
    background: #f4f4f4;
    overflow: hidden;
    margin: 0 10px;
    transition: all .5s ease-out;
    border: solid 1px #ccc;
    /* box-shadow: 0 0 15px rgba(0, 0, 0, .1); */
}

article h2,
article h3 {
    margin: 0;
}

article h2 {
    /* outline: solid 3px #ff0000; */
    outline-offset: 2px;
    background: #ff0000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
}

article h2.memoria {
    background: rgb(50, 186, 204);
}

article h2.trabajo {
    background: rgb(204, 65, 0);
    color: #fc0;
}

article h2.meta {
    background-color: rgb(210, 210, 210);
    color: #111;
}

article h2.reto {
    background-color: rgb(255, 191, 0);
    color: #111;
}

h2.foto {
    background: none;
    color: rgb(50, 186, 204);
    border: solid 1px;
}

h2.video {
    background-color: rgb(0, 0, 0);
    color: #ffffff;
    border: solid 1px;
}

article h3 {
    margin: 0 1rem;
    font-weight: normal;
    color: #ff0000;
}

.historia>div.autorAlias {
    display: flex;
    align-items: center;
    margin: 0 15px;
    margin-top: 15px;
}

.autorAlias>div {
    padding: 5px 10px;
}

.autorAlias>div>span {
    display: block;
    font-size: .8em;
}

.autorAlias>div>span:nth-child(1) {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: .1em;
}

.autorAlias img {
    width: 50px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    cursor: pointer;
    outline: solid 2px #ff0000;
    outline-offset: 3px;
}

.historia>div.comtenido {
    height: 373px;
    overflow: hidden;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.unidad {
    flex-flow: column;
    background: #fff;
    padding-top: 10px;
}

.ads {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

div.ads>div>p {
    text-align: center;
    font-size: 1.3em;
    color: #ccc;
}

#historias[class='solitario'] {
    flex-flow: row nowrap;
}

.queoque {
    color: #fc0;
    font-weight: 100;
}

.solitario>.historia {
    width: 30%;
}

.solitario>.historia:last-child {
    border: 0;
}

.historia>div.invisible {
    backdrop-filter: blur(3px);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    background: none;
    font-size: 1.5em;
    border-radius: 100px;
}

.historia>div.comentario {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    margin: .5em;
    padding: .5em;
    font-size: 1em;
}

.historia>div.realizar {
    align-items: center;
    background: #eee;
    border-radius: 10px;
}

.historia>div.comentario>span {
    margin: .5em;
    color: #333;
    font-weight: bold;
}

.comentario img {
    width: 40px;
    filter: grayscale(2) invert(1);
}

.leer {
    display: block;
    margin-left: 1em;
    color: #666;
    font-size: .9em;
}

.marcado {
    padding: 5px;
    margin: 10px;
    flex: 1 1 auto;
    width: 90%;
    background: #fcfcfc;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    flex-flow: row wrap;
}

.historia div.oblivion {
    display: flex;
    flex-flow: row nowrap;
    flex-wrap: center;
    background: none;
    align-items: center;
    z-index: 0;
    margin: .3em 1em;
    /* margin-left: .3em; */
}

.input_objetivo {
    flex: 1 1 auto;
    border-radius: 10px;
    width: 100%;
    border: solid 1px #666;
}

.globo {
    padding: .5em 1em;
    position: sticky;
    bottom: 10px;
    width: max-content;
    margin: 0 auto;
    border-radius: 5px;
    color: #999;
    z-index: 100;
}

.oblivion>input[type="submit"] {
    box-sizing: border-box;
    display: block;
    margin: 1em;
    width: auto;
    background: #ff0000;
    border-radius: 5px;
    cursor: pointer;
    color: #fcfcfc;
    border: 0;
}

input[name="recursos_display"],
input[name="inputTags"] {
    background: none;
}

input[type="text"].url_video {
    display: block;
    flex: 1 1 auto;
    margin: .5em 1em;
    border-radius: 10px;
    border: solid 1px #666;
}

.es_origen {
    border: solid 2px #fff;
}

a.boton {
    display: inline-block;
    padding: 0.5em 1em;
    font-weight: normal;
    margin: 0.5em 0;
    border: 0;
    font-size: 1em;
    text-decoration: none;
}

a.boton:hover {
    transform: scale(0.95);
}

div.boton_mas {
    text-align: center;
    border-radius: 100px;
    margin: 2em auto;
    width: fit-content;
    width: moz-fit-content;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #000;
    padding: 5px;
}

.boton_mas a.boton {
    text-align: center;
    margin: 0;
    padding: .5em 1.5em;
}

.boton_mas>a:first-child {
    border-radius: 10px 0 0 10px;
}

.boton_mas>a:last-child {
    border-radius: 0 15px 15px 0;
}

.boton_mas>a.actual {
    color: #666;
    border-radius: 0;
}

a.activo {
    color: #ccc;
    border-radius: 0;
    /* font-weight: bold; */
}

a.inactivo {
    border-radius: 0;
    color: #666;
}

.boton_mas a:hover {
    transform: none;
}

.historia img.inter_hr {
    width: 75px;
    height: auto;
    z-index: -1;
    margin: 10px;
    border-radius: 50%;
    outline: solid 3px #ff0000;
    outline-offset: 3px;
}

.historia>div>a {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.historia>div>a>h2 {
    margin: .5em;
    font-weight: 100;
    font-size: 1.5em;
    color: #fff;
}


.historia>div {
    position: relative;
    /* border-radius: 20px; */
    z-index: 10;
}

.historia>div>span {
    display: flex;
    align-items: center;
    color: #ff0000;
    font-size: 1em;
    margin: .7em 18px;
    margin-top: 0;
}

.fila {
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    align-self: flex-start;
}

.historia>div>span.ver_mas {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 5px 25px;
    height: 50px;
    align-items: flex-end;
    background: linear-gradient(0deg, #f4f4f4 50%, transparent);
    /* font-weight: bold; */
}

.solitario>.historia:nth-child(1) {
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.historia>div>p {
    font-family: monospace;
    margin: .7em 25px;
    word-wrap: break-word;
    font-size: 1.2rem;
    color: #333;
}

.historia>div.comentario>p {
    font-size: 1em;
    margin: 0 10px;
    word-wrap: break-word;
}

.historia>div.comentario>p span {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.historia>div.comentario>p span:nth-child(2) {
    margin-bottom: 0;
    margin-top: 10px;
    font-size: .8em;
}

.solitario>.historia:nth-child(2)>div.comentario:last-child>p {
    color: #000;
    font-size: .9em;
}

a.cancelar {
    background: #000;
    color: #999;
    padding: .5em 1em;
    font-size: 1em;
}

.acciones {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: .5em;
    margin-bottom: .3em;
}

.acciones>div {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 7px 10px;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acciones>div:last-child {
    position: absolute;
    right: 0;
    padding: 0;
}

div.extra {
    display: none;
    margin-top: .5em;
}

.extra>div:nth-child(1) {
    flex: 1 1 auto;
}

.extra>div {
    flex: 0 0 auto;
}

div.encabezado {
    width: 100px;
    height: 100px;
    display: grid;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #000;
    overflow: hidden;
    margin: 0 20px 0 10px;
    border-radius: 50%;
}

div.encabezado>img {
    flex: 1 1 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

div.encabezado>img {
    transition: .1s;
    cursor: pointer;
}

div.encabezado:hover>img {
    transform: scale(1.1) rotate(-5deg);
}

.historia div>a.real_pend {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    z-index: 1;
    font-size: 1em;
    text-shadow: 0px 1px 2px #000;
}

.historia div>a.real_pend:hover {
    transform: scale(1.1);
}

.historia div>a.real_pend:hover>img {
    transform: rotate(-5deg);
}

a.real_pend>span {
    font-weight: 100;
    margin: 0;
    font-size: .8em;
}

.historia div>a.real_pend>img {
    width: 30px;
}

.acciones>div:first-child {
    max-width: 120px;
    flex-flow: row nowrap;
    border-radius: 10px;
}

.acciones span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.historia>div.acciones img,
.acciones img {
    width: 25px;
    height: auto;
    margin-right: 5px;
    transition: .1s;
    /* filter: invert(.5); */
}

.acciones>div:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.user_like img {
    transform: scale(1.1) rotate(-5deg);
}

#cuadro_im_prod_serv {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1002;
    padding: 25px;
    background: rgba(0, 0, 0, .5);
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    color: #fff;
}

#imagen_prod_serv {
    width: 100%;
    height: auto;
    transition: all 0.1s ease-in-out;
    border-radius: 20px;
    margin: 1em 0;
}

#zoom_im_prod_serv>img[alt="cerrar"] {
    width: 30px;
    height: 30px;
    padding: 5px;
    cursor: pointer;
    background: #000;
    border-radius: 50%;
}

#zoom_im_prod_serv>img[alt="cerrar"]:hover {
    transform: scale(1.1) rotate(-5deg);
}

#zoom_im_prod_serv {
    position: sticky;
    left: 0;
    bottom: 20px;
    right: 0;
    z-index: 10;
    margin: 1em;
}

#cuadro_im_prod_serv {
    background: rgba(255, 255, 255, .5);
    backdrop-filter: blur(2px);
    overflow: auto;
    padding: 0;
    position: fixed;
    text-align: center;
}


@media screen and (max-device-width:768px),
(max-width:768px) {

    section#historias {
        flex-flow: column nowrap;
    }

    #usuario,
    article.historia {
        width: auto;
        max-width: none;
        min-width: auto;
        margin: 1rem;
        order: -1;
    }

    article.historia {
        order: 0;
    }

    .opcion-1 {
        font-size: .7rem;
    }

    #historias {
        margin: 0;
    }

}