/* This file is (loosely) organized according to SMACSS */

/******************
 * Root variables *
 ******************/

:root {
  --datalad-grey: #333;
  --hero-text-color: white;
  --datalad-yellow: #ffa200;
  --datalad-blue: #7FD5FF;
}

/********
 * Base *
 ********/
@font-face { /* License: OFL 1.1 */
  font-family: 'Maven Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/maven-pro-v25-latin-regular.woff2') format('woff2'),
       url('../fonts/maven-pro-v25-latin-regular.woff') format('woff');
}
@font-face { /* License: OFL 1.1 */
  font-family: 'Maven Pro';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/maven-pro-v25-latin-700.woff2') format('woff2'),
       url('../fonts/maven-pro-v25-latin-700.woff') format('woff');
}
@font-face { /* License: OFL 1.1 */
  font-family: 'fontello';
  src: url('../../theme/fonts/fontello.woff2?75734825') format('woff2'),
       url('../../theme/fonts/fontello.woff?75734825') format('woff');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"]::before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-home:before { content: '\e800'; }
.icon-mail:before { content: '\e801'; }
.icon-mastodon:before { content: '\e802'; }
.icon-help-circled:before { content: '\e803'; }
.icon-chat:before { content: '\e804'; }
.icon-comment:before { content: '\e805'; }
.icon-info-circled:before { content: '\e806'; }
.icon-users:before { content: '\e807'; }
.icon-ok:before { content: '\e80a'; }
.icon-cog:before { content: '\e80c'; }
.icon-book:before { content: '\e811'; }
.icon-cancel-circled:before { content: '\e813'; }
.icon-down-dir:before { content: '\e814'; }
.icon-link-ext:before { content: '\f08e'; }
.icon-twitter:before { content: '\f099'; }
.icon-github:before { content: '\f09b'; }
.icon-docs:before { content: '\f0c5'; }
.icon-menu:before { content: '\f0c9'; }
.icon-comment-empty:before { content: '\f0e5'; }
.icon-chat-empty:before { content: '\f0e6'; }
.icon-download-cloud:before { content: '\f0ed'; }
.icon-doc-text:before { content: '\f0f6'; }
.icon-laptop:before { content: '\f109'; }
.icon-quote-left:before { content: '\f10d'; }
.icon-code:before { content: '\f121'; }
.icon-help:before { content: '\f128'; }
.icon-info:before { content: '\f129'; }
.icon-rocket:before { content: '\f135'; }
.icon-youtube-play:before { content: '\f16a'; }
.icon-apple:before { content: '\f179'; }
.icon-windows:before { content: '\f17a'; }
.icon-linux:before { content: '\f17c'; }
.icon-file-code:before { content: '\f1c9'; }


a {
  color: var(--datalad-yellow);
  text-decoration: none;
}
a:hover {
  color: #af7714;
}

body, html {
  height: 100%;
  width: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #242121;
  font-family: 'Maven Pro', sans-serif;
  font-size: 1.1em;
  line-height: 2em;
}

code {
  color: firebrick;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  line-height: 1.2;
}
h1 { font-size: 2.5em; }
h2 { font-size: 2.0em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.36em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }

p {
  margin: 2em 0;
}

article h1 {
  margin-bottom: 0;
}

section {
  border-bottom: #eee 3px solid;
  overflow: hidden;
}
section:nth-child(2n) { background-color: #f6f6f6; }
section:first-of-type { border-top: #eee 3px solid; }
h2 + section          { border-top: 0; } /* unless immediately preceded by a header */
section:last-of-type  { border: 0; }

section > h2:first-child, div.section > h2:first-child,
section > h3:first-child, div.section > h3:first-child {
  margin-top: 0;
}



/**********
 * Layout *
 **********/

html {
  scroll-behavior: smooth;
}
article {
  margin: 0 6vw;
}
main {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}
main #content {
  flex: 1;
}
section, div.section {
  margin: 0 -6vw;
  padding: 2em 6vw;
}
@media screen and (min-width: 768px) {
  main {
    width: 100%;
    position: absolute; top: 0; left: 0;
    overflow-x: hidden;
    overflow-y: hidden;
  }
}
@media screen and (min-width: 1000px) {
  article {
    margin: 0 8vw;
  }
  section, div.section {
    margin: 0 -8vw;
    padding: 2em 8vw;
  }
}
@media screen and (min-width: 1800px) {
  article {
    margin: 0 12vw;
  }
  section, div.section {
    margin: 0 -12vw;
    padding: 2em 12vw;
  }
}
.spacer-dlyellow {
  background-image: url(../../img/arrow_yellow.svg);
  width: 100%;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  height: 200px;
  margin-top: 2em;
  margin-bottom: 2em;
}
.spacer-dlgrey {
  background-image: url(../../img/arrow_grey.svg);
  width: 100%;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  height: 200px;
  margin-top: 2em;
  margin-bottom: 2em;
}
.banner {
  background-color: var(--datalad-grey);
  display: flex;
  flex-direction: column;
  color: white;
  height: 40vh;
  padding-top: 3em;
  text-align: center;
  justify-content: center;
}


/************
 *  Modules *
 ************/

/*
 * Navigation
 */

nav.card {
  box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
  background: #fff;
  display: flex;
  position: fixed;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 3em;
  z-index: 999;
  padding: 0.5em 1em;
  font-size: 20px;
  box-sizing: border-box;
  opacity: 1;
  transition: height 0.3s ease-in-out;
}
nav.card ul {
  list-style: none;
  margin: auto;
  padding: 0;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 8em;
  display: inline-flexbox;
  flex-wrap: wrap;
}
nav.card ul.menu-items {
  transform: translateY(-4em);
}
nav.card ul.menu-icons {
  transform: translateY(-2em);
  font-size: 22px;
  width: 9em;
}
nav.card img {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(1em, 0.75em);
  width: 30px;
}
nav.card li {
  display: inline-block;
}
nav.card li a {
  box-shadow: none;
  color: #111;
  padding: 2em inherit;
  text-decoration: none;
  text-transform: uppercase;
  transition: display 0.3s;
  display: none;
}
nav.card li a:hover {
  color: #af7714;
}

input[type=checkbox] {
  display: none;
}
input[type=checkbox] + label:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  speak: none;
  content: '\f0c9';
  color: var(--datalad-grey);
  display: inline-block;
  padding: 0;
  position: fixed;
  right: 0;
  top: 0;
  transform: translate(-1em, 0.75em);
  z-index: 1000;
}
input[type=checkbox]:checked ~ nav.card ul li a {
  display: unset;
}
input[type=checkbox]:checked ~ nav.card {
  height: 16em;
  opacity: 0.95;
}

input[type=checkbox]:hover + label:before {
  color: #af7714;
}


/*
 * Button
 */
 .button {
  background-color: white;
  border: 2px solid var(--datalad-yellow);
  border-radius: 20px;
  color: black;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  font-size: 18px;
}

/*
 * Hero
 */
svg.hero-svg {
  position: absolute;
  bottom: -0.05%;
  width: 100%;
  height: 15vw;
  fill: #fff;
}
.hero {
  padding-top: 3em;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  height: 90vh;
  background-color: var(--datalad-grey);
  align-items: center;
}

.hero-image {
  flex: 1 1 50%;
  margin: 3vh auto 0;
  text-align: center;
  position: relative;
  max-width: 440px;
  min-width: 270px;
}
.hero-image img {
  height: auto;
  width: 90%;
}
.hero-wide {
  display: none;
  position: absolute;
  min-width: 300px;
  top: -8em;
  left: 1em;
}
.hero-wide.flash {
  opacity: 0;
  animation-name: imageBlink;
  animation-iteration-count: infinite;
  animation-duration: 12s;
}
.hero-body {
  flex: 1 1 50%;
  color: var(--hero-text-color);
  margin: 0 auto 10vh;
  position: relative;
  max-width: 280px;
  text-align: center;
}
.hero-body p {
  font-size: 1.5em;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 1.5em;
  padding: 0;
}
.hero-body .button {
  border: 3px solid var(--datalad-yellow);
  padding: 0.6em;
}
.hero-body .hero-buttons {
  line-height: 3em;
}


.hero-star {
  margin-top: 1.5em;
}

@media screen and (min-width: 600px) {
  .hero-image {
    flex: 2 1 0%;
  }
  .hero-wide {
    display: unset;
  }
  .hero-narrow {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .hero-image {
    flex: 2 1 0%;
    max-width: 800px;
    transform: translateY(-3em);
  }
  .hero-body {
    flex: 1 1 0%;
    max-width: 400px;
    transform: translateY(-2em);
  }
  .hero-body p {
    font-size: 2em;
  }
}
@media screen and (min-width: 1000px) {
  .hero-image {
    flex: 2 1 0%;
    max-width: 900px;
    transform: translateY(-5em);
  }
  .hero-body {
    transform: translateY(-2em);
  }
}
@media screen and (min-width: 1400px) {
  .hero-image {
    transform: translateY(-6em);
  }
  .hero-body {
    transform: translateY(-3em);
  }
}

@keyframes imageBlink {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  25.001% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#a {
  animation-delay: 0s;
}
#b {
  animation-delay: 3s;
}
#c {
  animation-delay: 6s;
}
#d {
  animation-delay: 9s;
}


