* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font: normal 16px roboto, arial;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body {
    background: transparent url('https://puzzplayword.com/img/puzzplayword-bg-vocabulary-game.svg') no-repeat 50% 430px;
    background-size: 160px auto;
    height: 100%;
}

body.discover {
    background-color: #f2f2f2;
}

body.win {
    height: 100%;
    background-color: #f92772;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, #fe464d, #f92772);
    background-image: -ms-linear-gradient(top, #fe464d, #f92772);
    background-image: -webkit-linear-gradient(top, #fe464d, #f92772);
    background-image: -o-linear-gradient(top, #fe464d, #f92772);
    background-image: linear-gradient(top, #fe464d, #f92772);
    background-position: 0 0;
    background-size: cover;
}

.red {
    color: #fe464d;
}

.green {
    color: #33cd7b;
}

.container {
    display: block;
    width: 320px;
    margin: 20px auto 0;
}

#puzzlay {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f92772;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, #fe464d, #f92772);
    background-image: -ms-linear-gradient(top, #fe464d, #f92772);
    background-image: -webkit-linear-gradient(top, #fe464d, #f92772);
    background-image: -o-linear-gradient(top, #fe464d, #f92772);
    background-image: linear-gradient(top, #fe464d, #f92772);
    z-index: 20;
    /* background-image: linear-gradient(0deg, #531d77, #a84abb 100%); */
}

#puzzlay:after {
    content: "";
    display: block;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 600px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background: transparent url('https://puzzplayword.com/img/puzzplayword.svg') no-repeat 50% 46%;
    background-size: 30% auto;
}

#numbergame {
    clear: both;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 20px;
    letter-spacing: 1rem;
    opacity: .9;
    padding-left: .5rem;
    text-align: center;
}

#person-grid {
    display: block;
    width: 318px;
    height: 318px;
    background-size: 100% 100%;
    margin: 0 auto 27px;
}

body.win #person-grid {
    width: 240px;
    height: 240px;
    margin: 30px auto 20px;
}

#person-grid div {
    float: left;
    display: block;
    width: 53px;
    height: 53px;
    background-color: #f2f2f2;
    background: #f2f2f2 url('https://puzzplayword.com/img/star-white.svg') no-repeat 50% 50%;
    border: 1px solid #fff;
    cursor: pointer;
    position: relative;
}

body.win #person-grid div {
    width: 40px;
    height: 40px;
}

#person-grid div.active {
    background-color: transparent;
    background-image: none;
    cursor: default;
}

#person-grid div.active:before {
    display: none;
}

div.coin {
    float: left;
    width: 47px;
    height: 32px;
    color: #FE9F46;
    text-align: left;
    line-height: 32px;
    font-size: 18px;
    margin: 0 0 0 10px;
}

div.coin i {
    float: left;
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    background: transparent url('https://puzzplayword.com/img/star.svg') no-repeat 50% 50%;
    margin-top: 2px;
    position: relative;
    transition: all 0.5s ease-out 0s;
}

div.coin.cero {
    color: #FE2457;
}

div.coin.cero i {
    background: transparent url('https://puzzplayword.com/img/star-cero.svg') no-repeat 50% 50%;
    transform: rotate(-72deg);
}

#coin,
#userOnline {
    font-size: 18px;
}

div.userOnline {
    float: right;
    width: 48px;
    height: 32px;
    color: #FE2457;
    text-align: left;
    line-height: 32px;
    font-size: 17px;
    margin: 0 5px 0 0;
    position: relative;
}

div.userOnline i {
    float: left;
    display: block;
    width: 22px;
    height: 24px;
    background: transparent url('https://puzzplayword.com/img/user.svg') no-repeat 50% 50%;
    margin: 3px 4px 0 0;
    transition: all 0.3s ease-out 0s;
}

div.userOnline i:before {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    background: transparent url('https://puzzplayword.com/img/star-cero.svg') no-repeat 50% 50%;
    position: absolute;
    top: -600px;
    left: 0px;
}

div.userOnline .online {
    position: absolute;
    bottom: -10px;
    right: 10px;
    display: block;
    color: #FE2457;
    text-transform: uppercase;
    font-size: 10px;
    text-align: center;
    opacity: 0.8;
}

