:root{
    --right: rgb(69, 180, 7);
}


    test
    {
        /* display: grid;
grid: auto / repeat(8, 1fr);
gap: 5px;
width: 100%;
min-width: 320px;
max-width: 720px;

background-color: rgba(255,208,129,0.48);
border: 1vh ridge rgba(173,113,52,0.15);
box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
background-image: url("grain.svg");
background-size: 20rem;
background-blend-mode: luminosity;
border-radius: 25px;
justify-content: center;
align-items: center;

margin: 25px auto;

background-size: 50%; */
justify-content: center;
display: flex;
    }

    test container
    {
        width: 95%;
    }

    test meta
    {
    /* aspect-ratio: 1/1;
    justify-content: center;
align-items: center;
  font-size: 30px;
  text-align: center;
  grid-column: span 2;
  /* background: orange; */
  /* display: flex;
  border-radius: 10px;

  display: flex; */ 
    }

    test meta[img]
    {
        background: var(--url);
        
        background-size: cover;
}
    


    [selected]
    {
        /* off it yet */
        /* border: 5px solid orange !important; */
    }

    [data-test="text"] meta[right]::after
    {
        box-shadow: 0 0 3px 10px hsla(123.11, 100%, 41.25%, 0.74),
0 0 3px 15px hsla(130.57, 100%, 39.25%, 0.46) !important;
    }

    /* [wrong]::before {
  content: " ";
  position: absolute;
  z-index: -1;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 5px solid red;
} */

[data-test="text"] meta[wrong]::after
    {
        box-shadow: 0 0 3px 10px hsla(0, 100%, 41%, 0.74),
0 0 3px 15px hsla(0, 100%, 39%, 0.46) !important;
    }

    *
    {
        box-sizing: border-box;
    }

/* meta[ask]::after{

content: attr(value);
font-family: 'egypet';
font-size: 49pt !important;
color: rgba(196,127,0,0.69);
text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0);
padding: 11px 10px 0px 13px;
text-decoration: none;
pointer-events: none;
cursor: grab;
background-color: rgba(255,208,129,0.48);
border: 1vh ridge rgba(173,113,52,0.15);
box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
line-height: 7vh;
background-image: url("grain.svg");
background-size: 27rem;
background-blend-mode: color-burn;
background-position: top center;
border-spacing: 0;
border-style: ridge;
border-radius: 20px;
border-radius: 25px;
width: -webkit-max-content;
height: -webkit-max-content;
display: flex;
justify-content: center;
align-items: center;
background-size: 100%;  
}

meta[answer]::after{
    content: attr(value);
color: black;
display: flex;
justify-content: center;
align-items: center;
padding: 5px 26px;
text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0);
text-decoration: none;
pointer-events: none;
cursor: grab;
background-color: rgba(255,208,129,0.48);
border: 1vh ridge rgba(173,113,52,0.15);
box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
line-height: 7vh;
background-image: url("grain.svg");
background-size: 27rem;
background-blend-mode: color-burn;
background-position: top center;
border-spacing: 0;
border-style: ridge;
border-radius: 20px;
background-size: 100%;
} */


@font-face {
    font-family: "egypet";
    src: url("/egypet.woff") format('woff');
}



[complete]::after
{
    background-color: rgba(252, 252, 252, 0) !important;
    color: rgba(129, 129, 129, 0.69)  !important;
}


[future-complete-stone]
{
    meta[ask]::after {
content: attr(value);
font-family: 'egypet';
font-size: 49pt !important;
color: rgba(134, 134, 134, 0.45);
text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0);
padding: 11px 10px 0px 13px;
text-decoration: none;
pointer-events: none;
cursor: grab;
background-color: rgba(255, 255, 255, 1);
border: 1vh ridge rgba(173,113,52,0.15);
box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
line-height: 7vh;
background-image: url("grain.svg");
background-size: 27rem;
background-blend-mode: luminosity;
background-position: top center;
border-spacing: 0;
border-style: ridge;
border-radius: 20px;
border-radius: 25px;
width: -webkit-max-content;
height: -webkit-max-content;
display: flex;
justify-content: center;
align-items: center;
/* it is background animate 'fire' for right or wrong answers*/
/* box-shadow: 15.01824951171875px -25.971343994140625px 23px rgba(0, 157, 20, 0.36),-18.99px 23.0234375px 43px rgba(4, 185, 19, 0.57),-20.9869384765625px -3.971343994140625px 30px rgba(4, 195, 26, 0.36),4.0078125px 10.0286865234375px 18px rgba(122, 255, 0, 0.67),-1px 4.0234375px 9px rgba(0, 0, 0, 1); */
}
}



