.header-wrapper {
    height: var(--header-height);
    background-color: #fff;
    padding: 0 20px;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
}

.header {
    height: 100%;
}

.navbar {
    display: flex;
    height: 100%;

    /* justify-content: space-between; */
    align-items: center;
}

.header__logo {
    padding-right: 20px;
}

.header__logo-img {
    max-height: 40px;
}

.wrap-right-header {
    display: flex;
    align-items: center;
    flex: 1;
}

.menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.menu__list {
    display: flex;
    align-items: center;
    flex: 1;
    /* justify-content: space-around; */
}

.menu__item {
    margin-left: 20px;
    
}

.menu__link {
    padding: 25px 0;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.6rem;
    display: block;
    transition: 0.4s ease;
    border-bottom: 2px solid transparent;
}

.menu__link:hover {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.select-language {
    padding: 5px;
    position: relative;
}

.select-language-img {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.select-options--show {
    display: flex!important;
}

.select-options {
    position: absolute;
    top: calc(100% - 5px);
    right: 0;
    width: 16rem;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
    display: none;
    border-radius: 4px;
    flex-direction: column;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #eee;
    z-index: 100;
}

.select__item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
}

.select-language-name {
    margin-left: 5px;
}

.menu-user {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.header-notify {
    position: relative;
}

.header-notify__icon {
    /* padding: 11px; */
    font-size: 28px;
    position: relative;
    top: 2px;
    cursor: pointer;
    margin-left: 12px;
    transition: 0.4s ease;
}

.header-notify__icon:hover {
    color: var(--primary-color);
}

.notify-container--show {
    display: block!important;
}

.notify-container {
    width: 43rem;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);  
    position: absolute;
    top: 150%;
    right: 0;
    background-color: #fff;
    display: none;
    z-index: 10;

}



.notify__heading {
    height: 3.5rem;
    padding: 8px 12px;
}

.notify__footer {
    min-height: 3rem;
    text-align: center;
    border-top: 1px solid #eee;
    padding: 5px 0;
}

.notify__footer p {
    padding: 3px;
    cursor: pointer;
}

.notify__footer p:hover {
    color: var(--primary-color);
}

.header-profile {
    position: relative;
}

.profile-container--show {
    display: block!important;
}

.profile-container {
    position: absolute;
    top: 100%;
    right: 0;
    width: 22rem;
    border-top: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);  
    background-color: #fff;
    z-index: 10;
    display: none;
}

.header-profile__img {
    padding: 8px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    margin-left: 12px;
}

.profile__item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.profile__link {
    padding: 6px 20px;
    display: block;
    color: #333;
}

.profile__link:hover {
    background-color: #f5f5f5;
    color: #262626;
}



.wrap-block-user {
    padding: 3rem 0;
    background: #1e2a55;
    color: #fff;
}

