/* CSS RESET. standardizes cross-browser rendering on common elements, neutralizing browsers' built-in stylesheets. */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, iframe {
  margin: 0;
  padding: 0; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

fieldset, img {
  border: 0; }

address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal; }

ol, ul {
  list-style: none; }

caption, th {
  text-align: left; }

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal; }

q:before, q:after {
  content: ''; }

abbr, acronym {
  border: 0; }

a, img a {
  border: 0 none;
  margin: 0;
  padding: 0; }

/* End RESET. */
a.btn, button.btn {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -moz-box-sizing: border-box;
  transition: all 0.15s ease;
  -moz-transition: all 0.15s ease;
  -webkit-transition: all 0.15s ease;
  -o-transition: all 0.15s ease;
  background: #ce1300;
  border: 1px solid #ce1300;
  border-radius: 3px;
  cursor: pointer;
  display: inline-block;
  padding: 8px 24px;
  text-align: center;
  color: #f3f0eb; }
  a.btn > *, button.btn > * {
    display: inline-block;
    vertical-align: middle; }
    a.btn > *:first-child:not(:last-child), button.btn > *:first-child:not(:last-child) {
      margin-right: 6px; }
  a.btn span, button.btn span {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 2px; }

header#header {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(243, 240, 235, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #ce1300;
  padding: 4px 0;
  border-bottom: 2px solid #bba428; }
  header#header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center; }
  header#header h1 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 42px; }
    @media (min-width: 768px) {
      header#header h1 {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%); } }
  header#header .logo > * {
    display: inline-block;
    vertical-align: top; }
  header#header .logo img {
    margin-bottom: -57px;
    margin-right: 12px; }
  header#header .logo h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.1;
    margin-top: 6px; }
  @media (max-width: 990px) {
    header#header .logo h2 {
      display: none; } }
  @media (max-width: 767px) {
    header#header h1 {
      font-size: 36px; } }
  @media (max-width: 700px) {
    header#header h1 {
      font-size: 24px;
      line-height: 1.1; }
    header#header .logo img {
      width: 70px;
      height: auto;
      margin-bottom: 0; }
    header#header .btn {
      padding: 5px 10px;
      white-space: nowrap; } }
html, body {
  overflow-x: hidden; }

