/*! David Cittadini Personal Web Site v0.1.0 | MIT License | https://davidcittadini.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/davidcittadini/davidcittadini.github.io-main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 */


/* ==========================================================================
   Base styles: opinionated defaults.  These all come from the HTML5
   Boilerplate project (see: https: //github.com/h5bp/html5-boilerplate)
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/******************************************************************************/
/* Global custom properties.                                                  */
/******************************************************************************/

/* Set the theme properties */
:root,
:root.light {
  --bg-color: white;
  --text-color: black;
  --bg-color-main-header: white;
  --nav-bg-color: white;
  --hdr-bg-color: black;
  --foot-bg-color: white;
  --foot-text-color: black;
  --foot-social-a-color: black;
  --foot-title-color: black;
  --foot-legal-bg-color: white;
  --foot-main-border: black;
  --input-email-border: black;
  --content-box-bg: var(--pen-panel-box-bg);
  --content-box-border: var(--pen-panel-box-border);
  --pen-panel-box-bg: white;
  --pen-panel-box-border: black;
  --item-comment-message-bg-color: white;
  --item-comment-message-box-shadow: black;
  --item-comment-border-color: rgb(128, 128, 128);
  --content-box-box-shadow: 0 4px 20px var(--color-shadow);
  --item-details-share-bg: white;
  --item-details-content-bg: white;
  --theme-icon-color: black;
  --article-link-color: var(--color-link);
  --code-bg-color: #eee;
  --code-border: 1px solid #999;
}

:root.dark {
  --bg-color: #2C303A;
  --text-color: white;
  --bg-color-main-header: black;
  --nav-bg-color: #1E1F25;
  --hdr-bg-color: black;
  --foot-bg-color: #555;
  --foot-text-color: #bbb;
  --foot-social-a-color: white;
  --foot-title-color: white;
  --foot-legal-bg-color: #333;
  --foot-main-border: transparent;
  --input-email-border: transparent;
  --content-box-bg: var(--pen-panel-box-bg);
  --content-box-border: var(--pen-panel-box-border);
  --pen-panel-box-bg: var(--color-14);
  --pen-panel-box-border: var(--color-16);
  --item-comment-message-bg-color: var(--color-16);
  --item-comment-message-box-shadow: var(--content-box-box-shadow);
  --item-comment-border-color: transparent;
  --content-box-box-shadow: 0 4px 50px var(--color-shadow);
  --item-details-share-bg: var(--color-16);
  --item-details-content-bg: var(--color-14);
  --theme-icon-color: white;
  --article-link-color: var(--color-link);
  --code-bg-color: var(--color-11); /* 938d8d */
  --code-border: 1px solid #999;
}

/* Set the body */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);

  /* Set the entire body as a flex container */
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.container {
  flex: 1;
  /* same as flex-grow: 1; */
}

