@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@font-face {
    font-family: UCMAS;
    src: url(font/ucmaskgfont_3.ttf);
  }
:root {
    --main-color: #12192c;
    --color-dark: #1D2231;
    --text-grey: #8390A2;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    
}
body{
    font-family: 'Poppins', sans-serif;
}

.sidebar{
    width: 345px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to top left, #018dd4 0%, #6a0dad 100%);
    z-index: 100;
    transition: width 300ms;
}

.sidebar-brand{
    height: 90px;
    padding:  1rem 0rem 1rem 2rem;
    color: #fff;
}

.sidebar-brand span{
    display: inline-block;
    padding-right: 1rem;
}

.sidebar-menu{
    margin-top: 1rem;
}
.sidebar-menu li{
    width: 100%;
    margin-bottom: 1.7rem;
    padding-left: 1rem;
}

.sidebar-menu a{
    padding-left: 1rem;
    display: block;
    color: #fff;
    font-size: 1.1rem;
}

.sidebar-menu a.active{
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: var(--main-color);
    border-radius: 30px 0px 0px 30px;

}

.sidebar-menu a:hover{
    background: #fff;
    padding-top: .1rem;
    padding-bottom: .1rem;
    color: var(--main-color);
    border-radius: 30px 0px 0px 30px;

}

.sidebar-menu a.active:hover{
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: var(--main-color);
    border-radius: 30px 0px 0px 30px;
}

.sidebar-menu a span:first-child{
    font-size: 1.5rem;
    padding-right: 1rem;
}

#nav-toggle:checked + .sidebar{
    width: 70px;
}


#nav-toggle:checked + .sidebar .sidebar-brand,
#nav-toggle:checked + .sidebar li{
    padding-left: 1rem;
    text-align: center;
}

#nav-toggle:checked + .sidebar li a{
    padding-left: 0rem;
}

#nav-toggle:checked + .sidebar .sidebar-brand h2 span:last-child,
#nav-toggle:checked + .sidebar li a span:last-child{
    display: none;
}

#nav-toggle:checked ~ .main-content{
    margin-left: 70px;
}

#nav-toggle:checked ~ .main-content header{
    width: calc(100% - 70px);
    left: 70px;
}

.main-content{
    /*transition: margin-left 300ms;
    margin-left: 345px;*/
}

header{
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    left: 345px;
    width: calc(100% - 345px);
    top: 0;
    z-index: 100;
    transition: left 300ms;
}

#nav-toggle{
    display: none;
}

header h2{
    color: #222;
}

header label span{
    font-size: 1.7rem;
    padding-right: 1rem;
    cursor: pointer;
}

.search-wrapper{
    border: 1px solid #ccc;
    border-radius: 30px;
    height: 50px;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    display: none;
}

.search-wrapper span{
    display: inline-block;
    padding: 0rem 1rem;
    font-size: 1.5rem;
}

.search-wrapper input{
    height: 100%;
    padding: .5rem;
    border: none;
    outline: none;
}

.user-wrapper{
    display: flex;
    align-items: center;
}

.user-wrapper img{
    border-radius: 50%;
    margin-right: 1rem;
}

.user-wrapper small{
    display: inline-block;
    color: var(--text-grey);   
}

