[data-bs-theme=dark] {
    --bs-body-bg: #0b0e16;
    --bs-body-bg-rgb: 11, 14, 22;
    --bs-tertiary-bg: #0c0f18;
    --bs-tertiary-bg-rgb: 12, 15, 24;
}

html,
body {
    height: 100%;
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
}

body {
    display: flex;
    flex-direction: column;
    background: #141928;
}

#app {
    flex-shrink: 0;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;                 /* top/right/bottom/left:0 */
    z-index: 1;               /* sous ton contenu (qui a .z-2), au-dessus du fond */
    pointer-events: none;  
    background: radial-gradient(ellipse at center, #0a0a1a 0%, #000 100%);
    mix-blend-mode: screen;
}

#site-logo:hover{
    scale: 1.1;
}

a {
    text-decoration: none;
}

h1 {
    text-align: center;
}

.content {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.navbar .nav-item {
    margin-left: 0.7rem;
    margin-right: 0.7rem;
}

.navbar .navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    transition: opacity 150ms ease-out;
}
.navbar .navbar-nav:hover .nav-link {
    opacity: 0.5;
}
.navbar .navbar-nav .nav-link:hover {
    opacity: 1;
}
.navbar .navbar-nav .nav-link.show {
    opacity: 1;
}
.dropdown-menu {
    background-color: transparent !important;
    backdrop-filter: blur(10px);
    overflow: hidden;
    padding: 0;
}
.dropdown-menu .dropdown-item:first-child {
    padding-top: 0.3rem;
}
.dropdown-menu .dropdown-item:last-child {
    padding-bottom: 0.3rem;
}
.dropdown-item {
    cursor: pointer;
    transition: background-color 150ms ease-out;
}
.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.home-background {
    position: relative;
    min-height: 100vh;
    --bg-fade-ms: 1600ms;
}

.home-background .bg-fader {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity var(--bg-fade-ms) ease;
  pointer-events: none;
  z-index: 0; /* sous le contenu, au-dessus du vrai background */
}

/* Assure que le contenu passe au-dessus du fader */
.home-background > *:not(.bg-fader) {
  position: relative;
  z-index: 1;
}

.home-background::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0, var(--bs-body-bg), rgba(0, 0, 0, 0.15) 80%);
}

.home-background .container {
    min-height: calc(100vh - 100px);
}

.home-links .home-link {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--bs-border-radius);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: .3s;
    padding: .5rem;
    gap: .5rem;
}
.home-links .home-link i{
    font-size: 1rem !important;
}
.home-links .home-link p {
    margin-bottom: 0;
}

.home-links .home-link:hover {
    transform: scale(1.15);
    border: 1px solid rgba(255, 255, 255, .8);
}

.home-section-information .element {
    height: 100%;
    padding: 3rem;
    text-align: center;
    background: rgba(0, 0, 0, .2);
    border-radius: 25px 0 25px 0;
}

.home-section-information .element i {
    font-size: 3rem;
}

.home-section-information .element h3 {
    font-size: 2rem;
    margin-top: .8rem;
    font-weight: 400;
}

.home-section-information .element p {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 200;
    color: #9fa1a5;
}

.color-inherit {
    color: inherit !important;
}

.dropdown-list .dropdown-item.text-success {
    color: rgb(71 255 137) !important;
}

.dropdown-header{
    color: var(--bs-dropdown-link-color);
}
