/** 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; }
.inner.incorrect { background-color: lightcoral; }
.reference {cursor: url(""), auto;}
.reference .selected {

}

/*** END ***/


/*** 
====================================================================
    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;
  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 img {
  max-width: 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: flex;
  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) {}

/* small laptop screen*/
@media (max-width: 1024px) {

}

/* Landscape orientation for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
  #m1 .n0-i1 .inner {
    max-width: 15vw;
  }
  #m1 .n0-i2 .inner {
    max-width: 15vw;
  }
  #m1 .lime img{
    max-width: 80%;
  }
  #m1 .simpleGrid {
    --sm:3%;
  }

  #m1 .q2 .n0-i1 .inner {
    max-width: 13vw;
  }
  #m1 .q2 .n0-i2 .inner {
    max-width: 10vw;
  }

  #m1 .q3 .n0-i1 .inner {
    max-width: 12vw;
  }
  #m1 .q3 .n0-i2 .inner {
    max-width: 12vw;
  }

  #m1 .q4 .n0-i1 .inner {
    max-width: 11vw;
  }
  #m1 .q4 .n0-i2 .inner {
    max-width: 11vw;
  }

  #m1 .q4 .n0-i2 .size{
    max-width: 8%;
  }

  #m1 .q5 .gp-xl{
    --xl:8%;
  }

  #m1 .q6 .n0-i1 .inner {
    max-width: 8vw;
  }
  #m1 .q6 .n0-i2 .inner {
    max-width: 8vw;
  }

  #m1 .q7 .n0-i1 .inner {
    max-width: 9vw;
  }
  #m1 .q7 .n0-i2 .inner {
    max-width: 10vw;
  }

  #m1 .q8 .n0-i1 .inner {
    max-width: 9vw;
  }
  #m1 .q8 .n0-i2 .inner {
    max-width: 9vw;
  }

  #m1 .q9 .n0-i1 .inner {
    max-width: 10vw;
  }
  #m1 .q9 .n0-i2 .inner {
    max-width: 9vw;
  }

  #m1 .q10 .n0-i1 .inner {
    max-width: 10vw;
  }
  #m1 .q10 .n0-i2 .inner {
    max-width: 10vw;
  }
  #m1 .q10 .gp-md{
    --md: 9%;
  }

  #custom-alert img{
    width: 300px;
   }
  #custom-alert {
    top: 10%;
    position: fixed;
  } 
}

/* Landscape orientation for mobile */
@media (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: 10%;
  }

  #m1 .n0-i2 .inner {
    max-width: 10%;
  }

  #m1 .simpleGrid {
    --sm:2%;
  }

  #m1 .mt-xl-single{
    --px-xl:7%;
  }
  #m1 .mt-md-single{
    --px-md: 5%;
  }

  #m1 .q2 .n0-i1 .inner {
    max-width: 10%;
  }
  #m1 .q2 .n0-i2 .inner {
    max-width: 6%;
  }

  #m1 .q3 .n0-i1 .inner {
    max-width: 8%;
  }
  #m1 .q3 .n0-i2 .inner {
    max-width: 8%;
  }

  #m1 .q4 .n0-i1 .inner {
    max-width: 10%;
  }
  #m1 .q4 .n0-i2 .inner {
    max-width: 8%;
  }
  #m1 .q4 .n0-i2 .size{
    max-width: 4%;
  }

  #m1 .q5 .n0-i1 .inner {
    max-width: 9%;
  }
  #m1 .q5 .n0-i2 .inner {
    max-width: 9%;
  }
  #m1 .q5 .gp-sm{
    --sm: 6%;
  }
  #m1 .q5 .gp-xl{
    --xl: 6%;
  }

  #m1 .q6 .gp-md{
    --md: 8%;
  }
  #m1 .q6 .n0-i1 .inner {
    max-width: 6%;
  }
  #m1 .q6 .n0-i2 .inner {
    max-width: 6%;
  }

  #m1 .q7 .gp-md{
    --md: 8%;
  }
  #m1 .q7 .n0-i1 .inner {
    max-width: 7%;
  }
  #m1 .q7 .n0-i2 .inner {
    max-width: 7%;
  }

  #m1 .q8 .n0-i1 .inner {
    max-width: 7%;
  }
  #m1 .q8 .n0-i2 .inner {
    max-width: 7%;
  }

  #m1 .q9 .n0-i1 .inner {
    max-width: 9%;
  }
  #m1 .q9 .n0-i2 .inner {
    max-width: 8%;
  }

  #m1 .q10 .n0-i1 .inner {
    max-width: 6%;
  }
  #m1 .q10 .n0-i2 .inner {
    max-width: 7%;
  }

  #custom-alert img{
    width: 150px;
  }
  #custom-alert {
    top: 0;
    position: fixed;
  } 
}

/* tablet screen*/
@media (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%;
  }
}

/* mobile screen*/
@media (max-width: 577px) and (orientation: portrait) {
  body{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .pageGrid {
    display: none;
  }
  .mobile p{
    display: flex;
    font-size: 2rem;
  }
  .mobile img {
    width: 10%;
    display: flex;
    position: fixed; 
  }
}

/*** 
====================================================================
   Responsive - END
====================================================================
***/