/** Hash Configs **/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Handlee&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka&display=swap');

:root {
  
    /** Font **/
    --font1: Fredoka;

    --fontSize1: 5rem;
    --fontSize2: 2rem;

    --xs:1%;
    --sm:2.5%;
    --md:5%;
    --lg:7.5%;
    --xl:10%;

    --px-xs:1%;
    --px-sm:2.5%;
    --px-md:5%;
    --px-lg:7.5%;
    --px-xl:10%;

    
}

/** Hash Configs Ends **/

/*** 
====================================================================
	Text - START
====================================================================
***/

body{
  font-family:var(--font1);
  margin: auto;
}

/* lg screen*/
@media (max-width: 1012px) {
}
 
/* md screen*/
@media (max-width: 768px) {

    h1, .h1 {
      font-size:  6.4rem;
    }
    h2, .h2 {
      font-size: 3.4rem;
    }
}
 
/* sm screen*/
@media (max-width: 577px) {
 /** DESIGN **/
  h1, .h1 {
    font-size:  4.7rem;
  }
  h2, .h2 {
    font-size: 2.9rem;
  }
  h3, .h3 {
    font-size: 1.8rem;
  }
  h4, .h4 {
    font-size: 1.6rem;
  }
  h5, .h5 {
    font-size: 1.6rem;
  }
}

/*** 
====================================================================
	Text - Ends
====================================================================
***/

/*** 
====================================================================
    Common Styling - Start
====================================================================
***/
/*** Validation Styling ***/

.inner.correct { background-color: lightgreen; height: fit-content;}
.inner.incorrect { background-color: lightcoral; height: fit-content;}
.reference {cursor: url(../img/green-cursor.cur), auto;}
.selected.ans-ref {
  background-color: #c8d6e5;
  width: fit-content;
  height: fit-content;
}

#m1 .n0-i2 .inner {
  padding: 5px
}


/*** 
====================================================================
    Common Styling - END
====================================================================
***/


/*** 
====================================================================
    Page Styling - Start
====================================================================
***/


body {
  background-color: #EAFFEA;
  padding: 20px;
  cursor: url(../img/green-cursor.cur),auto;
  font-family: var(--font1);
  padding-left: 7.5%;
  padding-right: 7.5%;
}
.pageGrid {
  border: 5px dashed #62F163;
  width: 100%;
  border-radius: 50px;
  height: auto;
}
#h1 .boxborder{
  border: 4px dashed #62F163;
  padding: 10px 12px;
  border-radius: 15px;
}
#h1 .boxborder img {
  width: 100%;
}

#h1 p {
  color: #62F163;
  font-weight: 800;
  border: 4px dashed #62F163;
  border-radius: 15px;
  padding: 4px 15px;
  font-size: 2rem;
  line-height: 1.8;
}
#h1 button {
  background-color: #62F163;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  border: 1px solid #62F163;
  padding: 4px 15px;
  border-radius: 10px;
  cursor: url(../img/green-cursor.cur),auto;
  font-family: var(--font1);
  
}
#h1 .n0-i2 .n1-i2 {
  border: 4px dashed #62F163;
  height: fit-content;
  padding: 5px;
  border-radius: 17px;
}

#h1 .none {
  display: none;
}

#m1 .n0-i2 {
  border-top: 5px dashed #62F163;
  height: fit-content;
  min-height: 260px;
}

#m1 img {
  max-width: 100%;
}

#m1 .box {
  height: 200px;
  width: 200px;
  border: 4px solid black;
}

