body {
    font-family: Arial, sans-serif;
    margin: auto;
    padding: auto;
    height: 100%;
    width: auto;
    background-color: white;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* padding: 30px; */

    /* font-family: Arial, sans-serif; */

    height: 100vh;
    /* background-color: #f0f0f0; */
}

* {
    text-decoration: none;

}

.navbar {
    background-color: red;
    font-family: Arial, Helvetica, sans-serif;
    padding-right: 15px;
    padding-left: 15px;


}

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



.logo {
    font-size: 35px;
    font-weight: 600;
    color: white;
}


li {
    list-style: none;
    display: inline-block;
}

li a {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-right: 25px;
}

.logout {
    background-color: #333;
    margin-left: 10px;
    border-radius: 10px;
    padding: 10px;
    width: 90px;
}

.logout a {
    color: white;
    font-weight: bold;
}


.students-section {
    width: auto;
    height: auto;
    /* margin: 20px; */
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

}


.students-grid {
    display: flex;
    gap: 20px;
    width: 77%;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 10px;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */



}

.students-grid::-webkit-scrollbar {
    width: 0;
}

.content {
    /* position: relative; */
    width: 200px;
    height: 310px;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    float: left;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    padding-top: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    /* box-shadow: #333; */
    transition: .4s;
    background: white;


}

.content:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translate(0px, -8px);
}

img {
    width: 150px;
    height: 150px;
    /* margin: 5px; */
    margin-bottom: 0;
    /* text-align: center; */
    /* margin: 0 auto; */
    /* display: block; */

}


h2 {
    /* width: 200px; */
    font-size: 15px;
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    /* margin: 10px; */
    margin-bottom: 0;
    /* white-space: pre-line; */
    /* margin: 0; */
    /* word-wrap: break-word; */
    /* width: 80%;  */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Adds ... at the end if text is too long */
    white-space: normal;
    line-height: 1.4em;
    /* Adjust for desired spacing */

}

.author {
    color: gray;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;


}

.rating {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.stars {
    color: orange;
    font-size: 13px;
    /* margin-right: 5px; */
    /* display: block; */
}

.rating-container {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
}

.rating-box {
    display: flex;
    align-items: center;
    background-color: #4CAF50;
    color: white;
    padding: 5px;
    border-radius: 5px;
    margin-right: 10px;
}

.rating-value {
    font-size: 13px;
    margin-right: 5px;
}

.star-icon {
    font-size: 13px;
}

.num-ratings {
    font-size: 11px;
    color: #333;
}

.new-price {
    color: red;
    font-size: 20px;
    font-weight: bold;
    /* margin-right: 5px; */
}

.old-price {
    color: gray;
    font-size: 16px;
    text-decoration: line-through;
}




/* Footer CSS */
.footer {
    background-color: #cccccc;
    ;
    /* Dark background */
    color: black;
    /* White text color */
    text-align: center;
    /* Center the text */
    padding: 20px 0;
    /* Padding top and bottom */
    position: relative;
    bottom: 0;
    width: 100%;
}

.foot-p {
    margin: 0;
    /* Remove default margins */
    font-size: 14px;
    /* Text size */
}

.cate-head {
    margin-top: 10px;
    /* padding: 10px; */
    color: black;
    width: 100%;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    justify-content: center;
}


.category {
    width: 80%;
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px;
    font-weight: bold;
}