/**********************************************************/
/***** reset.css v2.0 (Eric Meyer's original version) *****/
/**********************************************************/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}

/****************/
/***** Main *****/
/****************/

@keyframes fadeIn {0% {opacity: 0;} 100% {opacity: 1;}}
@keyframes blinking {0%, 100% {opacity: 0;} 50% {opacity: 1;}}

/**** Layout *****/
html {box-sizing: border-box; scroll-behavior: smooth;}
*, *:before, *:after {box-sizing: inherit;}
body {font-family: 'Fira Sans Condensed', sans-serif; font-size: 15px; color: white; background-color: black;}

/**** Commons *****/
a {text-decoration: underline solid; color: inherit;}
a:hover {color: goldenrod;}
i {font-style: italic;}
strong {font-weight: bold;}
button, input[type=submit] {padding: 0.5em; text-transform: uppercase; font-family: 'Fira Sans Condensed', sans-serif; font-size: 1em; font-weight: bold; color: white; background-color: rgba(0, 0, 0, 0.75); border-radius: 5px; cursor: pointer; box-shadow: 1px 1px black;}
button:hover, input[type=submit]:hover {color: black; background-color: goldenrod;}
sup {font-size: 0.75em; vertical-align: super;}
.number {text-align: right; white-space: nowrap;}
.text {text-align: left;}
.center {text-align: center;}
.mensaje {margin: 1em 0; text-align: center; text-shadow: -1px -1px 1px black, 1px -1px 1px black, -1px 1px 1px black, 1px 1px 1px black; font-size: calc(1em + 1vw); font-style: italic; color: red; animation: blinking 3s linear infinite;}

/**** Pantalla *****/
h2, h3 {margin-top: 1em; text-align: center; font-family: 'Carter One', cursive; color: white;}
h2 {font-size: calc(1em + 2vw);}
h3 {font-size: calc(1em + 1vw);}
section {width: calc(100% - 2em); max-width: 1200px; margin: 1em auto;}
section p {text-shadow: -1px -1px 1px black, 1px -1px 1px black, -1px 1px 1px black, 1px 1px 1px black;}
.escenario {margin: 0.5em 0; text-align: center; font-family: 'Carter One', cursive; font-size: calc(1.25em + 1.25vw); line-height: 110%; color: goldenrod;}
.narrador {margin: 1em 0; text-align: center; font-size: calc(0.75em + 1vw); font-style: italic; color: silver;}
.ayuda {margin: 1em 0; text-align: center; font-size: calc(0.75em + 1vw); font-style: italic; color: red;}
.personaje {display: table-row; font-size: calc(1em + 1vw);}
.actor, .linea {display: table-cell; vertical-align: middle;}
.actor {text-align: center; font-size: 15px !important;}
.linea {padding: 10px 0 10px 10px;}
.actor img {width: 50px; height: 50px; border-radius: 25px; box-shadow: 2px 2px 2px black;}
.accion {margin: 1em 0; text-align: center; font-size: calc(1em + 0.5vw);}
.accion button {display: inline-block; margin: 0.5em; padding: 0.5em; text-decoration: none; color: white; background-color: rgba(0, 0, 0, 0.75); border-radius: 1em; cursor: pointer;}
.accion button:hover {color: black; background-color: goldenrod;}

/**** Pergaminos y mapitas *****/
.media, .minimedia {text-align: center;}
.media img {width: 100%; max-width: 700px;}

/**** Formulario en section *****/
section form {text-align: center;}
section form p {margin: 1em 0; font-size: calc(1em + 0.5vw); font-style: italic; color: red;}
#campo_codigo {display: block; margin: 0.5em auto; font-size: calc(1em + 0.5vw); text-align: center; color: goldenrod; background-color: transparent; border: none; border-bottom: 1px solid goldenrod; pointer-events: none;}
#boton_comprobar {display: block; margin: 0.5em auto; font-size: calc(0.5em + 0.5vw); border-radius: 1em;}

/**** Formulario fuera de section *****/
.formulario {margin: 1em; text-align: center;}
.formulario form {display: inline-block; padding: 1em; background-color: rgba(0, 0, 0, 0.75); border-radius: 10px;}
.formulario form p {margin: 1em 0; text-align: left;}
.formulario label {display: block;}
.formulario label span {font-size: 0.8em; font-style: italic;}

/**** Article *****/
article {width: 100%; max-width: 800px; margin: 20px auto; padding: 20px;}
article p, article li {margin: 0.5em 0; font-size: calc(0.75em + 1vw); text-shadow: -1px -1px 1px black, 1px -1px 1px black, -1px 1px 1px black, 1px 1px 1px black;}
article table {width: 100%; font-size: 1.5em;}
article table th, article table td {padding: 5px;}

/**** Pista *****/
.pista {text-decoration: underline; cursor: help;}
.ventana {display: none; position: fixed; z-index: 9999; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: justify; color: black; background-color: goldenrod; box-shadow: 2px 2px 2px black; overflow: auto;}
.close {position: absolute; top: 0.25em; right: 1em; font-size: calc(1.5em + 1.5vw); font-weight: bold; cursor: pointer;}
.resena {padding: 2em 1em 1em 1em; line-height: 120%; font-size: calc(1em + 1vw);}
.resena a:hover {color: goldenrod; background-color: black;}

/**** Clasificación *****/
.enconcurso {color: black; background-color: goldenrod;}
.advertenciaconcurso {display: inline-block; padding: 3px; text-shadow: none; font-size: 0.75em; color: black; background-color: goldenrod;}
table {line-height: 80%;}
table tr {border-bottom: 1px solid white;}
table tbody td {vertical-align: middle;}
table tbody td span {font-size: 0.5em;}

/**** Puzzle *****/
#puzzle {margin: 0 auto;}
.puzcnv {display: block; margin: 0 auto;}

/******************/
/***** Mobile *****/
/******************/

@media (max-width: 800px) {
	button, input[type=submit] {font-size: 0.75em;}
	.ventana {width: 400px; top: 50%; left: 50%; transform: translate(-200px, -50%);}
}