* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.iframe {
  margin: 3rem;
  margin-top: 5rem;
}

.form-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

h1.main-title {
  font-family: "Dongle", sans-serif;
  font-size: 7rem;
  margin: 0;
  background: linear-gradient(to right, #667eea, #764ba2);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

p.subtitle {
  font-family: "Manrope", sans-serif;
  margin: 0;
}

p.subtitle2 {
  font-size: 0.75rem;
  color: red;
  margin-bottom: 1rem;
}

p.subtitle3 {
  font-size: 0.75rem;
opacity: 0.5;
  margin-bottom: 1rem;
}

#main__img {
  position: relative;
  top: -850px;
  right: 200px;
  width: 100%;
  height: 100px;
  rotate: 35deg;
  scale: 11;
  z-index: -99;
}

/* Curved gradient background */
/* .curved-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100vh;
  background: linear-gradient(135deg, #a8c8ec 0%, #7d6fcc 50%, #4a47a3 100%);
  clip-path: ellipse(120% 100% at 100% 0%);
  z-index: -2;
} */

/* 3D Spheres */
.sphere {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.4),
    rgba(0, 0, 0, 0.1)
  );
  box-shadow: inset -20px -20px 40px rgba(0, 0, 0, 0.2),
    20px 20px 40px rgba(0, 0, 0, 0.1);
  z-index: -1;
}

.sphere-1 {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 42%;
  background: radial-gradient(circle at 30% 30%, #b8d4f0, #8ba3d1);
}

.sphere-2 {
  width: 140px;
  height: 140px;
  bottom: 15%;
  left: 35%;
  background: radial-gradient(circle at 30% 30%, #9bb8e6, #6b84c7);
}

.sphere-3 {
  width: 200px;
  height: 200px;
  bottom: 5%;
  right: 20%;
  background: radial-gradient(circle at 30% 30%, #7a95d6, #4a5db8);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.2rem 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  text-decoration: none;
}

.nav-signup-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-login-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  align-items: center;
}

.settings-btn {
  font-family: "Manrope", sans-serif;
  border: none;
  font-size: 1rem;
  background: transparent;
  cursor: pointer;
}

.settings-btn:hover {
  font-weight: 600;
}

.manage-courses-btn {
  font-family: "Manrope", sans-serif;
  border: none;
  font-size: 1rem;
  background: transparent;
  cursor: pointer;
  margin-right: 2rem;
  margin-left: 2rem;
}

.manage-courses-btn:hover {
  font-weight: 600;
}

.dashboard-btn:hover {
  font-weight: 600;
}

.feedback-btn:hover {
  font-weight: 600;
}

.nav-signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Main content */
.main-content {
  margin-top: 80px;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6rem;
  min-height: 70vh;
  padding-top: 2rem;
}

/* Left side - Title */
.title-section {
  flex: 1;
  max-width: 500px;
  padding-top: 2rem;
}

.main-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #4a5db8;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  color: #2d3748;
  font-size: 1rem;
  font-weight: 500;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #4a5db8, #667eea);
  border-radius: 50%;
  margin-right: 1.2rem;
  flex-shrink: 0;
  position: relative;
}

.feature-icon::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 13px;
  font-weight: bold;
}

/* Right side - Auth forms */
.auth-section {
  flex: 0 0 450px;
  position: relative;
  z-index: 10;
}

.auth-container {
  /* background: rgba(255, 255, 255, 0.9); */
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.auth-tabs {
  display: flex;
  margin-bottom: 2rem;
  background: transparent;
  box-shadow: inset 1px 1px 10px rgba(68, 68, 68, 0.205);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 0.3rem;
}

.auth-tab {
  flex: 1;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tab.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  /* background: rgba(255, 255, 255, 0.7); */
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 1px 1px 10px rgba(68, 68, 68, 0.11);
  border-radius: 12px;
  color: #252630;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: #fff;
  opacity: 0.5;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.247);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #2d3748, #4a5568);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(45, 55, 72, 0.3);
  margin-top: 0.5rem;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 55, 72, 0.4);
}

