html, body {
    max-width: 1000px;
    width: 100%;
    margin: 0;
    font-size: 42px;
    font-family: Satisfy;
    padding: 0;
    background: #236633;
    color: white;
    -webkit-tap-highlight-color: transparent;
}

header {
    width: 100%;
    /* padding: 0 20px; */
    margin-top: -57px;
    margin-bottom: 40px;
    padding-bottom: 10px;
    z-index: 5;
    /* box-shadow: 0 0 25px 5px gold; */
    position: relative;
}

h1 {
    color: white;
    font-family: Sevillana;
    background: #ae1a2a;
    padding: 50px 20px !important;
    font-weight: 100;
    text-align: center;
    box-shadow: 0 0 25px 5px black;
}

h3 {
    color: gold;
    font-family: Satisfy;
    font-weight: 100;
    height: 50px;
    font-size: 60px;
}

p {
    line-height: 86px;
}

.oculto{
    display: none !important;
}

.texto-presentacion{
    font-size: 1.3em;
    line-height: 2em;
}

.main {
    padding: 0 20px;
    font-family: sans-serif;
    position: relative;
    z-index: 10;
}

h1, h3 {
    padding: 0 20px;
}

.texto-presentacion #nombre {
    outline: none;
    text-decoration: underline;
    color: #bfbfbf;
    cursor: pointer;
}

.rrmm{
    font-weight: bold;
    font-style: italic;
}

div#contenido_pista p, #contador-pistas {
    font-size: 52px;
}

.input.editado {
    color: white !important;
}

.boton-continuar {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

button {
    background-color: initial;
    background-image: linear-gradient(-180deg, #ae1a2a, hsl(354 90% 39% / 1));
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: Inter, -apple-system, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-family: Satisfy;
    font-size: 2rem;
    height: 2.2em;
    line-height: 2.2em;
    outline: 0;
    overflow: hidden;
    padding: 0 1em;
    pointer-events: auto;
    position: relative;
    text-align: center;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: top;
    white-space: nowrap;
    z-index: 9;
    border: 0;
    width: 60%;
    margin: 0 auto;
    box-shadow: 5px 5px 36px -5px black;
}

button:hover {
    background: #de1e32;
}

input#codigo {
    font-size: 64px;
    border: none;
    border-bottom: solid;
    outline: none;
    font-family: monospace;
    display: block;
    margin: 0 auto;
}

div#contenido_pista {
    margin-bottom: 96px;
}

div#codigo_completo {
    font-weight: bold;
    text-align: center;
    margin-top: 110px;
}

span.enhorabuena {
    font-weight: bold;
}

button#reset {
    height: 110px;
    line-height: 50px;
    font-size: 40px;
    background: red;
    margin-top: 238px;
    display: none;
}

.bolas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

@keyframes bolas{
    0% {
        transform: rotateZ(2deg);
    }
    50% {
        transform: rotateZ(-3deg);
    }
    100% {
        transform: rotateZ(2deg);
    }
}

.bolas img {
    filter: drop-shadow(2px 4px 6px black);
    transform-origin: top center;
    animation: bolas infinite 3s ease-in-out;
}

img#bola1 {
    position: relative;
    top: 101px;
    left: 841px;
}

img#bola2 {
    position: relative;
    top: 211px;
    left: 606px;
}

img#bola3 {
    position: relative;
    top: 143px;
    left: 523px;
    z-index: 0;
}

#frozen{
    position: absolute;
    top: 211px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0.4;
}

div#relleno {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 630px;
    background: linear-gradient(0deg, #236633 79%, transparent 100%);
    z-index: 4;
}

div#reflejos {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

@keyframes reflejo_suave{
    0%{
        transform: scale(0);
    }
    50%{
        transform: scale(1.4);
    }
    100%{
        transform: scale(0);
    }
}

@keyframes reflejo_fuerte{
    0%{
        transform: scale(0);
    }
    50%{
        transform: scale(1.7);
    }
    100%{
        transform: scale(0);
    }
}

.reflejo {
    background: white;
    width: 5px;
    border-radius: 50%;
    height: 5px;
    position: relative;
    z-index: 99;
    box-shadow: 0 0 14px 3px white;
    transform: scale(0);
}

.reflejo_suave{
    animation: reflejo_suave 2.1s 1 ease-in-out;
}

.reflejo_fuerte{
    animation: reflejo_fuerte 2.1s 1 ease-in-out;
}