:root {
  --Primary-Color: #589cd3;
  --Secondary-Color: #9ebed8;
  --Tertiary-Color: #d8ecfe;
  --Quaternary-Color:#eef7ff;
  --ColorWhite: #ffffff;
  --Color1: #e8e9f1;
  --Color2: #F6F7FB;

  --Primary-Text-Color: #313131;
}
body {
  background-color: var(--Color2);
  margin: 0;
  padding: 0;
}
/*Text Styles*/
p {
  color: rgb(0, 0, 0);
}
.p2{
  color: var(--Primary-Text-Color);
}

h1{
font-size: 30px;
color: var(--Primary-Text-Color);
font-family: 'Oswald', Courier, monospace;
}
h2{
  font-size: 30px;
  color: var(--Primary-Text-Color);
  font-family: 'DM Sans', sans-serif;
}

/*Navigation Bar*/
ul {
  list-style-type: none;
  background-color: rgb(228, 228, 228);
  margin: 0;
  padding: 0;
  overflow: hidden;
}
ul li {
  float: right;
}
ul li a {
  display: block;
  color: rgb(39, 39, 39);
  background-color: rgb(228, 228, 228);
  text-align: center;
  padding: 32px 26px;
  text-decoration: none;
  font-size: 20px;
  font-family: 'Oswald', Courier, monospace;

}
ul li a:hover {
  background-color: #acacac;
}
.logo {
  float: left;
  padding: 24px 26px;
  background-color: rgb(228, 228, 228);
  font-size: 30px;
  font-family: 'Oswald', Courier, monospace;
}
img {
  display: block;
}
.image-container {
  width: 100%;
  height: 60%;

}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 100%;
}

.imagemain img {
  width: 40%;
  height: 30%;
  object-fit: contain;
}

/* Google sign-in and extended portfolio pages */
.login-page,
.members-page {
  min-height: 100vh;
  background: #f6f7fb;
  color: #202338;
  font-family: 'DM Sans', sans-serif;
}

.login-layout {
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 24px 24px;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  color: #202338;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--Primary-Color);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.login-card {
  box-sizing: border-box;
  width: min(100%, 440px);
  padding: 44px 40px 38px;
  border: 1px solid #e8e9f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(34 35 62 / 8%);
  text-align: center;
}

.login-icon,
.members-panel-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 18px;
  background: var(--Tertiary-Color);
  color: var(--Primary-Color);
  font-size: 28px;
}

