html, body {
    background: #ffffff;
    width: 100%;
    height: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#main {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url(images/background.jpg)
}
#wrraper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left:0%;
    /*clip-path: inset(0% 2.7% 0% 0%);*/
}
#bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}
#canvasDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#logo {
    position: absolute;
    width: 18%;
    top: 2%;
    left: 1.5%;
    z-index: 9;
}
#title {
    position: absolute;
    width: 34%;
    top: 11.3%;
    right: 3%;
    z-index: 9;
}
#instructions {
    position: absolute;
    width: 30%;
    top: 19%;
    left:50%;
    transform: translate(-50%,0);
    z-index: 9;
}
#welcomeDiv {
    position: absolute;
    width: 85%;
    height: 75%;
    top: 16.15%;
    left:50%;
    transform: translate(-50%,0);
    z-index: 10; 
}
#welcomeBg {
    position: absolute;
    width: 100%;
    height: 100%;
}
#soundBtn {
    position: absolute;
    width: 6%;
    height: auto;
    top: 74%;
    left: 82%;
    cursor: pointer;
}
#continueBtn {
    position: absolute;
    width: 11%;
    height: auto;
    top: 81.4%;
    left: 20%;
    cursor: pointer;
}
.picDiv {
    position: absolute;
    top: 25%;
    width: 34%;
    height: 66%;
}
.pic {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 3px 3px 10px #454545;
    cursor: pointer;
}
#pic_1 {
    right: 15%;
}
#pic_2 {
    left: 15%;
}
.difference-area {
    position: absolute;
    cursor: pointer;
    /* border: 2px solid red;
    color:red; */
}
.current {
    background: rgba(255, 0, 0, 0.31);
}
.dif-question, .dif-answer, .dif-right-answer {
    display: none;
}
.circle {
    border-radius: 50%;
}
.red-circle {
    position: absolute;
    opacity: 0;
    border: 2px solid;
    border-color: red;
    border-radius: 50%;
    pointer-events: none;
}
#img-magnifier-glass {
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    cursor: pointer;
    /*Set the size of the magnifier glass:*/
    width: 130px;
    height: 130px;
    pointer-events: none; /* !!!! תוספת למקור*/
  }
.backing {
    position: absolute;
    width: 80%;
    height: 70%;
    top: 55%;
    left: 50%;
    transform: translate( -50%, -50%);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    animation: riddleFadeIn 0.2s both linear 0.5s;
}
.riddle-content {
    position: absolute;
    width: 55%;
    height: 55%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    background: rgba(255, 255, 255, 1);
    border: solid red 4px;
    border-radius: 12px;
    animation: riddleFadeIn 0.2s both linear 0.5s;
}
@keyframes riddleFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.pic-canvas {
    position: absolute;
    width: 25%;
    height: 30%;
    top: 5%;
    border: 3px solid red;
    border-radius: 10px;
}
.right {
    right: 20%;
}
.left {
    left: 20%;
}
/*.question {
    position: absolute;
    width: 90%;
    height: 11%;
    top: 40%; 
    left: 50%;
    transform: translate( -50%, 0);
    direction: rtl;
    text-align: center;
    font-size: 12px;
    font-family: arial;
}*/
.question-img {
    position: absolute;
    max-width: 90%;
    height: auto;
    top: 40%; 
    left: 50%;
    transform: translate( -50%, 0);
}
.answer {
    position: absolute;
    width: 90%;
    height: 7%;
    left: 50%;
    transform: translate( -50%, 0);
    border: 1px solid red;
    border-radius: 10px;
    direction: rtl;
    padding: 2px 3%;
    font-size: 12px;
    font-family: arial;
    cursor: pointer;
}
.right-answer {
    position: absolute;
    width: 90%;
    height: 11%;
    /* top: 93%;  */
    top: 90%;
    left: 50%;
    transform: translate( -50%, 0);
    direction: rtl;
    text-align: center;
    font-size: 12px;
    font-family: arial;
    font-weight: bold;
}
@media only screen and (min-width: 600px) {
  .answer, .right-answer/*, .question*/ { font-size: 13px; }
}
@media only screen and (min-width: 745px) {
  .answer, .right-answer/*, .question*/ { font-size: 15px; }
}
@media only screen and (min-width: 900px) {
  .answer, .right-answer/*, .question*/ { font-size: 17px; }
}
@media only screen and (min-width: 1200px) {
  .answer, .right-answer/*, .question*/ { font-size: 19px; }
}
.mistake {
    position: absolute;
    width: 130%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    animation: riddleFadeIn 0.2s both linear 0.5s;
}
.mistake-img {
    position: absolute;
    width: 50%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
}
.close-icon {
    position: absolute;
    box-sizing: border-box;
    width: 3%;
    height: 3%;
    border: 3px solid white;
    border-radius: 35%;
    background: -webkit-linear-gradient(-45deg, transparent 0%, transparent 46%, red 46%,  red 56%,transparent 56%, transparent 100%), -webkit-linear-gradient(45deg, transparent 0%, transparent 46%, red 46%,  red 56%,transparent 56%, transparent 100%);
    background-color: transparent;
    box-shadow: 0px 0px 2px 2px red;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
    animation: riddleFadeIn 0.2s both linear 0.5s;
}
#fullscreen {
    position: absolute;
    width: 2%;
    height: auto;
    right: 1.5%;
    bottom: 9.5%;
    cursor: pointer;
}
#tryAgain {
    position: absolute;
    top: 45%;
    left: 42%;
    width: 17%;
    height: auto;
    transition: 0.7s;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
}
#playAgain {
    position: absolute;
    bottom: 1%;
    right: 1%;
    width: 8%;
    height: auto;
    transition: 0.7s;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
}
#heidad {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    visibility: hidden;
    background-color: transparent;
    z-index: 30;
}
.fadeIn {
    animation: fadeIn 1.5s both linear;
}
.fadeOut {
    animation: fadeOut 3s both linear 4s;
}
.fadeOutFast {
    animation: fadeOut 1s both linear 2s;
}
@keyframes fadeIn {
    0% { opacity: 0; width: 5%; }
    14% { opacity: 7; width: 37.5%; }
    50% { opacity: 1; width: 100%; }
    100% { opacity: 1; width: 100%; }
}
@keyframes fadeOut {
    0% { opacity: 1; width: 100%; }
    100% { opacity: 0; width: 100%; }
}