/*
 * Distribits
 */
 .distribits {
  width: 100%;
  margin: auto;
  text-align: center;
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.distribits-teaser {
  width: 60%;
  text-align: center;
  margin: auto;
  height: calc(60vw * 0.45);
  background: url(../../img/distribits-teaser.jpg);
  background-size: 100% 100%;
  background-position: center;
  box-shadow: inset 0 0 1em white, inset 0.5em 0.5em 1em white, inset -0.5em -0.5em 1em white;
}
.distribits h1 {
  margin-bottom: 1em;
}
.distribits p {
  margin: 1em 0;
}

@media screen and (min-width: 768px) {
  .distribits p {
    font-size: 24px;
  }
}
@media screen and (min-width: 1000px) {
  .distribits p {
    width: 60%;
    margin: inherit auto;
  }
  .distribits-teaser {
    width: 45%;
    height: calc(45vw * 0.45);
  }
}


/*
 * Overview
 */
.overview-vid {
  width: 100%;
  margin: auto;
  margin-top: 4em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.overview-vid p {
  margin-bottom: 0;
}
.overview-vid iframe {
  border: none;
  width: 100%;
  height: calc(100vw * 0.5625);
  max-width: 640px;
  max-height: 360px;
  box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
  margin: 2em 0;
}
.overview-buttons {
  width: 55%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: auto;
}
.overview-buttons .button {
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: 1em;
  padding: 12px 24px;
}
@media screen and (min-width: 768px) {
  .overview-vid p {
    font-size: 24px;
  }
}
@media screen and (min-width: 1000px) {
  .overview-vid p {
    width: 60%;
    margin: inherit auto;
  }
}


/*
 * Install
 */
.install {
  width: 100%;
  margin: auto;
  text-align: center;
  margin-bottom: 1em;
}
.install h1 {
  margin-bottom: 1em;
}
.install p {
  margin: 1em 0;
}
.install section {
  background-color: #f6f6f6;
  border-radius: 8px;
  box-shadow: 0 5px 5px -1px #939393;
  hyphens: auto;
  margin: 0 auto;
  max-width: 1000px;
  padding: 1em 3em;
  text-align: justify;
}
.install input {
  display: none
}
.install-tab {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  display: inline-block;
  padding: 0.5em 0.4em 0.4em 0.4em;
  width: 3.25em;
}
.install input:checked + .install-tab {
  background-color: #f6f6f6;
  border: 1px solid #eee;
  border-bottom: none;
}
.install-tab span, .install-tab img {
  background-color: var(--datalad-grey);
  border-radius: 100%;
  box-shadow: rgba(50, 50, 93, 0.25) 0 10px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
  color: var(--datalad-yellow);
  display: block;
  height: 38px;
  line-height: 38px;
  margin: 0 auto 0.2em auto;
  transition: transform 0.2s linear;
  width: 38px;
}
.install-tab:hover span, .install-tab:hover img {
  transform: translateY(-0.2em);
}
.install .datalad, .install .linux, .install .macos, .install .windows {
  display: none;
}
#datalad:checked ~ section .datalad,
#linux:checked ~ section .linux,
#macos:checked ~ section .macos,
#windows:checked ~ section .windows {
  display: initial;
}
.install-code {
  background-color: var(--datalad-grey);
  border-radius: 5px;
  box-shadow: 0 7px 11px -1px #7A7A7A;
  box-sizing: border-box;
  color: var(--datalad-blue);
  font-size: 20px;
  margin: 0 auto;
  max-width: 28em;
  padding: 0.5em 1em;
  text-align: left;
  width: 100%;
}
.install-code a {
  float: right;
  color: #e6e6e6;
}
.install-code a:hover {
  color: var(--datalad-yellow);
}

@media screen and (min-width: 500px) {
  .install section {
    hyphens: initial;
  }
  .install-tab {
    width: 4.25em;
  }
}
@media screen and (min-width: 768px) {
  .install {
    font-size: 24px;
  }
  .install-tab {
    width: 5em;
  }
  .install-tab span, .install-tab img {
    height: 55px;
    line-height: 55px;
    width: 55px;
  }
}
@media screen and (min-width: 1000px) {
  .install-tab {
    font-size: 30px;
  }
  .install-tab span, .install-tab img {
    height: 70px;
    line-height: 65px;
    width: 70px;
  }
}

/*
 * Info card (i.e. main content module)
 */
 .info-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.info-card h1 {
  text-align: center;
}
.info-card img {
  height: auto;
  width: 75%;
  min-width: 300px;
}
.info-card .larger img {
  width: 90%;
}
.card-text {
  flex: 1 1 50%;
  margin: auto;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%
}
.card-text p {
  text-align: justify;
}
.card-text ul {
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}
.card-img {
  flex: 1 1 50%;
  margin: auto;
  text-align: center;
}
.info-card.reverse {
  flex-wrap: wrap-reverse;
}
@media screen and (max-width: 300px) {
  .info-card img {
    min-width: 200px;
  }
}

@media screen and (min-width: 768px) {
  .card-text p {
    font-size: 22px;
  }
  .card-text ul {
    font-size: 22px;
  }
}

/*
 * List inside info-card
 */
.main-list li {
  padding-bottom: 0.4em;
  padding-right: 0.4em;
  list-style: none;
}
.main-list .icon-ok                    { background-color: var(--datalad-yellow); }
.main-list .icon-ok::after             { border-color:     var(--datalad-yellow); }
.main-list .icon-code                  { background-color: var(--datalad-yellow); }
.main-list .icon-code::after           { border-color:     var(--datalad-yellow); }
.main-list span {
  border-radius: 100%;
  color: #fff;
  display: inline-block;
  font-size: .8em;
  line-height: 1.6em;
  text-align: center;
  height: 1.6em;
  width: 1.6em;
}

/*
 * Typewriter animation
 */
.card-text.use-datalad {
  flex: 1 1 45%;
  margin: auto;
  text-align: center
}
.card-text.use-datalad p {
  text-align: justify;
}
.card-img.use-datalad {
  flex: 1 1 55%;
  margin: auto;
  position: relative;
  text-align: center;
}
.card-img.use-datalad img {
  height: auto;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 7px 11px -1px #7A7A7A;
  border-radius: 0.4em;
}
.card-img.use-datalad video {
  height: auto;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 7px 11px -1px #7A7A7A;
  border-radius: 0.4em;
  margin-bottom: 1em;
  margin-top: 1em;
}
.typewriter-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15%;
}
.typewriter-text p {
  overflow: hidden;
  letter-spacing: 1.5px;
  white-space: nowrap;
  opacity: 0;
  text-align: left;
  font-size: 12px;
  line-height: 1.2em;
  font-weight: 400;
  width: calc(0.6em * var(--n));
  border-right: .15em solid var(--datalad-yellow);
  margin: 0;
  color: var(--datalad-blue);;
}
.typing p {
  animation: type-middle 3s steps(20, end);
  animation-delay: calc( 4s * var(--d));
  animation-fill-mode: forwards;
}
.typing p:nth-last-child(1) {
  animation: type-last 3s steps(20, end), blink 0.5s step-end, infinite, alternate;
  animation-delay: calc( 4s * var(--d));
  animation-fill-mode: forwards;
}
.typing p:nth-child(1) {
  animation: type-first 3s steps(20, end);
  animation-delay: calc( 4s * var(--d));
  animation-fill-mode: forwards;
  opacity: 1;
}
@keyframes type-first {
  0% {
    width: 0;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    border: none;
  }
}
@keyframes type-middle {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    opacity: 1;
    border: none;
  }
}
@keyframes type-last {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@media screen and (min-width: 430px) {
  .typewriter-text p {
    font-size: 14px;
    letter-spacing: 1.5px;
    line-height: 1.5em;
  }
}

@media screen and (min-width: 768px) {
  .typewriter-text p {
    font-size: 16px;
    line-height: 1.5em;
  }
  .card-img.use-datalad img {
    margin: 1em;
  }
}
@media screen and (min-width: 1200px) {
  .typewriter-text p {
    font-size: 20px;
    line-height: inherit;
  }
}
@media screen and (min-width: 2000px) {
  .typewriter-text {
    left:22%;
  }
}




/*
 *  Integrations / extensions / into-the-wild
 */
.integrations {
   margin-top: 2em;
}
.integrations input {
  color: var(--datalad-grey);
  font-size: 20px;
  text-align: left;
}
.integrations input[type=text] {
  width: 95%;
  margin-bottom: 1em;
  padding: 0 0.5em;
}

.integrations input[type=text]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  opacity: 0.5; /* Firefox */
  text-align: center;
}

