
:root {
  --blanco: #ffffff;
  --negro: #000000;
  
}

#juego-responsable-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  /*capa de opacidad*/
  
  background: rgba(16, 27, 39, 0.5);
}

#juego-responsable-modal {
	container-type: inline-size;
	
  --texto-secundario: clamp(11px, 2.12vw, 17.3px);
  --texto-titulo: clamp(18px, 3.52vw, 28.8px);
  
  
  position: relative;
 
  width: min(90vw, 760px);
  min-width: 45%;
  
  min-height: 40%;
  
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

/*borde blanco*/
  border: 18px solid var(--negro);
  box-shadow: 0 0 0 2px var(--blanco);

  padding: 10px;
  background: var(--blanco);
  color: var(--negro);

  text-align: center;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
}
@supports (width: 1cqi) {
  #juego-responsable-modal {
    --texto-titulo: clamp(17.6px, 6cqi, 64px);
    --texto-secundario: clamp(10.6px, 3.6cqi, 38px);
  }
}
#juego-responsable-cerrar {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--negro);
  font: 30px/1  Helvetica, Arial, sans-serif;
  cursor: pointer;
}

#juego-responsable-cerrar:focus-visible {
  outline: 2px solid var(--negro);
  outline-offset: 2px;
}

#juego-responsable-titulo {
  max-width: 100%;
  margin: 0 0 20px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: var(--texto-titulo);
  font-weight: 700;
  line-height: 1.3;
  padding: 10px;
  color: var(--negro);
}

#juego-responsable-titulo span {
  display: block;
  white-space: nowrap;
  color: var(--negro);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
}

#juego-responsable-aviso{
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.4;
  font-weight: 700;
  padding-left: 10px;
  padding-right: 10px;
  color: var(--negro);
}
#juego-responsable-web-contenedor {
  margin: 10px 0 0;
}

#juego-responsable-web {
  /*color: #111;*/
  /*color:#107bbf;*/
   font-family: Helvetica, Arial, sans-serif;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  padding: 0px 10px 10px 10px;
}

#juego-responsable-aviso,
#juego-responsable-web {
  font-size: var(--texto-secundario);
  color: var(--negro);
}
#juego-responsable-web:hover {
  color: var(--negro);
  text-decoration: underline;
}

@media (max-width: 600px) {
   #juego-responsable-modal {
    width: min(100%, 320px);
  }
}