html,
body {
  background: #1f1f1f;
  background: linear-gradient(
      180deg,
      rgba(31, 31, 31, 1) 30%,
      rgba(253, 49, 18, 0.7) 100%
    )
    no-repeat;
  color: #fff;
  font-size: 16px;
  min-height: 100vh;
}

html > body > main {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.flex,
.flex--center,
.flex--end,
.flex--between,
.flex--around {
  display: flex;
  flex-wrap: wrap;
}
.flex--center {
  justify-content: center;
}
.flex--end {
  justify-content: flex-end;
}
.flex--between {
  justify-content: space-between;
}
.flex--around {
  justify-content: space-around;
}
.vcenter {
  align-items: center;
}
.nowrap {
  flex-wrap: nowrap;
}
.center {
  margin: 0 auto;
  padding: 0 !important;
}
.txtc {
  text-align: center;
}
.txtr {
  text-align: right;
}
.floatl {
  float: left;
}
.floatr {
  float: right;
}
.clearfix {
  clear: both;
}
.content50 {
  width: 50%;
  min-width: 300px;
  margin: 0 auto;
}
span.fa,
span.far,
span.fas,
button.fa,
button.far,
button.fas,
a.fa,
a.far,
a.fas {
  font-family: inherit;
}
.fa::before,
.far::before,
.fas::before {
  font-family: "Font Awesome 5 Free";
  margin: 0 4px;
}
.fab::before {
  font-family: Font Awesome\5 Brands;
  margin: 0 4px;
}
main,
header,
footer {
  width: 100%;
}

header,
footer {
  background-color: #000;
}

header {
  background-color: #000;
  position: fixed;
  z-index: 100;
}

main {
  flex: 1 0 auto;
}

p {
  margin: 0;
  padding: 10px;
}
img {
  max-width: 100%;
}
body,
header,
footer,
#membersarea article,
.centrado,
#myModal,
footer > div:nth-of-type(1) > div {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.headercontents {
  padding: 0 1rem;
}

.headercontents vaadin-button[theme="primary"] {
  /*color: #000;
  border-radius: var(--lumo-border-radius-l);*/
}

.headercontents,
#mainmenu,
footer > div,
.memberscontainer,
.mobileheader > div,
.lobbybuttons,
#divrealsubs,
.centradoh,
footer > div > div {
  display: flex;
  flex-direction: row;
}

#membersarea,
#membersarea article > div {
  display: flex;
}

body,
header,
footer,
.centrado,
.headercontents,
.mobileheader > div,
#membersarea {
  justify-content: space-between;
}

#membersarea article,
#divrealsubs {
  justify-content: flex-start;
}

.memberscontainer {
  gap: 0.5rem;
  align-items: center;
}

.memberscontainer > :nth-child(-n + 2) {
  display: flex;
  align-items: center;
  gap: 0.2em;
  text-transform: uppercase;
  font-size: var(--lumo-font-size-xs);
}

.memberscontainer > :nth-child(-n + 2) > img {
  width: 18px;
}

.lobbybuttons,
#mainmenu,
#membersarea article > div,
#membersarea ul,
.centradoh,
#myModal,
footer > div {
  justify-content: center;
}

footer > div:nth-of-type(1) {
  justify-content: space-around;
}

.headercontents,
#mainmenu,
.memberscontainer,
.mobileheader > div,
#membersarea,
.lobbybuttons,
#membersarea article > div {
  flex-wrap: nowrap;
}

footer > div,
#divrealsubs,
.centradoh {
  flex-wrap: wrap;
}

.headercontents,
#mainmenu,
footer > div,
.mobileheader > div,
.centrado,
#myModal,
footer > div > div {
  align-items: center;
}

footer > div:nth-of-type(1) > div {
  align-items: flex-start;
}

#mainmenu {
  gap: 1rem;
  margin-left: 2rem;
}

#banner {
  width: 100%;
  border-radius: var(--lumo-border-radius-l);
}

#mainmenu a {
  font-size: 1rem;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  padding: 1.5rem 0;
  font-weight: bold;
}

#mainmenu a.active {
  color: var(--lumo-primary-color);
  border-bottom: 3px solid var(--lumo-primary-color);
}

#mainmenu a.active::after {
  display: none;
}

#mainmenu a::after {
  position: absolute;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  transform: translateX(-101%);
  transition: all 0.3s ease-in-out;
  background-color: var(--lumo-primary-color);
  width: 100%;
}

