#resource-index main.section-container {
  margin-bottom: 5rem;
}

main section {
  padding: 0 02rem 0;
}

.description {
  line-height: 1.5;
  font-size: 1.7rem;
  margin: 1rem 1rem 2rem 1rem;
}

.heading {
  color: var(--accent-color-light);
  background: linear-gradient(105deg, var(--primary-color), #6a1fd0, #7a00ff);
  font-weight: 700;
  font-size: 1.75rem;
  width: fit-content;
  min-width: 16rem;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  margin: 2.5rem 0 0.5rem 0;
  box-shadow:
    6px 6px 10px rgba(0, 0, 0, 0.25),
    inset 10px 10px 16px rgba(255, 255, 255, 0.5),
    inset -10px -10px 16px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#resource-index .heading {
  min-width: 10rem;
}

.meta {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-med-dark);
  padding: 0 1.5rem 0 1rem;
  margin-bottom: 0.33rem;
}

.meta-divider {
  margin: 0 0.5rem;
}

.content {
  font-size: 1.125rem;
  color: var(--text-med-dark);
  line-height: 1.7;
  padding: 0 1.5rem 0 1rem;
}

.content ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.5rem;
}

.content p {
  margin-bottom: 0.5rem;
}

.box-list h3::after {
  background-color: transparent;
}

a {
  text-decoration: none;
}

a.box-list-item:hover {
  text-decoration: none;
  background-color: #f0fff0;
}

.card-box {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.card {
  background-color: var(--background-color);
  color: inherit;
  padding: 25px;
  margin: 10px;
  border-radius: 8px;
  flex: 1 1 calc(33% - 40px);
  box-sizing: border-box;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 4px 4px 12px var(--text-med-light);
}

.card:hover {
  text-decoration: none;
  border-color: solid var(--border-color);
}

.item-title {
  text-align: left;
  color: var(--primary-color);
  font-size: 1.33rem;
  font-weight: 600;
  position: relative;
}

.card h6 {
  color: var(--primary-color);
  text-align: left;
  border-bottom: 3px solid var(--accent-color);
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

h6.begin {
  color: green;
}

h6.inter {
  color: goldenrod;
}

h6.adv {
  color: darkred;
}

.card p {
  font-size: 1rem;
}

.code {
  padding: 0 2rem;
}

code {
  padding: 0 5px;
  color: #ff4747;
  background-color: #eceff1;
}

.code-title {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  margin-top: 1rem;
}

.jump-to {
  margin: 2rem 0 2rem 0;
}

h2.demo.heading {
  margin-top: 0.5rem;
}

.demo-btn {
  font-weight: bold;
  color: var(--neutral-color-light);
  background-color: var(--primary-color);
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(var(--primary-color-rgb), 0.25);
  padding: 0.5rem 1rem;
}

.demo-btn:hover {
  text-decoration: none;
  color: var(--text-light);
  background-color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.75);
}

li > em:first-child {
  color: var(--accent-color);
  font-weight: bold;
}

@media (max-width: 1024px) {
  .description {
    font-size: 1.4rem;
  }
  .card {
    flex: 1 1 calc(50% - 40px);
  }
  .card h3 {
    font-size: 1rem;
  }
  .card p {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .description {
    font-size: 1.1rem;
  }
  .card h3 {
    border: none;
  }
  .card p {
    display: none;
  }
}

@media (max-width: 480px) {
  .code {
    padding: 0.5rem;
  }
  pre[class*='language-'],
  pre[class*='language-'] code {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

#demonstration {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  /* background-color: var(--accent-color-light); */
  border-radius: var(--border-radius);
  padding: 0 2rem 2rem 2rem;
  margin-top: 2rem;
}

#demonstration h2 {
  flex: 0 0 auto;
  order: -2;
  align-self: flex-start;
  margin-bottom: calc(0.5rem - 20px);
}

/* Forces the demo onto its own row now that the banner no longer fills the width */
#demonstration::before {
  content: '';
  flex-basis: 100%;
  height: 0;
  order: -1;
}

#action .contact-cta-row {
  justify-content: flex-start;
  margin: 1rem 0 2rem;
}

#action .contact-cta-row .contact-btn {
  width: auto;
  margin: 0;
}

.tech-tag {
  float: right;
  color: var(--text-med-dark);
  font-weight: normal;
}
.tech-tag-hidden {
  display: none;
}
