:root {
    --lxio-primary-color: #795cbd;
    --lxio-primary-hover-color: #5a3e9e;
    --lxio-primary-text-color: #a28ed1;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://static.lythox.me/fonts/OpenDyslexic-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://static.lythox.me/fonts/OpenDyslexic-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

body {
    min-height: 100vh;
    flex-direction: column;
    max-width: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

body.dyslexic {
    font-family: 'OpenDyslexic', sans-serif !important;
}

.modal-content {
    background-color: #2c3033;
}

a {
    cursor: pointer;
}


.nav-link {
    position: relative;
    color: azure !important;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-weight: 900;
}

.dropdown-item {
    z-index: 2;
}

.activeCustom {
    border-bottom: 1px solid currentColor !important;
    border-radius: 0 !important;
}

.logoCustom {
    /* width: 200px; */
    height: 60%;
}


/* FOOTER */
#footer {
    margin-top: auto;
    color: azure;
}

.footerItemsCustom {
    color: azure;
    font-weight: bold;
    font-weight: 900;
    text-decoration: none;
}

a,
a:hover {
    color: azure;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

#hint {
    color: #eb2020 !important;
}

.domain.no-underline {
    color: rgb(204, 204, 59) !important;
}

a:not(.dropdown-toggle, .socialLink, .navbar-brand, .dropdown-content a, .btn, .no-underline, .activeCustom, .copyright a, .social-card):after {
    content: "";
    position: absolute;
    background-color: currentColor;
    height: 1px;
    width: 100%;
    left: 0%;
    bottom: -1px;
    transform: scale(0, 1);
    transition: 0.3s ease;
}

a:not(.dropdown-toggle, .socialLink, .forum-link):hover:after {
    transform: scale(1, 1);
    text-decoration: none;
}

#socialLink {
    height: auto;
    width: 30px;
    min-height: 20px;
    will-change: transform;
    transition: transform 0.2s ease;
}

#socialLink:hover {
    text-decoration: none;
    transform: scale(1.3);
    border-bottom: none;
}

.copyright, .copyright a {
    transition: color 0.2s ease !important;
}

.copyright:hover, .copyright a:hover {
    color: azure !important;
}

/* DROPDOWN */
.dropdown-menu, .search-form {
    background-color: #2c3033 !important;
}

.dropdown-item:hover {
    background-color: #2c3033 !important;
}

.dropdown-item,
.dropdown-item:hover {
    color: azure;
}

.search-control {
    background-color: #2c3033;
    color: azure;
    border: none;
    border-bottom: 1px solid azure;
    border-radius: 0%;
}

.search-control:focus {
    background-color: #3e4245;
    color: azure;
    outline: none !important;
    box-shadow: none !important;
}

.inline-link,
p.explanation a {
    color: var(--lxio-primary-color);
}

.inline-link:hover {
    color: var(--lxio-primary-color);
}

@media (min-width: 768px) {
    .nav-link:not(footer .nav-link) {
        left: -35px;
    }
}

@media (min-width: 1025px) {
    .nav-link:not(footer .nav-link) {
        left: -100px;
    }
}

.offcanvas {
    background-color: #2a2a2b;
}

.card {
    background-color: #383839;
}


.btn-close {
    background-color: azure !important;
}

.card {
    margin: 0 auto 1rem auto;
    overflow: hidden;
    /* display: inline-block; */
    border: none;
    will-change: transform;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.05);
}

img.page-body {
    cursor: pointer;
}

/* Target the specific container where you want the scrollbar to be visible */
::-webkit-scrollbar {
    display: block; /* This attempts to make the scrollbar visible */
    width: 12px; /* Example width */
}

::-webkit-scrollbar-thumb {
    background-color: darkgrey; /* Example thumb color */
    border-radius: 10px; /* Example thumb border radius */
}

::-webkit-scrollbar-thumb:hover {
    background-color: grey; /* Example thumb color on hover */
}

::-webkit-scrollbar-track {
    background: #2c3033; /* Example track color */
    border-radius: 10px;
}

.no-overflow {
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .cover-container {
        position: relative;
        will-change: transform;
        transition: transform 1s ease-in-out;
    }

    .cover-container.slide-up {
        width: 100%;
        transform: translateX(-250%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cover-container {
        position: relative;
        transition: opacity 1s ease-in-out;
    }

    .cover-container.slide-up {
        width: 100%;
        opacity: 0;
    }
}

.hidden-content {
    position: absolute;
    visibility: hidden;
    display: none;
    opacity: 0;
    height: 0;
    width: 0;
    transition: opacity 0.5s ease-in-out;
}

.hidden-content.show {
    display: block;
    position: relative;
    visibility: visible;
    opacity: 1;
    height: auto;
    width: auto;
}

.cover-container.hidden-content {
    position:absolute;
}

.card-icon {
    will-change: transform;
    transition: transform 0.2s ease;
}

.card-icon:hover {
    transform: scale(1.2) rotate(360deg);
}

.btn {
    color: azure;
    text-shadow: none;
    border: 0;
    border-radius: 0;
}

.btn:hover {
    border: 0;
}

.btn-secondary {
    background-color: white;
    border-radius: 0;
    color: #333;
    box-shadow: 0 0 0 0 gray;
    will-change: transform;
    transition: box-shadow 300ms ease-in-out, transform 150ms ease-in-out;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
    box-shadow: 5px 5px gray;
    transform: translateX(-5px);
}

.btn-primary {
    background-color: var(--lxio-primary-color);
    color: white;
    border-radius: 0;
    box-shadow: 0 0 0 0 var(--lxio-primary-color);
    will-change: transform;
    transition: box-shadow 300ms ease-in-out, transform 150ms ease-in-out;
}

.btn-primary:hover {
    background: var(--lxio-primary-color);
    color: white;
    box-shadow: 5px 5px var(--lxio-primary-hover-color);
    transform: translateX(-5px);
}

.btn:focus {
    box-shadow: 0 0 0 0 currentColor;
    outline: 0;
}

.btn-primary:focus, .btn-primary:active, .btn-primary:active:focus {
    background-color: var(--lxio-primary-color);
    box-shadow: 0 0 0 .25rem var(--lxio-primary-hover-color);
    border-color: var(--lxio-primary-color);
    outline: 0;
}

.dropdown-menu {
    max-height: 50vh;
    overflow-y: scroll;
}

.accordion-body {
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.accordion-item {
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
    padding-bottom: 15px;
}

.accordion-button {
    background-color: #636370 !important;
    color: azure !important;
}

.accordion-button:focus {
    background-color: #383839;
    color: azure;
    box-shadow: none;
}

/* If the arrow is an SVG, target the fill property */
.accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}
/* Change the size of the arrow */
.accordion-button::after {
    font-size: 1.5rem; /* Change this to your desired size */
}

.dropdown-item {
    overflow: visible; /* or remove overflow: hidden */
    white-space: normal; /* if it's set to nowrap */
    text-overflow: unset;
}

.col-lg-6.text-start {
    min-height: 575px; /* Wert austesten, bis beide Tabs reinpassen ohne Sprung */
}

.active {
    color: var(--lxio-primary-color) !important;
}