:root {
  --font-primary: "Petrona", serif;
  --color-secondary: black;
  --hover-text: #fca000;
  --color-main: black;
  --bg-color: #fffdf9;
  --yellow: #fdee34;
  --blue: #5da8ff;
  --red: #ff5d5d;
  --max-width: 700px;
}

html,
body {
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-primary);
  color: var(--color-main);
  line-height: 26px;
  font-weight: 300;
}

body {
  margin: 1rem 0;
  background-color: var(--bg-color);
}

.hidden {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px dashed var(--color-main);
}

a:hover {
  /* border-bottom: 2px dashed var(--yellow); */
}

.link--no-border {
  border: none;
}

a:visited,
a:active {
  color: var(--color-main);
}

textarea,
input {
  -webkit-appearance: none;
  outline: none;
  box-shadow: none;
  border: none;
}

.link--unstyled {
  border-bottom: none;
}

a:hover {
  color: var(--hover-text);
}

nav {
  margin-bottom: 3rem;
}

.nav__inside {
  max-width: var(--max-width);
}

.nav__link,
.footer__link {
  margin-right: 10px;
}

.wm-header {
  border: 3px dotted black;
  max-width: var(--max-width);
}

footer {
  margin-top: 1.5rem;
}

/*#region Global*/

.text--lg {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
  /* line-height: 2rem; */
}

.text--sm {
  font-family: var(--font-primary);
  font-size: 1rem;
}

.text--xs {
  font-family: var(--font-primary);
  font-size: 0.75rem;
}

.font-secondary {
  font-family: var(--font-secondary);
}

.color--secondary {
  color: var(--color-secondary);
}

.text--bold {
  font-weight: bold;
}

.text--center {
  text-align: center;
}

.text--italic {
  font-weight: italic;
}

.text--uppercase {
  text-transform: uppercase;
}

.text--normal {
  font-weight: normal;
}

.content {
  max-width: var(--max-width);
  margin: 2rem auto 0 auto;
  /* font-family: 'Rasa' */
}

.wm-header {
  max-width: var(--max-width);
  margin: 4rem auto 0 auto;
  /* font-family: 'Rasa' */
}

.contained {
  max-width: var(--max-width);
}

a {
  color: inherit;
}

strong {
  font-weight: bold;
}

.top-bar {
  width: 100%;
  height: 5px;
  display: flex;
  position: absolute;
  bottom: 0;
}

.top-bar__col {
  width: 100%;
  height: 100%;
  display: inline-block;
}

.top-bar__col--red {
  background: var(--red);
}

.top-bar__col--yellow {
  background: var(--yellow);
}
.top-bar__col--blue {
  background: var(--blue);
}
.blog-blurb {
  max-width: var(--max-width);
  margin: 0 auto;
  line-height: 1.5rem;
}

.blog-tags {
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  text-align: center;
  position: absolute;
  margin-left: var(--max-width);
}

.tag__link {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0.25rem;
  text-decoration: none;
  font-size: 0.75rem;
}

.tag__link.active {
  font-weight: bold;
}

.blog-list__post {
  max-width: var(--max-width);
  margin: 0 auto 1.25rem auto;
  display: flex;
}

.project-list__post__img {
  width: 100%;
  transition: opacity 0.3s ease-in-out;
  /* height: 500px; */
  object-fit: cover;
}

.project-list__post__img:hover {
  opacity: 0.8;
}

.project-list__post__external-icon {
  margin-left: 0.5rem;
}

.blog-list__post.go-away {
  opacity: 0;
}

.post__tag-container {
  margin-right: 0.25rem;
  margin-left: -2.25rem;
  padding-top: 0.5rem;
  min-width: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

article {
  margin-bottom: 3rem;
  font-family: var(--font-secondary);
}

article p,
article ul {
  line-height: 1.5rem;
  color: black;
}

article img {
  /* max-width: var(--max-width); */
  width: 100%;
}

article h1 {
  font-family: var(--font-primary);
}

.tag__circle {
  border-radius: 50%;
  display: inline-block;
}

.tag__circle--thoughts,
.tag__circle--hackathon {
  background: #00cb8c;
}

.tag__circle--travel,
.tag__circle--experimental {
  background: #fda034;
}

.tag__circle--fiction,
.tag__circle--client {
  background: var(--blue);
}

.tag__circle--haha,
.tag__circle--school {
  background: #ff5d5d;
}

.tag__circle--all {
  background: #e6e6e6;
}

.tag__circle--favourites,
.tag__circle--startups {
  background: #fdee34;
}

.tag__circle--lg {
  height: 15px;
  width: 15px;
  margin-right: 0.25rem;
  border: 2px solid transparent;
}

.tag__circle--lg--selected {
  border: 2px solid black;
}

.tag__circle--sm {
  height: 10px;
  width: 10px;
  margin-right: 0.25rem;
}

.form {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr auto;
}

.form input {
  min-width: 0;
  font-family: var(--font-primary);
}

.form__email {
  background: transparent;
  box-shadow: none;
  outline: none;
  border: none;
  border: 2px solid;
  /* font-weight: bold; */
  font-size: 0.75rem;
  padding: 0.25rem;
  grid-column: 1;
  color: #404040;
}

.form__btn {
  grid-column: 2;
  background: transparent;
  font-family: var(--font-primary);
  border: none;
  border: 2px solid;
  border-left: none;
  font-weight: bold;
  text-transform: lowercase;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0 1rem;
  color: #404040;
}

.form__btn:hover {
  border: 2px dotted;
  border-left: none;
  color: var(--hover-text);
}

.recent-link {
  margin-right: 3px;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 20px;
  }

  .content {
    margin: 0 0.5rem;
  }

  .wm-header {
    margin: 0 0.5rem;
  }

  .post__tag-container {
    margin-left: -0.5rem;
  }

  .blog-tags {
    flex-direction: row;
    max-width: 100%;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
  }

  .tag__link {
    margin-right: 0.75rem;
    /* margin-bottom: 0.5rem; */
  }

  .form input {
    font-size: 0.7rem;
    /* letter-spacing: -1px; */
  }
}