.integrations input[type=radio] {
  display: none
}
.integrations input[type=radio] + label {
  border: 1px solid var(--datalad-grey);
  background-color: white;
  color: var(--datalad-grey);
  border-radius: 6px;
  padding: 16px;
  margin: 0;
  display: inline-block;
  margin-bottom: 1em;
}
.integrations input[type=radio]:hover + label {
  background-color: var(--datalad-grey);
  color: white;
}
.integrations input[type=radio]:checked + label {
  border: 3px solid var(--datalad-yellow);
}
.integrations .filter-options {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: inherit auto;
  justify-content: center;
  text-align: center;
  break-after: always;
}
.tag-anchor {
  border: 1px solid black;
  padding: 5.5px;
  width: 50px;
  margin: 0;
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
}
.tag-anchor span.icon-down-dir {
  padding: 0;
  margin: 0;
}
.tag-button {
  border: 1px solid var(--datalad-grey);
  border: 1px solid #8a8b8c;
  background-color: white;
  color: #8a8b8c;
  padding: 2px 8px;
  border-radius: 12px;
  margin: 0;
}
.tag-button:hover {
  background-color: var(--datalad-grey);
  color: white;
  cursor: pointer;
}
.tag-button:hover a {
  color: white;
}
.tag-button a {
  color: inherit;
}
.tag-tooltip {
  visibility: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow-y: scroll;
  position: absolute;
  align-content: flex-start;
  line-height: 2em;
  width: 60vw;
  height: auto;
  background-color: white;
  border: 1px solid #ced4da;
  color: var(--datalad-grey);
  text-align: left;
  padding: 5px 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  transform: translate(0, 2em);
}
/* Show the tooltip text when you mouse over the tooltip container */
.tag-anchor:hover .tag-tooltip {
  visibility: visible;
}
.tag-anchor:active .tag-tooltip {
  visibility: visible;
}
.visible {
  visibility: visible;
}
.selected-tags {
  flex: 1 1 100%;
  break-after: always;
  margin: 2em;
  text-align: center;
  line-height: 2em;
}