main{
    margin-top: 70px;
    padding:2rem 1.5rem;
    background: linear-gradient(to top right, #018dd4 0%, #6a0dad 100%);
}

.main{
    font-family: UCMAS !important;
    padding:2rem 1.5rem;
    background: linear-gradient(to top right, #018dd4 0%, #6a0dad 100%);
}

.card-question{
    background: #fff;
    border-radius: 5px;
    min-height: calc(100vh - 150px);
    }

.cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    margin-top: 1rem;
}

.card-single{
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 2rem;
    border-radius: 2px;
}

.card-single div:last-child span{
    font-size: 3rem;
    color: var(--main-color);
}

.card-single div:first-child span{
    color: var(--text-grey);
}

.card-single:last-child{
    background: var(--main-color);
}
.card-single:last-child h1,
.card-single:last-child div:first-child span,
.card-single:last-child div:last-child span{
    color: #fff;
}

/*level*/
.cards-level{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    margin-top: 1rem;
}

.card-single-level{
    display: inline-block;
    justify-content: center;
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 2px;
}

.card-single-level button{
    background: linear-gradient(to top right, #018dd4 0%, #6a0dad 100%);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
}

hr{
  margin-bottom: 1rem;
  border: 1px solid rgb(247, 247, 247);
}

.card-single-level div span:first-child{
    font-size: 3rem;
    color: var(--main-color);
}
.card-single-level div span:last-child{
    color: var(--text-grey);
}


/*lesson*/
.cards-lesson{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 2rem;
    margin-top: 1rem;
}

.card-single-lesson{
    display: inline-block;
    justify-content: center;
    text-align: center;
    background: #fff;
    padding: 1rem;
    border-radius: 20px;
}

.card-single-lesson button{
    background: linear-gradient(to top right, #018dd4 0%, #6a0dad 100%);;
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
}

hr{
  margin-bottom: 1rem;
  border: 1px solid rgb(247, 247, 247);
}

.card-single-lesson div span:first-child{
    font-size: 3rem;
    color: var(--main-color);
}
.card-single-lesson div span:last-child{
    color: var(--text-grey);
}


.recent-grid{
    margin-top: 3.5rem;
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: 100%;
}

.card{
background: #fff;
border-radius: 5px;
}

.card-header{
    padding:1rem;
}

.card-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.card-header button{
    background: linear-gradient(to top right, #0000FF 0%, #33335a 100%);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    font-weight: bold;
    padding: .5rem 1rem;
    /*border: 1px solid var(--main-color);*/
}

.lesson td{
    border-left: 1px solid #f0f0f0;
}

.lesson tfoot tr{
    border-top: 1px solid #f0f0f0;
    border-bottom: 10px solid #fff;
    font-weight: 700;
}

.lesson tbody tr:hover{
    background: none;
}

.lesson td button{
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    padding: .3rem .5rem;
    margin-bottom: .2rem;
}

.lesson thead td{
    font-size: 1rem;
}

.set{
    font-size: 3rem;
    padding: 0;
}


table{
    border-collapse: collapse;
    text-align:center;
}

thead tr{
    border-top: 1px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

thead td{
    font-weight: 700;
}

td{
    padding: .5rem 1rem;
    font-size: .9rem;
    color: #222;
}

#main-table1 td{
    padding: .5rem 1rem;
    font-size: 2.9rem;
    color: #222;
}

tbody tr:hover{
    background: #12192c0e;
}

td button{
    background: linear-gradient(to top right, #80ff00 0%, #009688 100%);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    font-weight: bold;
    padding: .5rem 1rem;
}

#main-tabl td button{
    background: linear-gradient(to top right, #018dd4 0%, #6a0dad 100%);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    font-weight: bold;
    padding: .5rem 1rem;
}

/*status.purple{
    background: rebeccapurple;
}

.status.pink{
    background: deeppink;
}

.status.orange{
    background: orangered;
}*/

.table-responsive{
    width: 100%;
    overflow-x: auto;
}

 /*.customer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem .7rem;
}

.info{
    display: flex;
    align-items: center;
}

.info img{
    border-radius: 50%;
    margin-right: 1rem;
}

.info h4{
    font-size: .8rem;
    font-weight: 700;
    color: #222;
}

.info small{
    font-weight: 600;
    color: var(--text-grey);
}

.contact span{
    font-size: 1.2rem;
    display: inline-block;
    margin-left: .5rem;
    color: var(--main-color);
}*/

@media only screen and (max-width: 1200px) {
    .sidebar{
        width: 70px;
    }
    
    .sidebar .sidebar-brand,
    .sidebar li{
        padding-left: 1rem;
        text-align: center;
    }
    
    .sidebar li a{
        padding-left: 0rem;
    }
    
    .sidebar .sidebar-brand h2 span:last-child,
    .sidebar li a span:last-child{
        display: none;
    }
    
   .main-content{
        margin-left: 70px;
    }
    
    .main-content header{
        width: calc(100% - 70px);
        left: 70px;
    }
}

@media only screen and (max-width: 960px){
    .cards{
        grid-template-columns: repeat(3, 1fr);
    }

    .recent-grid{
        grid-template-columns: 100%;
    }
}

@media only screen and (max-width: 768px){
    .cards-level{
        grid-template-columns: repeat(2, 1fr);
    }

    .recent-grid{
        grid-template-columns: 100%;
    }
    .search-wrapper{
        display: none;
    }

    .sidebar{
        left: -100% !important;
    }

    header h2{
        display: flex;
        align-items: center;
    }

    header h2 label{
        display: inline-block;
        text-align: center;
        background: var(--main-color);
        padding-right: 0rem;
        margin-right: 1rem;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header h2 span{
        text-align: center;
        padding-right: 0rem;
    }

    header h2{
        font-size: 1.1rem;
    }

    .main-content{
        width: 100%;
        margin-left: 0rem;
    }

    header{
        width: 100% !important;
        left: 0 !important;
    }

    #nav-toggle:checked + .sidebar{
        left: 0 !important;
        z-index: 100;
        width: 345px;
    }

    #nav-toggle:checked + .sidebar .sidebar-brand,
    #nav-toggle:checked + .sidebar li{
        padding-left: 2rem;
        text-align: left;
    }
    
    #nav-toggle:checked + .sidebar li a{
        padding-left: 1rem;
    }
    
    #nav-toggle:checked + .sidebar .sidebar-brand h2 span:last-child,
    #nav-toggle:checked +  .sidebar li a span:last-child{
        display: inline;
    }

    #nav-toggle:checked ~ .main-content{
        margin-left: 0rem !important;
    }
}

@media only screen and (max-width: 560px){
    .cards-level{
        grid-template-columns: 100%;
    }
}

.main-q {
    margin-top:0;
    font-size: 28px; /* Increased text to enable scrolling */
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    
  }

#visual{
    font-family: UCMAS !important;
    font-size: 5vh;
  }

  .btm {
    display: flex;
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px;
  }

  .btm button{
    background: var(--main-color);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
  }

  .btmm {
    padding: 10px;
  }
  .result {
    padding: 10px;
    font-family: 'Poppins', sans-serif !important;
  }

  .btmm button{
    background: var(--main-color);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    padding: .5rem 1rem;
    margin-top: 1rem;
  }

  .video-js.vjs-fluid,
  .video-js.vjs-16-9,
  .video-js.vjs-4-3,
  video.video-js,
  video.vjs-tech {
    max-height: calc(100vh - 64px);
    position: relative !important;
    width: 100%;
    height: auto !important;
    max-width: 100% !important;
    padding-top: 0 !important;
    line-height: 0;
  }
  
  /* Fix the control bar due to us resetting the line-height on the video-js */
  .vjs-control-bar {
    line-height: 1;
  }

  .play{
    margin-top: 25vh;
  }

  .login{
    display: flex;
    align-items: center;
    justify-content: center;
    padding:2rem 1.5rem;
    background: var(--main-color);
    height: 100vh;
}

