
.container {
    width: 60%;
    margin: 0 auto;
}

/* Accordion Button Styles */
.accordion {
    background-color: #ffffff;
    color: #2B2E63;
    cursor: pointer;
    padding: 15px 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.0s;
    margin-top: 10px;
    border: 3px solid #2B2E63 ;
    border-radius: 8px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion.active {
    background-color: white;
}

.accordion:hover {
    color: royalblue ; 
    background-color: white;
}

/* Icon Styles */
.chapter-icon {
    background-color: #CFE2FF;
    border-radius: 100%;
    padding:10px;
    font-size: 20px ;
    margin-right: 10px;
}

.chapter-text {
    font-size: 25px ;
    font-weight: 800;
}

/* View/Hide Text Styles */
.view-text {
    margin-left: auto;
    color: blue;
    background-color: #CFE2FF;
    font-size: 10px;
    font-weight: bold;
    border-radius: 25px;
    padding: 2px 8px;
    text-align: center;
}


/* Panel Styles */
.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    padding: 0 18px;
}

.material-type {
    font-weight: bold;
    margin-top: 15px;
    font-size: 23px;
}


/* Dagano Boi Design */
.material-type.dagano-book {
    font-weight: 800;
    color: #4b0082;
}

.material-type.dagano-book::before {
    content: '📓';
}

.material-link.dagano-book {
    background-color: #f6f1ff;
    color: #4b0082;
    padding: 8px 20px;
    border-left: 5px solid #4b0082;
}

.material-link.dagano-book:hover {
    color: white;
    background-color:#4b0082 ;
}

/* MCQ Practice Sheet Design */
.material-type.mcq-practice-sheet {
    color: 	#00799A ;
    font-weight: 800;
}

.material-type.mcq-practice-sheet::before {
    content: '📘';
}

.material-link.mcq-practice-sheet {
    background-color: #e4f9ff;
    color: #00799A ;
    padding: 8px 20px;
    border-left: 5px solid #00799A ;
}

.material-link.mcq-practice-sheet:hover {
    color: white;
    background-color:#00799A  ;
}

/* CQ Practice Sheet Design */
.material-type.cq-practice-sheet {
    color: 	#448822 ;
    font-weight: 800;
}

.material-type.cq-practice-sheet::before {
    content: '📗';
}

.material-link.cq-practice-sheet {
    background-color: #e4f9ff;
    color: #448822 ;
    padding: 8px 20px;
    border-left: 5px solid #448822 ;
}

.material-link.cq-practice-sheet:hover {
    color: white;
    background-color:#448822  ;
}


/* Basic Practice Sheet Design */
.material-type.basic-practice-sheet {
    color: 	#e86427 ;
    font-weight: 800;
}

.material-type.basic-practice-sheet::before {
    content: '📙';
}

.material-link.basic-practice-sheet {
    background-color: #e4f9ff;
    color: #e86427 ;
    padding: 8px 20px;
    border-left: 5px solid #e86427 ;
}

.material-link.basic-practice-sheet:hover {
    color: white;
    background-color:#e86427  ;
}

/* Admission Practice Sheet Design */
.material-type.admission-practice-sheet {
    color: 	#448822 ;
    font-weight: 800;
}

.material-type.admission-practice-sheet::before {
    content: '📗';
}

.material-link.admission-practice-sheet {
    background-color: #e4f9ff;
    color: #448822 ;
    padding: 8px 20px;
    border-left: 5px solid #448822 ;
}

.material-link.admission-practice-sheet:hover {
    color: white;
    background-color:#448822  ;
}



/* Material Link Design */
.material-link {
    text-align: left;
    display: inline-block;
    margin: 5px 5px;
    margin-top: 5px;
    background-color: #23395B;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 15px;
}


@media (max-width: 1000px) {
    .container {
        width: 80%;
    }
    
}

@media (max-width: 768px) {

    main h1 {
        font-size: 1.5rem;
    }
    .container {
        width: 90%;
    }

    .chapter-text {
        font-size: 20px ;
    }
}

@media (max-width: 456px) {

    .container {
        width: 100%;
    }

    .accordion  {
        margin-top: 20px ;
        padding: 10px 5px ;
        border : 1.5px solid ; 
    }



    .chapter-text {
        font-size: 16px ;
    }

    .view-text {
        font-size: 8px;
    }

    .chapter-icon {
        padding: 5px ;
        font-size: 15px ;
    }

    .material-type {
        font-size: 18px  ;
    }

}
