/*@media screen and (orientation:landscape) and (min-device-width: 481px) and (max-device-width: 1024px){}*/


@media only screen and (max-width: 1024px) and (orientation: landscape){
  .login-landscape-wrap{
    align-items: center;
  }
  .forgot-card, .login-card{
    width: 600px;
    border:0;
  }
  .landscape-login-right{
    margin-left: auto;
  }
  .landscape-login{
    background: #F5F5F5;
  }
  .landscape-login-left .login-code{
    border-radius: 8px;
    border: 1px solid #EDEDED;
    background: #FFF;
    font-size:12px;
    color:#404040;
    font-weight: 500;
    padding: 6px 12px;
  }
  .forgot-password{
    font-size: 12px;
    padding:0 8px;
    border:0;
    display: flex;
    align-items: center;
  }
  .login-form .form-control input.bold,
  .forgot-password a.semi-bold,
  .forgot-password.semi-bold{
    font-weight: 400;
  }
  .login-form .form-control{
    padding:6px;
    border-radius: .5rem;
    height: 2.5rem;

  }
  .login-card h3{
    font-size: 14px;
  }
  .login-form .form-control input{
    font-size: 14px;
  }
  .eye-icon {
    top: .6rem;
  }
  .check-remember{
    display: flex;
    font-size: 12px;
  }
  .modal-dialog{
    padding:14px;
    border-radius: 8px;
  }
  .modal-wrap.global-modal h2{
    font-size:16px;
  }
  .modal-dialog .btn-secondary,
  .warning-modal a, .warning-modal button{
    padding: 6px;
    font-size: 14px !important;
  }
  .left-text ul li, .default-modal-card ul li{
    background-position: left 4px;
  }
  .global-modal h3,
  .warning-modal h3{
    font-size:14px;
  }
  .global-modal .modal-dialog{
    font-size:12px;
    max-height: 226px;
    overflow-x: auto;
  }
  .language-wrap{
    top:10px;
    right: unset;
    width: 100% !important;
    gap: .5rem;
    flex-wrap: wrap;
  }
  .language-wrap .language {
    width: unset;
  }
  .whatsapp a,
  .language{
    height: 2.3rem;
  }
  .language{
    min-width: auto;
    border-radius: 30px;
    padding:0 12px;
  }
  .language:after{
    display: none;
  }
  .language-wrap ul{
    min-width: auto;
    padding: 12px 14px;
    top: 50px !important;
    position: fixed;
    right: unset;
    width: 12.5rem;
  }
  .language-wrap ul li{
    padding:0;
    font-size: 14px;
  }
  .language-wrap ul li img{
    width: 22px;
  }
  .language-wrap ul li:first-child{
    padding-bottom:12px;
  }
  .language-wrap ul li:last-child{
    margin-top: 12px;
  }
  .language span,
  .whatsapp a{
    font-size: 14px;
  }
  .language img,
  .whatsapp svg{
    width: 20px;
  }
  .forgot-card .btn-login,
  .login-form .btn-login{
    position: relative;
    bottom:0;
    margin-top:12px;
  }
  .login-card{
    padding:14px 12px 14px;
    display: none;
  }
  .login-card.landscape-login{
    display: block;
  }
  #modalBox .login-card{
    display: block;
  }
  .login-code-modal{
    padding:1rem;
    width: auto;
  }
  .login-code-modal .login-form .btn-login{
    margin-top:0;
  }
  .login-code-modal h3{
    display: none;
  }
  .login-code-modal .logo-login{
    margin-bottom:16px;
  }
  .btn-login .btn-secondary{
    font-size:12px;
    border-width: 2px;
  }
  .login-form{
    position:relative;
  }
  .login-form .form{
    width: 49%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .form-option{
    width: 49%;
    position: relative;
    display: flex;
    margin-left: auto;
  }
  .logo-login img {
    width: 60px;
  }
  .login-card h3 {
    font-size: 18px;
    margin:0 0 12px;
  }
  .login-card h3 img {
    width: 22px;
  }
  .bg-welcome-wrap{
    transform: scale(1);
  }
  .bg-welcome-wrap.zoom{
    transform: scale(1);
    transform-origin: unset;
  }
  .welcome-container {
    width: unset;
    height: 100%;
    top: 0;
    align-items: end;
  }
  .welcome-text-card strong {
    font-size: 2vw;
  }
  .welcome-text-card{
    width: 52vw;
    height: 30vw;
    top:0;
    padding: 3vw;
    font-size: 1.4vw;
    margin-left: 20vw;
    margin-bottom: 1vw;
  }
  .t-container br{
    content: "";
    margin: 3em 0;
    display: block;
    font-size: 24%;
    outline: red;
  }
  .bima-char{
    left:0;
  }
  .bima-char img {
    width: 24vw;
  }
  .btn-start{
    font-size: 2vw;
    width: auto;
    bottom: 3vw;
    right: 6vw;
    padding:2px 28px;
  }
  .ufo-one{
    width: 60px;
    top: 13%;
  }
}