.center{
    display: inline-block;
    justify-content: center;
    background: #fff;
    padding: 1rem;
    border-radius: 20px; 
    width: 25%;
    border: 10px solid #fffafc;
}

.login-image,
.login-icon{
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-image img{
    margin-bottom: 1rem;
    width: 30%;
}

.login-icon img{
    margin-top: 1rem;
    width: 70%;
}

.center h2{
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

form .txt_field{
    position: relative;
    border-bottom: 2px solid var(--text-grey);
    margin-top: 2rem;
}

.txt_field input{
    text-align: start;
    width: 100%;
    padding: 0rem 1rem;
    font-size: 1rem;
    height: 50px;
    border: none;
    background: none;
    outline: none;
}
.txt_field label{
    position: absolute;
    top: 50%;
    right: 75%;
    color: var(--text-grey);
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    transition: .5s;
}

.txt_field span::before{
    content: '';
    position: absolute;
    top: 50px;
    left: 0px;
    width: 0%;
    height: 2px;
    background: var(--main-color);
    transition: .5s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
    top: -1px;
    color: var(--main-color);
}

.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
    width: 100%;
}

.pass{
    margin: 15px 0 20px 10px;
    color: var(--text-grey);
    cursor: pointer;
    font-size: .8rem;
}

.pass:hover{
    text-decoration: underline;
    color:var(--main-color)
}

.center input[type="submit"]{
    width:100%;
    background: var(--main-color);
    border: 3px solid;
    border-radius: 25px;
    cursor: pointer;
    color: #fff;
    height: 50px;
    font-size: 1rem;
    margin-top: 1rem;
    outline: none;

}

.center input[type="submit"]:hover{
    border-color: #dd2f6f2a;
}

.signup_link{
    text-align: center;
    margin: 30px 0;
    font-size: 1rem;
    color: var(--text-grey);
}

.signup_link a{
    color: var(--color-dark);
    text-decoration: none;
}

.signup_link a:hover{
    color: var(--main-color);
    text-decoration: underline;
}


.bread{
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  ul.breadcrumb li {
    display: inline;
    font-size: 0.7rem;
  }
  ul.breadcrumb li+li:before {
    padding: 0.3rem;
    color: black;
    content: "/\00a0";
  }
  ul.breadcrumb li a {
    color: #fff;
    text-decoration: none;
  }
  ul.breadcrumb li a:hover {
    color: #fff;
    font-weight: 900;
    text-decoration: underline;
  }

  .bread button{
    background: linear-gradient(to top right, #0000FF 0%, #33335a 100%);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    font-size: .8rem;
    font-weight: bold;
    padding: .5rem 1rem;
    /*border: 1px solid var(--main-color);*/
}

.lesson_demo{
    background: #ed1c24 !important;
}

.div_form{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10rem;
    padding-right: 10rem;
}

.div_form input, select{
    width: 100%;
    font-size: 1rem;
    padding: 12px 20px;
    margin: 8px 0;
    
}
