/* hide auto-injected site title link */
.markdown-body > h1 > a[href*="github.io/portfolio"] {
  display: none;
}

/* page background + default text color */
body {
  background-color: #1B1B1B;
  color: #8aa3bc;
}

/* scrollbar reserved */
html {
  overflow-y: scroll;
}

/* narrow body*/
.markdown-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5em;
}

/* link details */
a:link    { color: #8abca0; }
a:visited { color: #a1bedc; }
a:hover   { color: #c7d3e0; }
a { text-decoration: underline; }

/* strike-thru color */
del {
  text-decoration-color: #d883e1;
}

/* style text */
.markdown-body {
  font-size: 110%;
  font-family: "Trebuchet MS", Trebuchet, Arial, sans-serif;
   line-height: 1.4;
   color: #8aa3bc
}

/* headings 1 and 2 */
.markdown-body h1 {
  font-size: 160%;
  font-family: "Times New Roman", Times, serif;
  color: inherit;                           /* same as body text */
}

.markdown-body h2 {
  font-size: 140%;
  font-family: "Times New Roman", Times, serif;
  color: inherit;
}

/* h3–h5: keep their default header sizes, but use the Times font + same color */
.markdown-body h3,
.markdown-body h4,
.markdown-body h5 {
  color: inherit;
}
 

/* h6 as HOME link */
.markdown-body h6 {
  font-family: Arial, Helvetica, sans-serif;
  color: #ffe4e1 !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.markdown-body h6 a,
.markdown-body h6 a:hover,
.markdown-body h6 a:visited {
  color: #ffe4e1;
}

/* kill underline rules on h1/h2 */
.markdown-body h1,
.markdown-body h2 {
  border-bottom: none;
  padding-bottom: 0;
}

/* block quote */
.markdown-body blockquote {
  color: #a1bedc;
  font-family: "Times New Roman", Times, serif;
  font-size: 115%;
  font-style: italic;
}

/* <b> is bigger and different color */
.markdown-body strong {
  font-size: 105%;
  color: #a1bedc;
}

/* <hr> is thinner and different color */
.markdown-body hr {
  height: 0.3px;
  background-color: #FF0000;
  border: none;
}

/* card layout for image gallery */

.card-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  margin: 2em auto 3em auto;
}

/* each card keeps 2.5x3.5 ratio and resizes */
.card-layout a {
  display: block;
  width: 21%;
  min-width: 8em;
  max-width: 12em;
  aspect-ratio: 2.5 / 3.5;
}

.card-layout img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.8em;
}

/* thumbnail images */
.thumb-left {
  float: left;
  width: 20%;
  max-width: 150px;
  margin: 0 1em 0.5em 0;
}

/* sound cloud rap */

.sc-wrap {
  float: left;          /* or right*/
  width: 25%;
   max-width: 500px;
  margin: 0 1em 0.5em 0; /* space between player and text */
}

.sc-wrap iframe {
  width: 100%;
}

.sc-meta {
  font-size: 10px;
  color: #cccccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}