.login-eyebrow {
  margin: 0 0 12px;
  color: var(--Primary-Color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.login-card h1,
.members-content h1 {
  margin: 0;
  color: #202338;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(32px, 6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.login-description {
  margin: 14px 0 28px;
  color: var(--Primary-Color);
  font-size: 15px;
  line-height: 1.7;
}

.google-button-wrap {
  display: flex;
  min-height: 44px;
  justify-content: center;
}

.login-message {
  min-height: 20px;
  margin: 14px 0 24px;
  color: var(--Secondary-Color);
  font-size: 12px;
  line-height: 1.5;
}

.back-home {
  display: inline-block;
  color: var(--Primary-Color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-home:hover,
.login-brand:hover {
  color: #493ab7;
}

.login-footer {
  margin: 24px 0 0;
  color: #9698a9;
  font-size: 12px;
}

/* Dashboard */
.dash-layout {
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 32px 24px 40px;
}

.dash-header {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.dash-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dash-nav a {
  color: #55596f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.dash-nav a:hover {
  color: var(--Primary-Color);
}

.dash-nav .sign-out-button {
  padding: 10px 16px;
  border: 1px solid #e0e1eb;
  border-radius: 999px;
  background: #fff;
  color: #45485d;
}

.dash-card {
  width: min(100%, 900px);
  text-align: left;
}

.dash-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dash-sub {
  margin: 28px 0 10px;
  color: #202338;
  font-size: 14px;
  font-weight: 700;
}

.dash-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 24px;
  color: #55596f;
  font-size: 13px;
}

.dash-legend .dot + .dot,
.dash-legend .dot:not(:first-child) {
  margin-left: 12px;
}

.legend-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  cursor: pointer;
  user-select: none;
}

.legend-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.legend-toggle .dot {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.legend-toggle input:not(:checked) + .dot {
  background: transparent;
}

.legend-toggle input:not(:checked) + .dot-assignment { border-color: var(--Primary-Color); }
.legend-toggle input:not(:checked) + .dot-rental { border-color: #f0a24a; }

.legend-toggle input:focus-visible + .dot {
  outline: 2px solid #202338;
  outline-offset: 2px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-assignment { background: var(--Primary-Color); }
.dot-rental { background: #f0a24a; }

.legend-group {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: -6px;
}

.class-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid #e8e9f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgb(34 35 62 / 14%);
}

.legend-group:hover .class-menu,
.legend-group:focus-within .class-menu {
  display: block;
}

.class-menu .legend-toggle {
  display: flex;
  margin: 0;
  padding: 5px 0;
  font-size: 13px;
}

.class-menu .dot {
  margin-left: 0;
}

.legend-toggle .dot-class {
  border-color: var(--dc);
  background: var(--dc);
}

.legend-toggle input:not(:checked) + .dot-class {
  background: transparent;
}

.dot-class.cal-c0 { --dc: #5cbf7e; }
.dot-class.cal-c1 { --dc: #ee7d8a; }
.dot-class.cal-c2 { --dc: #6d83e8; }
.dot-class.cal-c3 { --dc: #b36fd6; }
.dot-class.cal-c4 { --dc: #e8bf2c; }
.dot-class.cal-c5 { --dc: #3cb3ae; }
.dot-class.cal-c6 { --dc: #e66fa6; }
.dot-class.cal-c7 { --dc: #9a9a9a; }
.dot-class.cal-c8 { --dc: #a98250; }
.dot-class.cal-c9 { --dc: #f08a4b; }
.dot-class:not([class*="cal-c"]) { --dc: var(--Primary-Color); }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cal-nav {
  width: 38px;
  height: 38px;
  border: 1px solid #e0e1eb;
  border-radius: 12px;
  background: #fff;
  color: #45485d;
  font-size: 18px;
  cursor: pointer;
}

.cal-nav:hover {
  background: var(--Quaternary-Color);
  color: var(--Primary-Color);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.cal-dow {
  padding-bottom: 4px;
  color: #9698a9;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.cal-day {
  box-sizing: border-box;
  min-height: 86px;
  padding: 6px;
  border: 1px solid #e8e9f1;
  border-radius: 12px;
  background: #fff;
}

.dash-body {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: flex-start;
  gap: 24px;
}

.dash-body .dash-card {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.day-panel {
  position: sticky;
  top: 24px;
  flex: 0 0 300px;
  width: 300px;
  box-sizing: border-box;
  padding: 24px 20px;
  border: 1px solid #e8e9f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(34 35 62 / 8%);
}

.cal-layout {
  display: block;
}

.cal-selected {
  box-shadow: 0 0 0 2px var(--Primary-Color);
  cursor: pointer;
}

.day-panel .login-eyebrow {
  margin-bottom: 6px;
}

.day-title {
  margin: 0 0 14px;
  color: #202338;
  font-size: 16px;
  font-weight: 700;
}

.day-item {
  position: relative;
  margin-bottom: 8px;
  padding: 10px 28px 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.day-item span {
  font-size: 12px;
  opacity: 0.8;
}

.day-item .cal-del {
  position: absolute;
  top: 8px;
  right: 8px;
}

.day-empty {
  margin: 0;
  color: #9698a9;
  font-size: 13px;
}

.cal-grid .cal-day {
  cursor: pointer;
}

@media (max-width: 900px) {
  .dash-body {
    flex-direction: column;
  }

  .day-panel {
    position: static;
    flex: none;
    width: 100%;
  }
}

.cal-today {
  border-color: var(--Primary-Color);
  background: var(--Quaternary-Color);
}

.cal-num {
  color: #55596f;
  font-size: 12px;
  font-weight: 700;
}

.cal-item {
  margin-top: 4px;
  padding: 3px 6px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cal-assignment {
  background: var(--Tertiary-Color);
  color: #1f4f7a;
}

.cal-item strong {
  font-weight: 800;
}

.cal-event {
  border: 1px dashed currentColor;
}

.cal-edit {
  position: absolute;
  top: 8px;
  right: 28px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
}

.cal-edit:hover {
  opacity: 1;
}

.day-item { padding-right: 52px; }

.dash-form select {
  padding: 11px 14px;
  border: 1px solid #e0e1eb;
  border-radius: 12px;
  background: #fff;
  color: #202338;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.dash-form .btn-secondary {
  background: #fff;
  border: 1px solid #e0e1eb;
  color: #45485d;
}

.dash-form .btn-secondary:hover {
  background: var(--Color2);
}

.cal-assignment.cal-c0 { background: #d9f2e0; color: #1d5c34; }
.cal-assignment.cal-c1 { background: #fde2e4; color: #8a2c3a; }
.cal-assignment.cal-c2 { background: #e0e7ff; color: #2e3f8f; }
.cal-assignment.cal-c3 { background: #f3e0fa; color: #6a2a87; }
.cal-assignment.cal-c4 { background: #fff3c4; color: #7a5b00; }
.cal-assignment.cal-c5 { background: #d2f1f0; color: #11615f; }
.cal-assignment.cal-c6 { background: #ffd6e8; color: #8a1f5a; }
.cal-assignment.cal-c7 { background: #e3e3e3; color: #3d3d3d; }
.cal-assignment.cal-c8 { background: #e6dcc9; color: #5b4020; }
.cal-assignment.cal-c9 { background: #ffe1cc; color: #8a3d0c; }
.cal-general { background: #fbdcf6; color: #7d1f72; }
.dot-general { background: #e05bd0; }
.legend-toggle input:not(:checked) + .dot-general { border-color: #e05bd0; }

.cal-rental {
  background: #fdebd3;
  color: #7a4a10;
}

.cal-del {
  padding: 0 2px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
}

.cal-del:hover {
  opacity: 1;
  color: #b00020;
}

.dash-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-form input {
  box-sizing: border-box;
  flex: 1 1 140px;
  padding: 11px 14px;
  border: 1px solid #e0e1eb;
  border-radius: 12px;
  background: #fff;
  color: #202338;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.dash-form input:focus {
  border-color: var(--Primary-Color);
  outline: 2px solid var(--Tertiary-Color);
}

.dash-form button {
  padding: 11px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--Primary-Color);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dash-form button:hover {
  background: #4a88bb;
}

/* Classes page */
.classes-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.classes-page .dash-card {
  width: auto;
  max-width: none;
  box-sizing: border-box;
}

.classes-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.classes-toolbar h1 {
  margin: 0;
  color: #202338;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.classes-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.classes-picker label {
  color: #45485d;
  font-size: 14px;
  font-weight: 600;
}

.classes-picker select,
.classes-form input,
.classes-form select {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0e1eb;
  border-radius: 12px;
  background: #fff;
  color: #202338;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.classes-picker select {
  width: auto;
  min-width: 260px;
}

.classes-picker select:focus,
.classes-form input:focus,
.classes-form select:focus {
  border-color: var(--Primary-Color);
  outline: 2px solid var(--Tertiary-Color);
}

.classes-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.3fr) minmax(220px, 0.8fr);
  align-items: start;
  gap: 24px;
}

.classes-grid > .dash-card {
  width: auto;
  min-width: 0;
}

.classes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.classes-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid #e8e9f1;
  border-radius: 14px;
  background: #fff;
  color: #202338;
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.classes-item:hover {
  border-color: var(--Primary-Color);
}

.classes-item.is-active {
  border-color: var(--Primary-Color);
  background: var(--Quaternary-Color);
}

.classes-item-meta {
  color: #6b6e84;
  font-size: 12px;
}

.classes-badge {
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f2f8;
  color: #45485d;
  font-size: 12px;
  font-weight: 600;
}

.classes-badge.is-graded {
  background: #d9f2e0;
  color: #1d5c34;
}

.classes-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.classes-form label {
  display: grid;
  gap: 6px;
  color: #45485d;
  font-size: 13px;
  font-weight: 600;
}

.classes-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.classes-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.classes-actions button {
  padding: 11px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--Primary-Color);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.classes-actions button:hover {
  background: #4a88bb;
}

.classes-actions .btn-secondary {
  border: 1px solid #e0e1eb;
  background: #fff;
  color: #b00020;
}

.classes-actions .btn-secondary:hover {
  background: var(--Color2);
}

.classes-summary {
  position: sticky;
  top: 24px;
  box-sizing: border-box;
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid #e8e9f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(34 35 62 / 8%);
}

.classes-summary h3 {
  margin: 0 0 8px;
  color: #202338;
  font-size: 16px;
  font-weight: 700;
}

.classes-overall {
  margin: 8px 0 4px;
  color: var(--Primary-Color);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.classes-stats {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #45485d;
  font-size: 14px;
}

.classes-stats li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #f0f1f6;
}

@media (max-width: 900px) {
  .classes-grid {
    grid-template-columns: 1fr;
  }

  .classes-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .classes-row {
    grid-template-columns: 1fr;
  }
}

.dash-error {
  min-height: 20px;
  margin: 16px 0 0;
  color: #b00020;
  font-size: 13px;
}

@media (max-width: 640px) {
  .login-card.dash-card {
    padding: 28px 16px;
  }

  .cal-day {
    min-height: 60px;
    padding: 3px;
  }

  .cal-item {
    font-size: 10px;
  }
}

.account-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.member-name {
  color: #55596f;
  font-size: 14px;
}

.sign-out-button {
  padding: 10px 16px;
  border: 1px solid #e0e1eb;
  border-radius: 999px;
  background: #fff;
  color: #45485d;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.sign-out-button:hover {
  border-color: var(--Primary-Color);
  color: var(--Primary-Color);
}

.members-content {
  box-sizing: border-box;
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: clamp(64px, 12vh, 120px) 0;
}

.members-content h1 {
  font-size: clamp(38px, 7vw, 58px);
}

.members-intro {
  max-width: 600px;
  margin: 18px 0 40px;
  color: var(--Primary-Color);
  font-size: 17px;
  line-height: 1.8;
}

.members-panel {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 30px;
  padding: 30px;
  border: 1px solid #e8e9f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 48px rgb(34 35 62 / 5%);
}

.members-panel-icon {
  flex: 0 0 54px;
  margin: 0;
}

.members-panel h2 {
  margin: 4px 0 8px;
  color: #202338;
  font-size: 20px;
}

.members-panel p {
  margin: 0;
  color: var(--Secondary-Color);
  font-size: 15px;
  line-height: 1.7;
}

.auth-message {
  color: #a12c2c;
  font-size: 14px;
}
/* Explore Section Styles */

:root {
  --from-top: 100px;
}

.Experience-linkBox1 {
  width: 30vw;
  height: 80vh;
  margin: 1.5vw;
  background-color: var(--ColorWhite);
  border: 1px solid #e8e9f1;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgb(34 35 62 / 8%);
  position: relative;
  left: .250vw;
  top: 0;
}
.Experience-linkBox2 {
  width: 30vw;
  margin: 1.5vw;
  height: 80vh;
  background-color: var(--ColorWhite);
  border: 1px solid #e8e9f1;
  box-shadow: 0 24px 70px rgb(34 35 62 / 8%);
  border-radius: 20px;
  position: relative;
  left: 33.25vw;
  top: -82.25vh;
}
.Experience-linkBox3 {
  width: 30vw;
  margin: 1.5vw;
  height: 80vh;
  background-color: var(--ColorWhite);
  border: 1px solid #e8e9f1;
  box-shadow: 0 24px 70px rgb(34 35 62 / 8%);
  border-radius: 20px;
  position: relative;
  left: 66.25vw;
  top: -164.5vh;
}
.text-center {
  padding: 20px;
  text-align: center;
}
.Experience-linkBox {
  width: 100vw;
  height: 83vh;
  position: relative;
}
.image-container1 {
  width: 100%;
  height: 60%;

}
.image-container1 img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  margin: auto;
  border-radius: 20px;

}
/* Button Styles : DO NOT TOUCH*/
.button{
  padding: 10px 20px;
  border: none;
  width: 50%;
  border-radius: 5px;
  background-color: #76acd8;
  color: var(--ColorWhite);
  font-family: 'DM Sans', sans-serif;
  text-decoration:none;
  position: absolute;
  left: 100%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  font-size: 20px;
}
a.button:hover {
  background-color: var(--Primary-Color);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}
.container2{
  position: absolute;
  width: 50%;
}

.container3{
  display: flex;
  justify-content: center;
  align-items: center;
}

.Experience-linkBox1-1 {
  width: 30vw;
  height: 80vh;
  margin: 1.5vw;
  background-color: var(--ColorWhite);
  border: 1px solid #e8e9f1;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgb(34 35 62 / 8%);
  position: relative;
  left: .250vw;
  top: 0;
}
.page{
  margin: 0;
} 