#solution-grid {
    width: 172px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    line-height: 40px;
    border: 1px solid #0f97f9;
    color: #0f97f9;
    padding: 0 15px;
    margin: 0 auto;
}

#solution-grid:hover,
#solution-grid:focus {
    background: #0f97f9;
    color: #fff;
}

body.discover div.resolver {
    display: block;
    position: relative;
    top: -128px;
    z-index: 1;
    height: 300px;
}

body.discover div.resolver:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    z-index: -1;
    background: #f2f2f2;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

div.resolver h2 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 50px 16px 8px;
}

#discover {
    clear: both;
    width: 224px;
    height: 40px;
    line-height: 40px;
    margin: 20px 0;
    border: 1px solid #999;
    color: #333;
    border-radius: 5px;
    padding: 0 10px;
    margin: 0 8px 0 16px;
    font-size: 14px;
}

#discover+input {
    width: 60px;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    background: #0f97f9;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

#no-resolver {
    position: absolute;
    top: 26px;
    right: 0;
    width: 37px;
    height: 37px;
    color: #999;
    cursor: pointer;
}

#no-resolver:hover:before,
#no-resolver:focus:before,
#no-resolver:hover:after,
#no-resolver:focus:after {
    background-color: #fe464d;
}

#no-resolver:before,
#no-resolver:after {
    content: "";
    background-color: #999;
    display: block;
    position: absolute;
    width: 3px;
    height: 30px;
    top: 0;
    right: 25px;
    transform: rotate(45deg);
}

#no-resolver:after {
    transform: rotate(-45deg);
}

body.win div.win {
    display: block;
    margin-top: -10px;
    text-align: center;
}

div.win h1 {
    font-size: 18px;
    line-height: 38px;
    font-weight: normal;
    color: #fff;
    display: inline-block;
    border-radius: 40px;
    background-color: #000;
    padding: 0 26px;
    position: relative;
    top: -30px;
    opacity: 0.9;
}

div.win h2 {
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
    color: #fff;
    padding: 3px 8px;
    margin-top: -10px;
}

div.win h3.plus {
    margin-top: 12px;
    color: #fff;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    display: block;
    padding: 0;
    vertical-align: top;
    font-weight: normal !important;
}

div.win h3.plus i {
    margin-right: 2px;
    position: relative;
    top: 2px;
    left: 2px;
    display: inline-block;
    width: 14px;
    height: 14px;
    background: transparent url('https://puzzplayword.com/img/star-white.svg') no-repeat 50% 50%;
    background-size: 14px 14px;
    /* transition: all 0.5s ease-out 0s; */
}

div.win p {
    font-size: 14px;
    color: #fff;
    padding: 8px 8px 0;
}


/* #nuevo, */

.nuevo {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    color: #fff;
    padding: 0 40px;
    font-size: 14px;
    margin: 10px auto 0;
}


/* #nuevo:hover {
    background-color: #fff;
    color: #f92772;
} */

body.continuar #continuar {
    clear: both;
    text-align: center;
    display: block;
}

body.continuar #continuar h2 {
    color: #FE2457;
    font-size: 18px;
    padding: 28px 16px 20px;
}

body.continuar #continuar h2 span {
    display: block;
    padding-bottom: 26px;
    font-size: 46px;
}

body.continuar #continuar #continue {
    text-align: center;
    display: block;
    height: 44px;
    width: 220px;
    margin: 0 auto;
    line-height: 44px;
    background-color: #FE2457;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

body.discover.continuar div.resolver>h2,
body.discover.continuar div.resolver #yopForm {
    display: none;
}

body.discover.continuar div.resolver {
    padding-top: 20px;
}

