* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  font-family: "Inter", sans-serif;
  background-color: #f4f6f9;
  color: #1a1a1a;
  height: 100%;
}
.page-container {
  display: flex;
}

.content {
  margin-left: 250px;
  width: 80%;
  height: 100%;
  background-color: snow;
}
.header {
  width: 100%;
  height: 70px;
  background-color: hsla(240, 88%, 23%, 0.819);
  color: white;
  font-size: 2.3em;
  padding: 10px;
  text-align: center;
}
#img1 {
  height: 300px;
  width: 100%;
}
.welcome {
  margin-top: -5px;
  height: 60px;
  text-align: center;
  background-color: rgb(225, 179, 62);
  color: rgb(255, 255, 255);
}
.welcome h3 {
  font-size: 1.5em;
}
.welcome p {
  padding-top: 10px;
  text-align: center;
  color: rgb(108, 70, 27);
  font-size: 1.2em;
}
.section1 {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.announcements {
  height: 500px;
  width: 48%;
  background-color: #fff9e6;
  padding: 10px;
  margin: 10px;
  border-radius: 20px;
}
.announcements h2 {
  text-align: center;
  background-color: rgb(213, 27, 27);
  color: white;
  border-radius: 20px;
}
#scrollBar {
  height: 450px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  background-color: #fffef3;
  border: 1px solid #ddd;
  padding: 5px;
}
.scroll-content {
  display: flex;
  flex-direction: column;
  animation: scroll-loop 25s linear infinite;
}
.scroll-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.scroll-content li {
  background: #fff;
  margin: 8px;
  padding: 12px 15px;
  border-left: 4px solid #d32f2f;
  font-size: 0.95rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  color: #333;
}
@keyframes scroll-loop {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
.project-status {
  height: 500px;
  width: 50%;
  padding: 10px;
  margin: 10px;
  border-radius: 20px;
  background-color: #e8f0ff;
}
.project-status h2 {
  text-align: center;
  background: #7b99d0;
  color: white;
  padding: 10px;
  border-radius: 15px;
  margin-bottom: 15px;
}
.project-card {
  background-color: white;
  border-left: 5px solid #2e5aac;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 8px 15px;
  border-radius: 12px;
  margin-bottom: 15px;
}
.project-card h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.project-card p {
  margin: 2px 0;
}
.status {
  font-weight: bold;
}
.status.completed {
  background-color: #d4edda;
  color: #155724;
}
.progress {
  color: white;
  background-color: #4caf50;
  height: 10%;
  text-align: center;
  line-height: 20px;
  font-size: 0.8em;
  border-radius: 10px 0 0 10px;
}
.section2 {
  display: flex;
  justify-content: space-evenly;
  height: 550px;
  width: 100%;
}
.container {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card {
  background: rgb(236, 236, 156);
  box-shadow: 0 4px 6px rgba(236, 236, 236, 150, 0.6);
  border-radius: 8px;
  padding: 5px;
  margin: 10px;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  gap: 10px;
  background-color: rgba(255, 250, 250, 0.734);
  padding: 10px;
  border-radius: 12px;
}

.notes {
  background-color: rgb(239, 206, 211);
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  height: 300px;
  overflow-y: auto;
}
.notes h2 {
  text-align: center;
  color: white;
  background: #d89c1d;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 15px solid white;
  border-right: 15px solid white;
}
#notesInput {
  width: 100%;
  height: 80px;
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: none;
}
.notes button {
  padding: 5px;
  background-color: rgba(23, 23, 152, 0.614);
  color: white;
  border: 1px solid white;
  border-radius: 2px;
  margin-left: 35%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notes button:hover {
  background-color: #1e3e80;
}
#savedNotes {
  margin-top: 10px;
}
.saved-note {
  background-color: #ffffff;
  padding: 10px;
  margin-bottom: 10px;
  border-left: 4px solid rgb(227, 84, 107);
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.notes-list {
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 5px;
}
.calendar-container {
  width: 100%;
  max-width: 550px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
}

.calendar-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #2c3e50;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-header h3 {
  margin: 0;
  color: #34495e;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  overflow-y: auto;
  max-height: 320px;
}

.calendar-grid div {
  padding: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.calendar-grid .weekday {
  font-weight: bold;
  background-color: transparent;
  cursor: default;
  color: #34495e;
}

.calendar-grid .day:hover {
  background-color: #f0f4f8;
}

.task-day {
  background-color: #2ecc71 !important;
  color: white;
}

.today {
  background-color: #2980b9;
  color: white;
}

.task-display {
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 10px;
  overflow-y: auto;
  max-height: 120px;
}

.task-inputs {
  display: flex;
  margin-top: 10px;
  gap: 8px;
}

#newTask {
  flex-grow: 1;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#addTaskBtn {
  padding: 5px 12px;
  background-color: #3498db;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

#addTaskBtn:hover {
  background-color: #2980b9;
}

#taskList li {
  margin: 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#taskList li button {
  background-color: crimson;
  border: none;
  color: white;
  font-size: 12px;
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
}
.team-info {
  margin-top: 30px;
  padding: 10px 20px;
}
.team-info h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}
.team-scroll-wrapper {
  overflow: hidden;
  position: relative;
}
.team-scroll-track {
  display: flex;
  gap: 15px;
  animation: scroll-left 20s linear infinite;
  width: max-content;
}
.team-card {
  min-width: 180px;
  flex-shrink: 0;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: rgb(237, 170, 237);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 0.95em;
  color: #333;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.suggestion-box {
  background: #f7f7f7;
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.suggestion-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.suggestion-box input,
.suggestion-box textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: none;
}

.suggestion-box button {
  align-self: flex-start;
  background-color: #4caf50;
  color: white;
  padding: 6px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

.suggestion-box button:hover {
  background-color: #388e3c;
}

.quick-links {
  background: #e9f5ff;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}
.quick-links h3 {
  text-align: center;
}

.links-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.links-container a {
  padding: 8px 14px;
  background: #2196f3;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.links-container a:hover {
  background: #1976d2;
}

.intranet-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  font-size: 13px;
  padding: 15px;
  margin-top: 30px;
  border-top: 2px solid #444;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 250px;
  background-color: #1f2d3d;
  padding: 20px;
  color: white;
  z-index: 999;
}

.sidebar h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #4fc3f7;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 15px 0;
}

.sidebar a {
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  display: block;
  transition: 0.2s ease;
}

.sidebar a:hover {
  color: #4fc3f7;
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .menu {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu a {
    display: inline-block;
    padding: 10px;
    font-size: 14px;
  }

  .section2 {
    flex-direction: column;
    height: auto;
  }

  .notes,
  .calendar,
  .quick-stats,
  .feedback,
  .shortcuts {
    width: 100%;
    margin-bottom: 20px;
  }

  .teams-container {
    overflow-x: scroll;
    white-space: nowrap;
    width: 100%;
  }

  .team {
    display: inline-block;
    min-width: 250px;
    margin-right: 10px;
  }

  .scroll-container {
    font-size: 14px;
  }

  .progress-card,
  .footer {
    flex: 1 1 100%;
    width: 100%;
  }
  .main-content {
    margin-left: 0;
    overflow-x: auto;
  }
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    padding: 10px;
  }
}
.main-content {
  margin-left: 200px;
}