.divider {
  text-align: center;
  color: #a0aec0;
  margin: 1.5rem 0;
  position: relative;
  font-size: 0.9rem;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

.divider span {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 0 1rem;
}

.auth-link {
  text-align: center;
  color: #667eea;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.auth-link span {
  color: #667eea;
  cursor: pointer;
  font-weight: 500;
}

.auth-link span:hover {
  text-decoration: underline;
}

/* Grade preview card */
.grade-preview {
  position: absolute;
  bottom: -50px;
  right: -120px;
  width: 200px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 5;
}

.grade-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.grade-item:last-child {
  margin-bottom: 0;
}

.grade-subject {
  color: #4a5568;
  font-weight: 500;
}

.grade-bar {
  width: 60px;
  height: 6px;
  background: rgba(116, 75, 162, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 0.8rem;
}

.grade-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 3px;
  transition: width 1s ease-out;
}

.grade-fill.a {
  width: 90%;
}
.grade-fill.b {
  width: 85%;
}
.grade-fill.c {
  width: 78%;
}

.grade-letter {
  color: #667eea;
  font-weight: 600;
  min-width: 20px;
}

@media (max-width: 1024px) {
  .curved-background {
    width: 100%;
    clip-path: ellipse(100% 60% at 50% 0%);
  }

  .hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    padding-top: 1rem;
  }

  .title-section {
    max-width: 600px;
  }

  .auth-section {
    flex: none;
    width: 100%;
    max-width: 450px;
  }

  .main-title {
    font-size: 3.5rem;
  }

  .grade-preview {
    position: static;
    margin-top: 2rem;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 2rem 1rem;
  }

  .navbar {
    padding: 1rem;
  }

  .main-title {
    font-size: 2.8rem;
  }

  .auth-container {
    padding: 2rem;
  }

  .hero-section {
    gap: 2rem;
  }

  .sphere-1,
  .sphere-2,
  .sphere-3 {
    display: none;
  }
}

/* DASHBOARD STYLES */
/* DASHBOARD STYLES */
/* DASHBOARD STYLES */
/* DASHBOARD STYLES */
/* DASHBOARD STYLES */
.add-custom-course-text {
  font-weight: 800;
  margin-bottom: 1rem;
}

.add-custom-course-box {
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  width: 100%;
  height: 15vh;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin-bottom: 1rem;
}
.add-custom-course-btn {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  background: none;
}

.body {
  font-family: "Manrope", sans-serif;
}

/* TOP SECTION W/ GREETING */
.greeting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Manrope", sans-serif;
  width: 100%;
  margin: 75px 0 -50px 0;
  padding: 0.5rem;
}

.term-label {
  opacity: 0.7;
  margin: 0;
  line-height: 1;
  padding: 1rem;
}

.userTitle {
  opacity: 0.7;
  margin: 0 0 1rem 0;
  padding-left: 2rem;
}

/* TOP SECTION WITH AVERAGES */
.average-row {
  margin-left: 3rem;
  padding: 1rem;
}

.overallAvg {
  /* margin: 0;
  padding-left: 2rem; */
  font-size: 3rem;
  /* margin-bottom: 3rem; */
}

/* DASHBOARD TOP ROW */
.dashboard-row-1 {
  display: grid;
  grid-template-columns: 800px 1fr 225px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin: 0rem 3rem 1rem 3rem;
  align-items: stretch;
}

.recent-grades-box {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  margin: 0;
  width: 100%;
  height: 35vh;
  box-sizing: border-box;
}

.recent-grades {
  padding: 2rem;
}

.grade-date p {
  font-size: 0.7rem;
  display: block;
  padding: 0;
}

.test-name p {
  font-size: 0.7rem;
}

.recent-gradeItem {
  height: auto;
  display: flex;
  flex-direction: row;
  list-style: none;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  box-sizing: border-box;
}

