
:root {
    --bg-color: #050505;
}

body {
    background-color: var(--bg-color) !important;
}


body ::-webkit-scrollbar-track, body::-webkit-scrollbar-track {
    border: 5px solid white;
    background-color: #b2bec3;
}

body ::-webkit-scrollbar, body::-webkit-scrollbar {
    width: 8px;
    background-color: #dfe6e9;
}

body ::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
    background-color: #bac9d8;
    border-radius: 10px;
}

.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 2;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.sphere-1 {
    width: 35vw;
    height: 35vw;
    background: linear-gradient(40deg, rgba(255, 0, 128, 0.8), rgba(255, 102, 0, 0.4));
    top: 0;
    left: -5%;
    animation: float-1 15s ease-in-out infinite alternate;
}

.sphere-3 {
    width: 35vw;
    height: 35vw;
    background: linear-gradient(240deg, rgba(72, 0, 255, 0.8), rgba(0, 183, 255, 0.4));
    bottom: 10%;
    right: 10%;
    animation: float-3 15s ease-in-out infinite alternate;
}

@keyframes float-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

@keyframes float-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-10%, -5%) scale(1.15);
    }
}

.titulo_subtitulo_home {
  --border-width: 1px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Lato, sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: white;
  background-color: var(--bg-color);
  border-radius: 10px;
}

a[href="/flash_cards"] img {
    aspect-ratio: 6;
}

.titulo_subtitulo_home::after {
  position: absolute;
  content: "";
  top: calc(-1 * var(--border-width));
  left: calc(-1 * var(--border-width));
  z-index: -1;
  width: calc(100% + var(--border-width) * 2);
  height: calc(100% + var(--border-width) * 2);
  background: linear-gradient(60deg, #5f86f2, #a65ff2, #f25fd0, #f25f61, #f2cb5f, #abf25f, #5ff281, #5ff2f0);
  background-size: 300% 300%;
  background-position: 0 50%;
  border-radius: 10px;
  animation: moveGradient 4s alternate infinite;
}

.animated-text {
    color: #fff;
    font-size: 92px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Josefin Sans", sans-serif;
    background: linear-gradient(to right, #e2f1ff 10%, #d1d4d5 50%, #e2f5fd 60%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    /* text-fill-color: transparent; */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2.5s linear infinite;
    display: inline-block;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.mensagem_painel_decks_vazio {
    color: white;
    font-weight: 500;
    padding-left: 0.8em;
}

@keyframes moveGradient {
  50% {
    background-position: 100% 50%;
  }
}

html, body {
    min-height: 100%;
    height: 100%;
}

.decks_list li {
    transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -webkit-transition-duration: 0.8s;
}

.decks_list li:hover {
    transform: scale(1.05);
}

.container-decks_panel tags {
    font-size: 0.8em;
}

.container-decks_panel .tagify {
    --tag-text-color: none;
    --tag-bg: none;
}

.container-decks_panel .tagify x {
    color: #838383
}

tags {
    background-color: #f1eded;
    box-shadow: #c5c7c8 2px 1px 8px;
}

.container-decks_panel .tagify tag {
    background-image: linear-gradient(90deg, #8cccf1, #87f379);
    color: rgb(250 245 255);
}

#bandeira {
    background: #59adeb;
    /* Old browsers */
    background: -moz-linear-gradient(-45deg, #6e45e9 0%, #42c2b5 52%, #34ce93 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #6e45e9 0%, #42c2b5 52%, #34ce93 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #6e45e9 0%, #42c2b5 52%, #34ce93 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#59adeb', endColorstr='#34ce93', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    background-size: 350% 350%;
    animation: waveColors 8s ease infinite;
}

@-webkit-keyframes waveColors {
    0% {
        background-position: 0% 7%;
    }
    50% {
        background-position: 30% 15%;
    }
    100% {
        background-position: 0% 7%;
    }
}

@keyframes waveColors {
    0% {
        background-position: 0% 7%;
    }
    50% {
        background-position: 30% 15%;
    }
    100% {
        background-position: 0% 7%;
    }
}

.deck_overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.deck_viewer,
.swiper {
    height: 100%;
}

@media (max-width: 768px) {
    .titulo_subtitulo_home {
        margin-left: 0.4em;
        margin-right: 0.4em;
        padding-top: 0.3em;
    }
}

@media (min-width: 768px) {
    .deck_viewer {
        height: 80%;
        width: 90%;
    }
}

@media (min-width: 900px) {
    .titulo_subtitulo_home, .mensagem_painel_decks_vazio {
        margin-left: 4em;
        margin-right: 4em;
    }

    a[href="/flash_cards"] img {
        aspect-ratio: auto;
    }

    .container_filtros_ordenacao {
        margin-left: 4em;
    }
}
