
body {
    height: 100vh;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    /* max-width: 1200px; */
    /* margin: 20px auto; */
    padding: 10px;  
    height: 100%;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
   
h1{
    margin: 0px;
}

header {
    background-color: #5271ff;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius:8px ;
}

main {
    display: flex;
    justify-content: space-between;
    margin-top: 86px;
    
}

.sidebar {
    width: 20%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.sidebar {
    width: 20%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    padding-top: 2px;

}

.sidebar h2 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    text-decoration: none;
    color: #4285f4;
    font-weight: bold;
    font-size: 1.2em;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #cde6fe;
}

.main-content {
    width: 78%;
    padding: 20px;
    padding-top: 0px;
    border-radius: 5px;
    background-color: #fff;
    height: 393px;
}


.sub-name-nav{
    margin-bottom: 10px;
    display: flex;
    padding-left: 10px;
}

.sub-name-name{
    display: flex;
}
.sub{
    display: inline-block;
}
.sub-name-circle{
    display: none;
}

.custom-radio-label {
    display: inline-block;
    padding: 10px 20px;
    /* background-color: #4285f4; */
    color: #4285f4;
    border: 2px solid #4285f4;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: 0.5s;
    margin-left: 10px;
}

.a-chapter{
    border-bottom: 2px solid rgba(128, 128, 128, 0.28);
}
.sub-name-circle:checked + .custom-radio-label {
    background-color: #4285f4;
    border-color: #4285f4;
    color: white;
}

.ch-name{
    font-weight: 600;
    font-size: 20px;
    margin: 14px;
    margin-bottom: 0px;
    margin-left: 0px;
    
}

.ch-name:hover{
    cursor: pointer;
    text-decoration: underline;
}

.ch-name::selection{
    background-color: white;
}

.topic-row{
    display: flex;
    border-bottom:1px solid rgba(195, 190, 190, 0.283) ;
    padding: 5px;
    border-radius:6px ;
    transition: 0.4s;
}

.topic-row:hover{
    background-color: #4286f428 ;
    transform: scale(1.02);

}

.topic-number{
    width: 5%;
    text-align: center;
    
    /* border: 2px solid black; */
}

.topic-name{
    width: 81%;
    font-size: 15px;
}
.none{
    display: none;
}
.vedio-link,.pdf-link{
    width: 7%;
}


.test-block{
    width: 100%;
    /* border: 2px solid black; */
    height: 80px;
    border-radius: 10px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 2px 2px 3px 2px rgba(128, 128, 128, 0.316);
    transition: 0.2s;
}

.test-block:hover{
    transform: scale(1.01);
}
.test-name{
    width: 70%;
    height: 40px;
    /* border: 2px solid #4285f4; */
    margin-top: 10px;
    margin-left: 10px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-weight:600 ;

}


.test-start-btn{
    margin-right: 30px;
}

.test-start-btn .t-btn{
    width: 100px;
    border: 1px;
    text-align: center;
    border-radius: 10px;
    height: 40px;
    font-size: 15px;
    background-color: #cbd5e6;
    transition: 0.2s;
    padding: 10px;
    color: black;
}

.test-start-btn:hover .t-btn{
    cursor: pointer;
    transform: scale(1.02);
    background-color:#4286f4;
    color: white;
}


footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    color: #fff;
    background-color: #141415;
}







.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5271ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.7s linear infinite;
    position: fixed;
    top: 220px;
    left: 535px;
    }
    
@keyframes spin{
    from{
        transform: rotate(0deg);
    }
    to
    {
        transform: rotate(360deg);
    }
}

.none{
    display: none;
}








@media (max-width : 950px) and (min-width  :780px){
    .sidebar h2{
        font-size: 18px;
    }
    .sidebar li{
        font-size: 14px;
    }
    .ch-name{
        font-size: 15px;
    }
    .custom-radio-label{
       height: 35px;
       width: 82px;
       text-align: center;
       font-size: 14px;
       padding: 4px;
    }
    .sidebar a{
        font-size: 18px;
    }
    
}

@media (max-width : 780px) {
    main{
        flex-direction: column;

    }
    
    .sidebar h2{
        display: none;
    }
    .sidebar ul{
        display: flex;
        /* background-color: #f8f9fa; */
    }
    .sidebar ul li{
        /* background-color: rgb(226, 229, 255); */
        box-shadow: 2px 2px 2px rgba(128, 128, 128, 0.403);
        margin: 5px;
        border-radius:10px;
        height: 45px;
        transition: 0.3s;
    }
    .sidebar ul li:hover{
        transform: scale(1.03);
    }
    .sidebar{
        background-color: transparent;
    }
    .sidebar a:hover {
        background-color: transparent;
    }
    .custom-radio-label{
        display: inline-block;
    padding: 10px 5px;
    /* background-color: #4285f4; */
    color: #4285f4;
    border: 2px solid #4285f4;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: 0.5s;
    margin-left: 10px;
    width: 87px;
    }
    .main-content {
        width: 100%;
        padding: 20px;
        padding-top: 0px;
        border-radius: 5px;
        background-color: #fff;
        height: 393px;
    }

    .loader{
        top: 300px;
        left: 175px;
    }



}