﻿@media (max-width: 600px) {
    .welcome-message{
        width: 85%;
    }
    .name-img .name-img-label{
        max-height: 34px;
    }
    .flip-card:last-child{
        margin-bottom:60px;
    }
    .sound-onboard {
        max-width: 20px;
        max-height: 20px;
    }

    .text-intro strong {
        margin-bottom: 0;
    }

    .profile-content {
        flex-direction: column;
        padding-bottom: 12px;
    }

    .current-profile, .choose-profile {
        width: 100%;
        padding: 4vw;
    }

    .current-profile .galaxy-gems {
        padding: 6px 12px;
    }

    .photo-profile img {
        width: 22vw;
    }

    .choose-profile-img img {
        width: 15vw;
    }

    .choose-profile-list {
        align-items: baseline;
    }

    /*.whatsapp {
        display: none;
    }*/

    .profile-language {
        padding: 6px 12px;
        gap: 12px;
    }

    .language-wrap {
        width: fit-content;
        margin-left: 0px;
    }

    .language-wrap .language {
        width: 42vw;
    }

    #profile-wrap .language-wrap {
        margin-left: 0;
        width: fit-content !important;
    }

    .btn-tutorial {
        width: 29vw;
    }

    .choose-profile-img strong {
        font-size: 12px;
        font-weight: 500;
    }

    .choose-profile-img.select .inside:before {
        width: 16px;
        height: 16px;
    }

    .language-wrap ul {
        top: 15%;
    }
    .content-insight{
        font-size:14px;
    }
    .nav-top-bar .save-profile {
        height: 28px;
        border-width: 2px;
        padding: 5px 16px;
        font-size: 12px;
    }

    .semester-option {
        font-size: 14px;
    }

    .btn-back-arr img {
        width: 32px;
    }

    .btn-back-arr {
        position: unset;
    }

    .nav-top-bar {
        align-items: center;
        display: grid;
        grid-template-columns: 1fr 1.8fr 1fr;
    }

    .nav-top-bar div:last-child {
        display: flex;
        justify-content: end;
    }

    #overlayOver, #overlay {
        z-index: 9;
    }

     #intro-gems {
        left: -120%;
        width: 71vw !important;
    }

    .elementary-level #intro-planets {
        /*left: 10vw;*/
        /*top: 50vh;*/
    }


    /*Image with sound*/

    #section-image-with-sound{
        height: calc(100% - 128px);
        position: fixed;
    }
    .quiz-image-sound {
        height: calc(100% - 128px) !important;
        padding: 0 !important;
    }
    .quiz-image-sound .container{
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    .quiz-image-sound .main-quiz-wrap {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 16px;
        gap: 10px;
    }

    .quiz-image-sound .main-quiz-wrap .quiz-img-sound {
        width: 100% !important;
        border-width: 2px;
        height: auto !important;
        border-radius: 16px;
        margin: 0;
    }

    .quiz-image-sound .main-quiz-wrap .quiz-img-sound .name-img {
        padding: 8px 4px;
        text-align: center;
        align-items: center;
        font-size: 12px !important;
        font-weight: 600;
        border-radius: 16px 16px 0 0;
    }

    .quiz-image-sound .main-quiz-wrap .quiz-img-sound .action-quiz {
        border-radius: 0 0 16px 16px;
        padding: 8px;
        text-align: center;
        align-items: center;
    }

    .quiz-image-sound .main-quiz-wrap .quiz-img-sound .action-quiz .btn-audio-listen {
        font-size: 12px !important;
        font-weight: 600;
    }

    .quiz-image-sound .main-quiz-wrap .quiz-img-sound .action-quiz .btn-audio-listen img, 
    .quiz-image-sound .main-quiz-wrap .quiz-img-sound .action-quiz svg {
        width: 16px !important;
    }

    .main-content-topics {
        min-height: 85vh;
    }

    .choose-grade-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .no-selected-grade-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-select-grade-container {
        width: 100%;
    }

    .dropdown-select-grade {
        width: 100%;
    }

    .grid-page-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .btn-books {
        height: fit-content;
        width: fit-content;
        padding: 4px 8px;
        min-height: 0;
    }

    .modal-books-container {
        width: 90%;
    }

    .grid-page-container.small {
        grid-template-columns: 1fr;
    }

    .hide-mobile {
        display: none;
    }

    .btn-select-page img {
        margin-left: 0;
        width: 20px;
        height: 20px;
    }

    .btn-select-page {
        padding: 0;
        border-radius: 100%;
        justify-content: center;
    }

    .modal-book-header-choose {
        width: 35%;
    }

    .modal-book-header {
        padding: 12px;
    }

    #btn-explore-more {
        padding: 10px 12px;
    }

    .modal-book-header #btn-explore-more {
        right: 12px;
    }

    .book-text {
        font-size: 14px;
        align-self: center;
        justify-self: center;
    }

    .show-mobile {
        display: block;
    }

    .choose-grade-wrapper {
        padding: 12px;
    }

    .btn-select-page.active img {
        content: url(../images/assets/chevron_up.png);
    }

    #intro-alphabet:before {
        content: "";
        position: absolute;
        top: -14px;
        left: 45%;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 8px 14px 8px;
        border-color: transparent transparent #6F42C1 transparent;
    }
    
    .text-color-popover-basic strong{
        color:#6F42C1;
    }
    .text-color-popover-basic p{
        color: #616161;
        font-size: 2.12vh;
        font-weight: 500;
        word-wrap: break-word;
        padding-right: 24px;
    }

    #elementary-chapter.intro-semester #intro-semester{
        left: 47vw;
    }
    #elementary-chapter.intro-topics #intro-topics{
        left: 53vw;
    }
    #elementary-chapter.intro-topics-lock #intro-topics-lock{
        top: 12vh;
        left: 48vw;
    }
    #elementary-chapter #intro-topics-lock:after{
        right: 45%;
    }
    #chapter-wrap .nav-top-bar{
        grid-template-columns: 1fr 6fr 1fr;
    }
    .close-instruction button{
        background: transparent;
    }
    .btn-audio-listen{
        color: #000000;
    }

    /*.login-code, .forgot-password, .login-form .form-control input{
        height: 1.5rem;
    }*/
    
    .quiz-spelling{
        height: calc(100dvh - 128px) !important;
    }
    .btn-next-instruction{
        font-size: 14px;
        height: 34px;
    }
}

@media (max-width: 320px) {
    #intro-gems {
        width: 91vw !important;
    }
}