test[data-test="text"] container, 
test[data-test="image"] container
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: none !important;

    /* width: -webkit-fit-content; */
}

test[data-test="text"] label
{
    border: 0.2vh dotted white;

    text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0);
    
    /* width: fit-content; */
    
   
    font-size: 100%;
    text-decoration: none;
    pointer-events: none;
    cursor: not-allowed;

    background-image: url("grain.svg");
    background-size: 65%;
    background-blend-mode: color-burn;
    background-position: top center;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 82px !important;
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
    }


test[data-test="text"] ask
{
/* border-radius: 15px !important;
text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0);
text-decoration: none;
background-image: url("grain.svg");
background-size: 65%;
background-blend-mode: color-burn;
background-position: top center;
display: flex;
justify-content: center;
align-items: center;
width: 100% !important;
height: 82px !important;
padding: 10px 20px !important;
right: 4px;
color: rgba(196,127,0,0.69); */
/* background-color: rgba(255,208,129,0.48); */
}

ask, answer
{
/* top: 0; */
}

test[data-test="text"] container, 
test[data-test="image"] container 
{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
background: none !important;
}


/* asks ask meta
{
    font-family: 'egypet';
font-size: 49pt !important;
color: rgba(196,127,0,0.69);
text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0) !important;
display: flex;

border-radius: 15px;
width: fit-content;

text-decoration: none;
pointer-events: none;
cursor: not-allowed;
line-height: 70px;

background-size: 65%;
background-blend-mode: color-burn;
background-position: top center;
margin: 0;
} */

answer
{
    background-image: url("grain.svg");
    border: 0.2vh dotted white;

    width: -webkit-fit-content;

    min-width: 78px !important;
    height: 82px !important;
    justify-self: center;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
    padding: 0;
    margin: 0;
}


answer meta[data-value]::before, ask meta[data-value]::before {
    /* content: attr(data-value);
    width: initial;
    height: initial;
    position: relative;
    top: 5px;
    padding: 22px 5px; */
    }

    [data-wrong] {
     /* border: 4px solid orangered; */
border: 0.2vh dotted white;
box-shadow: 0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px rgba(255, 69, 0, 0),0.015625px 0.020843505859375px 12px rgba(255, 69, 0, 0),0.015625px 0.020843505859375px 12px rgba(255, 69, 0, 0);
border-radius: 15px;
        border: 4px solid #ad7134 !important;

        cursor: grab;
        }

        [data-right] {
            box-shadow: 0.015625px 0.020843505859375px 11px var(--right),0.015625px 0.020843505859375px 12px var(--right),0.015625px 0.020843505859375px 12px var(--right),0.015625px 0.020843505859375px 12px var(--right),0.015625px 0.020843505859375px 12px rgba(69, 180, 7, 0),0.015625px 0.020843505859375px 12px var(--right),0.015625px 0.020843505859375px 12px rgba(69, 180, 7, 0) ,0.015625px 0.020843505859375px 12px rgba(69, 180, 7, 0);
border: 4px solid #ad7134 !important;
        }


        [copt] answers answer meta {
            font-family: copt;
            font-size: 49pt !important;
            color: rgba(32, 28, 46, 0.74);
            /* text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0) !important; */
            display: flex;
            /* background-color: rgba(255,208,129,0.48); */
            /* border: 4px solid #ad7134; */
            /* border-radius: 15px; */
            width: fit-content;
            box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
            /* padding: 5px 10px 0px 5px; */
            text-decoration: none;
            pointer-events: none;
            cursor: not-allowed;
            line-height: 70px;
            background-image: url("grain.svg");
            background-size: 65%;
            background-blend-mode: color-burn;
            background-position: top center;
            margin: 0;
            }

            [copt] test[data-test="text"] ask {
                text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0);
                color: rgba(32, 28, 46, 0.74);

                cursor: not-allowed;

                }
