body {
  margin: 0;
  padding: 0;
  background-color: black;
  animation: rotateBoxShadow 4s infinite linear;
}

@keyframes rotateBoxShadow {
  0% {
    box-shadow: inset 0px 0em 15em #102d42;
  }
  33% {
    box-shadow: inset 0px 1em 20em #213f67;
  }
  66% {
    box-shadow: inset 0px 0.5em 20em #132b49;
  }
  100% {
    box-shadow: inset 0em 0em 15em #143852;
  }
}

header {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding-left: 1em;
  padding-bottom: 0.2em;
  padding-right: 1em;
  padding-top: 1em;
}

.header-content {
  display: flex;
  align-items: center; /* Center the items vertically */
  justify-content: space-between; /* Space between the logo and nav */
}

.header-content img {
  max-height: 3em;
  margin-right: 3em;
}

.header-buttons {
  display: flex;
  justify-content: space-between;
  background-color: #000000;
  padding: 0.5em;
  padding-left: 6em;
  padding-right: 6em;
  align-items: center;
  flex-grow: 1;
}

.header-buttons a {
  text-decoration: none;
  font-size: 14pt;
  color: #ffffff;
  padding: 0.5em 1em;
  transition: background-color 0.3s;
  background-color: #174867;
  text-decoration: none;
  margin-right: 0.9em;
  padding: 0.4em 0.8em; /* Smaller padding for a more compact button */
  border-radius: 0.8em; /* Make the buttons more rounded */
  white-space: nowrap; /* Prevent text from wrapping */
}

.header-buttons a:hover {
  background-color: #286aa7;
}

.page-title {
  display: flex;
  justify-content: center;
  margin-bottom: 2%;
  margin-top: 2%;
  padding: 0%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4em;
  font-weight: 700;
  font-style: normal;
  word-spacing: 0.2em;
  letter-spacing: 0.1em;
  color: transparent; /* Set initial text color to transparent */
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0),
    rgb(255, 255, 255)
  ); /* Adjust the colors and stops as needed */
  background-clip: text;
  -webkit-background-clip: text;
  animation: fadeIn 3s forwards; /* Set the duration of the animation */
}

@keyframes fadeIn {
  to {
    color: rgb(255, 255, 255);
    background-size: 200% 100%; /* Adjust the size of the gradient */
  }
}

section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
  gap: 0.5em;
}

.path-section {
  display: block;
  width: min(74rem, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(111, 219, 240, 0.24);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(8, 18, 31, 0.96), rgba(16, 45, 66, 0.84)),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.24);
}

.path-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.path-section-kicker {
  margin: 0 0 0.35rem;
  color: #6fdbf0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.path-section-copy {
  max-width: 40rem;
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.path-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.path-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1rem;
}

.path-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.path-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1rem;
  word-break: break-word;
  overflow-wrap: break-word;
  flex-shrink: 0;
}

.path-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(111, 219, 240, 0.16);
  color: #6fdbf0;
  font-size: 0.75rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.path-summary {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.84);
}

.path-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
  color: #6fdbf0;
  font-size: 0.9rem;
}

.path-sequence {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.path-sequence li {
  word-break: break-word;
  overflow-wrap: break-word;
}

.path-action {
  display: inline-block;
  color: #6fdbf0;
  text-decoration: none;
  font-weight: 600;
}

.continue-learning-panel {
  width: min(74rem, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(111, 219, 240, 0.24);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(9, 21, 34, 0.96), rgba(20, 54, 82, 0.84)),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
}

.continue-learning-copy {
  max-width: 44rem;
}

.continue-learning-kicker {
  margin: 0 0 0.35rem;
  color: #6fdbf0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.continue-learning-copy h2 {
  margin: 0 0 0.5rem;
}

.continue-learning-summary {
  margin: 0.5rem 0;
}

.continue-learning-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.continue-learning-stats p {
  margin: 0.35rem 0;
}

.continue-learning-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.continue-learning-cta,
.continue-learning-reset {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
}

.continue-learning-cta {
  background: #6fdbf0;
  color: #091522;
  text-decoration: none;
  font-weight: 700;
}

.continue-learning-reset {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.course-card {
  width: 22em;
  background-color: rgb(17, 25, 35);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  margin-bottom: 20px;
  cursor: pointer;
  animation: rotateBoxShadow1 4s infinite linear;
}

@keyframes rotateBoxShadow1 {
  0% {
    box-shadow: 0.1em 0.1em 1em rgba(24, 55, 68, 0.2); /* Adjust the opacity */
  }
  33% {
    box-shadow: 0.1em 0.2em 0.5em #305982; /* Adjust the spread and color */
  }
  66% {
    box-shadow: 0.1em 0.2em 0.4em #38557d; /* Adjust the spread and color */
  }
  100% {
    box-shadow: 0.1em 0.2em 0.5em rgba(36, 84, 117, 0.5); /* Adjust the spread and opacity */
  }
}

.course-number {
  text-align: center;
  font-size: 1.4em;
  font-weight: 700;
  color: #185db7;
}

.course-card:hover {
  transform: scale(1.05);
}

.course-card:focus-visible,
.course-card:focus {
  outline: 3px solid rgba(111, 219, 240, 0.95);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(111, 219, 240, 0.18);
}

.course-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.course-info {
  padding: 1.2em;
}

.course-title {
  font-size: 1.4em;
  margin-bottom: 1%;
  text-align: center;
  margin-top: 0.1%;
}

.course-description {
  text-align: center;
}

@media only screen and (max-width: 600px) {
  header {
    position: static;
  }

  .path-section-header {
    flex-direction: column;
  }

  .continue-learning-panel {
    padding: 1.2rem;
  }

  .continue-learning-actions {
    width: 100%;
  }

  .continue-learning-cta,
  .continue-learning-reset {
    width: 100%;
    text-align: center;
  }
}
.course-card {
  text-decoration: none;
  color: inherit;
}
.course-card:hover .course-title {
  color: inherit;
  color: white;
  font-size: 1.5em;
}

play-button {
  width: 10%;
  object-fit: cover;
}

h2 {
  font-family: 'MuseoModerno', sans-serif;
  font-weight: 500;
  color: white;
}

.courseclass {
  font-family: 'Space Grotesk', sans-serif;
  color: #6fdbf0;
  font-weight: 400;
}

p {
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, 0.91);
}

a {
  font-family: 'Space Grotesk', sans-serif;
}

footer {
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  font-size: 0.9em;
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  font-size: 0.9em;
  font-family: 'Space Grotesk', sans-serif;
}