@media screen and (min-width: 340px) {
  .integrations input[type=text] {
    width: 300px;
  }
}
@media screen and (min-width: 768px) {
  .tag-tooltip {
    width: auto;
    min-width: 25vw;
    max-width: 40vw;
  }
}

.integrations {
  align-items: flex-start;
  border: 0 !important; /* null both border-tops and -bottoms */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  line-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.integrations .item {
  position: relative;
  margin: 0.5em;
  padding: 1em;
  background-color: #fafafa;
  border-radius: 8px;
  text-align: center;
  height: 200px;
  width: 190px;
}
.integrations .item-logo {
  margin: auto;
  width: 175px;
  height: 100px;
  display: flex;
  padding: 0.2em;
  border: 1px solid #e6e6e6;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 8px;
}

.integrations .item-logo img {
  margin: auto;
  max-height: 90px;
  max-width: 170px;
}
.integrations .item-info {
  color: #3a4046;
  font-size: 16px;
  line-height: 24px;
  padding: 0.5em 0;
  margin: auto;
  text-align: center;
  max-width: 175px;
}
.integrations .item-info h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 24px;
  margin: 0.5em auto;
  text-align: center;
}
.integrations .social-links {
  margin: auto;
  width: 175px;
}
.integrations p.blurb {
  hyphens: auto;
  display: none;
  margin: 0;
}
.social-links {
  font-size: 1.6em;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  width: inherit;
  bottom: 8px;
}
.social-links li {
  display: inline-block;
}
.social-links a {
  border-radius: 8px;
  color: var(--datalad-grey);
  border: 1px solid var(--datalad-grey);
  display: inline-block;
  font-size: .7em;
  line-height: 1.5em;
  text-align: center;
  transition: transform 0.2s linear;
  height: 1.5em;
  width: 1.5em;
}
.social-links a:hover {
  color: #fff;
  transform: translateY(-0.1em);
  background-color: var(--datalad-yellow);
  border-color: var(--datalad-yellow);
}
.integrations .item:hover .item-logo, .integrations .item:active .item-logo {
  display: none;
}
.integrations .item:hover .item-info h3, .integrations .item:active .item-info h3 {
  display: none;
}
.integrations .item:hover .item-info .blurb, .integrations .item:active .item-info .blurb {
  display: unset;
}