.left-section {
  display: flex;
  flex-direction: column;
}

.right-section {
  flex-direction: column;
  text-align: right;
}

.letter-grade {
  background-color: rgba(52, 248, 68, 0.2);
  color: #0a6d13;
  border-radius: 5px;
  padding: 0.1rem;
  text-align: center;
}

/* OVERVIEW STATS GRAPH */

.overview-box {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  margin: 0;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto;
}

/* QUICK ACTIONS */

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  margin-top: 0.5rem;
  width: 100%;
  flex-grow: 1;
  padding: 0.5rem;
  gap: 0.5rem;
}

.quick-actions-box {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  margin: 0;
  width: 100%;
  height: auto;
  justify-content: flex-start;
  position: relative;
}

.quick-actions-text {
  padding: 2rem;
  text-align: center;
}

/* QUICK ACTION BUTTONS */
.quick-actions button {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: transparent;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  justify-self: center;
  align-self: center;
}

/* CURRENT  COURSES */

.dashboard-row-2 {
  display: grid;
  margin: 1rem 3rem 0 3rem;
  grid-template-columns: 800px;
  gap: 1rem;
}

.courses-box {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  margin: 0;
  width: 100%;
  height: auto;
  justify-content: flex-start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  box-sizing: border-box;
}

.current-courses {
  margin-bottom: -0.5rem;
}
.course-card {
  font-family: "Manrope", sans-serif;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  background: transparent;
  padding: 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  box-sizing: border-box;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-card h3 {
  text-align: left;
}

.course-card span {
  text-align: right;
}

.course-card p {
  font-size: 85%;
  text-align: left;
  font-weight: 200;
}

.progress-container {
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: #141414;
  border-radius: 5px 0 0 5px;
}

/* SETTINGS PAGE */
/* SETTINGS PAGE */
/* SETTINGS PAGE */
/* SETTINGS PAGE */
/* SETTINGS PAGE */

body {
  font-family: "Manrope", sans-serif;
  margin: 0;
  background-color: #f8f8f8;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-link {
  margin-left: 2rem;
  margin-right: 2rem;
  color: black;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
}

.nav-link:hover {
  font-weight: 800;
}

.settings-content {
  display: flex;
  justify-content: center;
}

.settings-content h1 {
  margin-top: 5rem;
  margin-left: 1rem;
}

.settings-sidebar-list {
  background-color: #fafafa;
  width: 200px;
  height: 100%; /* full screen height */
  padding: 3rem;
  margin: 3rem 0 0 0;
  box-sizing: border-box;
  list-style-type: none;
  box-shadow: 5px 0px 5px rgba(102, 126, 234, 0.3);
  z-index: 2;
  position: relative;
}
.settings-section {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: #fafafa;
  z-index: -1;
}

.settings-sidebar a {
  display: block;
  text-decoration: none;
  color: #141414;
  padding: 1rem;
}

.settings-section h2 {
  margin-top: 0;
}

.settings-section label {
  display: block;
  font-weight: 500;
}

.settings-section input[type="text"],
.settings-section input[type="email"],
.settings-section input[type="password"],
.settings-section input[type="confirm-password"] {
  width: 100%;
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 0.25rem;
  box-sizing: border-box;
}

button {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.secondary-btn {
  background: #e0e0e0;
}

.danger-btn {
  background: #ff4d4d;
  color: white;
  margin-right: 1rem;
}

/* settings conditionals */

.settings-container {
  display: none;
}
.settings-container.active {
  display: block;
}

/* COURSES */
/* COURSES */
/* COURSES */

.course-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Manrope", sans-serif;
  width: 100%;
  margin: 75px 0 -50px 0;
  padding: 0.5rem;
}

.teacher {
  opacity: 0.7;
  margin: 0;
  line-height: 1;
  padding: 1rem;
}

.courseTitle {
  opacity: 0.7;
  margin: 0 0 1rem 0;
  padding-left: 2rem;
}

.info {
  font-size: 1rem;
  font-style: italic;
  color: red;
}

.grade-box {
  margin-top: 3rem;
  margin-left: 7rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 7px;
  width: 60vh;
  margin: auto;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body .grade-box {
  font-size: 1rem;
}

.grade-input,
.weight-input,
.assignment-input {
  font-family: "Manrope", sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  font-size: 2rem;
}

.assignment-input {
  font-size: 1rem;
  width: 100%;
}

.grade-input,
.weight-input {
  font-size: 1.5rem;
  width: 80%;
  text-align: center;
}

.grade-input::placeholder {
  font-family: "Manrope", sans-serif;
  color: #999;
  font-size: 0.7rem;
}

.weight-input::placeholder {
  font-size: 0.7rem;
}

.grades-table {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  font-family: "Manrope", sans-serif;
}

.grades-table tr {
  margin-top: 0.5rem;
  gap: 1rem;
  font-family: "Manrope", sans-serif;
}
.grades-table td {
  font-family: "Manrope", sans-serif;
  width: 0;
  text-align: right;
  white-space: nowrap;
  font-size: 1rem;
}

.feedback-btn {
  background: transparent;
  font-size: 1rem;
}

.dashboard-btn {
  background: transparent;
}

.delete-btn {
  background: #ff4d4d;
  color: white;
  font-size: 75%;
  text-align: center;
  width: 60%;
  padding: 0.2rem 0.4rem;
}

.grades-table th {
  text-align: right;
}

th.testquizexam {
  text-align: left;
}

#add-assignment-btn {
  color: white;
  background-color: #4caf50;
}

/* MANAGE COURSES */
/* MANAGE COURSES */
/* MANAGE COURSES */
/* MANAGE COURSES */
/* MANAGE COURSES */

.search-container h1 {
  margin: 1rem;
  margin-bottom: 0rem;
}

.search-container .manage-current-courses button {
  background-color: red;
}

.search-container .manage-current-courses button:hover {
  background-color: rgb(160, 0, 0);
}

.manage-current-courses {
  padding: 1rem;
  border-radius: 12px;
  margin: 7rem 2rem 2rem 2rem;
  background-color: rgb(223, 223, 223);
}

.course-search-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px;
  margin: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-search-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.course-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.course-search-card button {
  background-color: #4caf50;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.course-search-card button:hover {
  background-color: #45a049;
}

.math-course-boxes,
.science-course-boxes,
.lang-course-boxes,
.other-course-boxes {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.math-row h3,
.science-row h3,
.lang-row h3,
.other-row h3 {
  margin: 1rem;
  margin-bottom: 0;
}

.course-teacher {
  margin-left: auto;
  margin-right: 1rem;
}

#courseSearch {
  width: 100vh;
  margin: 1rem;
  padding: 0.5rem;
  font-size: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 7px;
  font-family: "Manrope", sans-serif;
}

#courseSearch::placeholder {
  font-family: "Manrope", sans-serif;
}

