.background-main {
  background-image: url('../images/mainbg.png');
  background-repeat: repeat;       /* Lặp cả chiều ngang và dọc */
  background-position: top left;   /* Bắt đầu từ góc trên bên trái */
  background-size: auto;           /* Dùng kích thước gốc của hình */
  background-color: #352f29;
}
.background-nen {
  background-image: url('../images/nen.png');
  background-repeat: repeat;       /* Lặp cả chiều ngang và dọc */
  background-position: top left;   /* Bắt đầu từ góc trên bên trái */
  background-size: auto;           /* Dùng kích thước gốc của hình */
}
body{
    color: #fff;
}
.text-onbg{
    background: linear-gradient(rgb(255, 213, 104) 0%, rgb(255, 228, 179) 50%, rgb(244, 164, 43) 100%) text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s ease-in-out;
}
#header{
    background-color: #27221c;
    color: #fff;
}
#selectCourse{
    border: unset;
}
#tabCourse{
    background-color: #453425;
    border-radius: 12px;
}
#tabCourse > button {
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;

  background: linear-gradient(rgb(255, 213, 104) 0%, rgb(255, 228, 179) 50%, rgb(244, 164, 43) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#tabCourse > button.tabSelected {
  background: linear-gradient(90deg, rgb(210, 97, 56) 0%, rgb(159, 54, 9) 100%);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 8px 0px;
  border-radius: 12px;
  color: white;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.selectTab{
    color: rgb(255, 245, 219);
}
.selectTab > select{
    display: flex;
    background: rgb(69, 52, 37);
    font-size: 12px;
    font-weight: 600;
    padding: 16px 20px;
    border-radius: 12px;
    
    cursor: pointer;
}
.cardSourse{
    display: flex;
    flex-direction: column;
    background-image: url('../images/bgListCourseInactive.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 14px;
    height: 100%;
    gap: 5px;
}

.cardSourse > .cardHeader{
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, rgb(210, 97, 56) 0%, rgba(159, 54, 9, 0) 100%);
    padding: 10px;
    border-radius: 4px;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}
.cardSourse > .cardHeader > h2{
    margin: 0px;
    letter-spacing: 0.00938em;
    font-family: "Playpen Sans";
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    line-height: 35px;
    background: linear-gradient(rgb(255, 213, 104) 0%, rgb(255, 228, 179) 50%, rgb(244, 164, 43) 100%) text;
    -webkit-text-fill-color: transparent;
}

.cardSourse > image{
    color: transparent; width: 100%; height: auto; border-radius: 8px;
}
.cardSourse > .boxPrice{
    display: flex;
    flex-flow: wrap;
    -webkit-box-align: center;
    align-items: center;
    gap: 10px;
    padding: 5px 12px;
    background: linear-gradient(90deg, rgb(79, 53, 16) 0%, rgba(79, 53, 16, 0) 100%);
    width: fit-content;
}
.cardSourse > .boxPrice > .rootPrice{
    margin: 0px;
    letter-spacing: 0.00938em;
    font-size: 16px;
    font-weight: 400;
    line-height: 36px;
    color: rgb(215, 169, 50);
    text-decoration: line-through;
}
.cardSourse > .boxPrice > .newPrice{
    margin: 0px;
    letter-spacing: 0.00938em;
    font-size: 16px;
    font-weight: 600;
    line-height: 33px;
    color: rgb(255, 255, 255);
}
.cardSourse > .boxAction .addToCard{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px 0px;
    position: relative;
    background-image: url('https://daotao.phongthuydainam.vn/images/btt2.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}   
.cardSourse > .boxAction .addToCard > button{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    z-index: 3;

    margin: 0px;
    letter-spacing: 0.00938em;
    text-transform: uppercase;
    color: rgb(51, 51, 51);
    text-align: center;
    font-family: "Playpen Sans";
    line-height: 24px;
    font-size: 10px;
    font-weight: 600;
}

.cardSourse > .boxAction .buyNow{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    position: relative;
    background-image: url('https://daotao.phongthuydainam.vn/images/btt1.png');
    background-repeat: no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.cardSourse > .boxAction .buyNow button{
    margin: 0;
    background: linear-gradient(180deg, #FFE4C8 0%, #FFD790 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin: 0px;
    letter-spacing: 0.00938em;
    text-transform: uppercase;
    text-align: center;
    line-height: 24px;
    font-size: 10px;
    font-weight: 600;
}

#navDetailCourse{
    border-left: 2px solid;
    border-image: linear-gradient(rgba(255, 213, 104, 0) 1%, rgb(255, 213, 104) 4%, rgba(255, 213, 104, 0) 100%) 1 / 1 / 0 stretch;
}

#navDetailCourse > button.active{
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, border 0.3s ease-in-out;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, rgb(255, 213, 104) 0%, rgba(255, 228, 179, 0.7) 33.15%, rgba(244, 164, 43, 0) 65.28%) 1 / 1 / 0 stretch;
    background: linear-gradient(90deg, rgb(210, 97, 56) 0%, rgba(159, 54, 9, 0) 100%);
}

#contentDetailCourse{
    display: flex;
    flex-direction: column;
    background-image: url('https://daotao.phongthuydainam.vn/images/tableCourse.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 100%;
    padding: 20px 30px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.btnRedCustom{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px 0px;
    position: relative;
    background-image: url('https://daotao.phongthuydainam.vn/images/btt2.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;

    
}

.btnYellowCustom{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    position: relative;
    background-image: url('https://daotao.phongthuydainam.vn/images/btt1.png');
    background-repeat: no-repeat;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;

    
}