* {
    font-family: "JetBrains Mono Medium", system-ui;
    list-style: square;
    box-sizing: border-box;
    margin: 0;
}


header {
    background-color: #ffffff;
    text-align: center;
    position: fixed;
    z-index: 1;
    width: 100%;
    top: 0;
    left: 0;
    height: 120px; /* Your header height */
}

header img {
    text-align: left;
}

.logo {
    width: 100px;
    height: 100px;
    margin: 0 30px;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%; /* Take full height of header */
    background-color: #ffffff;
    z-index: 100;
}

nav a {
    color: #000000;
    text-decoration: none;
    letter-spacing: 0.3rem;
    font-size: 1.2rem;
    z-index: 100;
    padding: 0 2%;
    width: 20%;
    height: 100%; /* Take full height of nav */
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}

nav a:hover {
    background-color: #eaeaea;
    /*border-radius: 4px;*/
    transition: all 0.5s ease-out;
}

header nav a.current {
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.5);
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-underline-offset: 4px;
}

.banner {
    height: 90vh;
    width: 100%;
    background-image: url('../img/HomeBanner.webp');
    background-size: cover;
    background-position: top center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 100px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner h1,
.banner h3 {
    color: white;
    position: relative;
    text-align: center;
}

.banner h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.banner h3 {
    font-size: 2rem;
}

/* article styling */
section,
article {
    text-align: left;
    max-width: 50vw;
    margin-left: auto;
    margin-right: auto;
}

article:nth-of-type(even) {
    text-align: right;
}

article h2 {
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: #333;
}

article h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #444;
}

article p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* Section Margin */
article:not(:last-child) {
    margin-top: 100px;
    margin-bottom: 100px;
}

/* link styles */
article a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

article a:hover {
    text-decoration: underline;
}

/* divider */
article::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 150px auto 0;
}

article.left,
section.left {
    text-align: left;
}

article.right,
section.right {
    text-align: right;
}

/* Remove divider from last article & After roadmap */
#roadmap::after {
    display: none;
}
article:last-of-type::after,
#tools-i-use::after {
    display: none;
}
/* full width & color exception for tools i use */

#tools-i-use {
    max-width: none;
    background-color: #efefef;
    margin-left: -100px;
    margin-right: -100px;
    margin-top: 150px;
    padding: 50px 0;
}

#tools-i-use > * {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#tools-i-use > p {
    margin-bottom: 50px;
}

.button-active {

}

.button-passive {

}

.warning-green,
.warning-orange,
.warning-red {
    font-size: 0.8rem;
    line-height: 0.5;
    background-color: #f8f8f8;
    display: inline-block;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-green p,
.warning-orange p,
.warning-red p {
    line-height: 1.5;
    padding: 1vh;
    margin: 0 auto;
}


.warning-green {
    border-left: 4px solid green;
}

.warning-orange {
    border-left: 4px solid #ffc107;
}

.warning-red {
    border-left: 4px solid #ff0000;
}

.small-info {
    font-size: 0.8rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    margin: 10vh 5vw;
}

/* Allgemeine Karten-Styles */
.card {
    height: 25vh;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.card h2 {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
}

.card:hover {
    transform: scale(1.03);
    cursor: pointer;
}

/* Karten */
.card-home {
    background-image: url("../img/HomeBanner.webp");
}

.card-roadmap {
    background-image: url("../img/RoadmapBanner.webp");
}

.card-projects {
    background-image: url("../img/ProjectsBanner.webp");
}

.card-investments {
    background-image: url("../img/investmentsBanner.webp");
}



div.slogan-div div {
    margin-top: 100px;
    margin-bottom: 100px;
    display: inline-block;
    width: 33%;
    text-align: center;
}

footer {
    background-color: #ffffff;
    text-align: center;
    padding: 40px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 20%), url('../img/footer.webp');
    height: 500px;
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 100px;
    top: 0;
}