#mainmenu a:hover::after {
  transform: translateX(0);
}

.mobileheader > div i {
  font-size: 1.8rem;
  margin: 10px;
}
#mobile-main-menu,
#mobile-user-menu {
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  height: 100%;
  overflow: auto;
  position: fixed;
  top: 32px;
  width: 100%;
  z-index: 51;
}
#mobile-main-menu nav,
#mobile-user-menu nav {
  background-color: #000;
  height: 100%;
  overflow: auto;
  width: 320px;
}
#mobile-main-menu nav {
  left: 0;
  padding: 0 0 25px 0;
}
#mobile-user-menu nav {
  margin-bottom: 50px;
  padding: 25px 0;
  position: absolute;
  right: 0;
}
#mobile-main-menu nav ul,
#mobile-user-menu nav ul {
  padding: 10px 25px;
}
#mobile-main-menu nav ul li,
#mobile-user-menu nav ul li {
  border-bottom: 1px solid #999;
  list-style-type: none;
  padding: 15px;
}
#mobile-main-menu nav ul li a,
#mobile-user-menu nav ul li a {
  font-weight: normal;
  text-decoration: none;
}
#mobile-main-menu nav > div {
  border-bottom: 1px solid #ddd;
  margin: 0 auto;
  padding: 15px 0;
  text-align: center;
  width: 70%;
}
#mobile-main-menu img {
  margin: 5px 10px;
}
#mobile-main-menu p,
.menulogin {
  text-align: center;
}
#mobile-user-menu input,
.centrado input {
  width: 50%;
}
#mobile-user-menu input {
  margin: 15px auto;
}
.centrado input {
  margin: 0;
}
.section--poker {
  width: 90%;
  margin: 0 auto;
}
.section--poker > div:first-child {
  width: 50%;
  min-width: 320px;
}
.section--poker > div:last-child {
  width: 25%;
  min-width: 320px;
}
.banner-poker {
  background-image: url(/img/layout/imgbanner-poker.jpg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  position: relative;
  height: 30vh;
}
.btns-banner {
  background-color: transparent;
  max-width: 420px;
  min-width: 310px;
  text-align: center;
  width: 100%;
}
#loginErrorMsg,
.error,
.informativo,
.correcto,
.alerta,
.validation-info,
.validation-none,
.validation-error {
  background-repeat: no-repeat;
  background-position: 5px 10px;
  color: #000;
  margin: 10px auto;
  padding: 10px 5px 10px 25px;
}
#loginErrorMsg,
.error,
.validation-error {
  background-color: #ffecec;
  background-image: url("/img/layout/error.png");
  border: 1px solid #f5aca6;
}
.correcto {
  background-color: #e9ffd9;
  background-image: url("/img/layout/success.png");
  border: 1px solid #a6ca8a;
}
.alerta {
  background-color: #fff8c4;
  background-image: url("/img/layout/warning.png");
  border: 1px solid #f2c779;
}
.informativo,
.validation-info {
  background-color: #e3f7fc;
  background-image: url("/img/layout/notice.png");
  border: 1px solid #8ed9f6;
}
#loginErrorMsg a,
.error a,
.informativo a,
.correcto a,
.alerta a,
.validation-info a,
.validation-none a,
.validation-error a {
  color: #999;
  text-decoration: underline;
}
#membersmenu {
  margin-right: 1rem;
}

#membersmenu ul {
  padding: 0;
  display: flex;
  align-items: center;
}
.header-money {
  display: flex;
  flex-direction: column;
}
.header-money span {
  font-size: var(--lumo-font-size-xs);
}
.menu:first-child {
  padding: 0 0.5rem;
}

#membersmenu ul li {
  display: inline-block;
  list-style: none;
  margin: 0 0 0 10px;
  position: relative;
}
#membersmenu ul li ul {
  display: none;
  border: 1px solid #383838;
  background-color: #222222;
  border-radius: 3px;
  position: absolute;
  padding: 0;
  top: 100%;
  margin-top: 20px; /* Separación visual */
  right: -30px;
  width: 14rem;
  z-index: 1000;
  border-bottom: 3px solid var(--lumo-primary-color);
}

/* Puente para separar el menu de la navbar*/
#membersmenu ul li ul::before {
  content: '';
  position: absolute;
  top: -20px; 
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

#membersmenu ul li ul li {
  box-sizing: border-box;
  padding: 10px;
  display: block;
  border-bottom: 1px solid #383838;
}

