@import url(https://fonts.googleapis.com/css2?family=Nunito:wght@700&display=swap);
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

:focus {
    outline: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: "";
    content: none
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden] {
    display: none
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

a:focus {
    outline: thin dotted
}

a:active,
a:hover {
    outline: 0
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic
}

figure,
form {
    margin: 0
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle
}

button,
input {
    line-height: normal
}

button,
select {
    text-transform: none
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible
}

button[disabled],
html input[disabled] {
    cursor: default
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

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

button,
html,
input,
select,
textarea {
    color: #222
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none
}

::selection {
    background: #b3d4fc;
    text-shadow: none
}

img {
    vertical-align: middle
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0
}

textarea {
    resize: vertical
}

.chromeframe {
    margin: .2em 0;
    background: #ccc;
    color: #000;
    padding: .2em 0
}

.myCanvas {
    display: block
}

.fr_panel {
    position: fixed;
    z-index: 1000
}

#fr_name_panel {
    z-index: 3;
    background: #ebebeb;
    color: #b58169;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 30px;
    width: 385px;
    height: 59px;
    border: 0 solid #b58169;
    border-radius: 15px;
    font-family: Nunito, sans-serif;
    text-align: center;
    animation: anim_show_name 1s
}

#fr_name_panel:hover {
    background: #f3f3f3
}

#fr_name_panel:focus {
    background: #fff;
    border-color: #b58169;
    color: #b58169
}

#fr_name_panel::placeholder {
    color: #cd8c6d;
    font-weight: 400;
    opacity: .5
}

#fr_name_panel:focus::placeholder {
    opacity: 0
}

#fr_name_panel::selection {
    background: #e2b28a
}

#fr_name_panel::-moz-selection {
    background: #e2b28a
}

.kap{
    position: fixed;
    background: rgb(0 0 0 / 90%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.saveScore{
    position: absolute;
    top: 50%;
    width: 340px;
    border: 7px solid #fff;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
    background: #ffe63d;
    padding: 20px;
    border-radius: 10px;
    font-size: 30px;
    text-align: center;
    line-height: 40px;
}
.saveScore .save_title{
    font-size: 25px;
    margin-bottom: 10px;
}
.saveScore .save_text{
    font-weight: 700;
    font-size: 40px;
}
.saveScore .save_button:hover{
	background: #000;
	cursor:pointer;
   color:#fff;
}
.saveScore .save_button{
    background: #fff;
    border-radius: 15px;
    display: inline-block;
    padding: 4px 20px;
    margin-top: 20px;
}

.saveScore .contin_button:hover{
	background: #000;
	cursor:pointer;
   color:#fff;
}
.saveScore .contin_button{
    background: #fff;
    border-radius: 15px;
    display: inline-block;
    padding: 4px 20px;
    margin-top: 20px;
}


body,
button,
input,
p {
    font-family: 'PT Sans Caption', sans-serif;
}

#math-lessons-world_970x250 {
    position: absolute;
    text-align: center;
    bottom: 30px;
    width: 100%;
    padding: 0;
 }

#aipBranding {
    display: none !important;
}

#about {
    display: none;
    z-index: 4;
    position: absolute;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 50%;
    border-radius: 10px;
    background-color: #fff;
    font-family: 'PT Sans Caption', sans-serif;
}

#about p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

#streamer {
    display: none;
    z-index: 4;
    position: absolute;
    box-sizing: border-box;
    left: 20px;
    top: 200px;
    width: 400px;
    height: 180px;
    border-radius: 10px;
    background-color: #fff;
    font-family: 'PT Sans Caption', sans-serif;
}

#streamer p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.modal_box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    padding: 32px;
}

.modal_scroll {
    flex-grow: 1;
    overflow-y: auto;
}

@media screen and (max-width: 500px) {
    #about {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        transform: none;
        padding: 0;
        border-radius: 0px;
    }
    .modal_box {
        padding: 16px;
    }
}

#bottom {
    position: absolute;
    text-align: center;
    display: none;
    bottom: 0px;
    right: 0px;
    color: #202020;
    z-index: 100;
    background-color: white;
    padding: 4px;
    border-top-left-radius: 8px;
    font-weight: bold;
}

#bottom a,
a:visited {
    color: #202020;
    text-decoration: none;
}

#banner {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    display: none;
}

#banner img {
    border-radius: 5px;
    cursor: pointer;
}

.feedback {
    color: yellow;
    position: absolute;
    padding-top: 10px;
    cursor: pointer;
}

.feedback:visited {
    color: yellow;
}

.stream {
    position: absolute;
    padding-top: 20px;
}

.stream a {
    cursor: pointer;
    color: white;
}

.stream a:visited {
    color: white;
}

.stream a img {
    margin-top: 10px;
    cursor: pointer;
}

@media screen and (max-height: 500px) {
    #math-lessons-world_970x250 {
        display: none;
    }
}