html {
  --highlight: #e0330c;
  background: #f4f4f4;
}

body {
  margin: 0px;
  background: #fff;
  color: #333;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.6;
}

h1 {
  font-weight: normal;
  font-size: 3em;
  margin: 0.5em 0 1em;
}

h2 {
  font-weight: normal;
  font-size: 2em;
  margin: 1em 0 0.5em;
}

h2 em {
  position: absolute;
  display: inline-block;
  margin-left: -1.5em;
  font-style: normal;
  font-weight: bold;
  color: #ccc;
}

h3 {
  font-weight: normal;
  font-size: 1.5em;
  line-height: 1.2em;
  margin: 2em 0 0.8em;
}

h4 {
  font-size: 1.2em;
  margin: 2em 0 0.5em;
}

p {
  font-size: 16px;
  margin-bottom: 1em;
  line-height: 1.5;
}

ul li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}

a {
  color: var(--highlight);
}

a:hover {
  color: #e0330c;
  text-decoration: underline;
}

hr {
  border-top-color: #ddd;
  margin: 2em 0;
}

table {
  margin-bottom: 1em;
}

header {
  min-height: 60px;
  color: #fff;
  padding-top: 20px;
  background: #d3360b;
}

header .container .visible-desktop {
  margin-right: 4rem;
}

header #logo {
  width: 240px;
  float: left;
}

nav {
  margin: 0 0 0 250px;
}

nav a,
nav a:focus {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 1px;
  margin-left: 10px;
}

nav a:after {
  margin-left: 15px;
  content: url(../images/star.png);
}

nav a:focus {
  outline-offset: 10px;
  outline: 2px dashed white;
}

nav a:last-child:after {
  content: none;
}

nav a:hover {
  text-decoration: underline;
}

footer {
  color: #666;
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  background: #f4f4f4;
  line-height: 1.5;
  text-align: center;
}
footer a {
  color: #111;
  border-color: #111;
}
footer p:last-child {
  margin-bottom: 0;
}

.nav {
  margin-bottom: 0;
}

.visible-desktop .span3 {
  margin-left: 0;
}

.guides-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.guides-list li {
  padding: 20px 0;
  min-height: 84px;
}
.guides-list li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.guides-list h3 {
  margin: 0;
  margin-left: 90px;
  color: var(--highlight);
}
.guides-list p {
  margin-left: 90px;
  font-size: 18px;
}

