:root {
  --border-color: #c1121f;
}

* {
  font-family:
    SF Pro,
    ui-sans-serif,
    system-ui,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol,
    Noto Color Emoji;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -moz-tab-size: 4;
  tab-size: 4;
  -webkit-text-size-adjust: 100%;
}

.Name{
  color: #780000;
}

.Occupation{
  color: #c1121f;
}

.Logos{
  color: #780000;
}

#content{
  color: #780000;
}

.CatagoryLine{
  color: #c1121f;
}

.ExperienceTitle{
  color:#780000}

.Description{
  color: #780000;
}

.Arrow{
  color: #c1121f;
}

.Article{
  color: #780000;
}

.ArticleArrow{
  color: #c1121f;
}

.Footer{
  color: #780000;
}

.Back{
  color: #c1121f;
}

.Course{
  color:#780000;
}

#detail-content h1,
#detail-content h2,
#detail-content h3 {
  color: #780000;  /* burgundy */
}


body {
  background-color: rgb(255, 240, 223); 
}

#links > a {
  transition: scale 0.05s ease-out;
  &:hover {
    scale: 1.1;
  }
}

.line-holder {
  position: relative;
  width: min(300px, 100%);
  height: 10px;
}

.smallLine {
  position: absolute;
  height: 10px;
  width: 200%;
  transform: translate(-25%) scale(0.5);
}

.smallLine1 {
  background: linear-gradient(
    45deg,
    transparent,
    transparent 49%,
    var(--border-color) 49%,
    transparent 51%
  );
}
.smallLine2 {
  background: linear-gradient(
    -45deg,
    transparent,
    transparent 49%,
    var(--border-color) 49%,
    transparent 51%
  );
}

.smallLine {
  background-size: 20px 20px;
}

#back {
  i {
    transition: transform 0.1s ease-out;
    margin-right: 4px;
  }

  &:hover {
    i {
      transform: translateX(-2px);
    }
  }
}

#detail-content {
  gap: 10px;
  display: flex;
  flex-direction: column;

  .line-holder {
    margin: 30px auto;
    width: 200px;
  }

  & > * {
    opacity: 0;
  }

  h1 {
    font-size: 1.5rem;
    font-weight: 600;
  }

  p {
    font-size: 1.1rem;
    color: #c1121f;
    line-height: 1.5;
  }
}

/* This rule now hides both blog and experience sections */
section[id^="article-"],
section[id^="experience-"] {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  position: absolute;
  visibility: hidden;
  overflow: hidden;
  max-width: 0;
}

