/* General Styles */
body {
  font-family: "Comic Neue";
  background: #f1f4fe;
  margin: 0%;
  padding: 0%;
}
html {
  font-size: 62.5%;
}
.nav-container {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f1f4fe;
  padding: 16px 12rem;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.nav-left {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-left a {
  text-decoration: none;
}
.arrow-left {
  color: #000000;
  margin-right: 0.8rem;
  font-size: 2rem;
  cursor: pointer;
}
.nav-left-text {
  font-weight: bold;
  color: #000000;
  font-size: 2rem;
  font-weight: 500;
}
.nav-right {
  display: flex;
  align-items: center;
}
.points-section {
  display: flex;
  align-items: center;
  margin-right: 1.6rem;
  font-size: 2rem;
  font-weight: 500;
}
.star-icon {
  margin-right: 0.6rem;
  font-size: 2rem;
  font-weight: 500;
}
.initial-icon img {
  width: 4.6rem;
  height: 4.6rem;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffdb5b;
  border-radius: 50%;
  font-weight: 600;
  color: #000000;
}
/* Main Content */
.main-container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.progress-section {
  width: 282px;
  height: 412px;
  background-color: #ffffff;
  padding: 2.4rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.progress-section h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 30px;
  color: #000000;
}
.progress-section p {
  font-size: 1.28rem;
  line-height: 19.2px;
  font-weight: 400;
  color: #000000;
}
.progress-bar-container span {
  color: #000000;
  font-family: "poppins";
}

.progress-bar-container {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 19.2px;
  margin-bottom: 32px;
}
.progress-bar {
  width: 100%;
  background-color: #d9d9d9;
  height: 8px;
  border-radius: 10px;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}
.progress-fill {
  width: 0%;
  height: 100%;
  background-color: #ffdb5b;
  position: absolute;
}
.module-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 43px;
  font-size: 1.4rem;
}
.module-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}
.module-text {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}
.module-text .module-status {
  font-weight: 400;
  font-size: 1.024rem;
  line-height: 15.36px;
  color: #04d204;
}
.module-item i {
  color: #292d32;
  font-size: 16px;
  margin-left: auto;
}
/* Main Video Section */
.video-section {
  margin: 0 auto 2rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 1200px;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(234, 243, 254, 1);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.play-icon {
  width: 10%;
  opacity: 0.8;
}
.video-description {
  text-align: justify;
  width: 100%;
}
.video-description h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 37.5px;
  color: #000000;
}
.video-description p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 24px;
  margin: 0.5rem 0 1.5rem;
  color: #000000;
}
.btn {
  width: 139px;
  height: 43px;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 19.2px;
  color: #2d2d2d;
  padding-top: 12px;
  padding-right: 16px;
  padding-bottom: 12px;
  padding-left: 16px;
  border-radius: 8rem;
  border: none;
  margin-right: 8px;
  cursor: pointer;
}
.btn-yellow {
  background-color: #ffc909;
}
.btn-outline {
  background-color: #d7d7d7;
}
/* Right Sidebar - Today's Goals */
.goals-section {
  width: 25%;
  height: 256px;
  background-color: #ffffff;
  padding: 2.4rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.goals-section h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 30px;
}
.goal-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  color: #c3c3c3;
  font-size: 1.28rem;
  line-height: 19.2px;
  font-weight: 400;
}
.goal-item span {
  font-size: 1.024rem;
  font-weight: 400;
  line-height: 15.36px;
  color: #ffc909;
}
/* Bottom Section - Quick Quiz & Savings Game */
.bottom-section {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}
.bottom-card {
  height: 183px;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}
.bottom-card h4 {
  color: #000000;
  font-size: 1.6rem;
  line-height: 24px;
  font-weight: 600;
}
.bottom-card p {
  color: #000000;
  font-size: 1.28rem;
  line-height: 19.2px;
  font-weight: 400;
}
.bottom-card a {
  font-size: 1.6rem;
  line-height: 24px;
  font-weight: 500;
  color: #878787;
  text-decoration: none;
}

/* Dropdown Menu Styles */

.profile-icon {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%; /* Adjust as needed */
  right: 0;
  background-color: #fff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.profile-icon:hover .dropdown-content {
  display: block;
}
/* ... rest of your CSS styles ... */
.cardcolor {
  flex-direction: column;
  display: flex;
  min-width: 10vw !important;
  justify-content: center;
  padding: 1rem 4rem;
}
.topareas {
  display: flex;
  flex-direction: column;
}

.line {
  border-bottom: 1px solid grey;
}

a {
  text-decoration: none;
  color: black;
}

.toparea {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
  gap: 1.3rem;
  border-bottom: 1px solid grey;
}

.deepfont {
  font-size: 1.8rem;
  font-weight: 700;
}
.toparea img {
  width: 10vw;
  height: 14vh;
}

.smallerfont {
  font-size: 1.8rem;
  font-weight: 400;
}

.twoareas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.textandimg p {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.9rem;
}
.textandimg p a:hover {
  color: #0aa6b2;
}

.topareas {
  display: flex;
  margin-top: 1rem;
  flex-direction: column;
  gap: 1rem;
}

.textandimg {
  display: flex;
  gap: 1.5rem;
}

.liner {
  border-bottom: 1px solid black;
  width: 80%;
  margin-top: 3rem;
  padding-top: 2rem;
}

.textandimg img {
  position: relative;
  top: -00rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: absolute;
  z-index: 10;
  left: -40rem;
  bottom: 5rem !important;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content p {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
}

.continue-btn,
.logout-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-family: "Roboto", sans-serif;
  cursor: pointer;
}

.continue-btn {
  background-color: #dbe5ff; /* Blue shade */
  color: #000;
}

.logout-btn {
  background-color: #ffe5e5; /* Red shade */
  color: #000;
}

.continue-btn:hover,
.logout-btn:hover {
  opacity: 0.4;
}