@media (max-width: 1023px) {
  :root{
    font-size:14px;
  }
  body{
    overflow: auto !important;
    /*min-height: unset;*/
    line-height: normal;
  }
  #intro-alphabet:before {
    top: 26px;
  }
  #intro-phonics:before {
    top: 26px;
  }
  .mobile {
    display: block;
  }
  .language img,
  .whatsapp svg{
    width: 1.25rem;
  }
  .close-modal{
    right: 3vh;
  }
  .earned-gems .gems-number .gems-ttl {
    /*right: 12vw;
    top: 14vh;*/
    right: 9vw;
    top: 10vh;
  }
  .choose-grade-container {
    flex-direction: row;
    align-items: center;
  }
  #btn-explore-more {
    padding: 8px 16px;
    background: rgba(111, 66, 193, 0.10);
    border-radius: 200px;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: inline-flex
  }
  #btn-explore-more img{
    width: 16px;
    height: 16px;
  }
  .explore-more-text {
    font-size: 12px;
  }
  .choose-grade-wrapper {
    padding: 12px 24px;
  }
  .topic-container {
    padding: 12px;
  }
  .topic-title {
    font-size: 16px;
  }
  .page-text {
    font-size: 14px;
  }
  .grid-page-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-content-topics {
    height: 60vh;
  }
  .dropdown-select-grade-container {
    height: 40px;
  }
  .no-selected-grade-container {
    flex-direction: row;
    width: 50%;
    margin: auto;
    gap: 16px;
  }
  .btn-books {
    padding: 8px;
    height: unset;
	min-height: unset;
    font-size: 14px;
  }
  .purple-book-svg {
    width: 16px;
    height: 16px;
  }
  .modal-books-container {
    width: 50%;
    height: 80vh;
  }
  /* .coloring-wrap{
    flex-direction: column;
  }
  .coloring-board{
    margin-right:auto;
    height: 240px;
  }
  .quiz-coloring .container{
    align-items: flex-start;
  }
  .coloring-board .img-board-bg{
    transform: rotate(-90deg);
  } */
  .target-coloring-wrap{
    /* height: 156px; */
    margin-top: 1vh !important;
  }
  .bg-target-coloring{
    height: auto;
    margin: 0 auto;
    width: 65% !important;
  }
  #img-colouring {
    height: unset !important;
  }
  #img-colouring{
    height: 140px;
  }
  .lock-modal .title-modal-expired{
    font-size: 18px;
  }
  .lock-modal .btn-secondary,
  .lock-desc{
    font-size: 14px;
  }
  .login-code,
  .forgot-password{
    font-size:12px;
  }
  .login-card h3{
    font-size:22px;
  }
  .btn-white,
  .btn-primary,
  .btn-secondary{
    letter-spacing: 1px;
    font-size: 18px;
    padding:0;
    height: 50px;
  }
  .btn-modal-wrap .btn-white,
  .btn-modal-wrap .btn-primary,
  .btn-modal-wrap .btn-secondary{
    height: unset;
    text-transform: uppercase;
  }

  .login-card h3 img {
    width: 24px;
  }
  .logo-login img {
    width: 80px;
  }
  .login-card{
    padding:22px 14px 38px;
  }
  .forgot-card, .login-card{
    width: 95%;
  }
  .star-one{
    width: 18px;
    top: 13%;
    left: 2%;;
  }
  .star-three{
    top:46px;
  }
  .ufo-one{
    width: 60px;
    top: 10%;
  }
  .language-wrap{
    top:10px;
    right: unset;
    width: 100% !important;
    justify-content: right;
    gap: .5rem;
    padding:0 12px;
  }
  .language{
    min-width: auto !important;
    border-radius: 30px;
    padding: 8px 12px;
  }

  .language-wrap ul{
    min-width: auto;
    padding: 12px 14px;
    top: 48%;
    position: fixed;
    right: unset;
    width: 12.5rem;
  }
  .language-wrap ul li{
    padding:0;
  }
  .language-wrap ul li:first-child{
    padding-bottom: 12px;
  }
  .language-wrap ul li:last-child{
    margin-top: 12px;
  }
  .language-wrap .language {
    width: unset !important;
  }
  .language-wrap ul {
    top: 50px !important;
  }
  .login-method,
  .login-form .form-control{
    border-radius: .4rem;
  }
  .link-login-code img{
    width: 10px;
  }
  .highschool-level .side-nav,
  .elementary-level .side-nav,
  .side-nav{
    width: 100%;
    height: auto;
    padding:0 1.2rem 1.2rem;
    top:-400px;
    background: rgba(22, 22, 22, 0.80);
    transition: top ease-in-out .3s;
  }
  .openMenu .elementary-level .side-nav,
  .openMenu .side-nav{
    top: 0;
    left:0;
  }
  .highschool-level .avatar-wrap,
  .elementary-level .avatar-wrap,
  .avatar-wrap{
    margin:0;
    padding:0 1rem;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 11;
    height: 70px;
    border-radius: 0;
    border: 0;
    justify-content: normal;
    align-items: center;
    /*background: rgba(22, 22, 22, 0.80);*/
    /*backdrop-filter: blur(8px);*/
  }
  .gems-card{
    margin-left:auto;
    margin-right: 0.57rem;
    padding: 4px 12px;
  }
  .elementary-level .circle-ava, .elementary-level .circle-ava .ava-img, .circle-ava, .circle-ava .ava-img{
    width: 42px;
    height:unset;
    /*height: 42px;*/
  }
  .elementary-level .gems-card .gems-number, 
  .gems-card .gems-number {
    font-size: 14px;
    height: 2.28rem;
    /*padding: 0 1.2rem 0 2rem;*/
    display: flex;
    align-items: center;
	border-width: 2px;
  }
  .circle-ava{
    border-width: 1px;
    border-color: #A3C3EE;
    background-color: transparent;
    padding: 2px;
  }
  .gems-card img{
    left:24px;
    top: 2px;
    width: 24px;
    height: 24px;
  }
  .elementary-level .avatar-card {
    margin-left: 7.98px;
  }
  .elementary-level .gems-card img{
    /*left: 31px;*/
    top: 0;
    left:-2px;
  }
  .icon-gems{
    position: relative;
  }
  .close-navbar,
  .hamburger-bar{
    width:42px ;
    height:42px ;
    border-radius: 50%;
    border: 2px solid #5B5381;
    background: #433B6E;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .close-navbar span:before,
  .close-navbar span:after,
  .close-navbar span,
  .hamburger-bar span:after,
  .hamburger-bar span:before,
  .hamburger-bar span{
    border-radius: 20px;
    background: #fff3cd;
    width: 20px;
    height: 2px;
    position: relative;
    content:'';
    display: block;
  }
  .close-navbar span:before,
  .hamburger-bar span:before{
    top:-7px;
  }
  .close-navbar span:after,
  .hamburger-bar span:after{
    top:5px;
  }
  .nav-list{
    border-bottom: solid 1px #bdbdbd;
    margin-bottom: 12px;
    padding-top: 70px;
  }
  .nav-list li a{
    border:0;
    margin: 12px 0;
  }
  .submit-answers button:hover, .back-test:hover, .nav-list li a:hover/*, .btn-secondary:hover*/{
    border:0;
  }
  .btn-exit, .nav-list li {
    font-size: 1rem;
  }
  .profile-language{
    justify-content: center;
  }
  .btn-exit{
    width: auto;
    border: solid 2px #5B5381;
    background: #433B6E;
    padding: 6px 16px;
    display: flex;
    gap:8px;
    margin-right: auto;
    align-items: center;
  }
  .nav-list li.lock a{
    background: #E0E0E0;
    color:#9E9E9E;
  }
  .nav-list li.checked::before,
  .nav-list li.lock::before {
    background-size: 5%;
    background-color: transparent;
    background-position: center right 14px;
    background-image: url(../images/assets/lock-black.png);
  }
  .course-dungeon{
    padding-bottom: 24px;
  }
  .planet-wrap{
    height: 952px !important;
  }
  .course-planet-wrap,
  .planet-wrap{
    top: 74px;
    position: relative;
    left: unset;
    width: 268px;
    height: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image:url(../images/assets/route-mobile.png);
    background-repeat: no-repeat;
    background-size: 85%;
    gap:36px;
    margin-bottom: 30px;
    /*transition:height ease 2.5s;*/
    background-position: center top 50px;
  }
  .course-planet-wrap{
    height: 436px;
    width: 290px !important;
    overflow: visible;
    gap: 50px;
    margin-left: 0;
    /*margin-top: 56px;*/
  }
  .planet {
    width: 110px;
    gap:8px;
    position: relative !important;
    left: unset !important;
    right: unset !important;
    top:unset !important;
    bottom: unset !important;
  }
  .bg-course-page{
    overflow-y: auto;
    overflow-x: hidden;
    position:relative;
    /*height: 100dvh;*/
    height: auto;
  }
  .bg-course-page.highschool-level,
  .bg-course-page.elementary-level{
    height: auto;
  }
  .level-label,
  .label-level{
    width: unset;
    height: 25px;
    padding:0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:0;
    font-size: 12px !important;
  }
  .level-label{
    margin:-12px 0 0;
    color: #000000;
    width: max-content;
    background: #fff;
    border-color: #EDEDED;
    position: absolute;
    top: 50%;
    padding:0 8px;
  }

  .label-level img {
    width: unset !important;
  }
  .label-level.completed,
  .label-level.locked { 
    /*padding-left: calc(16px + 1.5em);*/
  }
  .level-label.completed,
  .level-label.locked { 
    padding-left: calc(16px + 1.5em);
  }
  /*  .img-planet{
      width: 94px;
    }*/
  .label-start {
    top: 6vh;
  }
  .label-start span{
    font-size: 10px;
    font-weight: 400;
    padding: 3px 14px;
  }
  .welcome-action{
    padding:0;
  }
  .modal-teacherNotif{
    display:flex;
    justify-content: center;
  }
  .teacher-notif-content,
  .modal-dialog,
  .modal-default{
    width: 90%;
    min-width: unset;
    max-width: unset;
    padding: 1.2rem;
    border-radius: 12px;
    height: auto !important;
  }
  .modal-topic-opening {
    padding: 0;
  }
  .comingsoon-wrap img {
    /*width: 260px;*/
  }
  .comingsoon-wrap h2{
    font-size: 1.3rem;
  }
  .openMenu #overlay{
    display: block;
    z-index: 4;
  }
  .welcome-message{
    width: 50%;
    margin:0 auto;
    font-size: 1rem;
  }
  .welcome-message-text{
    padding:0 1rem;
  }
  .welcome-message-text strong{
    font-weight:600;
  }
  #elementary-chapter.intro-topics-lock #intro-topics-lock,
  #elementary-chapter.intro-topics #intro-topics,
  #elementary-chapter.intro-semester #intro-semester,
  #intro-alphabet,
  #intro-phonics,
  .intro-profile #intro-profile,
  .intro-semester #intro-semester,
  #intro-gems{
    min-width: 90%;
    width: 90%;
    top: 76px;
    left: 50%;
    margin-left: -45%;
  }
  .popover,
  .popover-test,
  .popover-basic,
  .modal-intro{
    position:fixed;
  }
  #intro-gems:before{
    left: 60%;
  }
  #intro-gems {
	  top: 60px;
    left: -110%;
    width: 31vw !important;
  }
  .intro-topics #intro-topics:after{
    content: "";
    position: absolute;
    top: -14px;
    left: 48%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 14px 8px;
    border-color: transparent transparent #6F42C1 transparent;
  }
  #elementary-chapter.intro-topics-lock #intro-topics-lock{
	  top:42.5vh !important;
  }
  .intro-topics #intro-topics{
    top: 300px !important;
  }
  .intro-topics-lock #intro-topics-lock{
    /*top:84px;*/
    top: 520px;
  }
  #intro-topics-lock:after{
    content: "";
    position: absolute;
    top: -15px;
    right: 49%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 14px 8px;
    border-color: transparent transparent #6F42C1 transparent;
  }
  .text-intro strong{
    margin-bottom: 6px;
    font-size: 16px;
  }
  #intro-semester:before{
    left: 40%;
  }
  .next-intro{
    padding:4px 12px;
    border-radius: 8px;
  }
  .star-flag,
  .radio-satelit,
  .light-2,
  .light,
  .car-solar-panel,
  .language:after,
  #ufo,
  .logo-nav,
  .dungeon-line,
  #path-chapter,
  .popover:after,
  #intro-topics:before,
  #intro-alphabet:before,
  #intro-phonics:before,
  #intro-topics-lock:before,
  .popover-test:after,
  .popover-basic:after{
    display: none !important;
  }
  .popover,
  .popover-test,
  .popover-basic{
    min-width: 90%;
    width: 90%;
    top: 50%;
    left: 50%;
    margin-left: -45%;
  }
  #overlayOver{
    opacity:1 !important;
  }
  .popover-test .avatar-wrap,
  .popOverShow .avatar-wrap{
    z-index: 4;
  }
  .title-popover{
    text-align: left;
  }
  .popover-test-card,
  .popover-basic-card{
    padding:1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .popover-test-nav,
  .popover-basic-nav{
    border-radius: 8px;
    border: 1px solid #EDEDED;
    padding:0;
  }
  .popover-test-nav a,
  .popover-basic-nav a{
    margin:0 !important;
    background: #F5F5F5;
    padding: 14px !important;
    border:0;
  }
  .popover-test-nav a strong,
  .popover-basic-nav a strong{
    font-weight: 600;
    font-size: 16px;
    margin-bottom:6px;
    display:block;
  }
  .popover-test-nav a:before,
  .popover-basic-nav a:before{
    width: 22px;
    height: 24px;
    top: 6vh;
    right: 1vh;
  }
  .popover-test-caption,
  .popover-basic-caption{
    padding-right: 24px;
  }
  #intro-alphabet{
    top: 145px;
    left: 50%;
    z-index: 15;
  }
  #intro-phonics{
    top: 185px;
    left: 50%;
    z-index: 15;
  }
  .bg-welcome-wrap{
    background-image: url(../images/mobile/welcome-bg.jpg);
    background-size: cover;
  }
  .bg-welcome-wrap.zoom{
    transform-origin: 50vw 65vh !important;
    transform: scale(4);
  }
  .welcome-text-wrap{
    align-items: end;
  }
  .logo-welcome{
    display: flex;
    justify-content: center;
  }
  .welcome-container {
    width: 100%;
    height: auto;
    gap:14px;
    flex-direction: column;
  }
  .bima-char{
    left: 10px;
  }
  .bima-char img {
    width: 160px;
  }
  .btn-start{
    position: absolute;
    right: 38px;
    bottom: 38px;
  }
  .welcome-text-card{
    font-family: 'cillax', sans-serif;
    font-weight: 500;
    font-size:14px;
    padding: 0;
    width: 310px;
    margin: 0 auto 60px;
    height: 460px;
    top: unset;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image:url("../images/mobile/welcome-blue.png") ;
  }
  .welcome-text-card #t{
    width: 86%;
    margin: 52px auto 0;
  }
  .welcome-text-card strong{
    font-weight: 700;
    font-size:16px;
  }
  .elementary-course{
    left:0;
    /*top: 24px;*/
    width: unset;
    height: unset;
  }
  .level-planet{
    width: 110px;
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap: 8px;
  }
  .planet-earth{
    top:0;
  }
  .planet-neptune{
    top:unset;
  }
  .planet-jupiter{
    bottom:0;
  }
  .level-planet img{
    /*width: 94px;*/
    margin: 0 auto;
    border:0;
  }
  .course-planet-wrap{
    background-position: center top 45px;
  }
  .elementary-zone{
    align-items: start;
  }
  .nav-top-bar{
    padding: 0 14px;
    height: 64px !important;
    position: sticky;
    top: 0;
    z-index: 30;
  }
  .semester-option{
    gap: 8px;
    display: flex;
  }
  .semester-option a, .semester-option button {
    font-size: 1rem !important;
    padding: 6px 12px !important;
    font-weight: 600 !important;
    margin:0;
    border-width: 2px;
  }
  .btn-back-arr {
    top: 16px !important;
    left:12px;
  }
  .warning-modal h2,
  .default-modal-card h2{
    font-size: 16px;
    text-align: left;
    line-height: normal;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #EDEDED;
  }
  .close-modal {
    width: 24px;
    height: 24px;
    top: 16px !important;
    right: 2vh !important;
    padding:0;
  }
  /*.modal-dialog{
    text-align: left;
  }*/
  .left-text h3{
    font-weight:600;
  }
  .left-text ul li, .default-modal-card ul li{
    padding-left: 18px;
    background-size: 12px;
  }
  .warning-modal a, .warning-modal button{
    font-size:1rem;
  }
  .warning-modal a .btn-blue, .warning-modal button{
    border-width: 0;
  }
  .chapter-lvl-list{
    position: unset !important;
    width: 200px !important;
  }
  .topics .chapter-lvl-07,
  .topics .chapter-lvl-06,
  .topics .chapter-lvl-05,
  .topics .chapter-lvl-04,
  .topics .chapter-lvl-03,
  .topics .chapter-lvl-02,
  .topics .chapter-lvl-01{
    left:unset;
    top:unset;
  }
  #chapter-maps{
    overflow:auto !important;
    height: 100dvh !important;
  }
  .chapter-col-circle {
    width: 100px !important;
    height: 100px !important;
  }
  .solar-panel{
    position: fixed !important;
    left: 10px !important;
    width: 90px !important;
    bottom: 60% !important;
  }
  body.topic-level{
    overflow: hidden !important;
  }
  .chapter-col-name{
    font-size:12px !important;
    line-height: normal !important;
    padding: 8px 16px !important;
  }
  .robot-astro {
    position: fixed !important;
    top: 33% !important;
    left: 75% !important;
  }
  .path-wrapper{
    width: 320px !important;
    display: flex;
    gap:32px;
    top: 16vh !important;
    flex-direction: column;
    align-items: center;
    padding-bottom: 24px !important;
    background-size: 150px;
    background-position: top 70px center;
    background-repeat: no-repeat;
    background-clip: content-box;
    background-image: url(../images/mobile/route-topic.png);
  }
  /*.chapter-lvl-list,
  .topics .chapter-lvl-06,
  .topics .chapter-lvl-04,
  .topics .chapter-lvl-02{
    margin-left: auto;
  }*/
  .chapter-lvl-list:nth-child(odd){
    margin-left: auto;
  }
  .chapter-lvl-list:nth-child(even){
    margin-right: auto;
  }
  .max-height-card{
    text-align: left;
    max-height: 290px;
    overflow-y: auto;
  }
  .btn-back-arr{
    width: 32px !important;
    height: 32px !important;
    padding:0;
  }
  .semester-option h2{
    font-size:16px !important;
    font-weight: 700;
    max-width: 400px;
  }
  #topic-text{
    font-size:16px;
    font-weight: 700;
    max-width: 400px;
  }
  .line-progress{
    position: fixed;
    top:64px;
    left:0;
    border-radius: 0;
    width: 100%!important;
    height: 6px!important;
  }
  .seek-progress{
    border-radius: 0;
  }
  #btn-instruction{
    margin-left:0 !important;
  }
  #btn-instruction img{
    height: 24px !important;
  }
  .coin-progress{
    position: fixed;
    right: 48px;
    top: 23px;
  }
  .coin-progress img{
    width: 20px !important;
    margin:0;
  }
  .coin-progress .coin-number{
    font-size:14px !important;
  }
  #topic-text{
    position: relative;
    text-transform: uppercase;
  }
  #topic-text:after{
    display: none;
    position: absolute;
    right: -16px;
    top: 50%;
    margin-top:-8px;
    content: "";
    width: 16px;
    height: 16px;
    transition: all ease .2s;
    background-position: center;
    background-size: contain;
    background-image: url("../images/assets/chevron-down.png");
  }
  #topic-text.rotate-arr:after{
    transform: rotate(180deg);
  }
  .dropdown-content p,
  .time-number,
  #time-elapsed,
  #txt-instruction,
  #title-instruction{
    font-size: 12px !important;
  }
  #title-instruction{
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
  }
  .text-instruction{
    height: auto !important;
    padding: 12px 16px;
    border-radius: 8px;
    z-index: 10;
    width: 90%;
    display: none;
    margin: 0 auto;
    position: fixed;
    top: 62px;
    left: 5%;
    background: rgba(22, 22, 22, 0.90);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
  }
  .text-instruction:before {
    position: absolute;
    top: -9px;
    right: 130px;
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid rgba(22, 22, 22, 0.90);
  }
  .text-instruction.show{
    display: block;
    height: unset !important;
  }
  .footer-navigation{
    padding:0 14px  !important;
    height: 64px !important;
    gap:12px;
    background: rgba(22, 22, 22, 0.80);
  }
  .footer-navigation button{
    width: 100%;
    text-transform: uppercase;
    font-size:14px !important;
  }
  .learning-video{
    height: unset;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    display: flex;
    align-items: center;
  }
  video{
    height:unset !important;
  }
  .center-video{
    padding:0 12px;
  }
  
  .video-controls .inside{
    padding:1px 4px!important;
  }
  .video-progress {
    width: 50px !important;
  }
  .playPause{
    width: 24px !important;
    height: 24px !important;
  }
  .video-nav svg{
    height: 22px;
  }
  .volume-button{
    padding: 0;
  }
  .dropbtn{
    margin: 0 12px !important;
  }
  .video-controls{
    bottom: 10px !important;
  }
  .dropdown-content a{
    font-size: 12px !important;
    flex: 1 1 50%;
    padding:4px 0  !important;
    gap: unset !important;
    justify-content: center;
  }
  #quality-list{
    display: flex;
    flex-wrap: wrap;
    padding:0 8px;

  }
  .dropdown-content p{
    margin-bottom: 10px;
    padding: 8px !important;
    justify-content: center;
    border-bottom:1px solid #4B4B4B;
  }
  .dropdown-content{
    bottom: 156% !important;
  }
  .dropdown-content .active svg{
    width: 14px;
  }
  .modal-video-instruction,
  .modal-gems{
    width: 90%;
    padding: 14px;
    border-width: 4px;
  }
  .earned-gems h3{
    font-size: 20px;
    text-transform: uppercase;
  }
  .earned-gems{
    min-height: 270px;
  }
  .earned-gems h4{
    font-size:16px;
    margin-top: 4px;
  }
  .earned-gems h4 .yellow{
    font-weight: 600;
  }
  .warning-modal {
    max-height: 400px;
    overflow-y: auto;
    max-width: 100%;
  }
  .modal-gems .btn-white{
    width: 100%;
    text-transform: uppercase;
  }
  .modal-insight{
    width: 90%;
  }
  .head-modal{
    font-size: 14px;
  }
  .content-insight{
    max-height: 400px;
    padding:8px;
  }
  .head-modal .head-icon{
    width: 28px;
  }
  .head-modal .close-modal{
    width: 24px;
    top: 4px !important;
    right: 2px !important;
  }
  .content-insight .btn-primary{
    width: 100%;
    text-transform: uppercase;
  }
  .center-dialogue{
    width: 94%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin:20px auto 0;
  }
  .quiz-complete-story .center-dialogue{
    margin:20px auto;
  }
  .quiz-dialogue-complete .dialogue-wrap{
    margin-right: 0;
    width: 100%;
  }
  .dialogue-drag{
    margin-left: unset;
    width: 100%
  }
  .dialogue-drag,
  .dialogue-wrap{
    border-radius: 12px;
    border-width: 3px;
    padding: 12px;
  }
  .quiz-dialogue-complete .dialogue-drag,
  .quiz-dialogue-complete .dialogue-wrap{
    height:unset ;
  }
  .quiz-dialogue-complete .dialogue-wrap .inside{
    height: 28dvh;
  }
  .quiz-dialogue .container{
    display: flex;
    align-items: center;
  }
  .chat-right-wrap .avatar-chat-box{
    margin-left:8px;
  }
  .avatar-chat-box{
    flex-basis: 42px;
    margin-right: 8px;
  }
  .avatar-chat-box img{
    border-radius: 4px;
  }
  .text-chat-box{
    font-size:14px;
  }
  .chat-text{
    padding: .5vh 1vw;
    line-height: 18px;
  }
  .scrollbar-dynamic > .scroll-element.scroll-y .scroll-bar{
    width: 4px !important;
  }
  .drop-text-dialog{
    border-radius: 4px;
    /*min-width: 40px;*/
    height: auto !important;
    min-height: 27px !important;
  }
  .drop-text-dialog:before{
    font-size: 12px;
    top: 0;
  }
  .content-drag .text-drag{
    line-height: 19px;
  }
  .dialogue-drag{
    padding:0;
  }
  .dialogue-drag h2{
    border-radius: 8px 8px 0 0;
    padding: 8px 14px;
    font-size: 14px;
  }
  .content-drag .text-drag{
    font-size:14px;
  }
  #list-drag-complete-dialogue .dragList{
    min-height: 40px !important;
  }
  #list-drag-complete-dialogue{
    height: 28vh !important;
    margin-bottom: 12px;
  }

  .chat-text.incorrect .drop-text-dialog:after,
  .complete-story-text .correct .drop-text-dialog:after,
  .complete-story-text .incorrect .drop-text-dialog:after,
  .correct-complete-story:after{
    right: -31px;
    top: -1px;
  }
  .chat-text.correct .drop-text-dialog:after {
    right: -31px;
    /*top: -1px;*/
  }
  .dialogue-wrap{
    width: 90%;
    /*height: auto;*/
  }
  .quiz-complete-story .dialogue-wrap{
    width: 100%;
    /*height: auto;*/
  }
  .modal-body-instruction{
    height: unset;
    padding: 8px 12px;
  }
  .quiz-drag-drop,
  .quiz-spelling{
    padding:6px 0 0;
  }
  .center-spelling{
    justify-content: flex-start;
  }
  .spelling-yellow-screen,
  .spelling-black-screen{
    border-radius: 0;
    border-width: 0;
    position:relative;
    height: 50%;
  }
  /* .spelling-yellow-screen{
	  border-radius: 0;
		border-width: 0;
		position:relative;
		height: 25%;
   }*/

  .spelling-yellow-screen,
  .drop-spelling-wrap{
    padding:0;
  }
  .drag-spelling-box,
  .drop-spelling-box{
    /*width: 44px;*/
    height: unset;
    width: 8.5vw;
    margin:0;
    aspect-ratio: 1 / 1;
  }
  
  .drop-spelling-wrap{
    height:100%;
    align-items: center;
    border-bottom:3px solid #fff;
  }
  .spelling-yellow-screen{
    margin:0;
    width: 100%;
  }
  .spelling-black-screen{
    min-width: unset;
    width: 100%;
  }
  .spelling-black-screen h2{
    position: absolute;
    bottom: 0;
    left:50%;
    margin-left:-40px;
    font-size:14px;
    padding: 4px;
    width: 80px;
    border-radius: 6px 6px 0 0;
  }
  .spelling-yellow-screen .drag-spelling-wrap{
    height: 100%;
    justify-content: center;
    align-items: center;
  }
  .level-planet .start-planet{
    display: none;
  }
  #elementary-chapter .nav-top-bar .nav-top-bar-fix{
    height:inherit;
    border-radius:0;
    width: 100%;
    padding:0;
  }
  .semester-option a.no-active,
  .semester-option button.no-active{
    border-width: 2px;
  }
  .btn-back-arr img {
    width: 32px;
  }
  .nav-top-bar-fix .btn-back-arr{
    left: 14px;
    position: absolute;
  }
  #elementary-path{
    display: none;
  }
  .topics-route{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    top:100px;
    gap:36px;
    padding-bottom: 40px;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: top 60px center;
    background-image: url("../images/mobile/route-smp-new.png");
  }
  .topic-card{
    position: static;
    max-width: 250px;
    min-height: 158px;
  }
  .topic-name{
    z-index: 2;
    width: auto;
    margin-top:8px;
  }
  .topic-circle{
    width: 100px;
    height: 100px;
    border-width: 4px;
  }
  .topic-name span{
    font-size:14px;
    padding:4px 16px;
  }
  .topic-card.locked .topic-name span:before{
    background-size: 3vw;
  }
  .topic-circle img{
    width: 60%;
  }
  .elementary{
    align-items: flex-start;
  }
  .topic-card.current .topic-circle{
    z-index: 2;
  }
  @keyframes topic-current {
    from {}
    to { box-shadow: 0 0 0 2vw rgba(159, 129, 214, 0.60);}
  }
  .main-quiz-wrap{
    width: 100%;
    padding: 0 12px;
  }
  /*.quiz-image-sound .main-quiz-wrap {
    flex-wrap: wrap;
    gap: 10px;
  }*/
  .card-quiz{
    border-width: 3px;
    border-radius: 14px;
  }
  /*.quiz-img-sound{
    width: 48% !important;
    height: unset !important;
    aspect-ratio: 1 / 1;
  }*/
  .number-question{
    font-size: 14px !important;
    padding: 2px 12px !important;
    border-width: 2px !important;
    border-radius: 6px;
  }
  .card-phonics{
    width: 48%;
    height:auto
  }
  .card-phonics .text-quiz {
    font-size: 20px !important;
    height: 80px;
  }
  .card-phonics .action-quiz .btn-audio-listen {
    font-size: 12px !important;
  }
  .card-phonics .action-quiz .btn-audio-listen img {
    width: 16px !important;
  }
  .quiz-puzzle .container{
    width: 95% !important;
  }
  .me.full{
    border-width: 3px !important;
  }
  .me{
    border-width: 2px !important;
  }
  .drag-and-drop-wrap{
    width: 100% !important;
    height: 100% !important;
    position:relative;
  }
	.spelling-yellow-screen,
	.drop-spelling-wrap{
	  padding:0;
	}
	.drag-arrange-sentence-box, 
	.arrange-sentence .drag-spelling-box{
	  height: 50px;
	  /*width: 8.5vw;*/
	  width: auto;
	  margin:0;
	  aspect-ratio: 1 / 1;
	}
	/* #section-spelling{
	background: #FFD42F;
	} */
	.drop-spelling-box{
	  /*border-width:0;*/
	  border-image: url("../images/mobile/frame-spelling.png") 3 round;
	}
	.drop-arrange-sentence-box, .arrange-sentence .drop-spelling-box{
		height:50px;
		min-width: 10vw;
	}
	.spelling-line{
	  gap:6px;
	}
	
	.drop-spelling-wrap{
	  height:100%;
	  align-items: center;
	  border-bottom:3px solid #fff;
	}
	.spelling-yellow-screen{
	  margin:0;
	  width: 100%;
	}
	.spelling-black-screen{
	  min-width: unset;
	  width: 100%;
	}
  .drag-spelling-text{
    font-size: 16px;
    border-radius: 1vw;
  }
	.spelling-yellow-screen .drag-spelling-wrap{
	  height: 100%;
	  justify-content: center;
	  align-items: center;
	}
	.level-planet .start-planet{
	  display: none;
	}
	#elementary-chapter .nav-top-bar .nav-top-bar-fix{
	  height:inherit;
	  border-radius:0;
	  width: 100%;
	  padding:0;
	}
	.semester-option a.no-active,
	.semester-option button.no-active{
	  border-width: 2px;
	}
	.btn-back-arr img {
	  width: 32px;
	}
	.nav-top-bar-fix .btn-back-arr{
	  left: 14px;
	  position: absolute;
	}
	#elementary-path{
	  display: none;
	}
	.topics-route{
	  display: flex;
	  align-items: center;
	  flex-direction: column;
	  width: 100%;
	  top:100px;
	  gap:36px;
	  padding-bottom: 40px;
	  background-size: auto;
	  background-repeat: no-repeat;
	  background-position: top 60px center;
	  background-image: url("../images/mobile/route-smp-new.png");
	}
	  #elementary-chapter .topics-route {
		top: 90px;
	  }
	.topics-route.odd-items{
	  background-image: url("../images/mobile/route-7-items.png");
	}

	.topic-card{
	  position: static;
	  max-width: 250px;
	  min-height: 158px;
	}
	.topic-name{
	  z-index: 2;
	  width: auto;
	  margin-top:8px;
	}
	.topic-circle{
	  width: 100px;
	  height: 100px;
	  border-width: 4px;
	}
	.topic-name span{
	  font-size:14px;
	  padding:4px 16px;
	}
	  #elementary-chapter .topic-name span {
		font-size: 14px;
	  }
	/*.topic-card.locked .topic-name span:before{
	  display: none;
	}*/
	.topic-circle img{
	  width: 60%;
	}
	.elementary{
	  align-items: flex-start;
	}
	.topic-card.current .topic-circle{
	  z-index: 2;
	}
	@keyframes topic-current {
	  from {}
	  to { box-shadow: 0 0 0 2vw rgba(159, 129, 214, 0.60);}
	}
	.main-quiz-wrap{
	  width: 100%;
	  padding: 0 12px;
	}
	/*.quiz-image-sound .main-quiz-wrap {
	  flex-wrap: wrap;
	  gap: 10px;
	}*/
	.card-quiz{
	  border-width: 3px;
	  border-radius: 14px;
	}
	.quiz-image-sound .main-quiz-wrap .quiz-img-sound{
		border-radius: 14px !important;
	}
	.quiz-image-sound .main-quiz-wrap .quiz-img-sound .name-img{
		border-radius: 12px 12px 0 0 !important;
	}
	.quiz-image-sound .main-quiz-wrap .quiz-img-sound .action-quiz{
		border-radius: 0 0 12px 12px !important;
	}
	/*.quiz-img-sound{
	  width: 48% !important;
	  height: unset !important;
	  aspect-ratio: 1 / 1;
	}*/
	.number-question{
	  font-size: 14px !important;
	  padding: 2px 12px !important;
	  border-width: 2px !important;
	  border-radius: 6px;
	}
	.card-phonics{
	  width: 48% !important;
	  height:auto
	}
	.card-phonics .text-quiz {
	  font-size: 20px !important;
	  height: 80px;
	}
	.quiz-phonics .action-quiz {
	  border-radius: 0 0 12px 12px;
	  height: 3.5vh !important;
	  font-size: 2.2vh !important;
	}
	.card-phonics .action-quiz .btn-audio-listen {
	  font-size: 12px !important;
	}
	.card-phonics .action-quiz .btn-audio-listen img {
	  width: 16px !important;
	}
	.me.full{
	  border-width: 3px !important;
	}
	.me{
	  border-width: 2px !important;
	}
	.drag-and-drop-wrap{
	  width: 100% !important;
	  height: 100% !important;
	  position:relative;
	}

  #dropSlot,
  #dragSlot{
    border-width: 0 !important;
    border-radius: 0 !important;
    height: 50% !important;
    margin: 0 !important;
  }
  #dragSlot{
    border-bottom:4px solid #fff;
  }
  .question-total{
    position: absolute;
    top:50%;
    z-index: 1;
    left:50%;
    margin-left:-40px;
    font-size:12px !important;
    padding: 4px !important;
    width: 80px;
    border-radius: 0 0 6px 6px !important;
  }
  #dropSlot{
    flex-wrap: wrap;
    padding:0 !important;
    border-width: 0 !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: 24px !important;
  }
  .dropCard{
    width: 46% !important;
    height: 84px !important;
  }
  .dropCard .img-name{
    position: relative !important;
    font-size: 12px !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    bottom: -88px !important;
    display: block;
  }
  #dragSlot{
    flex-wrap: wrap;
    padding:50px 0 !important;
  }
  .shading{
    width: 46% !important;
  }
  .dragCard{
    padding:0 !important;
    height: 84px !important;
  }
  .dragCard img {
    width: 100px !important;
    height:auto !important;
  }
  .modal-topic-opening .warning-modal .left-text{
    margin-top:unset;
  }
  #elementary-chapter .nav-top-bar {
    display: flex !important;
  }

  .quiz-phonics .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #new-profile-wrap {
    flex-direction: column;
    width: 100%;
    padding: 16px;
  }

  #left-section-profile,
  #right-section-profile {
    gap: 8px;
    width: 100%;
  }

  .statistic-body {
    grid-template-rows: auto auto;
    grid-template-columns: auto;
  }
  
  .change-profile-modal {
    width: 100%;
    margin: 16px;
  }
  .change-username-container button {
    width: 100%;
  }
  input[type="password"]{
    -webkit-text-security: disc;
    height: 26px;
    position: relative;
    top: -5px;
  }
  .fag-list{
    width: 93%;
  }
  .action-right-top-bar .whatsapp a{
    border-radius: 50%;
    padding:0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .action-right-top-bar .whatsapp a span{
    display: none;
  }
  .faq-accordion-content,
  .faq-list-content-title{
    font-size:14px;
  }
  
  .avatar-card span,
  .avatar-card .icon-arrow-right {
    display: none;
  }
  .avatar-card a {
    padding: unset;
  }
  
  .lesson-map-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    width: calc(100% - 16px); 
    margin: 0 8px;
    top: 64px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(22, 22, 22, 0.70);
    justify-content: space-between;
    padding: 12px 16px;
  }

  .lesson-map-wrapper label {
    font-size: 16px;
  }


  #btn-level {
    padding: 8px 12px;
  }
  #btn-level p,
  .select-level-wrapper .language-item li {
    font-size: 14px;
  }
  
  .openMenu .lesson-map-wrapper {
    display: none;
  }
  .desktop{
    display: none;
  }
  #login{
    flex-direction: column;
    gap: 40px;
  }
  #intro-profile:before {
    right: 4px;
  }
  .check-remember label{
    align-items: center;
  }
  
  .gems-and-progress {
    position: absolute;
    bottom: 100%;
    border: unset;
    width: 100vw;
    border-radius: unset;
    background: inherit;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  
  .try-again-footer{
    position: absolute;
    bottom: 100%;
    border: unset;
    width: 100vw;
    border-radius: unset;
    background: inherit;
    justify-content: start;
  }
  
  .gems-word {
    width: 100%;
    gap: 4px;
  }
  
  #affirmative-word {
    margin-right: auto;
  }

  .gems-word span,
  .try-again-footer span {
    font-size: 16px;
  }
  .progress-word {
    font-size: 14px;
  }

  #left-progress {
    /*margin-left: calc(2.5vw + 16px);*/
    margin-left: 20px;
  }
  
  .modal-half-progress {
    width: 100%;
    margin: 16px;
  }
  
  .modal-half-progress h2 {
    font-size: 18px;
    padding-bottom: unset;
    margin-bottom: 8px;
    border-bottom: unset;
  }

  .content-drag-dialog {
    min-height: 30px;
  }
  .arrange-sentence{
	  width:100%;
	  height:100%;
  }
  .main-content-wrap {
	padding: 0;
	}
  
	.main-content-wrap.quiz-complete-story,
	.main-content-wrap.quiz-spelling,
	.main-content-wrap.quiz-writing-with-image,
	.main-content-wrap.quiz-writing-with-sound,
	.main-content-wrap.quiz-arrange {
		height: calc(100dvh - 128px - var(--vh-offset, 0px)) !important;
	}
	.dragCard,
	.dropCard{
		height: 125px !important;
	}
	.dropCard .img-name{
		bottom: -138px !important;
		font-size:12px !important;
	}
	.dragCard img {
        width: 140px !important;
    }
	.question-total{
		font-size: 16px !important;
	}
	.lock-modal{
		margin-left:auto;
		margin-right:auto;
	}
	.text-starting{
		width:unset;
		height:unset;
		aspect-ratio:1 /1;
	}
	#timerCountDown h5, .starting-circle .text-starting{
		font-size:18px;
		padding:28px;
	}
}

