:root {
  --r-main-font-size: 24px;
  --r-heading-text-transform: none;
  --r-heading1-size: 5em;
}

.reveal img {
  margin: 0;
}

.reveal section {
  text-shadow: 2px 2px 0px white;
}

.reveal code {
  text-shadow: none;
}

.reveal li code,
.reveal p code {
  background: gainsboro;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.9em;
  line-height: 0.9em;
  padding: 6px 4px 0;
  transform: translateY(-1px);
}

.reveal li code {
  transform: translateY(-2px);
}

.reveal h3,
.reveal h4 {
  text-align: left;
  margin-top: -2.5em;
}

.reveal p {
  text-align: left;
  line-height: 1.4em;
}

.reveal ul {
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
}

.reveal li {
  margin-top: 0.25em;
}

.reveal li code {
  line-height: 1em;
}

.reveal li:last-child {
  margin-bottom: 1em;
}

.reveal ul p {
  margin: 0;
}

.reveal ul ul {
  font-size: 0.8em;
}

.reveal blockquote {
  min-width: 80%;
  padding: 5px 4%;
}

.reveal section a:not([href^="mailto"])::after {
  background-color: var(--r-link-color);
  content: "";
  display: inline-block;
  height: 0.8rem;
  margin-left: 8px;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  transition: background-color 0.2s ease;
  width: 0.8rem;
}

.reveal section a:hover::after {
  background-color: var(--r-link-color-hover);
}

.reveal pre[data-id="code-animation"] {
  overflow: hidden;
  font-size: 0.8em;
  line-height: 1.1;
}

kbd {
  background-color: #f7f7f7;
  border-radius: 0.25rem;
  border: 1px solid #cbcccd;
  box-shadow: 0 2px 0 1px #cbcccd;
  cursor: default;
  display: inline-block;
  font-size: 0.75em;
  line-height: 1;
  min-width: 0.75rem;
  padding: 2px 5px;
  position: relative;
  text-align: center;
  transform: translateY(-2px);
  transition: transform 50ms ease;
}

kbd:hover {
  box-shadow: 0 1px 0 0.5px #cbcccd;
  transform: translateY(0px);
}

p.notes {
  font-size: 0.75em;
}

img.logo-heading {
  width: 50%;
}