/* Default settings */
:root {
  --main-header-height: 65px;
  --main-header-height-small: 53px;
  --logo-height: var(--main-header-height);
  --logo-width: var(--main-header-height);
  --logo-height-small: var(--main-header-height-small);
  --logo-width-small: var(--main-header-height-small);
  --logo-margin-left: 0px;
  --logo-margin-right: 8px;
  --font-family: 'Lato', 'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Sans-Serif;
  --font-family-header: 'Telefon Black', Sans-Serif;
  --font-family-header-alt: 'Telefon', Sans-Serif;
  --font-family-monospace: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  --color-1-hsl: 0deg 0% 100%;
  --color-1: hsl(var(--color-1-hsl));
  --color-12-hsl: 228deg 12.1951219512% 40.1960784314%;
  --color--12: hsl(var(--color-12-hsl));
  --color-13-hsl: 227.3684210526deg 12.2580645161% 30.3921568627%;
  --color-13: hsl(var(--color-13-hsl));
  --color-shadow: hsl(var(--color-18-hsl) / 60%);
  --color-green-hsl: 139.4117647059deg 58.6206896552% 54.5098039216%;
  --color-green: hsl(var(--color-green-hsl));
  --color-green-light-hsl: 139.0909090909deg 100% 91.3725490196%;
  --color-green-light: hsl(var(--color-green-light-hsl));
  --color-green-dark-hsl: 139.6153846154deg 59.0909090909% 34.5098039216%;
  --color-green-dark: hsl(var(--color-green-dark-hsl));
  --color-yellow-hsl: 49.3193717277deg 100% 62.5490196078%;
  --color-yellow: hsl(var(--color-yellow-hsl));
  --color-yellow-light-hsl: 48.9655172414deg 87.8787878788% 80.5882352941%;
  --color-yellow-light: hsl(var(--color-yellow-light-hsl));
  --color-yellow-dark-hsl: 49.2165898618deg 100% 42.5490196078%;
  --color-yellow-dark: hsl(var(--color-yellow-dark-hsl));
  --color-purple-hsl: 274.8837209302deg 70.4918032787% 64.1176470588%;
  --color-purple: hsl(var(--color-purple-hsl));
  --color-purple-light-hsl: 266.9565217391deg 56.0975609756% 75.8823529412%;
  --color-purple-light: hsl(var(--color-purple-light-hsl));
  --color-purple-dark-hsl: 265.625deg 38.7096774194% 48.6274509804%;
  --color-purple-dark: hsl(var(--color-purple-dark-hsl));
  --color-red-hsl: 358.4615384615deg 100% 61.7647058824%;
  --color-red: hsl(var(--color-red-hsl));
  --color-red-very-light-hsl: 4.6153846154deg 100% 89.8039215686%;
  --color-red-very-light: hsl(var(--color-red-very-light-hsl));
  --color-red-light-hsl: 3.2258064516deg 76.8595041322% 76.2745098039%;
  --color-red-light: hsl(var(--color-red-light-hsl));
  --color-red-dark-hsl: 0deg 90.4761904762% 32.9411764706%;
  --color-red-dark: hsl(var(--color-red-dark-hsl));
  --color-blue-hsl: 196.1825726141deg 100% 52.7450980392%;
  --color-blue: hsl(var(--color-blue-hsl));
  --color-blue-light-hsl: 196.204379562deg 100% 73.137254902%;
  --color-blue-light: hsl(var(--color-blue-light-hsl));
  --color-blue-dark-hsl: 206.4179104478deg 52.7559055118% 50.1960784314%;
  --color-blue-dark: hsl(var(--color-blue-dark-hsl));
  --button-bg: var(--color-13);
  --button-color: white;
  --button-icon: currentColor;
  --button-hover-bg: var(--color-12);
  --button-hover-color: var(--button-color);
  --button-hover-icon: var(--button-icon);
  --button-default-bg: var(--button-bg);
  --button-default-color: var(--button-color);
  --button-padding: var(--button-padding-block) var(--button-padding-inline);
  --button-margin: var(--button-margin-block) var(--button-margin-inline) var(--button-margin-block) 0;
  --button-border-width: 3px;
  --button-border-radius: 4px;
  --button-margin-block: 1px;
  --button-margin-inline: 10px;
  --button-padding-inline: 16px;
  --button-padding-block: 10px;
  --content-box-border-radius: 6px;
  --content-box-padding: 0.75rem;
  --color-8-hsl: 226.6666666667deg 11.8421052632% 70.1960784314%;
  --color-8: hsl(var(--color-8-hsl));
  --color-11-hsl: 228.3870967742deg 12.2529644269% 50.3921568627%;
  --color-11: hsl(var(--color-11-hsl));
  --color-12-hsl: 228deg 12.1951219512% 40.1960784314%;
  --color-12: hsl(var(--color-12-hsl));
  --color-13-hsl: 227.3684210526deg 12.2580645161% 30.3921568627%;
  --color-13: hsl(var(--color-13-hsl));
  --color-14-hsl: 222.8571428571deg 13.7254901961% 20%;
  --color-14: hsl(var(--color-14-hsl));
  --color-16-hsl: 232.5deg 11.7647058824% 13.3333333333%;
  --color-16: hsl(var(--color-16-hsl));
  --color-18-hsl: 240deg 9.0909090909% 4.3137254902%;
  --color-18: hsl(var(--color-18-hsl));
  --color-link: rgb(22, 178, 245);
}

