* {
  font-family: 'Open Sans';
}

p {
  color: #666;
}

.top-ribbon {
  width: 100%;
  height: 65vh;
  min-height: 350px;
  overflow: hidden;
  background-color: #333;
  border-bottom: 2px solid #d8d8d8;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.layout-main {
  margin-top: -15vh;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.container {
  max-width: 1600px;
  width: calc(100% - 16px);
  margin: 0 auto;
}

.content {
  border-radius: 2px;
  padding: 0;
  margin-bottom: 80px;
  background: white;
}

.mdl-tabs__panel {
  padding: 35px 60px;
}

.is-small-screen .mdl-tabs__panel {
  padding: 35px 15px;
}

.mdl-tabs__tab {
  font-weight: 600;
}

.content h3 {
  margin-top: 48px;
}

.footer {
  padding-left: 20vh;
  padding-right: 20vh;
  padding-bottom: 10px;
}

.footer .mdl-mini-footer--link-list a {
  font-size: 13px;
}


.background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 65vh;
  min-height: 350px;
}

.header {
  width: 100%;
  height: 65vh;
  min-height: 350px;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  display: flex;
  align-items: center;
}

.flex-wrapper {
  position: relative;
  top: -8vh;
  display: block;
  margin: auto;
}

.header a, .header a:hover {
  text-decoration: none;
  color: white;
}

.header h1 {
  color: white;
  font-family: 'Open Sans';
  font-variant: small-caps;
  text-transform: lowercase;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0;
  padding-bottom: 0;
  letter-spacing: 0.15rem;
}

.header h1 a {
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

.header h1 a:hover {
  opacity: 0.7;
}

.header .pause-btn {
  position: absolute;
  right: 0;
  display: inline;
  color: white;
  bottom: 5px;
  text-align: center;
  width: 50px;
  opacity: 1;
  transition: all 0.2s ease-in-out;
  z-index: 9;
}

.header .pause-btn:hover {
  cursor: pointer;
  opacity: 0.6;
}

.header h6 {
  color: white;
  font-family: 'Open Sans';
  text-transform: lowercase;
  font-weight: 500;
  letter-spacing: 0.18rem;
}

.header h1 .main {
  font-weight: 400;
  padding: 0 12px 5px 12px;
  margin-right: 10px;
  background: white;
  color: black;
}

.mdl-tabs__tab {
  width: 100%;
  color: #888;
  border-top: 3px solid #e0e0e0;
  font-weight: 400;
}

.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active {
  font-weight: 700;
}
.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:after {
  background: none;
}

.demo {
  margin-top: 40px;
  text-align: center;
}

.demo .mdl-textfield {
  display: block;
  margin: auto;
  width: auto;
}

.demo .buttons i {
  transition: all 0.2s ease-in-out;
}

.demo .buttons i:hover {
  cursor: pointer;
  opacity: 0.6;
}

*:focus {
  outline: none!important;
}

.mdl-textfield__label {
  text-align: center;
  color: #d0d0d0;
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 0.20rem;
  top: 35px;
}

.mdl-textfield__label:after {
  background-color: #e0e0e0;
}

.mdl-textfield__input {
  text-align: center;
  color: #a0a0a0;
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 0.30rem;
  padding: 15px 0;
  border: 1px solid #e0e0e0;
}

.demo .mdl-button {
  position: absolute;
  right: 10px;
  top: 30px;
  font-size: 0.5em;
}

.mdl-spinner {
  margin: 20px 0;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #efefef;
  z-index: 99999;
  display: flex;
  align-items: center;
  text-align: center;
}

#loader .loader-wrap {
  margin: auto;
}

.logo {
  font-variant: small-caps;
  text-transform: lowercase;
  font-family: 'Open Sans';
  font-weight: 800;
  letter-spacing: 0.15rem;
}

footer {
  box-shadow: inset 0px 2px 8px rgba(0, 0, 0, 0.40);
}

footer p {
  margin-top: 10px;
}

.logo .main {
  font-weight: 400;
  padding: 0px 6px 3px 8px;
  background: #9e9e9e;
  color: #424242;
  margin-right: 6px;
}
hr {
  border-color: #e0e0e0;
}

::-moz-selection {
  background: #e8e8e8;
  color: #333;
}
::selection {
  background: #e8e8e8;
  color: #333;
}

#learn-btn {
  position: relative;
  bottom: -20px;
  right: calc(-100% + 30px);
}

.is-small-screen #learn-btn {
  right: calc(-100% + 50px);
}

#hex_color {
  transition: color, background 0.2s ease-in-out;
}

.content h4 {
  color: #888;
  font-size: 1.6rem;
}

.content h4 .title {
  border-bottom: 2px solid #e8e8e8;
  display: inline-block;
}

.content h4 .deco {
  color: #e8e8e8;
  border-bottom: 2px solid transparent;
}

.intro {
  margin-bottom: 50px;
}

.prerequisites {
  max-width: 400px;
}

.prerequisites a {
  color: #666;
}

.bloc {
  margin-bottom: 50px;
}

.content h5 {
  color: #666;
  /* font-size: 1.2em; */
  border-bottom: 1px solid #d8d8d8;
  font-variant: small-caps;
  text-transform: lowercase;
  display: inline-block;
  font-weight: 600;
  margin-left: 25px;
}

code {
  font-family: monospace;
  background: #e8e8e8;
  color: #424242;
  padding: 3px;
}

code.command {
  display: block;
  padding: 25px;
  background: #424242;
  color: white;
  white-space: pre;
  margin-bottom: 15px;
}

code.command a {
  color: #efefef;
  font-style: italic;
}

code .return, code .comment {
  color: #afafaf;
  font-style: italic;
  font-family: monospace;
}
