@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@500;600;700&family=Hind+Siliguri:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    
}

body {
    background-color: rgb(238, 242, 251);
}

li, a, button {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: black;
}

p {
    font-size: .8rem;
    color: #5a5963;
}


/* Navbar Section */

nav {
    padding: 20px 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0..8); 
    background-color: white;
}

.navright {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navleft {
    display: none;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(43, 46, 99);
}



.navbar-logo img {
    width: 10%;
    margin-right: 5px;
}

/* Responsive NavTextChanged */
#navshort {
    display: none;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.nav-list a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 1rem;
}

.nav-list a:hover,
.Webapp a:hover {
    text-decoration: underline;
}


.nav-list i {
    width: 20px;
    margin-right: 10px;
}

.Webapp a {
    text-decoration: none;
    background-color: rgb(138, 211, 238);
    border-radius: 25px;
    margin: 0px 5px;
    padding: 5px 15px;
    color: rgb(43, 46, 99);
    font-weight: 700;
}

.Webapp a:hover {
    background-color: rgb(138, 211, 238,.5);
    text-decoration: none;
    border: 1px solid rgb(43, 46, 99) ;
}

#page-border {
    border: 1.5px solid rgb(215, 215, 217);
    border-radius: 5px;
    padding: 5px 5px;
}


.burger i {
    width: 100%;
    font-size: 1.5rem;
    padding: 5px 10px;
}

.burger div {
    background-color: blue;
    margin: 2px;
    transition: all 0.5s;
}

.burger:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}


/* DropDown Section */

.dropdown {
    position: relative;
}

.dropdown-menu {
    margin-top: 10px;
    margin-left: 20px;
    display: none;
    position: absolute;
    width: 160px ;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0px 0;
    border-radius: 5px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 10px;
    text-align: left;
    font-size: .9rem;
    text-decoration: none;
    color: black;
}

.dropdown-menu i {
    margin-right: 2px;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.dropshow {
    display: block;
}

/* Main Section */

main {
    padding: 2rem;
    text-align: center;
}

h1 {
    color: rgb(43, 46, 99);
    margin-top: -10px;
}

.notice-board {
    background-color: #e0f7fa;
    margin: 1rem auto;
    width: 50%;
    padding: 15px 10px;
    border: 3px solid #7073FF;
    border-radius: 5px;
}

.notice-board h2 {
    text-align: top;
    padding: 1px ;
    padding-bottom: 10px;
    color: #7073FF;
    font-size: 30px;
}

#notices p {
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 500;
    font-size: 20px;
}

/* Filter Section */

/* Check aiotablecss */

/* Table Section */
table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

th, td {
    font-family: "Hind Siliguri", sans-serif;
    padding: .5rem;
    border-bottom: 1px solid #ddd;
    
}

#classtopics {
    width: 35%;
}

th {
    background-color: white;
    color: rgb(66, 65, 65);
}

.class-btn, .note-btn {
    border: none;
    cursor: pointer;
}

.class-btn a, .note-btn a {
    display: none;
}

.class-btn img, .note-btn img {
    border-radius: 50% ;
    box-shadow: 0 0px 8px 0px rgb(83, 105, 173);
    width: 40%;
}


.tutorial img {
    margin-top: 5rem  ;
}


@media (max-width: 1345px) {

    .table {
        width: auto;
    }

    
}



@media (max-width: 1000px) {

    nav {
        padding: 20px 10px;
    }

    .navbar-logo img {
        width: 10%;
    }

    .navright {
        display: block;
    }

    .mob-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navleft {
        display: flex;
    }

    .web {
        display: none;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        gap: 15px;
        align-items: start;
        margin: 5px 30px ;
        margin-top: 15px;
    }

    .nav-list.show {
        display: flex;
    }

    #page-border {
        border: none;
        padding: 0px;

    }

}



@media (max-width: 768px) {

    .navbar {
        padding: 10px 10px;
    }

    .navbar-logo {
        font-size: 1.2rem;
    }

    #navbig {
        display: none;
    }

    #navshort {
        display: flex;
    }


    /* Table Items */

    main {
        padding: 15px 15px ;
    }

    h1 {
        font-size: 1.2rem;
        margin: 0px -20px ;
    }

    p {
        font-size: .6rem ;
    }

    .class-btn img, .note-btn img {
        width: 12%;
    }

    
    table {
        width: 80%;
        margin: 0 auto;
        border-collapse: collapse;
        box-shadow: 0 0px 0px transparent ;
        
    }

    .table {
        background-color: transparent;
    }

    .table thead {
        display: none;
    }

    .table , .table tbody , .table tr, .table td {
        display: block;
        width: 100% ;
        
    }

    .table tr {
        border: .5px solid #ddd;
        border-radius: 15px;
        margin-bottom: 30px ;
        padding: 2px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-color: white;
    }

    .table tbody tr td {
        padding-top: 2px ;
        padding-bottom: 2px;
        text-align: right;
        padding-left: 25% ;
        padding-right: 4%;
        position: relative;
        vertical-align: middle;
        border-bottom-left-radius:15px ;
        border-bottom-right-radius:15px ;
    }

    td::before {
        font-weight: bold;
        color: black;
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50% ;
        padding-left: 4% ;
        text-align: left;
        top: 50%; 
        transform: translateY(-50%); 
    }

    #classtopics {
        width: 100%;
    }
}

@media (max-width: 400px) {

    main {
        padding: 1rem ;
    }

    .navbar-logo img {
        width: 15%;
    }


    .class-btn img, .note-btn img {
        width: 20%;
    }

    .class-btn a, .note-btn a {
        padding: none;
    }
}



