:root {
    --color-menu: #0F2239;
    --color-theme: #0D5EF4;
    --color-orange: #ffd43b;
    --font-size-first-title: 20px;
    --font-size-2rm: 2rem;
}
ul{
    padding: 0;
    margin: 0;
}
ul li{
    list-style-type: none;
}
body{
    font-size: 18px;
}
h1{
    font-size: 50px;
}
img{
    width: 100%;
    height: auto;
}
h1,h2,h3,h4{
    font-weight: bold;
}

/*Header*/
#menu_area{
    margin: 17px 0px;
}
#header{
    position: fixed;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 7%);
    z-index: 9999999;
}
#menu_area li a{
    padding: 5px 15px;
    color: var(--color-menu);
    font-weight: 500;
    font-size: 20px;
}
#menu_area li a:hover{
    color: var(--color-theme);
}
#menu_area li a.active{
    color: #fff;
}

/*Banner*/
#banner{
    width: 100%;
    clear: both;
    height: 85vh;
    padding-top: 74px;
    overflow: hidden;
}
#banner .fixed-bg{
    height: 100%;
    background: url("../images/hero_bg_9_1.jpg");
    background-size: cover;
    position: relative;
}
#banner .img-author{
    position: absolute;
    width: 50%;
    top: 0;
    right: 0;
    height: 100%;
}
#banner .d-table, #banner .container{
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
}
.author-name{
    font-size: var(--font-size-first-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-theme);
    display: block;
    margin: -0.32em 0 20px 0;
}
.course-desc{
    font-size: var(--font-size-first-title);
    max-width: 600px;
}
.btn-theme{
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: uppercase;
    text-align: center;
    background-color: var(--color-theme);
    color: #fff;
    -webkit-box-shadow: 0px 6px 16px rgb(13 94 244 / 24%);
    box-shadow: 0px 6px 16px rgb(13 94 244 / 24%);
    border-radius: 5px;
    padding: 15px 30px;
    font-weight: 600;
}
.btn-theme:before{
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 600%;
    background-color: var(--color-menu);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(60deg);
    transform: translateX(-50%) translateY(-50%) rotate(60deg);
    z-index: -1;
    -webkit-transition: 0.7s ease;
    transition: 0.7s ease;
}
.btn-theme:hover{
    background-color: var(--color-menu);
    color: #fff;
}
.btn-theme:hover::before{
    height: 560%;
}
.img-author img{
    width: 100%;
    height: auto;
    z-index: 0;
}
.btn-small{
    padding: 10px 20px;
}

/*Section Home*/
#home ul{
    width: 100%;
}

/*Course includes*/
#course_includes{
    background: url("../images/category_bg_1.jpg");
    background-size: cover;
    position: relative;
}
.list-course .item .content-item{
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    font-size: var(--font-size-first-title);
    text-align: left;
}

/*Tabs*/
.tabs {
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}
.tabs:after {
    content: '';
    display: table;
    clear: both;
}
.tabs input[type=radio] {
    display:none;
}
.tabs label {
    display: inline-block;
    min-width: 25%;
    flex: 1 1 25%;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
    transition: all 0.5s;
    /*padding: 0 20px;*/
    border-bottom: solid 1px rgb(204 204 204 / 0%);
    border-bottom-color: #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/*.tabs label h4{*/
    /*padding: 15px 0;*/
    /*border-radius: 10px;*/
    /*background: #fff;*/
    /*color: var(--color-theme);*/
/*}*/

#tab1:checked ~ #tab__content--1, #tab2:checked ~ #tab__content--2, #tab3:checked ~ #tab__content--3, #tab4:checked ~ #tab__content--4, #tab5:checked ~ #tab__content--5, #tab6:checked ~ #tab__content--6, #tab7:checked ~ #tab__content--7, #tab8:checked ~ #tab__content--8 {
    display: block;
}

/*.tabs label span {*/
    /*display: none;*/
    /*font-size: 1rem;*/
/*}*/

.tabs label:hover {
    color: var(--color-theme);
}

.tab__content {
    display: none;
    text-align: left;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 2rem;
    width: 100%;
}
.tab__content * {
    -webkit-animation: scale 0.5s ease-in-out;
    -moz-animation: scale 0.5s ease-in-out;
    animation: scale 0.5s ease-in-out;
}
@keyframes scale {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.01);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/*.tabs [id^="tab"]:checked + label h4{*/
    /*background: var(--color-theme);*/
    /*color: #FFF;*/
