*{
    margin:0px;
    padding:0px;
    box-sizing: border-box;
}
html,body{
    height:100%;
    scroll-behavior: smooth;
}
.header{
    display:flex;
    height:10vh;
    width: 100vw;
    justify-content: space-between;
    align-items: center;
    background-color: #1F2937;
    min-height: 50px;
    position:fixed;
    top:0;
    z-index: 1000;
    padding: 0 2%;
}
.Logo{
    height: 60%;
    align-items: center;
    flex-shrink: 0;
}
.Logo:hover{
    cursor:pointer;
}
.Logo-img{
    height:100%;
}
.header-links{
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    padding-right: 30px;
}
.header-links-ele{
    height: 100%;
    color:white;
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

#resc ul{
    display: none;
}

#resc:hover ul{
    display: block;
    position: absolute;
    list-style-type: none;
    top:100%;
    left: 0;
    z-index: 1000;
    background-color: #1F2937;
    color: white;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
#resc li{
    padding: 1rem;
    border-bottom: 1px solid #374151;
}

#resc li:last-child{
    border-bottom: none;
}

#resc li:hover{
    background-color: #374151;
    color: #4ea5d9;
}

.header-links-ele:hover{
    border-bottom: 2px solid white;
}

/* Profile icon specific styles */
#profile-icon {
    position: relative;
    font-size: 1rem;
}

#profile-icon ul {
    display: none;
    position: absolute;
    list-style-type: none;
    top: 100%;
    right: 0;
    z-index: 1001;
    background-color: #1F2937;
    color: white;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 0;
    padding: 0;
}

#profile-icon:hover ul {
    display: block;
}

#profile-icon ul li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #374151;
    display: block;
    height: auto;
}

#profile-icon ul li:last-child {
    border-bottom: none;
}

#profile-icon ul li:hover {
    background-color: #374151;
    color: #4ea5d9;
}
.sidebar{
  margin-top: 10vh;
  position: fixed;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: #050b26;
  padding: 1.5em;
  overflow-y: auto;
}
.sidebar a{
  display: block;
  color: white;
  background-color: #0e1636;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s ease,transform 0.3s ease;
  text-decoration: none;
  margin-bottom: 10px;
}
.sidebar a:hover{
  background-color: #007acc;
  transform: scale(1.1);
}
#subject{
    color: white;
    background-color: #0f1766;
  text-align: center;
  margin: 0px;
  padding-top: 10px;
  padding-bottom: 15px;
}
.unit-area {
  margin-left: 300px;
  scroll-margin-top: 10vh;
    border: solid;
    border-color: #3052b0;
  padding: 20px;
  border-width: 3px;
  margin-top: 20px;
  border-radius: 15px;
  border-left: 8px solid #3052b0;
}

.unit-area h2 {
  color: #3052b0;
  margin-bottom: 20px;
}



.lecture-list {
  list-style: none;
  padding-left: 0px;
}

.lecture-list li {
  margin-bottom: 10px;
}
.lecture-list a {
  text-decoration: none;
    color: #444;
  padding: 10px;
  display: block;
  background-color: #b9cbd8;
  border-radius: 8px;
}
.lecture-list a:hover {
  background-color: #9cb6cd;
}   
main{
  margin-top: 10vh;
  margin-left: 300px;
}