.guide-icon {
  position: relative;
  top: 3px;
  margin-right: 20px;

  width: 70px;
  height: 70px;
  float: left;

  color: #fff;
  font-size: 1.8em;
  line-height: 70px;
  font-weight: bold;
  text-align: center;

  background-color: #d0d0d0;
  border-radius: 70px;
  transition: 0.1s background-color ease-in;
  -webkit-transition: 0.1s background-color ease-in;
  -moz-transition: 0.1s background-color ease-in;
}
.guide-icon:before {
  content: attr(data-icon);
  font-size: 120%;
}
.guide-icon-meta:before {
  content: "?";
  position: relative;
}
.guide-icon-other:before {
  content: "❯";
  position: relative;
}
a:hover .guide-icon,
.guide-icon:hover {
  background-color: #d3360b;
  transition: 0.1s background-color ease-in;
  -webkit-transition: 0.1s background-color ease-in;
  -moz-transition: 0.1s background-color ease-in;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.column {
  flex: 1;
}
.column-40 {
  flex-basis: 30%;
}
.column-60 {
  flex-basis: 60%;
}

.workshop-image {
  margin: 40px 0;
  height: 130px;
  background: url(../images/guides-hero.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 980px) {
  .columns {
    display: block;
    gap: 0;
  }
  .workshop-image {
    display: none;
  }
}

i.icon-text-editor,
i.icon-prompt,
i.icon-browser {
  background-position: 0 0;
  margin-left: -70px;
  float: left;
  width: 50px;
  height: 50px;
  line-height: 50px;
}
i.icon-text-editor {
  background-image: url("/images/icon-text-editor.png");
}

i.icon-prompt {
  background-image: url("/images/icon-prompt.png");
}

i.icon-browser {
  background-image: url("/images/icon-browser.png");
}

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

.guides-intro {
  margin-top: 40px;
  margin-bottom: 20px;
}
.guides-intro h1 {
  margin-top: 0;
  margin-bottom: 20px;
}
.guides-intro h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.guide {
  padding-bottom: 40px;
}
.guide > *:last-child {
  margin-bottom: 0;
}

.box {
  margin-top: 40px;
  margin-bottom: 40px;
}

.highlight {
  margin-left: 30px;
  margin-right: 0;
}

.highlight pre {
  overflow-x: auto;
}

.highlight pre code {
  white-space: pre;
}

i.icon-small-text-editor,
i.icon-small-prompt,
i.icon-small-browser {
  background-position: 0 0;
  margin-left: 0px;
  margin-top: 15px;
  display: block;
  width: 50px;
  height: 20px;
  line-height: 20px;
  float: left;
}
i.icon-small-text-editor {
  background-image: url("/images/icon-small-text-editor.png");
}
i.icon-small-prompt {
  background-image: url("/images/icon-small-prompt.png");
}
i.icon-small-browser {
  background-image: url("/images/icon-small-browser.png");
}

.os-specific .picker {
  display: block;
  text-align: right;
}
.os-specific .picker-options .active {
  font-weight: bold;
}
.os-specific .picker-options > span:not(:last-child):after {
  content: " | ";
}
.os-specific.big {
  margin-bottom: 20px;
}
.os-specific.big .picker {
  display: block;
  text-align: center;
}
.os-specific.big .picker > span {
  display: block;
}
.os-specific.big .picker-label {
  font-size: 1.2rem;
  font-weight: bold;
}
.os-specific.big .picker-options > span:not(:last-child) {
  margin-right: 15px;
}
.os-specific.big .picker-options > span:after {
  content: "";
}
.os-specific.big .picker-options {
  padding-top: 20px;
  font-size: 1.3rem;
}
.os-specific.big .picker-options a {
  display: inline-block;
  margin-bottom: 20px;
  padding: 2px 10px;

  border: 2px solid #ddd;
  border-radius: 10px;
}
.os-specific.big .picker-options a.active,
.os-specific.big .picker-options a:focus,
.os-specific.big .picker-options a:hover {
  border-color: currentcolor;
}

/* Correct padding on smaller screens */
@media (max-width: 767px) {
  header,
  footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

kbd {
  padding: 0.1em 0.6em;
  border: 1px solid #ccc;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7f7f7;
  color: #333;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  border-radius: 3px;
  display: inline-block;
  margin: 0 0.1em;
  text-shadow: 0 1px 0 #fff;
  line-height: 1.5em;
  white-space: nowrap;
}

.github-corner:hover .octo-arm {
  animation: octocat-wave 560ms ease-in-out;
}

@keyframes octocat-wave {
  0%,
  100% {
    transform: rotate(0);
  }
  20%,
  60% {
    transform: rotate(-25deg);
  }
  40%,
  80% {
    transform: rotate(10deg);
  }
}

@media (max-width: 500px) {
  .github-corner:hover .octo-arm {
    animation: none;
  }
  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out;
  }
}

.navbar .brand {
  height: 24px;
  line-height: 24px;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  text-shadow: none;
}

.navbar .btn-navbar {
  display: block;
  float: left;
  height: 24px;
  padding: 7px 10px;
  margin-right: 5px;
  margin-left: 5px;
  color: #ffffff;
  text-shadow: none;
  background-color: inherit;
  border: none;
  box-shadow: none;
  background-image: none;
}

.navbar .btn-navbar:hover,
.navbar .btn-navbar:focus,
.navbar .btn-navbar:active,
.navbar .btn-navbar.active,
.navbar .btn-navbar.disabled,
.navbar .btn-navbar[disabled] {
  color: #ffffff;
  background-color: inherit;
  *background-color: inherit;
}

.navbar .btn-navbar .icon-bar {
  display: block;
  width: 18px;
  height: 4px;
  background-color: #fff;
  box-shadow: none;
}

.navbar .nav > li > a {
  float: none;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  text-shadow: none;
}

.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover,
nav a:hover {
  color: #f6e58d;
  text-decoration: none;
  background-color: transparent;
}

[class*="-notice"] {
  margin-bottom: 20px;
  padding: 10px 15px;
  font-size: 120%;
  border-radius: 10px;
}
[class*="-notice"] :last-child {
  margin-bottom: 0;
}
.guide-notice {
  background-color: #fef8ea;
}
.help-notice {
  background-color: #fef8ea;
}
.help-notice:before {
  content: "ℹ️";
  margin-right: 10px;
}
.coach-notice {
  border: 2px solid #8102bb;
}
.coach-notice > div {
  cursor: help;
}
.warning-notice {
  border: 2px solid var(--highlight);
}
.warning-notice:before {
  content: "Warning";
  display: block;
  font-weight: bold;
}
.go-to-top-arrow {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: 45px;
  height: 45px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 14px;
  border-radius: 30px;
  transition: all .4s;
}
.go-to-top-arrow:hover {
  background-color: #555;
}
.go-to-top-arrow.active{
  visibility: visible;
  opacity: 1;
  opacity: 99;
}
.arrow{
  position: absolute;
  top: 16px;
  left: 13px;
  width: 15px;
  height: 15px;
  display: inline-block;
  border: solid #FFF;
  border-width: 0 5px 5px 0;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
