body {
  font-family: "Comic Neue";
  background: rgba(234, 243, 254, 1);
  margin: 0%;
  padding: 0%;
}
html {
  font-size: 62.5%;
}
a {
  color: white;
  text-decoration: none;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 120px;
  background-color: rgba(234, 243, 254, 1);
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(12, 12, 13, 0.1);
}
.back-btn {
  background: none;
  border: none;
  color: rgba(0, 0, 0, 1);
  font-size: 2.25rem;
  font-weight: 400;
}
.profile-icon img {
  width: 50px;
  height: 50px;
  border-radius: 1000px;
}
.explore-section {
  padding: 50px 120px;
}
.explore-section h2 {
  font-size: 2.25rem;
  line-height: 31.35px;
  font-weight: 400;
  color: rgba(0, 0, 0, 1);
}

.search-bar input {
  border: none;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 31.35px;
  background-color: rgba(255, 255, 255, 1);
  width: 98%;
  color: rgba(170, 170, 170, 1);
  padding: 12px 16px;
  border-radius: 72px;
}

.search-bar {
  margin-bottom: 40px;
}
.course-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.course-card {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 8px rgba(12, 12, 13, 0.1);
}
.course-card p {
  font-size: 1.44rem;
  font-weight: 400;
  line-height: 20.07px;
  color: rgba(45, 45, 45, 1);
}
.course-card img {
  width: 100%;
  height: 261px;
}
.course-info {
  display: flex;
  align-items: center;

  justify-content: space-between;
}
.course-info h3 {
  display: flex;
  align-items: center;
  width: 150px;
  height: 50px;
  line-height: 25.08px;
  font-weight: 700;
  color: rgba(7, 117, 239, 1);
  font-size: 1.8rem;
}
.course-info span {
  margin-left: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 31px;
  background: rgba(254, 225, 187, 1);
  color: rgba(0, 0, 0, 1);
  font-size: 1.024rem;
  border-radius: 8px;
}
.enroll-course-btn {
  background-color: rgba(7, 117, 239, 1);
  width: 360px;
  height: 38px;
  color: rgba(255, 255, 255, 1);
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.024rem;
}
.littlepadding {
  padding-bottom: 19px;
}
/* ... your existing CSS ... */

.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 {
  min-width: 20vw;
  flex-direction: column;
  display: flex;
  justify-content: center;
  min-height: 30rem;
  padding: 1rem 2rem;
}
.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;
}

.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: -0.1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: absolute;
  z-index: 10;
  left: -40rem;
  top: 170px;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  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;
}
.padding-down {
  padding-bottom: 2rem;
}
