// === Import Bootstrap and set variable overrides ===
$body-bg: {{ if .Param "style.backgroundColor" }}{{ .Param "style.backgroundColor"}}{{ else }}#f8f9fa{{ end }};
$body-color: {{ if .Param "style.fontColor" }}{{ .Param "style.fontColor"}}{{ else }}#212529{{ end }};
$home-image-border-color: {{ if .Param "style.homeImageBorderColor" }}{{ .Param "style.homeImageBorderColor"}}{{ else }}#ffffff{{ end }};
$font-family-base: {{ if .Param "style.fontFamilyBase"}}{{ .Param "style.fontFamilyBase"}},{{end}}"Helvetica Neue", Arial, sans-serif;
$font-size-base: 0.95rem;
@import "../../node_modules/bootstrap/scss/bootstrap";

// === Import Font Awesome ===
$fa-font-path: "../webfonts";
@import "../../node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss";
@import "../../node_modules/@fortawesome/fontawesome-free/scss/solid.scss";
@import "../../node_modules/@fortawesome/fontawesome-free/scss/brands.scss";
.fa-1x {
  font-size: 0.9em !important;
}

// === Custom Styles ===
#content {
  width: 100%;
  max-width: 650px;
  min-height: calc(100vh - 105px);
}

#home-image {
  width: 120px;
  height: 120px;
  border: solid 5px $home-image-border-color;
  box-shadow: 0px 10px 7px -10px rgba(0,0,0,0.6);
  border-radius: 0.20rem;
  padding: 0px;
  object-fit: cover;
  object-position: top;
}

#nav-links {
  position: relative;
  left: -5px;
}

#nav-social {
  position: relative;
  left: 1px;
}

.category {
  color: $body-bg;
  background-color: $body-color;
}

.highlight > pre {
  padding: 0.5rem 0.8rem;
  border: 1px solid;
  border-color: #ddd #ddd #ccc;
  border-radius: 3px;
}

hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(51, 51, 51, 0.3), rgba(51, 51, 51, 0.4),
          rgba(51, 51, 51, 0.3), rgba(0, 0, 0, 0));
}

h1, h2 {
  letter-spacing: -0.085rem;
  font-weight: 700;
}

h3, h4 {
  letter-spacing: -0.065rem;
  font-weight: 700;
}

p {
  margin-bottom: 0.7rem;
}

header {
  h2 {
    a, a:hover {
      color: $body-color;
    }
  }
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border-radius: .2rem;
}

h4 {
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
}

a {
  text-decoration: underline;
}

blockquote {
  background: $body-bg;
  border-left: 8px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

// === Media breakpoints ===
// 576px
@include media-breakpoint-up(sm) {}

// 768px
@include media-breakpoint-up(md) {}

// 992px
@include media-breakpoint-up(lg) {}

// 1200px
@include media-breakpoint-up(xl) {}
