:root {
    --main-bg-color: #141414;
}

body {
    background-color: var(--main-bg-color);
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

a {
    color: #F9F9FA;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

p,
ul,
ol {
    line-height: .7cm;
    color: #A0A0A0;
}

.wrapper {
    height: calc(100vh - 125px); /*100vh - Regular navbar height*/
    overflow: auto;
}

.banner-container {
    display: flex;
    flex-direction: column;
}

.banner {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}


/* Styling für den ersten Banner */
.banner-content {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
}


.banner-text {
    flex: 1; /* Nimmt den verfügbaren Platz ein */
    padding-right: 20px; /* Einen Abstand zwischen Text und Bild hinzufügen */
}

.banner-image {
    display: flex; /* Zentriert das Bild im Container */
    justify-content: center;
    align-items: center;
}

/* Styling für den zweiten Banner mit mehreren Elementen */
.banner-content .banner-element {
    flex: 0 0 25%;
    padding: 10px 30px;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-element .button {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.banner-element .button i {
    width: 24px; /* Passe die Breite an, falls erforderlich */
}

.banner-element .banner-icon {
    margin-bottom: 10px; /* Abstand zwischen Icon und Überschrift hinzufügen */
}

.banner-icon > i {
    font-size: 4em;
}

.banner-description {
    margin-top: -30px;
}

.dots {
    text-align: center;
    flex: 0 0 100%;
}

.link-button {
    margin-bottom: 15px;
    display: inline-block;
}

a.button {
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 15pt;
    background: none;
    padding: 5px;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
}

.banner-element > a.button {
    width: 100%;
    margin: 5px 10px;
}

@media (min-width: 1350px) {
    .banner-content .banner-element {
        flex: 0 0 25%;
        padding: 10px 20px;
    }

    .dots {
        margin-top: calc(8vh);
    }
}

@media (min-width: 1024px) and (max-width: 1349px) {
    .banner-content .banner-element {
        flex: 0 0 50%;
        padding: 10px 10px;
    }

    .banner-text {
        width: 100%;
    }

    .dots {
        margin-top: calc(12vh);
    }
}

@media (min-width: 801px) and (max-width: 1023px) {

    .banner-content .banner-element {
        flex: 0 0 50%;
        padding: 10px 5px;
    }

    .banner-content {
        width: 80%;
    }

    .banner-text {
        width: 100%;
    }

    .dots {
        margin-top: calc(14vh);
    }
}

@media (max-width: 800px) {

    .banner {
        padding: 0;
    }

    .banner-content .banner-element {
        flex: 0 0 100%;
        padding: 10px 5px;
    }

    .banner-content {
        width: 90%;
    }

    .banner-content .banner-text {
        flex: 0 0 100%;
    }

    .banner-content .banner-image {
        flex: 0 0 100%;
    }

    .dots {
        margin-top: calc(20vh);
    }
}

@media (max-width: 600px) {
    .banner-content {
        width: 95%;
    }
}

.banner-content .fullwidth {
    flex: 0 0 100%;
    width: 100%;
}

@media screen and (max-width: 798px) {

    .wrapper {
        height: calc(100vh - 65px); /*100vh - Dropdown navbar height*/
        overflow: auto;
    }

}


/* SLIDESHOW CSS */


* {
    box-sizing: border-box
}

body {
    font-family: Verdana, sans-serif;
    margin: 0
}

.mySlides {
    display: none;
    text-align: center;
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 80%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev, .next, .text {
    font-size: 14pt
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #ffffff;
    padding: 8px 12px;
    position: absolute;
    width: 100%;
    text-align: center;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #505050;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #FFFFFF;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text {
        font-size: 11px
    }
}

.collapsible {
    color: white;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15pt;
    padding: 20px;
    border-radius: 10px;
    background: #020202;
    margin: 5px;
}

.active, .collapsible:hover {
    background-color: #040404;
}

.content {
    padding: 0 2px;
    display: none;
    overflow: hidden;
}

pre {
    padding: 20px;
    border-radius: 10px;
    background: #020202;
    font-size: 1.5em;
    overflow-x: scroll;
}

code {
    color: #ffffff;
    background-color: #020202;
    border-radius: 3px;
    font-family: monospace;
    font-size: 1.2em;
    padding: 3px;
}

/* ccards from here */
:root {
    --bg-color: rgb(20, 20, 20);
    --ccard-color: rgb(23, 23, 23);
}

#ccards-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0px;
    padding: 0px;
    align-items: center;
}

#ccards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 916px;
    width: calc(100% - 20px);
}

#ccards:hover > .ccard-link::after {
    opacity: 1;
}

#ccards > .ccard-link {
    padding: 0;
}

#ccards > .ccard-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    height: 260px;
    flex-direction: column;
    position: relative;
    width: 300px;
}

.ccard-link > .ccard {
    border-radius: inherit;
    width: 100%;
    height: 100%;
}

.ccard-link:hover::before {
    opacity: 1;
}

.ccard-link::before,
.ccard-link::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;
}

.ccard-link::before {
    background: radial-gradient(
            800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.06),
            transparent 40%
    );
    z-index: 3;
}

.ccard-link::after {
    background: radial-gradient(
            600px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.4),
            transparent 40%
    );
    z-index: 1;
}


.ccard > .ccard-content {
    background-color: var(--ccard-color);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 10px;
    position: absolute;
    z-index: 2;
}

/* -- ? ? ? extra ccard content styles ? ? ? -- */

.ccard-image {
    align-items: center;
    display: flex;
    height: 140px;
    justify-content: center;
    overflow: hidden;
}

.ccard-image > img {
    height: 120px;
}

.ccard-image > i {
    font-size: 6em;
    opacity: 0.25;
}

.ccard-info-wrapper {
    align-items: center;
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    padding: 0px 20px;
}

.ccard-info {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.ccard-info > i {
    font-size: 1em;
    height: 20px;
    line-height: 20px;
}

.ccard-info-title > h3 {
    font-size: 1.1em;
    line-height: 20px;
}

.ccard-info-title > h4 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    margin-top: 8px;
}

@media (max-width: 1000px) {
    body {
        align-items: flex-start;
        overflow: auto;
    }

    #ccards {
        max-width: 1000px;
        padding: 10px 0px;
    }

    #ccards > .ccard-link {
        flex-shrink: 1;
        width: calc(50% - 4px);
    }
}

@media (max-width: 500px) {
    #ccards > .ccard-link {
        height: 180px;
    }

    .ccard-image {
        height: 80px;
    }

    .ccard-image > i {
        font-size: 3em;
    }

    .ccard-info-wrapper {
        padding: 0px 10px;
    }

    .ccard-info > i {
        font-size: 0.8em;
    }

    .ccard-info-title > h3 {
        font-size: 0.9em;
    }

    .ccard-info-title > h4 {
        font-size: 0.8em;
        margin-top: 4px;
    }
}

@media (max-width: 320px) {
    #ccards > .ccard-link {
        width: 100%;
    }
}