.use-case-text {
  text-align: justify;
  width: 90%;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .use-case-text {
    width: 70%;
    margin: auto;
    font-size: 22px;
  }
}

.social-links .icon-github::after           { border-color:     var(--datalad-grey); }
.social-links .icon-home::after             { border-color:     var(--datalad-grey); }
.social-links .icon-link-ext:after          { border-color:     var(--datalad-grey); }
.social-links .icon-doc-text:after          { border-color:     var(--datalad-grey); }

@media screen and (min-width: 768px) {
  .integrations .social-links {
    display: none;
  }
  .integrations .item:hover {
    cursor: help;
  }
  .integrations .item:hover .item-logo, .integrations .item:hover .item-info h3 {
    display: none;
  }
  .integrations .item:hover .item-info .blurb {
    display: unset;
  }
  .integrations .item:hover .social-links, .integrations .item:active .social-links {
    display: unset;
    position: absolute;
    left: 0;
    right: 0;
    width: inherit;
    bottom: 8px;
  }
}


/*
 * Learn more section
 */
.learnmore {
  align-items: flex-start;
  border: 0 !important; /* null both border-tops and -bottoms */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  line-height: 0;
  margin-top: 3em;
  padding-top: 0;
  padding-bottom: 0;
}
.resource-item {
  position: relative;
  margin: 0.5em;
  padding: 1em;
  text-align: center;
  width: 190px;
}
.resource-icon {
  width: 100px;
  height: 100px;
  display: flex;
  font-size: 45px;
  margin: auto;
  opacity: 1;
  background-color: var(--datalad-grey);
  box-shadow: rgba(50, 50, 93, 0.25) 0 10px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
  text-align: center;
  border-radius: 100%;
  transition: transform 0.2s linear;
}
.resource-icon a {
  margin: auto;
  color: var(--datalad-yellow);
}
.learnmore .resource-info {
  color: #3a4046;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  margin: auto;
  max-width: 175px;
  text-align: center;
}
.learnmore .resource-info h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}
.learnmore .social-links {
  margin: auto;
  display: none;
  width: 175px;
}
@media screen and (min-width: 768px) {
  .resource-item:hover .resource-icon {
    transform: translateY(-0.2em);
  }
}