div.alertwin {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #f92772;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, #fe464d, #f92772);
    background-image: -ms-linear-gradient(top, #fe464d, #f92772);
    background-image: -webkit-linear-gradient(top, #fe464d, #f92772);
    background-image: -o-linear-gradient(top, #fe464d, #f92772);
    background-image: linear-gradient(top, #fe464d, #f92772);
    background-position: 0 0;
}

div.alertwin h2 {
    width: 324px;
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
    padding: 128px 16px 26px;
}

div.alertwin p {
    color: #fff;
}

div.alertwin h2 strong {
    display: block;
    font-size: 30px;
    line-height: 40px;
}

div.alertwin h3#wordwas {
    font-size: 24px;
    line-height: 46px;
    font-weight: normal;
    color: #fff;
    display: inline-block;
    border-radius: 30px;
    background-color: #000;
    padding: 0 26px;
    margin: 0 0 60px;
    opacity: 0.9;
}

body.alertwin div.alertwin {
    display: block;
}

body.win.alertwin div.alertwin {
    display: none;
}

span.tempo {
    display: inline-block;
    text-align: center;
    width: 18px;
}

#record {
    clear: both;
    float: left;
    display: none;
    color: #fe9f46;
    text-align: left;
    top: -10px;
    left: 15px;
    position: relative;
    font-size: 10px;
    line-height: 10px;
    display: inline-block;
    text-transform: uppercase;
}

.loader-container {}

.loader-container .loader-text {
    color: #fff;
    text-align: center;
    display: block;
    font-size: 12px;
    line-height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    /* text-transform: uppercase; */
    font-family: Arial;
    cursor: pointer;
}

.loader-container .loader-bg {
    display: block;
    width: 160px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, .2);
    position: relative;
    margin: 0 auto;
}

.loader-container .loader-bar {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 1%;
    height: 4px;
    border-radius: 2px;
    background-color: #fff;
}

.loader-container.load .loader-bar {
    animation: loaderw 8s ease-in-out 2s backwards;
}

@-webkit-keyframes loaderw {
    0% {
        width: 1%;
    }
    10% {
        width: 30%;
    }
    100% {
        width: 100%;
    }
}

@keyframes loaderw {
    0% {
        width: 1%;
    }
    10% {
        width: 30%;
    }
    100% {
        width: 100%;
    }
}

.helpcontent {
    display: none;
    background: #fff url('https://puzzplayword.com/img/vocabulary20191023.png') no-repeat 50% 0;
    background-size: 320px;
    width: 100%;
    max-width: 320px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

body.help .helpcontent {
    display: block;
}

#help {
    text-align: center;
    display: block;
    height: 44px;
    width: 220px;
    margin: 20px auto 0;
    line-height: 44px;
    border: 1px solid #FE9F46;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    color: #FE9F46;
    cursor: pointer;
}

#help:hover,
#help:focus {
    background-color: #FE9F46;
    border-color: #FE9F46;
    color: #fff;
}

#no-help {
    position: absolute;
    top: 10px;
    right: 0;
    width: 37px;
    height: 37px;
    color: #999;
    cursor: pointer;
}

#no-help:hover:before,
#no-help:focus:before,
#no-help:hover:after,
#no-help:focus:after {
    background-color: #fe464d;
}

#no-help:before,
#no-help:after {
    content: "";
    background-color: #999;
    display: block;
    position: absolute;
    width: 3px;
    height: 30px;
    top: 0;
    right: 25px;
    transform: rotate(45deg);
}

#no-help:after {
    transform: rotate(-45deg);
}

div.resolver,
div.win,
body.discover div.pre-resolver,
body.win div.pre-resolver,
body.win div.resolver,
#continuar,
#solicitarnuevo {
    display: none;
}

h4.clain {
    clear: both;
    padding: 0;
    margin: 0;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
    color: #e8e8e8;
    position: relative;
    top: 54px;
    letter-spacing: .2em;
}

@media (max-width: 320px) {
    body {
        background-position: 50% 390px;
    }
    .container {
        margin: 0 auto;
    }
    #person-grid {
        margin-bottom: 4px;
    }
    #reset-grid,
    #ranking {
        margin-top: 2px;
    }
    div.coin,
    div.userOnline {
        margin-top: 4px;
    }
    body.win #person-grid {
        margin: 20px auto 20px;
    }
    #record {
        top: -6px;
    }
    #puzzlay:after {
        background-size: 210px auto;
    }
}

@media (min-width: 760px) {
    .container {
        width: 640px;
        padding: 0 160px;
    }
    .helpcontent {
        background-size: auto 100%;
        width: 100%;
        max-width: 640px;
    }
}