.courses-bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.courses-bar button {
  margin-top: 6rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .manage-current-courses {
    margin-top: 10rem;
  }

  .iframe {
    margin-top: 10rem;
    max-width: 100%;
    height: 80vh;
  }

  .assignment-row {
    flex-direction: column;
    align-items: stretch;
  }

  .assignment-row input {
    width: 100%;
  }

  button {
    width: 100%;
    margin-top: 8px;
  }

  .container {
    padding: 8px;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  table th,
  table td {
    padding: 8px;
    word-wrap: break-word;
  }

  body {
    font-size: 14px;
  }

  .assignment-row input {
    font-size: 13px;
    padding: 8px;
  }

  button {
    font-size: 13px;
    padding: 8px;
  }

  .assignment-row {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }

  .assignment-row input {
    width: 100%;
  }

  button {
    width: 100%;
    margin-top: 8px;
  }

  .container {
    padding: 8px;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  table th,
  table td {
    padding: 8px;
    word-wrap: break-word;
  }

  body {
    font-size: 14px;
  }

  .assignment-row input {
    font-size: 13px;
    padding: 8px;
  }

  button {
    font-size: 13px;
    padding: 8px;
  }

  .dashboard {
    display: flex !important;
    flex-direction: column;
    padding: 10px;
  }

  .dashboard-left,
  .dashboard-right {
    flex: 1;
    width: 100%;
  }

  .grades-table,
  .card,
  button {
    width: 100%;
  }

  body {
    font-size: 14px;
    padding: 0 0.5rem;
  }

  h1.main-title {
    font-size: 5rem;
    font-family: "Dongle", sans-serif !important;
    text-align: center;
  }

  p.subtitle {
    font-size: 1rem;
    text-align: center;
  }

  /* Hide hero image on welcome screen */
  #main__img {
    display: none;
  }

  /* Navbar */
  .navbar-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .settings-btn {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .dashboard-btns {
    display: flex !important;
    flex-direction: row;
    background: transparent;
  }

  .dashboard-btn {
    background: none;
    padding: 0.5rem;
    font-size: 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .feedback-btn {
    background: transparent;
    font-size: 1rem;
  }
  .nav-signup-btn,
  .nav-login-btn {
    width: 100%;
    padding: 0.8rem;
  }

  .auth-tab {
    margin: 0;
    color: #2d3748;
  }

  .grade-preview {
    display: none !important;
  }

  /* Hero section */
  .hero-section {
    display: flex !important;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .title-section {
    max-width: 100%;
    padding-top: 0;
    text-align: center;
  }

  .form-input {
    font-family: "Manrope", sans-serif;
  }

  .form-input::placeholder {
    font-family: "Manrope", sans-serif;
    color: black;
    opacity: 0.5;
  }
  .features {
    align-items: center;
  }

  .auth-section {
    width: 100%;
    max-width: 100%;
  }

  /* Forms */
  .form-input {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .auth-btn {
    padding: 0.8rem;
    font-size: 1rem;
  }

  /* Dashboard */

  .overallAvg {
    /*margin-top: 5rem;*/
    font-size: 1.5rem;
    text-align: left;
  }

  .average-row {
    margin-left: 0rem;
  }

  .greeting-row {
    margin-top: 9rem;
    margin-bottom: 0;
  }

  .userTitle {
    margin: 0;
    padding: 0;
  }

  .dashboard-row-1 {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
    gap: 1rem;
  }

  .recent-grades-box {
    height: auto;
  }

  /* Current courses falls under recent grades */
  .dashboard-row-2 {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
  }

  .courses-box {
    padding: 1rem;
  }

  /* Grade table (courses) */
  .grade-box {
    width: 100%;
    margin: 1rem 0;
    padding: 1rem;
  }

  .grades-table th,
  .grades-table td {
    font-size: 0.9rem;
    text-align: left;
  }

  .delete-btn {
    width: 100%;
    margin-top: 0;
  }

  .grade-input::placeholder {
    font-family: "Manrope", sans-serif;
    color: #999;
    font-size: 0.7rem;
  }

  .grade-input,
  .weight-input,
  .assignment-input {
    font-size: 0.75rem;
    width: 100%;
  }

  .grade-input {
    width: 110%;
  }

  .assignment-input {
    width: 110%;
  }

  .course-row {
    padding: 1rem;
    padding-bottom: 0;
    margin-top: 9rem;
    margin-bottom: 0rem;
    flex-direction: row;
    align-items: flex-start;
  }

  .courseTitle {
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    font-size: 2rem;
  }

  .teacher {
    line-height: 1;
    padding: 0;
    width: 100%;
    height: auto;
    text-align: right;
  }

  /* Manage courses cards */
  .course-search-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .course-search-card button {
    align-self: stretch;
    text-align: center;
    width: 100%;
  }

  #courseSearch {
    width: 95%;
    font-size: 1rem;
  }
}
