@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

html {
    scroll-padding-top: 100px;
}

#moves-header {
  border-bottom: solid rgba(0, 0, 0, 0.5) 1px;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

h1 .small {
  font-size: 0.3em;
}

.border-body {
    border-color: var(--bs-body-color) !important;
}

.description {
    color: var(--bs-secondary-color) !important;
}

/* Video */
#moves-header video {
    max-height: 120px;
}

video {
  vertical-align: middle;
}

/* Rollover */

.rollover {
  position: relative;
  max-width: 100%;
}

.image-rollover {
  position: absolute;
  top: 0;
  bottom: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity .5s;
  z-index: 300;
}

.image-rollover:hover {
  opacity: 1;
}

/* Rotations */

.rotate-6H {
    transform: rotate(90deg);
}
.rotate-9H {
    transform: rotate(180deg);
}
.rotate-12H {
    transform: rotate(270deg);
}

/* Links */
figcaption a {
    text-decoration: none;
}

a.badge {
    text-decoration: none;
}

.nav-item {
    min-width: 2.5em;
}

/* Buttons */
.btn-fluid {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}
@media (min-width: 992px) {
  .btn-fluid {
      --bs-btn-padding-y: 0.375rem;
      --bs-btn-padding-x: 0.75rem;
      --bs-btn-font-size: 1rem;
      --bs-btn-border-radius: var(--bs-border-radius);
  }
}
@media (min-width: 1400px) {
  .btn-fluid {
      --bs-btn-padding-y: 0.5rem;
      --bs-btn-padding-x: 1rem;
      --bs-btn-font-size: 1.25rem;
      --bs-btn-border-radius: var(--bs-border-radius-lg);
  }
}

/* Effects */
#variation-execution-optimisee {
    background-color: #f3ec78;
    background-image: linear-gradient(45deg, #f3ec78, #d00606);
    background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

#variation-memorisation-optimisee {
    background-color: #7CFC00;
    background-image: linear-gradient(45deg, #7CFC00, #007CFC);
    background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

#variation-degrippee {
    background-color: #f300ff;
    background-image: linear-gradient(45deg, #f300ff, #11cbea);
    background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

/* Custom bootstrap */
.mt-n1 {
    margin-top: -3px;
}

/* Trainer */
figure.case {
    cursor: pointer;
}
.case.selected img {
    background-color: yellow;
}
.case.wip.selected img {
    background-color: orange;
}
.case.todo.selected img {
    background-color: red;
}

/* Print */

@media print {
  .b-divider {
    display: none;
  }
  #moves-header {
    box-shadow: unset;
    border: none;
  }
  .img-thumbnail {
    width: 100px;
  }
  .card-body {
    padding: 0;
  }
  .card {
    padding: 0;
    margin: 0 !important;
  }
  .container {
    max-width: 100%;
  }
  .moves {
    padding: 0;
  }
}