#membersmenu ul li:hover > ul,
#membersmenu ul li ul:hover {
  display: block;
}
#membersmenu ul li ul li:last-child {
  border-bottom: none;
}
#subbalances p {
  font-size: 0.8rem;
  padding: 0;
}
#membersmenu ul li ul li:hover {
  cursor: pointer;
  background-color: #000;
}
#cookiesInfo {
  background-color: #eee;
  z-index: 200;
}
#cookiesInfo p {
  color: #000;
  font-size: 0.8rem;
  margin: 25px;
}
#cookiesInfo p a {
  color: #333;
}
footer {
  border-top: #383838 3px solid;
  flex-shrink: 0;
  font-size: 0.8rem;
}
footer > div {
  padding: 10px;
}

footer > div:nth-of-type(1) {
  align-items: flex-start;
  flex-wrap: wrap;
}
img[src="/img/layout/logotipo-grande.png"],
img[src="/img/layout/logo-cuadrado.jpg"],
img[src="/img/layout/main-logo-mobile.png"],
img[src="/img/layout/jugar-bien.png"],
img[src="/img/layout/juego-seguro.png"],
img[src="/img/layout/autoexclusion.png"],
img[src="/img/layout/mayor-18.png"],
img[src="/img/layout/main-logo.png"],
.metodospago img {
  width: 100%;
}
img[src="/img/layout/main-logo.png"] {
  width: 60%;
}
img[src="/img/layout/logotipo-grande.png"] {
  max-width: 250px;
}
img[src="/img/layout/main-logo-mobile.png"] {
  height: 100%;
}
img[src="/img/layout/logo-cuadrado.jpg"] {
  margin: 5px;
  max-width: 100px;
}
img[src="/img/layout/jugar-bien.png"],
img[src="/img/layout/juego-seguro.png"] {
  max-width: 150px;
  min-width: 50px;
}
img[src="/img/layout/autoexclusion.png"],
img[src="/img/layout/mayor-18.png"],
.metodospago img {
  max-width: 60px;
  min-width: 30px;
}
.transicion {
  transition: all 1s ease;
}
.btn-secundario,
.btn-principal,
.btn-depositar {
  border: none;
  color: #000;
  border-radius: var(--lumo-border-radius-l);
  cursor: pointer;
  padding: 0.4em 0.2em 0.3em;
  font-weight: 600;
  margin: 10px;
}
.btn-secundario:hover,
.btn-principal:hover {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.btn-principal {
  background-color: #646464;
}
.btn-secundario {
  background-color: #ba0000;
  color:var(--lumo-primary-text-color);
}
.btn-depositar {
  background-color: #158c04;
  margin: 0 0.5rem !important;
  padding: 0.5rem 0.8rem;
  color: white;
  transition: all 0.5s ease-out;
}
.btn-principal:hover {
  background-color: #4a4a4a;
}
.btn-secundario:hover {
  background-color: #870000;
}
.btn-depositar:hover {
  box-shadow: 0px 1px 12px 0px #eee;
}
.btn-secundario a,
.btn-principal a,
.btn-depositar a {
  text-decoration: none;
}
.btn-trans {
  border-radius: 10px;
  color: var(--c-blanco) !important;
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-titulos);
  margin: 6px 3px;
  padding: 14px 34px 14px 34px;
  position: relative;
  text-transform: uppercase;
  transition: all 0.5s ease-in-out;
  white-space: nowrap;
  background-color: transparent;
  border: 1px solid #fff;
}
.btn-trans:hover {
  transition: all 0.2s ease-in-out;
  box-shadow: inset 0 0 0 50px #ffffff50;
}
.memberscontainer .btn-secundario,
.memberscontainer .btn-principal,
.memberscontainer .btn-depositar {
  font-size: 1.1rem;
  margin: 0;
}
.memberscontainer .btn-secundario:hover,
.memberscontainer .btn-principal:hover{
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.memberscontainer .btn-secundario i,
.memberscontainer .btn-principal i,
.memberscontainer .btn-depositar i {
  font-size: 1.3rem;
}
.btn-selected {
  background-color: #ba0000;
  width: 100%;
}
.fullwidth {
  font-size: 1.2rem;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}
.subrayado {
  text-decoration: underline;
}
.memberscontainer a {
  text-decoration: none;
}
.centrado {
  margin: 10px auto;
}
a {
  color: #fff;
  text-decoration: none;
}
footer .footerLinks a{
  position:relative;
}
footer .footerLinks a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: red;
  transition: width 0.3s ease;
}