.q1 .answer .tile-1{
  background-image:url(../img/bg-10.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q1 .answer .tile-2{
  background-image:url(../img/bg-20.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q1 .answer .tile-3{
  background-image:url(../img/bg-29.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q2 .answer .tile-1{
  background-image:url(../img/bg-8.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q2 .answer .tile-2{
  background-image:url(../img/bg-18.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q3 .answer .tile-1{
  background-image:url(../img/bg-9.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q3 .answer .tile-2{
  background-image:url(../img/bg-19.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q3 .answer .tile-3{
  background-image:url(../img/bg-28.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q4 .answer .tile-1{
  background-image:url(../img/bg-1.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q4 .answer .tile-2{
  background-image:url(../img/bg-11.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q4 .answer .tile-3{
  background-image:url(../img/bg-21.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q5 .answer .tile-1{
  background-image:url(../img/bg-30.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q5 .answer .tile-2{
  background-image:url(../img/bg-12.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q5 .answer .tile-3{
  background-image:url(../img/bg-22.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q6 .answer .tile-1{
  background-image:url(../img/bg-3.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q6 .answer .tile-2{
  background-image:url(../img/bg-13.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q6 .answer .tile-3{
  background-image:url(../img/bg-23.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q7 .answer .tile-1{
  background-image:url(../img/bg-5.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q7 .answer .tile-2{
  background-image:url(../img/bg-15.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q7 .answer .tile-3{
  background-image:url(../img/bg-25.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q8 .answer .tile-1{
  background-image:url(../img/bg-6.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q8 .answer .tile-2{
  background-image:url(../img/bg-16.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q8 .answer .tile-3{
  background-image:url(../img/bg-26.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}

.q9 .answer .tile-1{
  background-image:url(../img/bg-7.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q9 .answer .tile-2{
  background-image:url(../img/bg-17.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q9 .answer .tile-3{
  background-image:url(../img/bg-27.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}


.q10 .answer .tile-1{
  background-image:url(../img/bg-35.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q10 .answer .tile-2{
  background-image:url(../img/bg-36.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}
.q10 .answer .tile-3{
  background-image:url(../img/bg-24.png);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 100%;
}

.custom-overlay .ui-dialog-content {
  background-color:rgba(0, 0, 0, 0.5) !important;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: flex;           /* Add this line */
  justify-content: center; /* Add this line */
  align-items: center;     /* Add this line */
}

.result-image {
  /* width: 100px; */
  height: 100px;
}
.popup {
  display: none;
  /* initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: rgb(0, 0, 0, 0.55);
}

.popup img {
  width: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup_btn_border {
  border-radius: 15px;
  border: 4px dashed #62F163;
  padding: 4px;
  width: 140px;
  height: 45px;
}

#custom-alert{
  display: grid;
  justify-self: center;
  position: fixed;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  top: 0;
}

.mobile p{
  display: none;
}
.mobile img{
  display: none;
}



/*** 
====================================================================
    Page Styling - END
====================================================================
***/


/*** 
====================================================================
   Responsive - START
====================================================================
***/


/* large laptop screen*/
@media (max-width: 1440px) {
  #m1 .n0-i1 .inner{
    max-width: 14vw;
  }
  #m1 .box {
    width: 14vw;
    height: 14vw;
    border: 4px solid black;
  }
  #m1 .n0-i2 .inner {
    max-width: 14vw;
  }
  #m1 .n0-i2 {
    min-height: 230px;
  }
}

/* small laptop screen*/
@media (max-width: 1024px) {
#m1 .n0-i1 .inner{
  max-width: 15vw;
}
#m1 .n0-i2 .inner {
  max-width: 15vw;
}
#m1 .box {
  width: 15vw;
  height: 15vw;
  border: 3px solid black;
}
#m1 .n0-i2 {
  min-height: 200px;
}
#m1 .arrow{
max-width: 4vw;
}
#custom-alert img{
  width: 300px;
}

}


/* Landscape orientation for mobile */
@media only screen and (max-width: 950px) and (orientation: landscape) {
  .pageGrid {
    display: block;
  }
  #h1 p {
    padding: 2px 10px;
    font-size: 1.8rem;
  }
  #h1 button {
    font-size: 1.8rem;
    padding: 2px 10px;
  }
  #h1 .n0-i2 .n1-i2 {
    border: 4px dashed #62F163;
    height: fit-content;
    padding: 4px;
    border-radius: 15px;
  }
  #h1 .boxborder {
    padding: 8px 10px;
}
  #h1 .boxborder img {
    width: 85%;
  }
  #h1 .load img {
    width: 45px;
  }
  #h1 .n0-i1 {
    --sm:4%;
  }
  #h1 .n0-i2 {
    --px-xs:2%;
  }

  #m1 .n0-i1 .inner{
    max-width: 9vw;
  }
  #m1 .n0-i2 .inner {
    max-width: 9vw;
  }
  #m1 .box {
    width: 9vw;
    height: 9vw;
    border: 2px solid black;
  }
  #m1 .n0-i2 {
    min-height: 100px;
  }
  #m1 .arrow{
  max-width: 3vw;
  }
  #m1 .simpleGrid {
    margin-top: -1%;
  }
  #m1 .n0-i2 .inner {
    padding: 3px
  }

  #custom-alert img{
    width: 150px;
  }
}

/* tablet screen*/
@media only screen and (max-width: 768px) and (orientation: portrait){
  body{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .pageGrid {
    display: none;
  }
  .mobile p{
    display: flex;
    font-size: 3rem;
  }
  .mobile img {
    width: 8%;
    display: flex;
    position: fixed; 
    left: 45%;
    justify-self: center;
  }
}

/* mobile screen*/
@media (max-width: 577px) and (orientation: portrait){
  body{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .pageGrid {
    display: none;
  }
  .mobile p{
    display: flex;
    font-size: 2rem;
  }
  .mobile img {
    width: 8%;
    display: flex;
    position: fixed; 
  }
   
  
}


/*** 
====================================================================
   Responsive - END
====================================================================
***/