/******************************************************************************/
/* Responsive screen.                                                         */
/******************************************************************************/

@media screen and (max-width: 600px) {
  .top-menu-nav a:not(:first-child) {
    display: none;
  }

  .top-menu-nav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .top-menu-nav.responsive {
    position: relative;
  }

  .top-menu-nav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .top-menu-nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/******************************************************************************/
/* Header.                                                                    */
/******************************************************************************/

.main-header {
  background: var(--bg-color-main-header);
  height: var(--main-header-height)
}

@media(max-width:830px) {
  .main-header {
    height: var(--main-header-height-small)
  }
}

.main-header-root {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 11;
}

@media(max-width:830px) {
  .main-header-root {
    --button-margin-inline: 5px;
    --button-padding-inline: 10px;
    --button-padding-block: 6px
  }
}

/******************************************************************************/
/* Logo.                                                                      */
/******************************************************************************/

.logo {
  display: block;
  text-indent: -9999px;
  height: var(--logo-height);
  width: var(--logo-width);
  /* border-radius: 4px; */
}

@media(max-width:830px) {
  .logo {
    height: var(--logo-height-small);
    width: var(--logo-width-small);
  }
}

.logo-root {
  height: var(--main-header-height)
}

@media(max-width:830px) {
  .logo-root {
    height: var(--main-header-height-small);
  }
}

.logo-root .logo-small {
  display: block;
  width: var(--logo-width);
  height: var(--logo-height);
  margin: 0 var(--logo-margin-right) 0 var(--logo-margin-left)
}

@media(min-width:831px) {
  .logo-root .logo-small {
    display: none
  }
}

@media(max-width:550px) {
  .logo-root .logo-small {
    width: 20px
  }
}

.logo-root .logo-small {
  display: block;
  fill: var(--bg-color);
  height: 100%;
  width: 100%
}

body[data-custom-playground] .logo-root .logo-small {
  height: 46px;
  width: 30px;
  margin-left: 0
}

@media(max-width:550px) {
  body[data-custom-playground] .logo-root .logo-small {
    width: 20px
  }
}

.logo-root .logo-large {
  display: none;
  height: var(--logo-height);
  border: 0;
  padding: 0 1.25rem
}

@media(min-width:831px) {
  .logo-root .logo-large {
    display: inline-block;
    height: 75px
  }
}

.logo-root .logo-large svg {
  display: block;
  fill: none;
  stroke: var(--bg-color);
  stroke-width: 2.3;
  stroke-linejoin: round;
  stroke-linecap: round;
  height: 100%;
  width: 150px
}

.main-header .logo-large {
  display: none
}

.main-header .logo-small {
  display: block
}

/******************************************************************************/
/* Header title.                                                              */
/******************************************************************************/

.item-title-root {
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 1;
  flex-grow: 1;
  min-width: 120px;
  padding-inline-end: .5rem
}

.item-title-root:first-child {
  margin-left: 1rem
}

.item-title-text {
  width: 100%;
  overflow: hidden;
}

.item-title-title {
  font-family: var(--font-family);
  font-size: 1.3rem;
  margin: 0 0 0.1rem;
  display: flex;
  align-items: center;
}

.item-title-title-link {
  color: var(--text-color);
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

/******************************************************************************/
/* Theme button.                                                              */
/******************************************************************************/

/* Theme button */
.theme-btn {
  width: 3em;
  height: 3em;
  padding: 0.5em;
  border-radius: 10%;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.theme-btn img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Hide the other button when a button is pressed */
.theme-btn.light {
  display: none;
}

.dark .theme-btn.light {
  display: block;
}

.dark .theme-btn.dark {
  display: none;
}

/******************************************************************************/
/* Top menu navigation.                                                       */
/******************************************************************************/

.top-menu-nav {
  overflow: hidden;
  background-color: var(--nav-bg-color);
}

.top-menu-nav a {
  float: left;
  display: block;
  color: var(--text-color);
  text-align: center;
  padding: 12px 14px;
  font-weight: normal;
  text-decoration: none;
  font-size: 17px;
}

.top-menu-nav a:hover {
  font-weight: bold;
  text-decoration: underline;
}

.top-menu-nav a.active {
  color: var(--color-11);
}

.top-menu-nav .icon {
  display: none;
}

/******************************************************************************/
/* Content box.                                                               */
/******************************************************************************/

.content-box-module-root {
  background: var(--content-box-bg);
  box-shadow: var(--content-box-box-shadow);
  border-radius: var(--content-box-border-radius);
  padding: var(--content-box-padding);
  margin: 0 0 1rem;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.item-comment-message {
  background: var(--item-comment-message-bg-color);
  box-shadow: var(--item-comment-message-box-shadow);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 700;
  margin: 1rem auto;
  line-height: 1.5;
}

.item-comment-message-left {
  background: var(--item-comment-message-bg-color);
  box-shadow: var(--item-comment-message-box-shadow);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  text-align: left;
  font-weight: 700;
  margin: 1rem auto;
  line-height: 1.5;
}

.item-comment-message-date {
  background: var(--item-comment-message-bg-color);
  box-shadow: var(--item-comment-message-box-shadow);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  text-align: right;
  font-weight: 700;
  margin: 1rem auto
}

.item-comment-border {
  border-bottom-color: var(--item-comment-border-color);
  border-top-color: var(--item-comment-border-color);
}

/******************************************************************************/
/* Items for the display boxes.                                               */
/******************************************************************************/

.item-details-content {
  margin: 0 auto;
  width: 100%;
  max-width: 95%;
  background: var(--item-details-content-bg);
  /* var(--color-14) */
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  position: relative;
  padding: 1.5rem 1rem
}

.item-details-content-description {
  margin-bottom: 1rem;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto
}

.item-details-content-description:empty {
  display: none
}

@media(min-width:551px) {
  .item-details-content {
    display: grid;
    /* grid-template-columns: minmax(0, 35em) minmax(0, 240px); */
    /* Change the colums so that there is only 1 column.  So reenable this
       if you need the columns back */
    grid-template-columns: minmax(0, 35em);
    grid-template-rows: minmax(0, auto) minmax(0, auto) 1fr minmax(0, auto);
    justify-content: center;
    grid-gap: 1rem 2rem;
    padding: 2rem
  }

  .item-details-content>* {
    margin-top: 0 !important;
    margin-bottom: 0 !important
  }

  .item-details-content-meta {
    grid-column: 2;
    grid-row: 1/span 3
  }

  .item-details-content-license {
    grid-column: 1/-1
  }
}

.item-details-content-meta {
  grid-column: 2;
  grid-row: 1/span 3
}

.item-details-share-module-root {
  background: var(item-details-share-bg);
  border-radius: 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  font-size: .875rem;
  position: relative
}

@media(max-width:550px) {
  .item-details-share-module-root {
    flex-direction: column
  }

  .item-details-share-module-root .item-details-share-module-share-text {
    margin: 0 0 .25rem
  }

  .item-details-share-module-root .item-details-share-module-share-buttons-container {
    flex-direction: column
  }

  .item-details-share-module-root .item-details-share-module-share-buttons-container .item-details-share-module-share-button {
    border-radius: 3px;
    margin: 1px 0;
    border: none
  }
}

.item-details-share-module-share-text {
  display: inline-block;
  color: var(--color-11);
  text-transform: uppercase;
  flex: 1;
  margin-right: .5rem;
  text-align: center
}

.item-details-share-module-share-buttons-container {
  display: flex;
  flex: 1;
  margin: 0 0 0 .25em;
}

.item-details-share-module-share-buttons-container>.item-details-share-module-share-button {
  flex: 1;
  padding: 4px 8px !important;
  font-size: .75rem !important;
  white-space: nowrap
}

.item-details-share-module-share-buttons-container>.item-details-share-module-share-button svg.item-details-share-icon {
  width: 16px;
  height: 16px
}

/******************************************************************************/
/* Buttons.                                                                   */
/******************************************************************************/

.button-module-root {
  font-family: var(--font-family);
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  position: relative;
  font-family: inherit;
  font-size: 1rem;
  text-shadow: none;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none !important;
  font-weight: 400 !important;
  cursor: pointer;
  background: var(--button-bg);
  color: var(--button-color);
  padding: var(--button-padding);
  margin: var(--button-margin);
  border-radius: var(--button-border-radius);
  border: var(--button-border-width) solid transparent;
  --button-padding: var(--button-padding-block) var(--button-padding-inline);
  --button-margin: var(--button-margin-block) var(--button-margin-inline) var(--button-margin-block) 0;
  text-align: center;
  justify-content: center
}

.button-module-root:focus,
.button-module-root:hover {
  background: var(--button-hover-bg, var(--button-bg)) !important;
  color: var(--button-hover-color, var(--button-color)) !important;
  outline-offset: 3px
}

.button-module-root:focus svg,
.button-module-root:hover svg {
  fill: var(--button-hover-icon, var(--button-icon))
}

.button-module-root::-moz-focus-inner {
  border: 0;
  padding: 0
}

.button-module-root:active {
  transform: translateY(1px)
}

.button-module-root>span>svg,
.button-module-root>svg {
  width: 16px;
  height: 16px;
  min-height: 1.2em;
  display: inline-block;
  pointer-events: none;
  vertical-align: bottom;
  fill: var(--button-icon)
}

.button-module-root[data-has-icon]>svg:first-child {
  margin-right: .35em
}

.button-module-root[data-color=green] {
  --button-bg: var(--color-green);
  --button-color: #000;
  --button-hover-bg: var(--color-green-dark)
}

.button-module-root[data-color=faded-green] {
  --button-bg: var(--color-green-dark);
  --button-color: #000;
  --button-hover-bg: var(--color-green-dark)
}

.button-module-root[data-color=red] {
  --button-bg: var(--color-red);
  --button-color: #fff;
  --button-hover-bg: var(--color-red-dark)
}

.button-module-root[data-color=purple] {
  --button-bg: var(--color-purple);
  --button-color: #fff;
  --button-hover-bg: var(--color-purple-dark)
}

.button-module-root[data-color=yellow] {
  --button-bg: var(--color-yellow);
  --button-color: #000;
  --button-hover-bg: var(--color-yellow-dark)
}

.button-module-root[data-color=yellow-dark] {
  --button-bg: var(--color-yellow-dark);
  --button-color: #000;
  --button-hover-bg: var(--color-yellow-dark)
}

.button-module-root[data-color=blue] {
  --button-bg: var(--color-blue);
  --button-color: #000;
  --button-hover-bg: var(--color-blue-dark)
}

.button-module-root[data-color=light] {
  --button-bg: var(--color-7);
  --button-color: var(--color-17);
  --button-hover-bg: var(--color-6);
  --button-hover-color: var(--color-16)
}

.button-module-root[data-color=white] {
  --button-bg: var(--color-1);
  --button-color: var(--color-17);
  --button-hover-bg: var(--color-yellow);
  --button-hover-color: var(--color-16)
}

.button-module-root[data-color=gray] {
  --button-bg: var(--color-11);
  --button-color: var(--color-1);
  --button-hover-bg: var(--color-10)
}

.button-module-root[data-color=dark] {
  --button-bg: var(--color-15);
  --button-color: var(--color-1);
  --button-hover-bg: var(--color-16)
}

.button-module-root[data-color=invert] {
  --button-bg: hsl(var(--color-20-hsl)/0.5);
  --button-color: var(--color-1);
  --button-hover-bg: hsl(var(--color-20-hsl)/0.8)
}

.button-module-root[data-color=black] {
  --button-bg: var(--color-17);
  --button-color: var(--color-1);
  --button-hover-bg: var(--color-16)
}

.button-module-root[data-color=grad-blue] {
  --button-bg: linear-gradient(90deg, var(--color-blue-dark), var(--button-default-bg));
  --button-hover-bg: var(--color-blue-dark);
  background-size: calc(100% + 6px);
  background-position: -3px 0
}

.button-module-root[data-color=grad-yellow] {
  --button-bg: linear-gradient(90deg, var(--color-yellow-dark), var(--button-default-bg));
  --button-hover-bg: var(--color-yellow-dark);
  background-size: calc(100% + 6px);
  background-position: -3px 0
}

.button-module-root:not([disabled])[data-roll=red] {
  --button-hover-bg: var(--color-red);
  --button-hover-color: var(--color-1)
}

.button-module-root:not([disabled])[data-roll=green] {
  --button-hover-bg: var(--color-green);
  --button-hover-color: #000
}

.button-module-root:not([disabled])[data-roll=yellow] {
  --button-hover-bg: var(--color-yellow);
  --button-hover-color: #000
}

.button-module-root:not([disabled])[data-roll=gray] {
  --button-hover-bg: var(--color-17);
  --button-hover-color: var(--color-1)
}

.button-module-root[data-align=start] {
  text-align: left;
  justify-content: start
}

.button-module-root[data-align=end] {
  text-align: right;
  justify-content: end
}

.button-module-root[data-variant=outline] {
  background: 0 0;
  border-color: var(--button-bg);
  color: inherit;
  min-width: 40px
}

.button-module-root[data-variant=outline]:focus,
.button-module-root[data-variant=outline]:hover {
  background: var(--button-hover-bg);
  border-color: var(--button-hover-bg);
  color: var(--button-hover-color)
}

.button-module-root[data-variant=looks-like-link] {
  border: 0;
  background: 0 0 !important;
  font: inherit;
  margin: 0;
  padding: 0;
  --button-color: var(--color-blue-light);
  --button-hover-color: var(--color-blue)
}

.button-module-root[data-variant=invisible] {
  border: 0;
  --button-bg: none;
  --button-color: currentColor;
  --button-hover-bg: transparent
}

.button-module-root[data-size=mini] {
  font-size: .8rem;
  --button-padding-inline: 7px;
  --button-padding-block: 3px;
  --button-margin-block: 0;
  --button-margin-inline: 4px;
  --button-border-width: 1px;
  --button-border-radius: 2px
}

.button-module-root[data-size=mini]>svg {
  width: 10px;
  height: 10px;
  vertical-align: middle
}

.button-module-root[data-size=mini]>svg:not(:only-child)+:not(.Button-module_screen-reader-text-DLFj\+) {
  margin-right: 2px
}

.button-module-root[data-size=small] {
  --button-padding-inline: 11px;
  --button-padding-block: 6px;
  font-size: .96rem
}

.button-module-root[data-size=big] {
  --button-padding-inline: 24px;
  --button-padding-block: 12px;
  font-size: 1.375em
}

.button-module-root[data-size=big]>svg {
  width: 20px;
  height: 20px;
  vertical-align: middle
}

.button-module-root[data-full-width] {
  display: flex;
  width: 100%;
  --button-margin-block: var(--button-margin-inline)
}

.button-module-root[disabled] {
  opacity: .5 !important;
  cursor: default !important;
  pointer-events: none
}

.signup-button {
  display: inline-flex;
  justify-content: center;
  align-items: center
}

@media(max-height:440px),(max-width:767px) {
  .signup-button {
    padding: 7px 3px !important;
    margin-right: 8px
  }
}

.button-group-module-root {
  display: inline-flex;
  align-items: stretch;
  margin: var(--button-margin);
  --button-margin: var(--button-margin-block) var(--button-margin-inline) var(--button-margin-block) 0;
  background: var(--button-bg);
}

.button-group-module-root>*,
.button-group-module-root>[data-size] {
  --button-margin-inline: 1px;
  --button-margin-block: 0;
  border-radius: 0
}

.button-group-module-root>:first-child {
  border-top-left-radius: var(--button-border-radius);
  border-bottom-left-radius: var(--button-border-radius)
}

.button-group-module-root>:last-child {
  border-top-right-radius: var(--button-border-radius);
  border-bottom-right-radius: var(--button-border-radius);
  --button-margin-inline: 0
}

.button-group-module-root[data-variant=pillbox] {
  --button-margin: 0
}

/******************************************************************************/
/* The footer.                                                                */
/******************************************************************************/

* {
  box-sizing: border-box;
  font-family: ’Lato’, sans-serif;
  margin: 0;
  padding: 0;
}

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

footer {
  background-color: var(--foot-bg-color);
  color: var(--foot-text-color);
  line-height: 1.5;
}

footer a {
  text-decoration: none;
  color: var(--foot-social-a-color);
}

a:hover {
  text-decoration: underline;
}

.ft-title {
  color: var(--foot-title-color);
  font-family: ’Merriweather’, serif;
  font-size: 1.375rem;
  padding-bottom: 0.625rem;
}

.ft-main {
  padding: 1.25rem 1.875rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px var(--foot-main-border) solid;

}

.ft-main-item {
  /* padding: 1.25rem; */ /* This gave to much space above */
  min-width: 12.5rem
    /*200px*/
  ;
}

@media only screen and (min-width: 29.8125rem
  /*477px*/
) {
  .ft-main {
    justify-content: space-around;
  }
}

@media only screen and (min-width: 77.5rem
  /*1240px*/
) {
  .ft-main {
    justify-content: space-evenly;
  }
}

form {
  display: flex;
  flex-wrap: wrap;
}

input[type="email"] {
  border: 0;
  padding: 0.625rem;
  margin-top: 0.3125rem;
}

input[type="submit"] {
  background-color: #00d188;
  color: #fff;
  cursor: pointer;
  border: 0;
  padding: 0.625rem 0.9375rem;
  margin-top: 0.3125rem;
}

.header-actions {
  /* padding: 0 1.875rem 1.25rem; */
  padding: 0rem .5rem .875rem 0rem;
}

.header-actions-list {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  color: var(--theme-icon-color);
}

.ft-social {
  padding: 0 1.875rem 1.25rem;
}

.ft-social-list {
  display: flex;
  justify-content: center;
  border-top: 1px #777 solid;
  padding-top: 1.25rem;
}

.ft-social-list li {
  margin: 0.5rem;
  font-size: 1.25rem;
}

.ft-legal {
  padding: 0.9375rem 1.875rem;
  background-color: var(--foot-legal-bg-color);
}

.ft-legal-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.ft-legal-list li {
  margin: 0.125rem 0.625rem;
  white-space: nowrap;
}

/* One before the last child */
.ft-legal-list li:nth-last-child(2) {
  flex: 1;
  /* same as flex-grow: 1; */
}

/******************************************************************************/
/* eMail input boxes.                                                         */
/******************************************************************************/

input[type=email] {
  width: 70%;
  box-shadow: 0 0 3px var(--input-email-border);
}

/******************************************************************************/
/* Articles.                                                                  */
/******************************************************************************/

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

.article-text a {
  color: var(--article-link-color);
}

.article-text li {
  margin: 1rem 1rem 1rem 1rem; /* top, bottom, right, left */
}

pre code {
  background-color: var(--code-bg-color);
  border: var(--code-border);
  display: block;
  padding: 20px;
  font-family: 'Fira Code';
  font-size: 15px;
}

@media(max-width:830px) {
  pre code {
    font-size: 12px;
  }
}

@media(max-width:550px) {
  pre code {
    font-size: 10px;
  }
}

.article-img {
  /* scale: 0; */
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media(max-width:830px) {
  .article-img {
    width: 97%;
  }
}

@media(max-width:550px) {
  .article-img {
    width: 97%;
  }
}