/*}*/
.tabs [id^="tab"]:checked + label {
    background: #FFF;
    color: var(--color-theme);
    /*border-left: solid 1px #ccc;*/
    /*border-right: solid 1px #ccc;*/
    /*border-top: solid 1px #ccc;*/
    border-bottom-color: rgb(204 204 204 / 0%);
}

.tabs [id^="tab"]:checked + label i {
    border-color: var(--color-theme);
    background-position: 50px 0;
    background-size: 100px 50px;
}
.accordion-item .lectures{
    position: absolute;
    right: 50px;
}
.accordion-item .accordion-body{
    text-align: left;
    position: relative;
}
ul.list{
    padding-left: 20px;
}
ul.list li{
    padding-right: 50px;
    list-style-type: disc;
}
ul.list li .time{
    position: absolute;
    right: 16px;
}
.accordion-button{
    font-size: 16px;
    font-weight: bold;
}

/*INSTRUCTOR*/
.avatar {
    text-align: center;
}
.avatar img {
    border-radius: 50%;
    max-width: 260px;
}
.name-instructor {
    text-align: center;
    margin-top: 20px;
}
.instructor {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;
    text-align: center;
}
.txt-right {
    text-align: right;
}
.txt-left {
    text-align: left;
}
#my_courses{
    background-color: #F3F7FB;
}
/*owl-carousel*/
.owl-carousel .item{
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.owl-carousel .item .course-box{
    padding: 20px 20px 0 20px;
    font-size: 16px;
    position: relative;
}
.owl-carousel .item img{
    border-radius: 10px;
}
use:nth-child(2) {
    transform: translate(20px);
}
use:nth-child(3) {
    transform: translate(40px);
}
use:nth-child(4) {
    transform: translate(60px);
}
use:nth-child(5) {
    transform: translate(80px);
}
.rating {
    display: inline-block;
    height: 20px;
    width: 100px;
}
.owl-carousel .item .course-box h5 a{
    text-decoration: none;
    transition: all ease 0.5s;
    color: var(--color-menu);
}
.owl-carousel .item .course-box h5 a:hover{
    text-decoration: underline;
}
.owl-carousel .item .course-box .i-free{
    position: absolute;
    top: 20px;
    right: 20px;
    background: red;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: bold;
}
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    overflow: auto;
}
#contact{
    background: url("../images/contact_bg_1.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
}
.rating{
    color: var(--color-orange);
    white-space: nowrap;
    margin-right: 10px;
}

/*FOOTER*/
footer{
    position: relative;
    clear: both;
}
footer p{
    margin: 0;
    padding: 40px 0;
    background: var(--color-theme);
    color: #fff;
}
#menu_mobile{
    display: none;
    font-size: 30px;
    padding: 11px;
}
@media only screen and (max-width: 991px) {
    .learn img{
        margin-bottom: 30px;
    }
    .tabs label h4{
        font-size: 20px;
    }
    .tabs label{
        padding-bottom: 0;
    }
    #banner .img-author{
        position: static;
        max-width: 310px;
        margin: 0 auto;
        height: auto;
    }
    #banner .d-table, #banner .container{
        width: auto;
        height: auto;
    }
    .course-desc{
        width: 100%;
    }
    #banner .fixed-bg .container > .d-table{
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
    .author-name{
        margin-top: 20px;
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 767px) {
    :root{
        --font-size-first-title: 16px;
    }
    body{
        font-size: 14px;
    }
    #banner{
        height: 80vh;
        padding-top: 68px;
    }
    #logo{
        margin-bottom: 10px !important;
        margin-top: 20px !important;
        display: inline-block !important;
    }
    #menu_area li {
        padding: 5px 15px;
    }
    #menu_area li a{
        padding: 5px 5px;
        font-size: 18px;
    }
    #menu_area{
        margin-top: 0;
    }
    h1{
        font-size: 34px;
    }
    h2{
        font-size: 24px;
    }
    .accordion-item .lectures{
        display: none;
    }
    .tabs label{
        border: none;
        min-width: 50%;
        border-radius: 5px;
    }
    .owl-carousel .item .course-box h5 a{
        font-size: 16px;
    }
    .owl-carousel .item .course-box{
        font-size: 14px;
    }
    .btn-theme{
        font-size: 14px;
    }
    #menu_mobile{
        display: block;
    }
    #menu_area{
        display: none;
    }
    header.d-flex{
        display: block !important;
    }
    .menu-mobile{
        display: inline-block;
        float: right;
    }
    #menu_area{
        position: absolute;
        width: 100%;
        left: 0;
        top: 65px;
        text-align: center;
        background: #fff;
    }
}
@media only screen and (max-width: 500px) {
    #menu_area li {
        padding: 5px 5px;
    }
    h1 {
        font-size: 28px;
    }
}