@import url('./colors.css');

/* Divider */
.divider {
  width: 80%;
  height: 100px;
  /* border-style: solid;
  border-width: 0.5px 0 0 0; */
  margin: 0px auto;
  background-image: url('../images/components/divider.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-color: var(--accent-color);
}

.divider-dot::before {
  content: '•';
  margin: 0 8px;
}

.divider-line {
  height: 0px;
  width: 100%;
  border: 1px solid var(--border-color); 
}
/* Divider */

/* Split card list */
.split-card-list {
  display: flex;
  flex-direction: column;
  justify-self: start;
  align-items: start;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.split-card-list li {
  background-color: var(--card-background-color);
  padding: 8px 16px;
  margin: 2px 0px;
  display: flex;
  gap: 16px;
  justify-content: start;
  align-items: start;
}

/* Target the first split-card-item */
.split-card-list li:nth-child(1) {
  border-radius: 8px 8px 0 0;
}

/* Target the last split-card-item */
.split-card-list li:nth-last-child(1) {
  border-radius: 0 0 8px 8px;
}

.split-card-list li p {
  margin: 0;
}

/* List style type - Framed square */
.list-style-framed-square-outer {
  border-radius: 4px;
  border-color: var(--content-secondary);
  border-style: solid;
  border-width: 1px;
  padding: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 12px;
  margin: 3px 0 0 0;
}
.list-style-framed-square-innner {
  background-color: var(--content-secondary);
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
/* List style type - Framed square */
/* Split card list */

/* Highlight list */
.highlight-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.highlight-list li {
  margin-bottom: 32px;
}

.highlight-list li h4 {
  margin: 0;
  font-weight: semi-bold;
  color: var(--text-color);
}
.highlight-list li p {
  margin: 0;
}
/* Highlight list */

/* Label card */
.label-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-background-color);
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 300px;
}

.label-card img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
/* Label card */

/* Process flow cards (WIP) */
.process-flow {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 16px;
}

.process-flow-card {
  background-color: var(--pill-background-color);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  flex-basis: 120px;
  flex-grow: 2;
}

.process-flow-card p {
  margin: 0;
  color: var(--text-color);
}

.process-connection-arrow {
  flex-shrink: 2;
  width: 100%;
  height: 100px;
  margin: 0px auto;
  background-image: url('../images/icons/icon_arrow.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-color: var(--text-color);
}


.connected-highlight-cards {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  /* Add space between the cards */
}

.highlight-card {
  background-color: var(--pill-background-color);
  padding: 16px;
  border-radius: 8px;
  width: 110px;
  text-align: center;
  /* box-shadow: 0px 4px 6px var(--shadow-color); */
  /* Each card takes up 32% of the width */
}

.highlight-card p {
  margin: 0;
  color: var(--text-color);
}
/* Process flow cards */

/* Section introduction card */
.section-introduction-card .section-name {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  color: var(--heading-color)
  text-transform: uppercase;
}

.section-introduction-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 30px;
  font-weight: 300;
}

.section-introduction-card .content {
  width: 85%;
  margin-left: 0;
}
/* Section introduction card */

/* Project Card */

.project-card {
  border-radius: 8px;
  transition: top ease 0.5s;
  width: 100%;
  position: relative;
  top: 0;
}

.project-card:hover {
  cursor: pointer;
  top: -10px;
}

.no-hover:hover {
  cursor: not-allowed;
}

/* Project Card */

/* Nav components */

.sticky-nav-back-to-home {
  position: fixed;
  top: 0;
  left: 0px;
  width: fit-content;
  margin-top: 84px;
  /* border: 1px solid var(--border-color); */
  background-color: rgba(248, 249, 250, 0.07);
  border-radius: 0px 8px 8px 0;
  /* filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); */
}

.sticky-nav-back-to-home .back-to-home {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px 8px 16px; 
}

.sticky-nav-back-to-home a {
  color: var(--nav-link-color);
  text-decoration: none;
  display: inline-block;
}

.sticky-nav-back-to-home .back-to-home:hover {
  color: #FFFFFF;
}

.sticky-nav-back-to-home:hover svg path {
  stroke: #FFFFFF;
  /* Change stroke color on hover */
}

.sticky-nav-back-to-home .back-to-home svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}


/* Nav components */
