* {
  margin: 0;
  padding: 0;
}

/* Main Container */

.container {
  display: grid;
  text-align: center;
  grid-template-columns: 1fr 4fr;
}

.container div {
  font-size: 32px;
  font-family: Roboto, sans-serif;
  font-weight: bold;
}

/* Sidebar */

.sidebar {
  background-color: rgb(89, 168, 225);
  text-align: left; 
  color: white;
}

.sidebar div {
  padding: 15px;
}

.sidebar .sidebar-main img{
  width: 45px;
  height: 45px;
  filter: invert(1) brightness(200%);
}

.sidebar .side-content {
  margin-bottom: 40px;
}

.sidebar .side-content ul {
  list-style: none;
  font-size: 18px;
  font-weight: bold;
}

.sidebar .side-content ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sidebar .side-content ul li:last-child {
  margin-bottom: 0;
}

.sidebar-main p {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.sidebar img {
  width: 25px;
  height: 25px;
  filter: invert(1) brightness(200%);
}

/* Main Content*/



/* Header for Main Content*/

.header {
  background-color: white;
  color: black;
  border-bottom: 1px solid #d1d1d1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.header div {
  padding: 10px;
}

.header-first {
  display: flex;
  justify-content: space-between;
}

.header-greeting-container {
  display: flex;
}

.header-greeting-container img {
  width: 60px;
  height: 60px;
}

.header-greeting {
  text-align: left;
}

.header-greeting-text {
  font-size: 12px;
}

.header-greeting-name {
  font-size: 18px;
}

.header-buttons button {
  background-color: rgb(89, 168, 225);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  margin: 10px;
}

.header-buttons {
  display: flex;
  gap: 10px;
}


.header-second {
  display: flex;
  justify-content: space-between;
}

.header-first ul {
  list-style: none;
  font-size: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.header-searchbar {
  display: flex;
  align-items: center;
}

.header-searchbar img {
  width: 30px;
  height: 30px;
}

.header-searchbar input {
  border: none;
  background-color: #ededed;  
  border-radius: 30px;
  padding: 5px 200px;
}

.header-login-name-bell {
  width: 30px;
  height: 30px;
}

.header-login-name-logo {
  width: 40px;
  height: 40px;
}

.header-login-name {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Main Content with the Projects*/

.projects-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background-color: #ededed;
  padding: 20px;
  gap: 20px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-template-rows: auto; /* First row (title) is auto-sized */
  grid-auto-rows: 1fr;      /* All subsequent card rows fill the remaining space */
  gap: 10px;
}

.projects-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
  grid-column: 1 / -1;
  text-align: left;
}

.projects-container .card {
  background-color: #FFFFFF;
  color: black;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  margin-right: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-left: 8px solid orange;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.projects-container .card-icons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto; /* Push the icons to the bottom of the card */
}

.projects-container .card-icons img {
  width: 25px;
  height: 25px;
}

.card p {
  color: #666;
  font-weight: normal;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}

.card .title {
  font-size: 1.1rem;
  font-weight: bold;
  color: black;
  margin-bottom: 5px;
}

/* projects sidebar */

.projects-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.announcements-section,
.trending-section {
  display: flex;
  flex-direction: column;
  gap: 10px; /* This gap ensures the distance between title and card matches the main grid gap */
}

.announcements-section .card,
.trending-section .card {
  border-left: none; /* Sidebar cards usually don't have the accent border or have it differently */
  padding: 20px;
}

.announcements-section .card .title {
  font-size: 0.9rem;
  margin-top: 15px;
}

.announcements-section .card .title:first-child {
  margin-top: 0;
}

.announcements-section .card .title {
  font-size: 0.8rem;
  border-top: 1px solid #afaeae;
  padding-top: 15px;
}

.announcements-section .card p:first-child {
  border-top: none;
  padding-top: 0;
}


.trending-greeting img {
  width: 40px;
  height: 40px;
}

.trending-greeting {
  display: flex;
  align-items: center;
  gap: 10px;
} 

.trending-greeting-name-container {
  display: flex;
  flex-direction: column;
}

.trending-greeting-name {
  font-size: 10px; /* Increased slightly for readability, but kept small as requested */
  color: #666;
  font-weight: normal;
}

.trending-greeting-text {
  font-size: 12px;
  font-weight: bold;
}

.trending-card .trending-greeting-name {
  font-size: 10px; /* High specificity to override .card p */
}

.trending-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
}