@media (max-width: 580px){
  .modal-topic-opening h2{
    padding:12px 40px 12px 16px;
  }
  .welcome-message{
    width: 90%;
  }
	.semester-option h2{
		max-width:180px;
		font-size: 14px !important;
	}
	#topic-text {
		max-width:180px;
		font-size: 14px;
	}
  .topic-card.locked .topic-name span:before{
    background-size:5vw;
  }
  .title-review{
    font-size: 14px !important;
  }
	.quiz-practice .pretest-card{
		margin:20px auto 1vh;
	}
	.footer-navigation button{
		font-size: 13px !important;
	}
  .chat-text.incorrect .drop-text-dialog:after, 
  .complete-story-text .correct .drop-text-dialog:after, 
  .complete-story-text .incorrect .drop-text-dialog:after,
  .correct-complete-story:after{
    top:3px;
  }
  .intro-topics #intro-topics:after{
    left:40%;
  }
  .intro-topics-lock #intro-topics-lock {
    top: 450px;
    left: 1.5%;
  }
  .intro-topics #intro-topics{
    top: 278px !important;
    left:4px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {


  .flip-listen-audio img{
    width: 1.5vh;
  }
    .flip-card-wrap{
      max-width: 95vw;
      flex-wrap: wrap;
    }
  .flip-card{
      max-width: unset;
      width: 46%;
  }
  .flip-card-image{
    min-height: 24vh;
    max-height: 24vh;
  }
  .flip-click img{
    width: 2.5vw;
  }
  .flip-click,
  .flip-card-front .image-name{
    font-size:2vw;
  }
	.left-text, .modal-topic-opening .btn-modal-card, 
	.modal-topic-opening .btn-modal-wrap,
	.btn-exit, .nav-list li,
	.nav-list li a,
	#btn-level p, .select-level-wrapper .language-item li,
	.elementary-level .gems-card .gems-number, .gems-card .gems-number{
		font-size:16px;
	}
	.planet{
		width:140px;
	}
	.course-planet-wrap, .planet-wrap{
		top:124px;
		width:440px; 
		gap: 104px;
	}
	.change-profile-modal,
	.modal-video-instruction, .modal-gems,
	.forgot-card, .login-card,
	.teacher-notif-content, .modal-dialog, .modal-default{
		width:400px;
	}
	.left-text ul li, 
	.default-modal-card ul li{
		background-position: left 6px;

	}
	.avatar-chat-box{
		flex-basis: 66px;
	}
	.chat-text{
		padding: 1vh 0.8vw;
	}
	#list-drag-complete-dialogue .dragList {
        min-height: 6.4vh !important;
    }
	.nav-list li a{
		padding:10px;
	}
	.planet-wrap {
        height: 1546px !important;
    }
	.lesson-map-wrapper label{
		font-size:18px;
	}
	.drop-text-dialog .content-drag-dialog{
		  min-height:26px;
	  }
	.navigation-top img {
        max-width: 5vw;
    }
	.select-level-wrapper .language-item.show{
		    top: 48px;
	}
    
    #title-complete-story,
    .complete-story-text .drop-text-dialog:before,
    .complete-story .dragList:before,
    .complete-story-text,
    .dialogue-drag h2,
	.content-drag .text-drag {
	font-size: 16px;
	}
    
    .complete-story {
      height: calc(100% - 50px);
    }
    .complete-story-text .scrollbar {
      max-height: 30vh !important;
    }
    
	.quiz-dialogue-complete .dialogue-wrap .inside {
	height: 36dvh;
	}
	.video-progress {
	width: 370px !important;
	}
	.earned-gems {
	min-height: 304px;
	}
	.earned-gems .gems-number .gems-ttl {
	right: 50%;
	top: 12vh;
	width: 100px;
	margin-right: -50px;
	}
	.drag-arrange-sentence-text, .arrange-sentence .drag-spelling-text{
		font-size:16px;
		padding:0 2vw;
		white-space: nowrap;
	}
	.drag-spelling-text{
		font-size: 24px; 
	}/* 
	.course-planet-wrap{
		width:400px !important;
		height: 717px;
	}
	.level-planet{
		width:160px;
	} */
	.bg-course-page{
		/*height: 100dvh;*/
        /*transition: height 250ms 600s;*/
    }
	.dialogue-wrap{
		height:auto;
	}
	.quiz-complete-story .dialogue-wrap,
	.quiz-complete-story .dialogue-drag{
		height: 50%;
	}
	.level-planet{
		width:140px;
	}
	.course-planet-wrap{
		top: 124px;
		height: 638px;
		width: 440px !important;
		gap: 74px;
	}
	.level-planet{
		gap: 18px;
	}
	.level-label, .label-level{
		font-size:16px !important;
		height:38px;
	}
	.level-planet img{
		margin:unset;
	}
	#elementary-chapter .topic-circle {
        width: 11vh;
        height: 11vh;
    }
	.topics-route{
		gap:20px;
	}
	.gems-and-progress{
		flex: unset;
		width: 100%;
	}
	.gems-word span{
		font-size: 2vw;
	}
	.card-quiz{
		height: unset !important;
		width: 47% !important;
		margin-bottom:12px;
	}
    .quiz-img-sound.card-quiz{
      width: 96% !important;
    }
	.quiz-image-sound .main-quiz-wrap {
        flex-wrap: wrap;
    }
	.name-img{
		border-radius:12px 12px 0 0;
		font-size:2.2vw !important;
	}
	.action-quiz .btn-audio-listen{
		font-size:2.2vw !important;
	}
	.action-quiz{
		border-radius:0 0 12px 12px;
	}
	.quiz-image-sound .container{
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.number-question{
		font-size:24px !important;
	}
	.btn-audio-listen img{
		width: 2.4vw !important;
		margin-right:6px;
	}
	.scroll-wrapper > .scroll-content{
		height:auto !important;
	}
	.sentence-text{
		font-size:17px;
	}
}
@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
  .playPause{
    /*box-sizing: content-box;*/
    padding: 0;
  }
}
@media only screen and (max-width: 375px) {
  .semester-option a{
    white-space: nowrap;
  }
  .nav-top-bar{
    padding:0 8px;
    grid-template-columns: 1fr 1.5fr 1fr !important;
  }
}
@media only screen and (max-width: 360px) {}
@media only screen and (max-width: 320px) {
  .logo-login img {
    width: 40px;
  }
  .login-card {
    padding: 12px 14px 30px;
  }
  .login-card h3 {
    font-size: 16px;
  }
  .login-card h3 img {
    width: 18px;
  }
  .btn-faq{
    height:34px;
  }
  .language{
    padding: 7px 12px;
  }
  .login-form .form-control{
    padding: 11px 10px;
  }
  #btn-level {
    padding: 2px 8px;
    border-radius: 4px;
  }
  .select-level-wrapper .language-item.show{
    top:40px;
    width: 100%;
    gap:0;
  }
  .select-level-wrapper .language-item .locked::after{
    width: 12px;
    height: 12px;
  }
  .lesson-map-wrapper{
    padding: 6px 8px;
  }
  .select-level-wrapper .language-item li{
    padding: 8px;
  }
  .center-dialogue{
    margin:0 auto 0;
    gap: 4px;
  }
  .dragList{
    margin:0 !important;
    
  }
  .content-drag-dialog{
    border-radius: 6px;
  }
  #list-drag-complete-dialogue{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
/*  .content-drag .text-drag {
    line-height: 12px;
  }*/
  .chat-text{
    padding: 1vh 3vw;
  }
  .drop-text-dialog{
    min-width: 150px !important;
  }
  .coloring-board{
    top:-30px;
  }
  .coloring-board .img-board-bg{
    height: 300px;
  }
  .target-coloring-wrap{
    margin-top: 0 !important;
    height: 140px;
  }
  .coloring-board .board-content {
    font-size: 12px !important;
    top: 12vh !important;
  }
  .coloring-pallet{
    margin:0 !important;
    justify-content: center;
    top: -10px;
    position: relative;
  }
  .paint-pallet-option{
    top: -5px !important;
  }
  .bg-paint-pallet{
    padding-left: 0;
  }
  .conversation-text .scrollbar-dynamic {
    max-height: 27vh !important;
  }
  .content-drag-dialog{
    width: 100%;
  }
  .semester-option a, .semester-option button{
    font-size: .7rem !important;
  }
  .path-wrapper{
    width: 300px !important;
  }

  #topic-text {
    font-size: 10px !important;
    max-width: 110px;
  }
}
@media only screen and (max-width: 400px) {
  #topic-text {
    font-size: 12px;
  }
}