footer .footerLinks a:hover:before {
  width: 100%;
}
.footerMetodosPago{
    gap:5px;
}
.footerMetodosPago > a:hover {
   scale: 1.1;
}

.clearfix:after {
  clear: both;
  content: "";
  display: table;
  height: 10px;
}
#membersarea article a {
  font-weight: bold;
}
#membersarea article a:hover {
  color: #ba0000;
}
#membersarea nav {
  background-color: #222;
  border-right: #383838 solid 3px;
  padding: 20px 0;
}
#membersarea nav a {
  display: block;
  overflow: hidden;
  padding: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#membersarea nav a:hover {
  background-color: #ba0000;
  padding: 10px 10px 10px 25px;
}
#membersarea nav a i {
  font-size: 1.2rem;
  margin: 5px 10px 5px 5px;
  width: 20px;
}
#membersarea nav p {
  font-size: 0.8rem;
  line-height: 1.1rem;
  margin-top: 50px;
  padding: 0 10px;
}
#membersarea nav div {
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
  width: 70%;
}
#membersarea article {
  padding: 10px;
}
#membersarea article > div,
#membersarea article > form > div {
  margin-bottom: 20px;
}
#membersarea article > div > div,
#membersarea article > form > div > div {
  background-color: #2d2d2d;
  border: 1px solid #999;
  flex-grow: 1;
  margin: 1%;
  padding: 10px;
}
table {
  margin: 20px auto;
  width: 98%;
}
table thead tr {
  background-color: #111;
}
table tbody tr {
  background-color: #fff;
}
table tbody tr td,
table tbody tr td a {
  color: #000;
}
table tbody tr:nth-child(2n + 0) {
  background-color: #333;
}
table tbody tr:nth-child(2n + 0) td {
  color: #fff;
}
table thead tr th,
table tbody tr td {
  padding: 10px;
}
dl {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
}
dd,
dt {
  margin-bottom: 10px;
}
dd {
  font-style: italic;
}
.progress {
  border: 1px solid #fff;
  text-align: center;
  width: 50%;
}
.progress-bar {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  width: 100%;
}
#myModal {
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}
#myModal > div {
  background-color: #333;
  border: 1px solid #ccc;
  padding: 20px;
  text-align: center;
}
.promocion {
  background-color: #2d2d2d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 2%;
  max-width: 800px;
  min-width: 290px;
  width: 46%;
}
.promocion img {
  max-width: 800px;
  width: 100%;
}
.promocion p,
.promocion h3 {
  margin: 10px;
}
#whatsapp {
  bottom: 10px;
  position: fixed;
  right: 10px;
}
#whatsapp img {
  width: 50px;
}
#step1,
#step2,
.step {
  margin: 15px auto;
  max-width: 800px;
  width: 100%;
}
.apodoPoker {
  margin-top: 5vh;
  background-color: black;
  border: 2px solid red;
  border-radius: 15px;
}
.apodoPoker input {
  margin-bottom: 20px;
  width: 280px;
}
.apodoPoker p {
  margin-bottom: 20px;
}
.apodoPoker h1 {
  margin-bottom: 30px;
}
#cookiesInfo {
  background-color: rgba(200, 128, 128, 0.8);
  color: #000;
  bottom: 0;
  display: none;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  z-index: 1030;
  font-size: 20px;
}

#cookiesInfo a {
  text-decoration: underline;
  color: #000;
  font-weight: bold;
}
#cookiesInfo button {
  margin: 15px;
  padding: 5px;
  background: linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
  box-shadow: inset 0px 1px 0px 0px #f5978e;
  color: #ffffff;
}
button.cookiesInfo {
  margin: 15px;
  padding: 5px;
  background: linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
  box-shadow: inset 0px 1px 0px 0px #f5978e;
  color: #ffffff;
}

.main-lobby-game-list {
  width: 100%;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(
    auto-fill,
    minmax(max(200px, calc(20% - 0.5rem)), 1fr)
  );
}

@media (max-width: 768px) {
  .main-lobby-game-list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    grid-template-columns: unset;

    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .main-lobby-game-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .main-lobby-game-list e-game-card {
    flex: 0 0 45%;
  }
}

div.title-link {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
div.title-link a {
  color: white;
}