﻿/* styles/main.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #ffffff;
    /* Add padding to prevent content from going under fixed bars */
    padding-top: 80px;  /* Height of navbar + some space */
    padding-bottom: 80px;  /* Height of footer + some space */
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #1e3c72, #7d2a98); /* New attractive gradient */
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-decoration: none; /* Entfernt die Unterstreichung */
}


.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-radius: 8px;
}


/* Content Sections */
.section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-attachment: fixed;
}

.section-content {
    max-width: 800px;
    background-color: rgba(44, 44, 44, 0.9);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #1e3c72, #2a5298); /* Match navbar gradient */
    padding: 1.5rem;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Add a container for the main content to prevent overlap */
.main-content {
    position: relative;
    z-index: 1;
}



/* styles/main.css */
/* Update the logo-section related styles */

.logo-section {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -80px;
    overflow: hidden;  /* Ensure the blur doesn't extend outside */
}

.logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px);  /* Blur the background */
    z-index: -1;
    /* Scale the background slightly to prevent white edges from blur */
    transform: scale(1.1);
}

.logo {
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);  /* Additional blur for logo container */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    z-index: 1;  /* Ensure logo stays above the blurred background */
}

.logo img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

/* styles/main.css */
/* Add these styles */

.content-section {
    z-index: 1; /* or remove z-index entirely if not needed */
    padding-top: 120px; /* add padding if header overlaps content */
    padding: 1000px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Entfernen Sie diese Regel, da sie die Unterstreichung hinzufügt */
.nav-btn.active {
    /* border-bottom: 2px solid #fff; */ /* Diese Zeile entfernen oder auskommentieren */
    background-color: rgba(255, 255, 255, 0.2); /* Optional: Alternative Hervorhebung für aktive Buttons */
}


/* Add hover effect for navigation buttons */
.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

.main-content {
    flex: 1;
}