/* 
[data-test="square"] meta 
{
    aspect-ratio: 2/1;
    justify-content: center;
    align-items: center;
    text-align: center;
    grid-column: span 2;
    font-family: 'egypet';
    font-size: 49pt !important;
    color: rgba(196,127,0,0.69);
    text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0);
    display: flex;
    background-color: rgba(255,208,129,0.48);
    border: none;
    border-radius: 15px;
    width: auto;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.16);

    padding: 0;
    text-decoration: none;
    pointer-events: auto;
    cursor: grab;
    line-height: inherit;
    background-image: url("grain.svg");
    background-size: 65%;
    background-blend-mode: color-burn;
    background-position: top center;
    margin: 0;
}

[data-test="square"] meta[data-answer]::after {

    padding: 26px 26px;
}

[data-test="square"] meta[data-ask]::after {

    padding: 0;

    } */


/*  test: square */

test[data-test="square"]
{
display: flex;
justify-content: center;
}

test[data-test="square"] container
{

min-width: 320px;
max-width: 720px;
border-radius: 25px;
padding: 10px;

display: flex;
width: 430px;
flex-wrap: wrap;
background: #FFFBF1;

flex-direction: row;
justify-content: center;
align-items: center;

width: 93% !important;
/* border: 9px solid rgba(235, 240, 224, 1); */
border: 9px solid rgba(253, 241, 216, 1);
gap: 0;
}

[data-test="square"] meta
{

display: inline-flex;
margin: 5px;
background: hsla(94, 31%, 84%, 0.46);
border-radius: 10px;
padding: 10px 12px;

}

[data-test="square"] meta[img]
{
background: var(--url);

background-size: cover;
}



[data-test="square"]    [data-selected]::after
{
transition: 0.2s;
box-shadow: 0 0 14px 0 orange,
0 0 10px 0px orange,0 0 5px 0 orange !important;
}

[data-test="square"] meta[data-right]::after
{
transition: 0.2s;
box-shadow: 0 0 3px 10px hsla(123.11, 100%, 41.25%, 0.74),
0 0 3px 15px hsla(130.57, 100%, 39.25%, 0.46) !important;
}



[data-test="square"] meta[data-wrong]::after
{
transition: 0.2s;
box-shadow: 0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px orangered,0.015625px 0.020843505859375px 12px orangered inset,0.015625px 0.020843505859375px 12px orangered inset,0.015625px 0.020843505859375px 42px orangered inset ,0.015625px 0.020843505859375px 37px orangered inset,0.015625px 0.020843505859375px 33px orangered inset,0.015625px 0.020843505859375px 26px orangered !important;
}

*
{
box-sizing: border-box;
}

[data-test="square"] meta[data-ask]::after
{
/* content: attr(data-value);

text-decoration: none;
pointer-events: none;
cursor: grab;
display: flex;
content: attr(data-value);
font-family: PT Sans Narrow;
font-size: 1em;
padding: 0px 13px;
background: #AFC8A4;
border-radius: 10px;
border: 1px solid #559C0B;
box-shadow: 0px 0px 1.5px #406032, inset 0px 0px 1.5px #406032;
text-shadow: 1px 1px 1px white; */
pointer-events: none;
content: attr(data-value);
padding: 0px 13px;
font-family: 'egypet';
font-size: 49pt !important;
color: rgba(196,127,0,0.69);
text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0) !important;
display: flex;
background-color: rgba(255,208,129,0.48);
border: 4px solid #ad7134;
border-radius: 15px;
width: fit-content;
box-shadow: 1px 1px 1px rgba(0,0,0,0.16);
/* padding: 5px 10px 0px 5px; */
text-decoration: none;
cursor: grab;
line-height: 70px;
background-image: url("grain.svg");
background-size: 65%;
background-blend-mode: color-burn;
background-position: top center;
margin: 0;
}

