html {
    scroll-behavior: smooth;
}

body {
    background-color: #181822; /* Slightly Lighter Grey */
    background-size: 400% 400%;
    color: #E0E0E0; /* Light Grey */
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1320px; /* Bootstrap 5's container width */
}

header.jumbotron {
    background: linear-gradient(rgba(10, 14, 23, 0.8), rgba(34, 40, 49, 0.5)), url("../images/logo.webp") no-repeat center center;
    border-right: 1px solid #5B6A79; /* Faint Dark Blue */
    border-left: 1px solid #5B6A79; /* Faint Dark Blue */
    background-size: cover;
    height: 300px;
}

footer.footer {
    padding: 10px 0;
    border: 1px solid #5B6A79; /* Faint Dark Blue */
    border-bottom: none;
    background-color: #222831; /* Dark Grey */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px 10px 0 0;
    bottom: 0;
    margin-top: 20px; /* Push footer to the bottom */
}

.navbar {
    background-color: #222831; /* Dark Grey */
    border: 1px solid #5B6A79; /* Faint Dark Blue */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1030;
    justify-content: center;
    border-radius: 0 0 10px 10px;
    border-top: none;
}

.navbar .navbar-toggler-icon {
    color: #E0E0E0; /* Light Grey */
}

.navbar .nav-item {
    margin: 3px 5px;
    font-weight: bold;
    transition: 0.3s ease; /* Smooth scaling and background transition */
}

.navbar .nav-link {
    color: #D0D0D0 !important; /* Light Grey */
    border-radius: 5px;
    padding: 10px 25px;
    transition: 0.3s ease; /* Smooth color transition */
}

.navbar .nav-link:hover, .nav-item.active-nav .nav-link {
    color: fff;
    background-color: #5B6A79; /* Faint Dark Blue on hover */
    transform: scale(1.05);
}


.jumbotron {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh; /* Full viewport height */
    padding-top: 65px;
    padding-bottom: 20px;
    margin-bottom: 0;
}

.jumbotron h1 {
    font-weight: 200;
    font-size: 3.5rem;
    margin: 0;
    color: #E0E0E0; /* Light Grey */
}

.container {
    transition: all 0.3s;
    margin-bottom: auto;
}

.intro-text {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.75rem;
    font-weight: bold;
    margin: 10px 20px 30px 20px;
    color: #DFDFFF; /* Light Grey */
}

.card {
    background-color: #222831; /* Dark Grey */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    width: 100%;
    height: 92%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Ensure spacing between elements */
    align-items: center;
    text-align: center;
    padding: 20px; /* Add some padding */
}


.card-body {
    min-height: 100%;
    min-width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    background-color: #1d242c; /* Dark Grey */
    transform: scale(1.01);
}

.card-title {
    color: #DFDFFF; /* Light Grey */
    text-align: center; /* Center the title */
}

.card-text {
    color: #B0B0B0; /* Medium Grey */
    font-size: 1.15rem;
    text-align: center; /* Center the text */
}

.card img {
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    border-radius: 10px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.btn-primary {
    background-color: #5B6A79; /* Faint Dark Blue */
    border: none;
    transition: 0.3s;
    align-self: center; /* Center the button */
    margin-top: auto; /* Push the button to the bottom */
}

.btn-primary:hover {
    background-color: #3D4E56; /* Darker Grey */
}

.main-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 0.5px solid #5B6A79; /* Faint Dark Blue */
    background-color: #1C1F26; /* Slightly Lighter Grey */
    border-radius: 10px;
    padding: 20px;
    flex: 1;
}

section {
    margin-bottom: 40px;
    padding: 25px;
    border-radius: 10px;
    background-color: #222831; /* Dark Grey */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #DFDFFF; /* Light Grey */
}

h2, h3, h4 {
    color: #DFDFFF; /* Light Grey */
    margin-bottom: 20px;
    text-align: center;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.std-image {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    max-height: 80vh;
    overflow: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto; /* Center the first image */
    transition: 0.2s ease;
}

.contained-image {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    border-radius: 10px;
    display: block;
    max-width: 40%;
    min-width: 30%;
    object-fit: contain;
    transition: 0.2s ease;
}

.float-left {
    margin: 0 20px 0px 0;
}

.float-right {
    margin: 0 0 0px 20px;
}

/* Spotify player styles */
.spotify-player {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
    transition: 0.3s ease;
    display: flex;
}

.video-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
    transition: 0.3s ease;
    position: relative;
    align-items: center;
    margin-top: 20px;
    padding-bottom: calc(56.25% * 1); /* 16:9 */
    max-width: 100%;
    height: auto;
}

.video-container iframe {
    border-radius: 10px; /* Rounded corners */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.impressum {
    color: #888; 
    text-decoration: none;
}

.impressum:hover {
    color: #999; 
}

/* Social media links styles */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px;
    font-size: 24px;    
}

.social-links a svg {    
    transition: 0.3s ease;
}

.social-links a svg:hover {
    transform: scale(1.2);
}

.loader {
    position: fixed; /* Ensure it's fixed to the viewport */
    top: 20px; /* Position it 20px from the top */
    left: 47%; /* Position center */
    width: 60px;
    height: 60px;
    border: 10px solid #121821;
    border-radius: 50%;
    border-top: 10px solid #5B6A99;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles for the main scrollbar of the site */
*::-webkit-scrollbar {
    width: 16px; /* Width of the scrollbar */
    height: 16px; /* Height of the scrollbar (for horizontal scrollbars) */
}

*::-webkit-scrollbar-track {
    background: #444; /* Dark background color */
}

*::-webkit-scrollbar-thumb {
    background-color: #333; /* Gray color */
    border-radius: 2px; /* Rounded corners */
    border: 10px solid #1e1e1e; /* Dark border color */
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #222; /* Light gray color on hover */
}

/* Style the scrollbar corner */
*::-webkit-scrollbar-corner {
    background: #1e1e1e; /* Match the track background color */
}