/*
 * Cite section
 */
.card-text blockquote {
  border-left: 5px solid rgb(189, 189, 189);
  padding-left: 1em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-bottom: 2em;
  font-size: inherit;
  box-sizing: border-box;
  text-align: left;
  max-width: 100%;
}
.cite-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.button-cite {
  border: 1px solid var(--datalad-grey);
  background-color: white;
  color: var(--datalad-grey);
  border-radius: 6px;
  padding: 0 0.5em;
  margin: 0;
  margin-right: 0.5em;
  display: inline-block;
  font-size: 14px;
}
.button-cite:hover {
  background-color: var(--datalad-grey);
  color: white;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .cite-buttons {
    display: block;
    text-align: center;
  }
}


/*
 * Copyright page
 */
 .copyright-intro {
   text-align: center;
 }

 .fading-line-copyright {
  height: 1px;
  background: linear-gradient(270deg,hsla(0,0%,90%,0),#ccc);
  margin-top: 1em;
  margin-bottom: 1em;
  display: block;
}


/*
 * Footer
 */
footer {
  background-color: var(--datalad-grey);
  color: #bdbdbd;
  font-size: 1em;
  font-style: italic;
  hyphens: auto;
  line-height: 2em;
  text-align: justify;
}
footer .footer-main {
  margin: 2em auto;
  max-width: 1000px;
  width: calc(100% - 4em);
}

footer .footer-contributors {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  margin-bottom: 2em;
  padding: 0;
}

footer .footer-contributors a {
  display: block;
  width: 100%;
  height: 100%;
}

.contributor {
  height: 60px;
  width: 60px;
  border-radius: 100%;
  background-size: contain;
  margin: 2px ;
  opacity: .25;
  transition: opacity .2s ease-in-out;
}

.contributor:hover {
  opacity:1
}

footer .contributors-heading {
  display: none;
  flex-wrap: wrap;
}

.contributors-heading h3 {
  font-style: normal;
  margin: 0;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.contributors-heading .fading-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(270deg,hsla(0,0%,80%,0),#ccc);
  margin-left: 0.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.fading-line-full {
  height: 1px;
  background: linear-gradient(270deg,hsla(0,0%,90%,0),#ccc);
  margin: 0;
  margin-bottom: 1em;
  display: none;
}

footer .footer-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

footer img {
  max-width: 50%;
  width: 100%;
}

footer ul {
  list-style: none;
  margin: 1.5em 0 0 0;
  padding: 0;
}
footer li {
  display: inline-block;
  transition: translateY 0.2s linear;
  margin: 0.25em;
}
footer li:first-child { margin-left:  0; }
footer li:last-child  { margin-right: 0; }
footer li a {
  display: inline-block;
  font-size: 1.5em;
  text-align: center;
  transition: transform 0.2s linear;
}
footer li a:hover {
  transform: translateY(-0.2em);
}
footer li a::after {
  background: var(--datalad-grey);
  border: 1px solid #aaa;
  border-radius: 5px;
  color: #aaa;
  content: attr(aria-label);
  font-size: 0.8em;
  opacity: 0;
  padding: 3px 6px;
  position: absolute; bottom: 120%; left: 50%;
  transform-origin: top;
  transform: translate(-50%, 0);
  transition: opacity 0.2s linear;
  white-space: nowrap;
}
footer li a:hover::after {
  opacity: 1;
}

.license {
  color: #939393;
  font-size: 0.9em;
  font-style: normal;
  line-height: 1em;
  margin: auto;
  text-align: center;
}
.license span.break {
  display: block;
}

@media screen and (min-width: 460px) {
  footer { hyphens: initial; }
}

@media screen and (min-width: 768px) {
  footer .footer-main {
    width: calc(100% - 6em);
  }
  footer .footer-head {
    justify-content: space-between;
  }

  footer .footer-head .netlify-icon a {
    padding-top: 0.2em;
  }
  footer .footer-head .netlify-icon img {
    margin: 0;
    height: 1em;
    max-width: 100% !important;
  }
  
  footer img {
    max-width: 25%;
  }
  .license span.break {
    display: inline;
  }
  footer .footer-contributors, footer .contributors-heading {
    display: flex;
  }
  .fading-line-full {
    display: block;
  }
}


/* 
File system specification page
*/

.table-scrollable { overflow-x: scroll; }
table {
  border: 1px solid #555;
  border-spacing: 0;
  line-height: 1.1em;
  width: 100%;
}
thead {
  background: #555;
  border-bottom: 3px solid #ccc;
  border: 1px solid #555;
  color: #fff;
}
td, th { padding: 0.5em 1em; }
th + th { border-left: 1px solid #e0e0e0; }
tr {
  border-width: 1px 0;
  padding: 0.5em;
}
tr:nth-of-type(even) { background: #f4f4f4; }
tr td { border-left: 1px solid #e0e0e0; }
table ul { margin: 0; }
@media screen and (min-width: 768px) {
  table { line-height: inherit; }
}

tt {
  border: 1px solid #ddd;
  color: #e74c3c;
  padding: 0.1em 0.3em;
}

img.no-overflow {
  max-width: 100%;
}


/* 404 Game */
#score {
  text-align: center;
  position: relative;
  right: -35%; top: -105%
}
#message {
  text-align: center;
  position: relative;
  right: 0%; top: -450px;
}
#instructions {
  text-align: center;
  position: relative;
  right: 0%; top: -5px;
  color: #939393;
}
#startstop2 {
  width: 30px;
  height: 30px;
  text-align: center;
  position: relative;
  right: -93%; top: -122%;
  background-image: url(../../img/404_yes.svg);
  background-size: 100% 100%;
  border: 2px solid rgb(201, 200, 200);
  border-radius: 5px;
}

#game {
  width: 600px;
  height: 400px;
  border: 1px solid black;
  margin: auto;
  margin-top: 1em;
  padding: 0;
}
#game_bg {
  position: relative;
  width: 600px;
  height: 400px;
  /* top: 0;
  right: 0; */
  background-image: url(../../img/404_bg.svg);
  background-size: 100% 100%;
}

#minion {
  height: 60px;
  width: 60px;
  top: -238px;
  position: relative;
  background-image: url(../../img/404_character.svg);
  background-size: 100% 100%;
}