[data-test="square"] meta[data-answer]::after
{
border-radius: 10px;
box-shadow: 0px 0px 1.5px #406032, inset 0px 0px 1.5px #406032;
text-shadow: 1px 1px 1px white;
pointer-events: none;
content: attr(data-value);
padding: 0px 13px;

text-shadow: 1px 1px 1px #fff,-1px -1px .4px #966102,-.7px -.7px .5px #966102,0 0 0 rgba(242,200,109,0) !important;
display: flex;
border: 2px solid #ad7134;
text-decoration: none;
cursor: grab;
line-height: 70px;
}

[data-test="square"] meta[data-answer]:lang(cyr,latin)::after
{
    font-family: 'Arial Narrow';
}

[data-test="square"] meta[data-answer]:lang(egypt)::after
{
    font-family: 'egypet';
}


@media screen and (max-width: 700px) {
[data-test="square"] meta[data-answer]::after,
[data-test="square"] meta[data-ask]::after
{
font-size: 1em !important;
}
}

[data-test="square"] meta:last-child
{

}

[data-test="square"] meta[data-answer]::after
{

background: none;
background: beige;

}

[data-test="square"] meta[data-ask]
{
display: inline-flex;
margin: 5px;
border-radius: 10px;
padding: 10px 12px;
}

[data-test="square"] meta[data-answer]
{
display: inline-flex;
margin: 5px;
border-radius: 10px;
padding: 10px 12px;
}

[data-test="square"] [data-complete]::after
{
background-color: rgba(252, 252, 252, 0) !important;
color: rgba(129, 129, 129, 0.69)  !important;
opacity: 0;
}


[data-test="square"] container
{
border: 9px solid rgba(166, 188, 218, 0.39);
}

[data-test="square"]  meta
{

}

[data-test="square"]  meta[selected]:not(meta[data-image])
{
background:orange;
}

[data-test="square"]  meta[selected][data-image]:not(meta[complete][data-image])
{
border:orange 4px solid;
}

[data-test="square"] meta:not([selected]):hover:not([right],[wrong],[complete],[data-image])
{
background: orange;
}

[data-test="square"] meta[data-image]:not([selected],[complete]):hover
{
border:orange 4px solid;
}

[data-test="square"] [data-ask]:not([selected],[complete]):not(:hover)
{
/* background: hsla(94, 31%, 84%, 0.46) !important; */
background: hsla(37.85, 92.66%, 86.38%, 0.47) !important;
}


[data-test="square"] [data-answer]:not([selected],[complete]):not(:hover)
{
/* background: hsla(94, 31%, 84%, 0.46) !important; */
background: hsla(40.54, 90.24%, 91.96%, 1) !important;
}

[data-test="square"]  meta[right]:not([data-image])
{
background: rgba(110, 254, 0, 0.836);;
}

[data-test="square"]  meta[data-image][right]
{
border: 4px solid rgba(110, 254, 0, 0.836);;
}

[data-test="square"]  meta[wrong]:not([data-image])
{
background: red;
}

[data-test="square"]  meta[data-image][wrong]
{
border: 4px solid red;
}

[data-test="square"]  meta[complete]:not(meta[data-image])
{
background-color: rgba(224, 231, 245, 0.62);
opacity: 0;
}

[data-test="square"]  meta[complete][data-image]
{
filter: grayscale();
background: var(--url), rgba(210, 210, 210, 0.48);
background-size: cover;
background-blend-mode: color;
}

[data-test="square"]  meta[complete]::after
{
border: none;
color: gray !important;
background: none;
}

[data-test="square"] [data-image] 
{
background: var(--url);
background-size: cover;
}

 /* off  becouse no need more*/
answers answer meta,
asks ask meta
{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,208,129,0.48);
    width: -webkit-fill-available;
height: -webkit-fill-available;
    }