/* 
potential light theme 
  --color-bg: #d7f5ef;
  --color-text-main: #000000;
  --color-primary: #afece0;
*/

:root {
  --color-bg: rgb(25, 28, 32);
  --color-text-main: rgb(227, 233, 240);
  --color-primary: rgb(105 179 255);
  --color-links: rgb(255 134 105);
  --wrapper-height: 85vh;
  --image-max-width: 320px;
  --font-family: "HK Grotesk";
  --font-family-header: "HK Grotesk";
}

/* Basic page style resets */
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

body {
  margin: 0;
}

/* Import fonts */
@font-face {
  font-family: HK Grotesk;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
    format("opentype");
}
@font-face {
  font-family: HK Grotesk;
  font-weight: bold;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
    format("opentype");
}

html {
  color: var(--color-text-main);
}

/* Navigation grid */
.footer {
  margin: 1rem 0 0;
  padding: 1rem 2rem 0.75rem;
  width: 100%;
  flex-wrap: wrap;
  background-color: #141518;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.footer a:not(.btn--remix):link,
a:not(.btn--remix):visited {
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: normal;
  font-size: 1.1rem;
  text-decoration: none;
  border-style: none;
}

.footer a:hover {
  background: var(--color-primary);
}

.footer .links {
  padding: 0.5rem 0;
  width: 100%;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 750px) {
  .footer .links {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

.links-list {
  padding: 0;
  list-style: none;
  margin-bottom: 10px;
}

@media (min-width: 750px) {
  .links-list {
    margin-bottom: 0;
  }
}

.links-list li {
  display: inline-block;
  margin: 0;
}

.divider {
  padding: 0 1rem;
}
/******************************************************************************
END Glitch hello-app default styles
******************************************************************************/

/* Page structure */
body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
}
.wrapper {
  min-height: var(--wrapper-height);
  place-items: center;
  margin: 3rem 2rem 0;
}

@media (max-width: 749px) {
  .wrapper {
    margin: 1rem 1rem 0;
  }
}

.content {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

/* Typography */
p {
  margin: 0 0 1rem 0;
  line-height: 1.5 !important;
}

p,
li {
  font-size: 1.1rem;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 2rem 0 0.8rem;
  font-family: var(--font-family-header);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-main);
}

h1,
.h1 {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  font-size: 5rem;
  display: inline-flex;
  /* color: #2800ff; */
}

@media (max-width: 749px) {
  h1,
  .h1 {
    font-size: 2.5rem;
  }
}

h2,
.h2 {
  font-size: 3rem;
}

@media (max-width: 749px) {
  h2,
  .h2 {
    font-size: 2.2rem;
  }
}

h3,
.h3 {
  font-size: 2rem;
}
h4,
.h4 {
  font-size: 1.5rem;
}
h5,
.h5 {
  font-size: 1.25rem;
}
small,
.text_small {
  font-size: 0.8rem;
}
ul > li,
ol > li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
ul {
  padding: 0 0 0 18px;
  margin: 0;
}
ul.no-bullet {
  list-style-type: none;
}

/* Link styles */
a {
  text-decoration: none;
  border-bottom: 3px solid var(--color-primary);
  color: var(--color-text-main);
  transition: background 0.2s linear;
}

a:hover {
  background: var(--color-primary);
}

/* Title style adjustments */
.title-lg {
  color: var(--color-text-main);
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: bold;
  line-height: 1.5;
}
.title-md {
  font-size: 56px;
}

/* Layout: Home */
.home {
  justify-content: left;
}

.home h1,
.subPage h1 {
  color: var(--color-primary);
}

.illo-container {
  display: flex;
  justify-content: flex-end;
}
.illustration {
  max-width: 180px;
  max-height: var(--image-max-width);
  margin-top: 1rem;
  margin-right: 2rem;
  transform: rotate(16deg);
}

/* Post */
.post {
  place-items: normal;
}

.post-content {
  max-width: 650px;
  margin: 0 auto;
}

.postTitle {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-primary);
  text-align: center;
}

@media (max-width: 749px) {
  .postTitle {
    font-size: 2.5rem;
  }
}

.controls {
  margin: 3rem 0 2rem;
}

.home-languages {
  display: grid;
}

.home-languages ul {
  list-style: none;
  padding-left: 0;
}

@media (min-width: 750px) {
  .home-languages {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1em;
  }
}

.postsArchive-title {
  line-height: 1.5;
}

.postsArchive-list {
  list-style: none;
  padding-left: 0;
}

.postsArchive-date {
  margin: 0.5em 0;
  display: block;
}
