html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    color: black;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    /*background: #eaeaea;*/
}

a {
    color: black;
    text-decoration: underline;
}

a:hover {
    color: black;
    text-decoration: underline;
}

hr {
    border-top: 1px solid;
}

.cardBox a:hover, .cardBox a:visited, .cardBox a:link, .cardBox a:active {
    text-decoration: None;
}

.navbar a:hover, .navbar a:visited, .navbar a:link, .navbar a:active {
    text-decoration: None;
}

.complement-box, .complement-box:hover {
    text-decoration: None;
    color: black;
}

.complement-box:hover {
    box-shadow: 0 0 5px black;
    transition-duration: 100ms;
}

.btn {
    text-decoration: None;
}

.card-text {
    color: black;
    text-decoration: None;
}

.item-page-header {
    position: relative;
    margin-bottom: 20px
}

.item-page-header .avatar-wrapper {
    width: 58px;
    height: 58px
}

.item-page-info {
    display: inline-block;
    color: #666;
    width: calc(100% - 70px)
}

.color-cube {
    float: left;
    width: 20px;
    height: 20px;
    margin: 5px;
    border: 1px solid rgba(0, 0, 0, .2);
    position: relative;
    top: -3px;
    right: 5px;
    z-index: 0;
}

.color-cube-center {
    float: None;
}

.shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.big-color-cube {
    width: 5em;
    height: 2em;
    margin: 5px;
    border: 1px solid rgba(0, 0, 0, .2);
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

/*Gallery for swatch detail page*/

.gallery-block.grid-gallery {
    padding-bottom: 60px;
    padding-top: 60px;
}

.gallery-block.grid-gallery .heading {
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block.grid-gallery .heading > h2 {
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.grid-gallery > a:hover {
    opacity: 0.8;
}

.gallery-block.grid-gallery .item > img {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.gallery-block.grid-gallery .item {
    margin-bottom: 20px;
}

@media (min-width: 576px) {

    .gallery-block.grid-gallery .scale-on-hover:hover {
        transform: scale(1.05);
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
    }
}

@media (max-width: 991.98px) {
    /* For the About section of the navbar on mobile, don't default to 250px */
    .dropdown-100.show {
        height: 100% !important
    }
}


.kofi-button {
    margin-top: -3px;
}

.btn-info {
    color: #fff !important;
}

.btn-primary {
    color: #fff !important;
}

.btn-success {
    color: #fff !important;
}

.complement-box {
    padding: 8px;
    border-width: 2px;
    border-style: solid;
    border-color: grey;
    border-radius: 5px;
}

.invisibox {
    border-color: white;
}

.nav-item {
    padding-left: 25px;
}

.gray-background {
    background: #efefef;
    background-size: 1.4em;
    border-radius: 10px;
}

.bump-down {
    margin-top: 7px;
}

.table > td {
    text-align: center;
}

.table > th {
    border-top: None;
}

.card {
    position: relative
}

.multiselector {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    z-index: 10;
    opacity: 0;
    transition: visibility 0s 0.1s, opacity 0.1s linear;
}

.card-img-container {
    z-index: 0;
}


.layer {
    /*position: absolute;*/
    /*top: 0px;*/
    /*left: 0px;*/
    /*height: 400px;*/
    /*width: 400px;*/
}

.card-img-top {
    z-index: 0
}

.card-img-overlay {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    display: none;
    border-radius: .75em;
}

/* ----------------------------------------------
 * Generated by Animista on 2019-3-27 20:28:18
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-left & slide-out-left
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes slide-out-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }
}

@keyframes slide-out-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }
}


.slide-in-left {
    -webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.slide-out-left {
    -webkit-animation: slide-out-left 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation: slide-out-left 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

.collection-buttons {
    position: fixed;
    bottom: 60%;
    left: 40px;
    width: 160px;
    z-index: 100;
}

#go-button {
    width: 100%;
}

#multiselect-badge {
    width: 100%;
}

#clear-button {
    width: 100%;
    background-color: white;
}

#clear-button:hover {
    background-color: #007bff;
}

.way-off-screen {
    bottom: -50%;
}

.big-shadow {
    -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 1);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 1);
}

.anim {
    -webkit-transition: 75ms ease-in-out;
    -moz-transition: 75ms ease-in-out;
    -o-transition: 75ms ease-in-out;
}

/*For the navbar*/

.dropdown-toggle.active-dropdown::after {
    transform: rotate(-90deg);
}

#color-scheme-modal {
    padding: 2rem;
}

.welcome-experience-photo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.clickable {
    cursor: pointer;
}

.btn-settings:not(.active):hover:active {
    background-color: white !important;
    color: #6c757d;
!important;
}

.btn-settings:not(.active):hover {
    background-color: white !important;
    color: #6c757d;
}

.fix-margin {
    margin-left: 0;
    margin-right: 0;
}

.postImg {
    object-fit: cover;
    object-position: 100% 0;
    width: 400px;
}

.btn-invisible {
    background: transparent;
    border: none !important;
    font-size: 0;
}

/* https://www.w3schools.com/howto/howto_js_fullscreen_overlay.asp */

/* The Overlay (background) */
.overlay {
    height: 100%;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(255, 255, 255); /* Black fallback color */
    background-color: rgba(255, 255, 255, 255); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.htmx-indicator {
    display: none;
}

.loaded-content.htmx-request {
    display: none;
}

.htmx-indicator.htmx-request {
    display: block;
}

.htmx-request .overlay {
    display: block;
}

.htmx-request.overlay {
    display: block;
}

.inventory-row:hover {
    background-color: rgba(0, 0, 0, 0.1)
}

/* Infinite Scroll Spinner */

.infinity-loader-wheel {
  font-size: 64px; /* change size here */
  position: relative;
  height: 1em;
  width: 1em;
  padding-left: 0.45em;
  overflow: hidden;
  margin: 0 auto;
  animation: loader-wheel-rotate 0.5s steps(12) infinite;
}

.infinity-loader-wheel i {
  display: block;
  position: absolute;
  height: 0.3em;
  width: 0.1em;
  border-radius: 0.05em;
  background: #333; /* change color here */
  opacity: 0.8;
  transform: rotate(-30deg);
  transform-origin: center 0.5em;
}

@keyframes loader-wheel-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

svg {
    fill: currentColor;
}
