body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f2f2f2;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*padding: 10px 20px;*/
  background-color: #edfff5;
  border-bottom:5px solid green;
}
.logo img {
  height: 70px;
}

.title {
  text-align: left;
  margin:20px;
  color:green;
}
.title h2{
    margin:0;
    padding:0;
}

nav {
  flex: 1;
  text-align: right;
}

/* Navbar menu */
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

nav ul li {
  position: relative;
  padding: 5px 10px 5px 10px;
   border-radius: 5px;
    text-align: left;
}

nav ul li a {
  text-decoration: none;
  color: green;
  font-weight: bold;
}

nav ul li:hover .menu-main-ahref {
  color: white;
}

nav ul li:hover {
  background-color: #64e764;
}

/* Sub menu */
nav ul .sub-menu {
  width: 200px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  border: 1px solid #64e764;
  background-color: #f2f2f2;
  z-index: 1;
}

nav ul .sub-menu li {
  padding: 15px;
  border-bottom: 1px solid lightgreen;
}

nav ul .sub-menu li:hover {
  background-color: #64e764;
}

nav ul .sub-menu li:hover a {
  color: white;
}

nav ul li:hover .sub-menu {
  display: block;
}

.login-container {
  width: 400px;
  margin: 50px auto;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 30px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
}

button {
  background-color: green;
  color: #fff;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;  
  font-size: 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #444;
}


/*student-profile page start...*/

.student-header {
  background: linear-gradient(to left, #ff99cc 0%, gray 100%);
  color: #fff;
  padding: 20px;
  text-align: center;
}

.student-header .profile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-header .profile img {
  width: 80px;
  height: 80px;
  border-radius: 5%;
  margin-right: 20px;
}
.student-header .profile h1 {
  color:white;
}

.navbar {
  background-color: #444;
  padding: 10px 0;
  text-align: right;
}

.navbar ul {
  list-style-type: none;
  padding: 0;
}

.navbar li {
  display: inline;
  margin-right: 20px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}


.subjects-sec, .ebook-sec, .results-sec, .exams-sec {
  padding: 20px;
}

h1{
font-size: 40px
}
.subjects-sec{
    background:#E9EFEC;
}

.ebook-sec{
    background:green;
}
.results-sec{
    background:pink;
}
.exams-sec{
    background:blue;
}

.profile-container{
     display:flex;
}

.profile-container div{
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin:5px;
    background:white;
    width:50%;
}

.profile-container div img{
    width:100%;
    height:350px;
    border-radius: 2px;
}
#doownload-btn{
    text-align:center;
    background:green;
    padding:10px;
    border-radius: 8px;
}
#doownload-btn a{
    color:white;
    text-decoration:none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table th, table td {
  padding: 8px;
  border-bottom: 1px solid #ccc;
  text-align:center;
}

table #subject-column{
    text-align:left;
}
 table th{
    background: #aed6f1;
    color:white;
 }

tr:nth-child(even) {
  background: #e6e6e6;
}

tr:nth-child(odd) {
  background: #f2f2f2;
}

tr:last-child {
  background: #007bff;
  color:white;
  font-weight:bold;
} 

footer {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 10px;
}
