@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap");

:root {
  --clr-primary-100: #000;
  --clr-primary-90: #20252b;
  --clr-primary-85: #23282f;
  --clr-primary-80: #272c34;
  --clr-primary-70: #4a5363;
  --clr-primary-20: #9ca5b5;
  --clr-primary-0: #fff;
  --serif: "Fraunces", serif;
  --sans: "Barlow", sans-serif;
}

body {
  background-color: var(--clr-primary-80);
  font-family: var(--sans);
}

.container-fluid .row {
  display: flex;
}

.home .navigation ul li.all,
.category-design .navigation ul li.design,
.category-tech .navigation ul li.tech,
.category-media .navigation ul li.media,
.category-resources .navigation ul li.resources,
.category-books .navigation ul li.books,
.home .alt-navigation ul li.all,
.category-design .alt-navigation ul li.design,
.category-tech .alt-navigation ul li.tech,
.category-media .alt-navigation ul li.media,
.category-resources .alt-navigation ul li.resources,
.category-books .alt-navigation ul li.books {
  background-color: var(--clr-primary-100);
  border-radius: 5px;
}

a {
  color: #d6dae0;
  text-decoration: none;
}

a:hover {
  color: #0e82e6;
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
  border: 1px solid #04a4cc;
}

body.single::after {
  top: -20%;
  right: -10%;
  width: 100%;
  height: 300px;
  content: "";
  position: absolute;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(75, 83, 99, 0.425) 0%,
    transparent 70%
  );
  pointer-events: none;
}

body.category::after {
  top: -100px;
  left: 50%;
  width: 100%;
  height: 500px;
  content: "";
  position: absolute;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(75, 83, 99, 0.325) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.single .card:hover {
  box-shadow: none !important;
  transform: none !important;
  border: none !important;
}

/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/

p {
  font-family: var(--sans);
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
}

blockquote {
  border-left: 1px solid #5d6370;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 5px;
}

blockquote,
blockquote p {
  font-family: var(--sans);
  font-size: 1.5rem;
  color: #d6dae0;
}

h1 {
  color: #97c379 !important;
  font-family: var(--serif);
}

.search-results h1 {
  color: #0e82e6 !important;
  margin-top: 0;
  padding-top: 0;
}

.single .card a:link,
.single .card a:visited {
  color: #d19a66;
}

.single .date a:link,
.single .date a:visited {
  color: #5d6370;
}

.page .card a:link,
.page .card a:visited {
  color: #d6dae0;
}

.card.clickable-row p {
  font-size: 1rem;
  margin: 5px 0;
  opacity: 0.8;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

#notes .btn-back {
  font-size: 2rem;
  color: #e06d75;
}

#notes .nav-prev,
#notes .nav-next {
  font-size: 3rem;
  opacity: 0.3;
}

#notes .pagination a:link,
#notes .pagination a:visited {
  color: #5d6370;
}

#notes .pagination .current {
  background-color: #5d6370;
  color: var(--clr-primary-90);
}

#notes .page-numbers {
  font-size: 1.2rem;
  padding: 5px;
}

#notes footer {
  background-color: #21252c;
  box-shadow: 0 50vh 0 50vh #21252c;
  max-height: 50px;
  align-self: flex-end;
}

/*------------------------------------*\
	OVERRIDES
\*------------------------------------*/

#notes .border-bottom,
#notes .border-top,
#notes .border-right {
  border-color: var(--clr-primary-85) !important;
}

#notes .clickable-row {
  cursor: pointer;
}

#notes .loop .card.clickable-row {
  border-radius: 6px;
  border: 0;
  background-color: var(--clr-primary-85);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.loop article {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin-top: auto;
}

#notes .loop article:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 0 0 6px 6px;
}

#notes .loop .card-body {
  border: 0;
}

#notes .card-body h2 {
  color: #d6dae0;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: normal;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  height: 100%;
  min-height: 100%;
  border-radius: 0 0 6px 6px;
  text-wrap: balance;
}

.has-post-thumbnail .card-body h2 {
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.9);
}

.single .card,
.page .card {
  height: auto;
  border: none;
  background-color: transparent;
}

.intro .card {
  background-color: var(--clr-primary-70);
  border: 1px dashed var(--clr-primary-100);
}

.intro .card p {
  text-wrap: balance;
  color: var(--clr-primary-90);
}

#searchModal .modal-content {
  background-color: #282c35;
}

#searchModal .close {
  color: #fff !important;
  margin-top: -100px;
}

#searchModal .modal-header {
  border-bottom: none;
}

.btn-link {
  text-decoration: none;
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}

::-webkit-selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #04a4cc;
  color: #fff;
  text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

@media (min-width: 768px) {
  .menu-item a:hover {
    border-bottom: 2px solid #0e82e6;
  }

  .fixed-top {
    display: block;
  }

  .fixed-bottom {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .current-menu-parent a:link,
  .current-menu-parent a:visited {
    color: #d6dae0;
    border-left: 4px solid #0e82e6;
    border-bottom: 0;
  }

  .pagination {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .form-control.search-input {
    text-align: left;
    padding-left: 3rem;
    width: 70%;
  }

  .single .pagination,
  .page .pagination {
    display: none;
  }

  .related-posts-container {
    order: 5;
    display: flexbox;
    justify-content: center;
  }
}
