/******************************************************************************
TIP: a customised theme

- Make sure you have `dusky-lory` in settings.json theme property
******************************************************************************/
@import url("https://fonts.googleapis.com/css?family=Space+Mono&display=swap");

:root {
  /* CSS HEX palette (from coolors.co) */
  /* tweaked for contrast */
  --oxford-blue: #00072dff;
  --gold-crayola: #f5e1c7;
  --steel-teal: #304d4f;
  --thistle: #d4c1ecff;
  --french-lilac: #89608eff;
  /* my preferred fonts, from Google Fonts */
  --font-family: "Space Mono", sans-serif;
  --font-family-header: "Space Mono", sans-serif;
  --font-family-list: "Space Mono", sans-serif;
  /* set up colors for the theme */
  --color-bg: var(--oxford-blue);
  --color-bg-alt: var(--thistle);
  --color-text-main: var(--gold-crayola);
  --color-primary: var(--steel-teal);
}

html {
  max-width: 70ch;
  padding: 3em 1em;
  margin: auto;
  line-height: 1.75;
  font-size: 1.25em;
}

h1,h2,h3,h4,h5,h6 {
  margin: 3em 0 1em;
}

p,ul,ol {
  margin-bottom: 2em;
  /* color: #1d1d1d;
   font-family: sans-serif; */
}


body {
  text-rendering: optimizeLegibility;
  color: var(--color-text-main);
  font-size: clamp(1rem, 0.25rem + 2.5vw, 2rem);
}

h1 {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, -0.875rem + 4.333vw, 3rem);
  display: inline-flex;
  justify-content: center;
  color: var(--color-text-main);
}

p {
  padding: 10px;
}

ul.link-list li a {
  display: flex;
}
ul.link-list li a:link,
ul.link-list li a:visited {
  background-color: var(--color-primary);
  border-radius: 0.75em;
  padding: 0.5rem;
  font-size: 1em;
  min-height: 4.5rem;
}
ul.link-list li a span {
  text-align: justify;
  line-height: 1.2em;
  flex-grow: 1;
  text-align: center;
}
ul.link-list li a:hover {
  background-color: var(--color-bg);
}
ul.link-list li a img {
  border-radius: 0.2rem;
  width: 3rem;
  overflow: visible;
}

.social-profile-icon path {
  fill: var(--color-text-main);
}
.social-profile-icon:hover path {
  fill: var(--color-bg-alt);
}

/* The footer and remix on glitch button */
.footer {
  display: flex;
  justify-content: space-between;
  margin: 1rem auto 0;
  padding: 1rem 0 0.75rem 0;
  width: 100%;
  flex-wrap: wrap;
  border-top: none;
}

.footer a:hover {
  background: var(--color-primary);
}
.footer .tagline {
  padding: 0.25rem 1rem 1rem;
  font-size: 0.75rem;
  text-align: left;
  white-space: nowrap;
}
.btn--remix {
  font-family: "Space Mono", monospace;
  padding: 0.8rem 0.8rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  height: 3rem;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  border: 2px solid #000000;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
  margin-left: auto;
  margin-right: 1rem;
}
.btn--remix img {
  position: relative;
  top: 1px;
  margin-right: 0.25rem;
}
.btn--remix:hover {
  background-color: #d0fff1;
}