.welcome-user {
    font-size: 1.8rem;
    line-height: 4rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.user-email {
    color: var(--important-color);
    font-weight: 600;
    font-size: 1.8rem;
}

.welcome-user button {
    border: none;
    outline: none;
    background-color: var(--important-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.welcome-user button:hover {
    color: var(--important-color);
    background-color: #fff;
}

.main-user-info {
    background: #35416e  url(../img/bg-user-info.png) top left no-repeat;
    padding: 15px 20px 20px;
    border-radius: 4px;
}

.header-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.user-avatar {
    width: 85px;
    height: 100px;
    position: relative;
    padding-bottom: 15px;
}

.user-img {
    width: 75px;
    height: 75px;
    /* border-radius: 50%; */
    margin: 3px 5px;
}

.level-img {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}


.user-name {
    width: calc(100% - 85px);
    padding-left: 15px;
    
}

.user-name h3 {
    font-size: 2.6rem;
    margin: 0 0 5px 0;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 3rem;
}

.user-exp {
    width: calc(100% - 3.5rem);
    font-size: 1.8rem;
    color: #f6ff00;
    display: inline-block;
    line-height: 3rem;
    position: relative;
    top: -20px;
}

.user-level {
    width: 30px;
    display: inline-block;

}

.user-progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 10px;
    background: rgba(77,150,255,.2);
    margin-bottom: 12px;
    position: relative;
}

.current-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 7px;
    height: 100%;
    width: 99%;
    background: linear-gradient(270deg,#079cd0 0%,#29ee48 100%);
}

.level-progress-bar {
    display: flex;
    justify-content: space-between;
}

.level-progress-bar span {
    font-size: 15px;
    font-weight: 600;
}

.detail-progress-item h4 {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.detail-progress-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-progress-content .result {
    font-size: 3.2rem;
    color: #f6ff00;
    font-weight: 700;
    line-height: 4rem;
    margin-bottom: 4px;
    display: inline-block;
} 

.detail-progress-bar {
    width: 100%;
    height: 0.5rem;
    border-radius: 7px;
    background-color: #dbeaff;
    position: relative;
}

.current-detail-progress-bar {
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: 7px;
    background: linear-gradient(270deg,#fbc226, #70c80a);
}

.reward-block {
    padding-top: 36px;
}

.reward-heading {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
}

.reward-heading i {
    font-size: 2rem;
}

.rewards-list {
    display: flex;
    margin-top: 24px;
}

.reward-item {
    width: 50px;
    height: 50px;
    margin-right: 12px;
}

.reward-img {
    background-image: url('../../assets/img/sprites150.png');
    width: 100%;
    height: 100%;
    /* background-position: -150px 0px; */
    background-size: 250px 348px;
    background-repeat: no-repeat;
}
/* ================================CONTAINER================================= */
.app__content {
}

.container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.container__heading {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.wrapper-tab-control {
    display: flex; 
    justify-content: space-between;
}

.tab-control {
    display: flex;
}

.tab-control-item.active {
    color: var(--primary-color);
}

.tab-control-item {
    color: #65656d;
    line-height: 2rem;
}

.tab-control-item.active::after {
    width: 50px;
}   

.btn-see-more {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    float: right;
}

.btn-see-more:hover {
    color: var(--primary-color);
}

.tab-control-item {
    font-size: 18px;
    font-weight: 600;
    margin-right: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-control-item:after {
    content: " ";
    position: absolute;
    width: 0%;
    height: 3px;
    top: 150%;
    left: 0;
    border-radius: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

.tab-control-item:hover {
    color: var(--primary-color);
}

.tab-control-item:hover:after {
    width: 50px;
}

.wrapper-courses {
    margin-top: 50px;
}

.card{
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 35px;
}

.card:hover {
    box-shadow: 0 2px 30px 0 rgb(0 0 0 / 20%);
    transform: translateY(-5px);
}

.course-thumb {
    position: relative;
}

.badge {
    position: absolute;
    width: 80px;
    height: 80px;
    overflow: hidden;
    top: -5px;
    left: -5px;
}

.badge .badge--hot {
    background: #e8505b !important;  
}

.badge .badge--trend {
    background: #77c148 !important;  
    
}

.badge span {
    position: absolute;
    top: 24%;
    left: -27%;
    width: 100px;
    background-color: var(--primary-color);
    display: block;
    text-align: center;
    font-size: 10px;
    padding: 2px 0;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    transform: rotate(-45deg);
}

.badge--hot:after, .badge--hot:before {
    border-color: transparent #e8505b #e8505b  transparent !important;
}

.badge--trend:after, .badge--trend:before {
    border-color: transparent #77c148 #77c148  transparent !important;
}

.badge:after {
    content: "";
    position: absolute;
    border-width: 10px;
    border-style: solid;
    border-color: transparent var(--primary-color) var(--primary-color)  transparent;
    right: 9px;
    top: 0;
    filter: brightness(70%);
    z-index: -1;
}

.badge:before {
    content: "";
    position: absolute;
    border-width: 10px;
    border-style: solid;
    border-color: transparent var(--primary-color) var(--primary-color)  transparent;
    left: -1px;
    bottom: 8px;
    filter: brightness(70%);
    z-index: -1;
}

.card-img {
    width: 100%;
    display: block;
    border-radius: 3px 3px 0 0;
}

.courses-content {
    padding: 12px;
    background-color: #fff;
    border-radius: 0 0 3px 3px;
}

.courses-heading {
    font-size: 1.8rem;
    color: var(--text-color);
    padding: 10px 0;
    transition: all 0.3s;
}

.courses-heading:hover {
    color: var(--primary-color);
}

.courses-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 2rem;
}

.courses-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    
}

.lession-count i,
.lession-time i {
    margin-right: 4px;
}

.btn-learn {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--primary-color);
    background-color: #fff;
    transition: all 0.3s;
}

.btn-learn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ================================Code Fight================================= */
.code-fight-content {
    padding: 16px 12px;
}

.code-fight-heading {
    color: var(--text-color);
    font-size: 2.6rem;
    line-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;

}

.code-fight-desc {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 12px;
}

.code-fight-info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    font-size: 15px;
}

.code-fight-info-left span {
    color: #e8505b;
    font-size: 24px;
}

.code-fight-status {
    font-weight: 600;
    margin-top: 8px;
}

.code-fight-info-right p {
    font-size: 15px;
    font-weight: 600;
}

.code-fight-info-right p:hover {
    color: var(--primary-color);
}

/* ================================Code Train================================= */
.wrapper-code-train {
    padding: 50px 30px;
    border: 1px solid #eee;
    border-radius: 4px;
    height: 100%;
}

.code-train-easy,
.code-train-medium {
    padding: 20px;
    border: 1px dashed #d4d5dd;
}

.code-train-quantity {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;

}

.code-train-easy .code-train-quantity{
    color: #7bc043;
}

.code-train-medium .code-train-quantity{
    color: #faa05e;
}

.code-train-level {
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
}

.code-train-card {
    background-color: #fff;
    padding: 30px 8px 0 8px;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.code-train-name {
    margin-bottom: 35px;
    font-size: 22px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    width: 100%;
    text-align: center;
}

.code-train-btn {
    padding: 4px 8px;
    margin-bottom: 35px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
}   

.code-train-btn--easy {
    background-color: #7bc043;
}

.code-train-btn--medium {
    background-color: #faa05e;
}

.list-tags {
    margin-bottom: 35px;
}

.list-tags ul {
    display: flex;
}

.tag-item {
    padding: 3px 6px;
    font-size: 12px;
    background: #f5f6f7;
    color: var(--text-color);
    margin-left: 8px;
}

.code-train-info {
    display: flex;
    justify-content: space-between;
    background: #f5f6f7;
    padding: 4px 8px;
}

.code-train-info-right i,
.code-train-info-left i {
    margin-right: 4px;
}

.code-train-info-left span,
.code-train-info-right span{
    font-size: 12px;
    color: #65656d;
}

/* ================================Code Blog================================= */

.wrapper-code-blog {
    padding: 0 16px 0;
    height: 100%;
}

.blog-item {
    display: flex;
    padding: 20px 0;
    height: calc(100% / 3);
    border-bottom: 1px solid #eee;
}

.list-blogs {
    height: 100%;
}

.blog-item-left {
    flex-basis: 130px;
    position: relative;
}

.blog-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.blog-item-right {
    flex: 1;
    margin: 8px;
}

.blog-title {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.blog-rate {
    margin-bottom: 8px;
}

.blog-rate i {
    color: #f9bf08;
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
}

.blog-desc {
    line-height: 20px;
    font-size: 16px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ================================Code skill================================= */

.wrapper-code-skill {
    padding: 25px; 
}

.list-skills {
    display: flex;
    flex-wrap: wrap;
}

.skill-item {
    display: flex;
    align-items: center;
    width: 28%;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skill-item:not(:nth-child(3n+3)) {
    margin-right: 8%;
}

.skill-item-left {
    display: flex;
    align-items: center;
}

.skill-img {
    width: 28px;
    margin-right: 12px;
}

.skill-name {
    
}

.skill-rate i {
    color: #fbc226;
    display: inline-block;
    font-size: 16px;
}

.skill-rate--silver {
    color: #c8c8c8!important;

}

/* ================================Code Activity================================= */
.wrapper-code-activity {
    padding: 20px 15px;
}

.activity-chart {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #cfd0dd;
}

table {
    width: 100%;
}

.chart-item-heading {
    padding: 5px;
}

.chart-item {
    padding: 3px;
}

.chart-item-data {
    width: 100%;
    height: 22px;
    border-radius: 4px;
    background-color: #e9eafa;
    line-height: 22px;
    color: var(--text-color);
}

.activity-level {
    padding-top: 12px;
}

.activity-level-text {
    font: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.activity-lv {
    width: 24px;
    height: 16px;
    display: inline-block;
    margin-left: 8px;
    border-radius: 4px;
}

.lv-1 {
    background-color: #e9eafa;
}

.lv-2 {
    background-color: #83a9e1;
}

.lv-3 {
    background-color: #6e94dc;
}

.lv-4 {
    background-color: #587fd8;
}

/* ======================footer======================= */
.footer {
    padding-top: 30px;
    border-top: 1px solid #ccc;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 185px;
}

.footer-desc {
    padding-right: 20%;
    margin-bottom: 12px;
}

.footer-desc p {
    line-height: 18px;
}

.footer-icon {
    padding: 0 4px;
    margin-right: 8px;
    background-color: #d4d5dd;
    display: inline-block;
    border-radius: 4px;
}

.footer-icon:hover {
    filter: grayscale(20%);
    cursor: pointer;
}

.footer-icon i {
    font-size: 21px;
    line-height: 28px;
    color: #fff;
}

.footer-icon--fb {
    background-color: #37599e;
}

.footer-icon--ytb {
    background-color: #b21010;
}

.footer-icon--ins {
    background-color: #bf1b8f;
}

.footer-icon--tw {
    background-color: #00a2f9;
}

.footer-heading {
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 20px;
    margin-bottom: 16px;
}

.footer-link {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--text-color);
}

.footer-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 30px;
    justify-content: center;
    background-color: #1c1d31;
    padding: 10px 15px;
    color: #fff;
}

.powerby img {
    margin-right: 16px;
}

.powerby a {
    color: #fff;
}

.powerby a:hover {
    text-decoration: underline;

}

/* ===============================Menu on mobile tablet==================================== */
.toggle-on-tablet-mobile {
    height: 24px;
    width: 24px;
    cursor: pointer;
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    margin-left: 6px;
}

.toggle-on-tablet-mobile:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #3b3c54;
    transform: translateY(7px);
    box-shadow: 0 -7px #3b3c54;
    transition: 0.5s;
}

.toggle-on-tablet-mobile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #3b3c54;
    transform: translateY(-7px);
    transition: 0.5s;
}

.toggle-on-tablet-mobile.active::after {
    transform: translateY(0) rotate(45deg);
    box-shadow: none;

}

.toggle-on-tablet-mobile.active::before {
    transform: translateY(0) rotate(-45deg);
    box-shadow: 0 0 0 #fff;
}
 
.modal-menu--show .overlay {
    opacity: 0.6;
    visibility: visible;
}

.modal-menu--show .site-menu {
    transform: translateX(0);
}

.modal-menu {
    z-index: 1000;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all ease-in 0.5s;
    visibility: hidden;
}

.site-menu {
    position: fixed;
    width: 360px;
    transform: translateX(-360px);
    max-width: calc(100% - 50px);
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #fff;
    padding: 16px 12px;
    transition: all ease-in 0.5s;
}

.menu-main li a {
    padding: 15px;
    font-size: 1.8rem;
    display: block;
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.menu-main li a:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    padding: 15px;
    display: flex;
    align-items: center;
}

.changelang {
    display: flex;
    align-items: center;
    flex-basis: 50%;
    cursor: pointer;
}

.changelang-img {
    width: 25px;
    height: 25px;
    display: block;
    margin-right: 12px;
}

.language-name {
    font-size: 18px;
    font-weight: 600;
}


.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
}