body {
  -webkit-text-size-adjust: 100%;
  color: #f3f0eb;
  background: #ffab02;
  font-family: 'Dosis', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25; }
  @media (max-width: 767px) {
    body {
      font-size: 18px; } }
  body section {
    min-height: 100vh; }
    body section .wrapper {
      position: relative; }
  body .wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1260px;
    padding-left: 30px;
    padding-right: 30px; }
    @media (max-width: 767px) {
      body .wrapper {
        padding-left: 15px;
        padding-right: 15px; } }
  body a {
    color: inherit;
    text-decoration: none; }
  body .right {
    position: fixed;
    font-weight: 500;
    font-size: 26px;
    text-align: center;
    line-height: 1.5;
    right: 30px;
    top: 100px; }
    body .right span, body .right img {
      display: inline-block;
      vertical-align: middle;
      margin-left: 2px; }
  body .main {
    padding-top: 100px;
    padding-bottom: 230px;
    display: flex;
    justify-content: space-between; }
    body .main .left {
      width: 115px;
      text-align: center;
      padding-top: 20px;
      position: fixed; }
      body .main .left img {
        margin-top: 30px; }
    body .main #cardSlots {
      flex: 2;
      display: flex;
      margin: 0 auto;
      flex-wrap: wrap;
      justify-content: center;
      max-width: 800px; }
      body .main #cardSlots > div {
        border: 1px solid #640e2b;
        height: 258px;
        width: 196px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 30px;
        position: relative; }
        @media (min-width: 891px) {
          body .main #cardSlots > div:nth-child(3n + 2) {
            -webkit-transform: translateY(30px);
                    transform: translateY(30px); }
          body .main #cardSlots > div:nth-child(3n + 3) {
            -webkit-transform: translateY(60px);
                    transform: translateY(60px); } }
        @media (max-width: 890px) {
          body .main #cardSlots > div:nth-child(even) {
            -webkit-transform: translateY(30px);
                    transform: translateY(30px); } }
        body .main #cardSlots > div:before {
          content: "";
          background: url(../images/frame.svg) no-repeat center center;
          background-size: contain;
          position: absolute;
          width: calc(100% + 16px);
          height: calc(100% + 12px);
          top: -6px;
          left: -8px;
          z-index: -1; }
        body .main #cardSlots > div .number {
          font-weight: 600;
          font-size: 36px; }
        body .main #cardSlots > div .text {
          text-align: center;
          font-size: 16px;
          padding: 0 5px; }
        body .main #cardSlots > div.ui-droppable-disabled {
          background: white url(../images/2.png) no-repeat center center;
          background-size: cover; }
          body .main #cardSlots > div.ui-droppable-disabled > * {
            display: none; }
          body .main #cardSlots > div.ui-droppable-disabled:nth-child(2) {
            background-image: url(../images/3.png); }
          body .main #cardSlots > div.ui-droppable-disabled:nth-child(3) {
            background-image: url(../images/4.png); }
          body .main #cardSlots > div.ui-droppable-disabled:nth-child(4) {
            background-image: url(../images/5.png); }
          body .main #cardSlots > div.ui-droppable-disabled:nth-child(5) {
            background-image: url(../images/6.png); }
          body .main #cardSlots > div.ui-droppable-disabled:nth-child(6) {
            background-image: url(../images/7.png); }
  @media (min-width: 1200px) {
    body .main #cardSlots {
      max-width: 900px; }
      body .main #cardSlots > div {
        height: 311px;
        width: 235px; } }
  @media (max-width: 1150px) {
    body .main #cardSlots > div {
      margin-left: 20px;
      margin-right: 20px; }
    body .right {
      font-size: 22px; } }
  @media (max-width: 1060px) {
    body .main #cardSlots {
      margin-left: 115px; }
    body .right {
      position: relative;
      font-size: 20px;
      margin-top: -5px;
      margin-bottom: -40px;
      text-align: right;
      right: auto; }
      body .right div {
        display: inline-block;
        margin-left: 5px;
        vertical-align: middle; } }
  @media (max-width: 650px) {
    body .right {
      margin-bottom: -20px; }
    body .main {
      padding-bottom: 210px; }
      body .main .left {
        padding-top: 0;
        margin-top: -40px;
        width: 80px; }
        body .main .left img {
          max-width: 100%;
          height: auto; }
      body .main #cardSlots {
        margin-left: 80px; }
        body .main #cardSlots > div {
          height: auto;
          padding: 13% 0;
          width: calc(50% - 34px);
          margin-left: 15px;
          margin-right: 15px;
          margin-bottom: 0; }
          body .main #cardSlots > div:nth-child(even) {
            margin-right: 0; }
          body .main #cardSlots > div .text {
            font-size: 12px; }
            body .main #cardSlots > div .text br {
              display: none; } }
  body #naipes {
    left: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    color: #bba428;
    padding-bottom: 10px; }
    body #naipes.success .color {
      border-top: 2px solid #f3f0eb;
      background: rgba(187, 164, 40, 0.95); }
    body #naipes.success .wrapper > * {
      display: none; }
    body #naipes.success .wrapper #successMessage {
      display: block; }
    body #naipes #successMessage {
      font-size: 36px;
      text-align: center;
      color: #f3f0eb;
      display: none;
      margin-bottom: 18px; }
      @media (max-width: 767px) {
        body #naipes #successMessage {
          font-size: 24px; }
          body #naipes #successMessage span {
            display: block; } }
    body #naipes .legend {
      color: #f3f0eb; }
      @media (min-width: 901px) {
        body #naipes .legend {
          position: absolute;
          right: 30px;
          bottom: 27px; } }
      @media (min-width: 901px) and (max-width: 1150px) {
        body #naipes .legend {
          width: 110px; } }
      @media (min-width: 901px) and (max-width: 1024px) {
        body #naipes .legend {
          right: 15px; } }
      @media (max-width: 900px) {
        body #naipes .legend {
          text-align: center;
          margin: 6px auto 3px; } }
    body #naipes .wrapper {
      position: relative;
      font-size: 18px; }
    body #naipes .color {
      border-top: 2px solid #bba428;
      background: rgba(100, 14, 43, 0.95);
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 100px; }
    body #naipes #cardPile, body #naipes ol {
      display: flex;
      justify-content: space-between;
      width: 700px;
      margin: 0 auto;
      position: relative; }
      @media (min-width: 901px) {
        body #naipes #cardPile, body #naipes ol {
          max-width: 75%; } }
      @media (max-width: 900px) {
        body #naipes #cardPile, body #naipes ol {
          max-width: 100%; } }
      @media (min-width: 1200px) {
        body #naipes #cardPile, body #naipes ol {
          width: 840px; } }
    body #naipes #cardPile div {
      -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
      transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
      transition: box-shadow 0.2s ease, border-color 0.2s ease;
      transition: box-shadow 0.2s ease, border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
      cursor: move;
      height: 118px;
      background: white url(../images/2.png) no-repeat center center;
      background-size: cover;
      border-radius: 3px;
      border: 2px solid #f3f0eb;
      text-indent: -30000px; }
      @media (max-width: 600px) {
        body #naipes #cardPile div {
          height: 85px; } }
      body #naipes #cardPile div#card2 {
        background-image: url(../images/3.png); }
      body #naipes #cardPile div#card3 {
        background-image: url(../images/4.png); }
      body #naipes #cardPile div#card4 {
        background-image: url(../images/5.png); }
      body #naipes #cardPile div#card5 {
        background-image: url(../images/6.png); }
      body #naipes #cardPile div#card6 {
        background-image: url(../images/7.png); }
      body #naipes #cardPile div.ui-draggable-dragging:not(.correct) {
        -webkit-box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.8);
                box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.8);
        border-color: #ce1300; }
      body #naipes #cardPile div.correct {
        opacity: 0; }
    body #naipes #cardPile div, body #naipes ol li {
      width: 88px;
      text-align: center; }
      @media (max-width: 600px) {
        body #naipes #cardPile div, body #naipes ol li {
          width: auto;
          flex: 2; }
          body #naipes #cardPile div:not(:first-child), body #naipes ol li:not(:first-child) {
            margin-left: 2px; }
          body #naipes #cardPile div:not(:last-child), body #naipes ol li:not(:last-child) {
            margin-right: 2px; } }
    @media (min-width: 1200px) {
      body #naipes #cardPile div, body #naipes ol li {
        width: 105px; }
      body #naipes #cardPile div {
        height: 141px; } }
    @media (min-height: 900px) {
      body #naipes #cardPile div, body #naipes ol li {
        width: 125px; }
      body #naipes #cardPile div {
        height: 165px; } }
    body #naipes ol {
      margin-top: 8px;
      font-weight: 600; }

@media print {
  @page {
    size: landscape; }
  header .btn {
    opacity: 0; }
  .main {
    padding-bottom: 0 !important;
    color: #640e2b; }
  .right {
    display: none !important; }
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important; }
  #naipes .color, #naipes ol, #naipes .legend, #naipes .ui-draggable:not(.correct) {
    display: none !important; } }
