:root {
    --grad:linear-gradient(45deg,
    #796EA8,
    #796EA8,
    #796EA8
    ); 
    --navhovertextDecoration:#ffffff2f;
    --navFont:#14142b;
    --navfonthover:rgb(100, 99, 99);
    --nav_primary:#f5f2fa;
    --topShadow:rgb(111, 115, 136);
    --botShadow:rgb(18, 22, 39);
    --underline:rgb(66, 64, 64);
    --primary:#f5f2fa;
    --secondary:#fff;
    --font:#3a365b;
    --myfont: system-ui, -apple-system, BlinkMacSystemFont;
}
.dark-theme {
    --grad:linear-gradient(45deg,
    #31293F,
    #554D74,
    #796EA8
    ); 
    --navhovertextDecoration:#4643432f;
    --navFont:rgb(255, 255, 255);
    --navfonthover:rgba(201, 201, 201, 0.884);
    --nav_primary:#1b1a27;
    --topShadow:rgb(111, 115, 136);
    --botShadow:rgb(116, 78, 160);
    --underline:rgb(255, 250, 250);
    --font:rgb(255, 255, 255);
    --primary: #1b1a27;
    --secondary:#f0e9f898;
    --myfont: system-ui, -apple-system, BlinkMacSystemFont;
}
div {
    margin: 0;
}
/* header */
header {
    background:var(--grad);
    font-size: large;
    padding: 6px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
}
.right-Section {
    width:600px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
.right-Section span {
    color: #fd4;
}
.right-Section .menu {
    color: white;
    font-size: 30px;
}
.left-Section {
    width:500px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    p{
        font-size: 20px;
    }
}
.left-Section i {
    margin-right: 5px;
    font-size: 25px;
    color: rgb(255, 255, 255);
}
a.leave-rating {
    text-decoration: none;
    color:white;
}
p { 
    display: inline;
    color:white;
}
.share-btn {
    cursor:pointer;
    background-color: rgb(43, 42, 42);
    color:white;
    font-size: 20px;
    padding: 8px 2px;
    outline: none;
    border-radius: 3px;
    border:1PX solid #fff;
    box-shadow: 2px 2px 10px 2px rgb(65, 63, 63) ;
    width:100px;
}
.share-btn:hover {
    background-color: rgb(71, 70, 70);
    animation-name: up-down;
    animation-duration: 0.7s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}
.share-btn a {
    text-decoration: none;
    color: white;
}
.darkmode {
    font-family: var(--myfont);
    width: 100px;
    border: none;
    background-color: transparent;

}

.darkmode i{
    font-size: 40px;
    color: #f3f3fa;
}

.wrapper {
    display: flex;
    flex-direction: row;
    column-gap: 15px;
    align-content: center;
    align-items: center;
}
.progress {
    width:12px;
    height: 12px;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid rgb(187, 180, 180);
    border-left-color: #2b2929;
    border-bottom-color: #2b2929;
}
@keyframes up-down {
    0% {
        transform: rotate(15deg);
    }
    70% {
        transform:rotate(-15deg) ;
    }
    100% {
        transform: rotate(0);
    }
}

@keyframes bounce {
    0% , 50%, 75%, 90%,100%{
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    65%, 80% {
        transform: translateY(-20px);
    }
    95% {
        transform: translateY(-5px);
    }
}

/* aside */
::-webkit-scrollbar {
    width: 14px;
}
::-webkit-scrollbar-track{
    width: 14px;
    background-color: rgb(105, 105, 105);
    border-radius: 15px;
}
::-webkit-scrollbar-thumb{
    background-color: #21003f;
    border-radius: 15px;
    width: 15px;
}
::-webkit-scrollbar-thumb:hover{
    background-color: rgb(254, 216, 255);
}
.is-removed {
    display:none;
}
aside {
    position:fixed;
    right: 8px;
    top:75px;
    bottom: 0px;
    background:var(--grad);
    width:25.2%;
    height: 1005px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    box-shadow: -10px 0px 10px rgba(59, 52, 63, 0.76);
    padding: 5px;
}
.aside-header::before {
    content: "";
    z-index: 9;
    position: absolute;
    top:100px;
    left:-31px;
}

.aside-sections {
    margin-left: 10px;
    padding:15px;
    overflow: auto;
    position: absolute;
    bottom: 0px;
    top:70px;
    left: 0px ;
	right: 0px ;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.aside-header {
    color: white;
    position: relative;
    top:10px;
    left:20Px;
    right: 25px;
    font-size: 30px;
    font-weight: 700;
    width: 91.5%;
}

.side-bar {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}
.side-bar-container{
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    margin-top: 20px;
}
.side-bar-sec1 ,
.side-bar-sec2{
    color: white;
    font-size: 25px;
    padding-bottom: 5px;
}
.checkbox-container {
    display: flex;
    flex-direction: row;
    column-gap: 30px;
}
.checkbox-container label {
    color: white;
    font-size: 25px;
}
summary ::marker {
    content: "";
    display: none;
}

.checkbox-container input[type=checkbox ] {
    width:20px;
    
}
.video-time-icon-container {
    margin-left: 40px;
}
.video-time-icon-container span{
    font-weight: 100;
    color: rgba(230, 219, 219, 0.822);
}

.close-icon {
    position: absolute;
    right: 0px;
    top: -4px;
}
button img {
    height: 20px;
    width: 20px;
    background: none;
    float: center;
    background-color:transparent ;
}
.close-button {
    border: none;
    background-color: transparent;
    padding: 0px;
    cursor: pointer;
}
/* main */
/* video */
.video {
    position: relative;
}
.video button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    outline: none;
    border: 1px solid white;
    background-color: black;
    position: absolute;
    top:100px;
    right: 0px;
}
.video button:hover {
    cursor: pointer;
    outline: none;
    background-color: rgb(46, 46, 46);

}
.video span {
    display: none;
    transition:1s;
}
.video button:hover  span {
    display: inline-block;
    color: white !important;
    font-weight: 700;
}

video {
    width: 74%;
    height:700px;
    background-color: rgb(0, 0, 0);
} 
.extend-video {
    width:100% !important;
}
/* nav */

nav {
    display:flex;
    flex-direction: row;
    justify-content: space-between ;
    align-items: center;
    width: 800px;
    height: 40px;
    margin-left: 30px;
    background-color: var(--nav_primary);
}

nav a {
    font-family: var(--myfont);
    font-size: 20px;
    color:var(--navFont);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    padding: 10px 0px;
}
nav a:hover {
    color: var( --navfonthover);
    text-shadow: var(--navhovertextDecoration);
}
.search img {
    height: 20px;
    width: 20px;
}   

nav a::after {
    content:"";
    position: absolute;
    background-color: var(--underline);
    height: 3px;
    width:0%;
    left: 0;
    bottom: -7px;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* content */
.content {
    width:74%;
    background-color: var(--primary);
}
.extend-content {
    width:100%!important;
}

.overview {
    margin-left: 20px;
}
.instructor {
    display:flex;
    flex-direction: column;
    row-gap: 40px;
}
.sec1 ,
.sec2 {
    position: relative;
    width: fit-content;
    color: var(--font);
    font-size: 30px;
    font-family: var(--myfont);
}
.sec1::after ,
.sec2::after {
    content:"";
    position: absolute;
    background-color: var(--underline);
    height: 3px;
    width:100%;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}
.instructor-info{
    margin: auto;
    padding: 20px;
    border: 2px solid  #635472;
    border-radius: 16px;
    background-color: var(--secondary);
    box-shadow:  1px -1px 10px 1px var(--topShadow),
                1px 1px 5px 2px var(--botShadow);
    width: 600px;
    display: grid;
    grid-template-columns: 100px 500px;
    column-gap: 40 px;
}

.instructor-info2{
    margin: auto;
    width: 600px;
    font-size: 20px;
    color: var(--font);
    padding-bottom: 40px;
    font-family: var(--myfont);
}
.ins-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    row-gap: 10px;
    font-family: var(--myfont);
}
.ins-name div{
    font-size: 20px;
    color:var(--font);
    
}
.ins-img img {
    width:60px;
    height:60px;
    border-radius: 30px;
}
h3 details summary {
    color: var(--font);
    padding-bottom: 5px;
    font-family: var(--myfont);
}
summary p {
    color: var(--font);
}
h3 {
    color:var(--font);
    padding: 0 25px;
    font-family: var(--myfont);
}

span {
    font-size: 15px;
    color: var(--font);
}
.top {
    margin-bottom: 100px;
    position: fixed;
    top:60px;
    z-index: 1000;
}
.course-info {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
/* review */
.reviews-content {
    display:flex;
    flex-direction: column;
    width:50%;
    margin: auto;
    background-color: rgb(255, 255, 255);
    align-content: center;
    justify-content: center;
}
.rating {
    border: 2px solid #3a365b;
    width:fit-content;
}

.stat {
    color: rgb(223, 192, 53);
    font-size: 50px;
    font-weight: 900;
}

/* footer */
footer {
    background:var(--grad);
    bottom: 0;
    width:100%;
    height:300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.logo {
    display: flex;
    justify-content: center;
    gap: 2em;
    cursor: pointer;
}
.logo i {
    font-size: 3em;
    color: rgb(255, 255, 255);
}

.logo .span1, 
.logo .span2 {
    color: rgb(255, 255, 255);
    font-size: 2em;
}

.logo .span3 {
    color: rgb(206, 207, 207);
    font-size: .8em;
}
.logo .hy {
    color: rgb(255, 255, 255);
    font-size: 1.8em;
}
.row {
    display: flex;
    flex-wrap: nowrap;
}
.footer-col {
    width: 25%;
    padding: 0 15px;
    color:white;
}
.footer-col:nth-child(1) {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
    row-gap: 20px;
    margin-top: 30px;
}
.footer-col h4{
    font-size: 25px;
}

.footer-col .abt {
    color:white;
    margin-top: 20px;
}
footer ul {
    list-style: none;
}
footer ul a{
    text-decoration: none;
    color: white;
    font-size: 20px;
}
footer ul a:hover{
    text-shadow: 2px 2px 5px rgb(51, 37, 58),-2px -2px 10px rgb(51, 37, 58) ;
}
.txt span {
    color: white;
}
a.email-us {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D3D9E9;
    padding: 10px;
    border-radius: 20px;
    color: rgb(51, 37, 58);
    font-size: 15px;
    font-weight: 700;
    height: 25px;

}
.email-us i {
    text-decoration: none;
    padding-right: 8px;
    width: 15px;
    font-weight: 700;
}

a.email-us:hover {
    background-color: #2b2336;
    color: rgb(247, 247, 247);
    box-shadow: 2px 2px 5px rgb(51, 37, 58),-2px -2px 10px rgb(51, 37, 58) ;
    animation: bounce 2s linear;
}

.social-links a {
    border-radius:20px ;
    color :white;
    background-color: #2b2336;
    padding: 12px;
}
.social-links a:hover {
    background-color:#D3D9E9 ;
    color:#2b2336;
    box-shadow: 2px 2px 5px rgb(51, 37, 58),-2px -2px 10px rgb(51, 37, 58) ;
}
.social-links i {
    width: 18px;
}

.copywrite {
    color: #1e1b25;
}