#commit {
  width: 50px;
  height: 50px;
  position: relative;
  top: -274px;
  left: 550px;
  background-image: url(../../img/404_commit.svg);
  background-size: 100% 100%;
}
.commit-animation {
  animation: commit 1.5s infinite linear;
}
@keyframes commit {
  0%{left: 550px;}
  100%{left: -10px;}
}

/* #coffee {
  width: 50px;
  height: 50px;
  position: relative;
  top: -336px;
  left: 550px;
  background-image: url(../../img/404_coffee.svg);
  background-size: 100% 100%;
}

.coffee-animation {
  animation: commit 3s infinite linear;
}

@keyframes coffee {
  0%{left: 550px;}
  100%{left: -10px;}
} */

.jump-animation {
  animation: jump 0.4s;
}

@keyframes jump {
  0%{top: -238px;}
  50%{top: -340px;}
  75%{top: -340px;}
  100%{top: -238px;}
}

.banner-404 {
  background-color: var(--datalad-grey);
  display: flex;
  flex-direction: column;
  color: white;
  height: 10vh;
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: center;
  justify-content: center;
}

.show-use input[type=radio] {
  display: none
}
.show-use input[type=radio] + label {
  border: 1px solid var(--datalad-grey);
  background-color: white;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: static;
  display: inline-block;
}
.show-use input[type=radio]:hover + label {
  background-color: #f6f6f6;
}
.show-use input[type=radio]:checked + label {
  background-color: var(--datalad-yellow);
}

.show-use input[type=radio]:checked + label {
  background-color: var(--datalad-yellow);
}

