/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    color: #333;
    background-color: #f4f4f9;
    line-height: 1.6;
    text-align: center;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2b2e4a, #903749);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

header p {
    font-size: 1.4rem;
    margin-top: 10px;
    color: #f9f9f9;
}

.banner-subtitle {
    font-size: 1.8rem;
    color: #f1c40f;
    margin-top: 15px;
    font-weight: 700;
}

/* Banner Logo */
header .banner-logo {
    width: 60px;
    height: auto;
    margin-top: 20px;
}

/* Section Styles */
section {
    padding: 40px 0;
    text-align: center;
}

/* Textbox color background for project section */
.colored-text-box {
    background-color: rgba(43, 46, 74, 0.8);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    max-width: 1200px;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}

/* Increased gap between text and image */
.text-image-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    background: linear-gradient(135deg, rgba(43, 46, 74, 0.7), rgba(144, 55, 73, 0.7));
    margin: 10px 0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-align: justify;
}

/* Image Placeholder */
.image-placeholder {
    flex: 1;
    min-width: 40%;
    max-width: 350px;
}

#swisscity-marathon .image-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

#swisscity-marathon .image-row .image-placeholder {
    max-width: 350px;
}

.image-placeholder img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    display: block;
}

/* Align text at the top in the "Spenden Sie jetzt!" section */
.top-align-text {
    align-self: flex-start;
}

/* Subtitle Styles */
.subtitle {
    font-size: 1.8rem;
    color: #f1c40f;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.subtitle::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background-color: #d64161;
    bottom: 0;
    left: 0;
}

/* Smaller logo in project section */
.small-banner-logo {
    width: 60px;
    height: auto;
    display: block;
    margin: 20px auto 0 auto;
}

/* Blockquote Styles */
blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #f1c40f;
    margin: 20px 0;
}

/* Section Heading Styles */
h2 {
    font-size: 2.2rem;
    color: #f1c40f;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background-color: #d64161;
    bottom: 0;
    left: 0;
}

/* Footer */
footer {
    background: #2b2e4a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .container {
        width: 95%;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .text-image-block {
        flex-direction: column;
    }

    .text-image-block.reverse {
        flex-direction: column;
    }

    .text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .image-placeholder {
        max-width: 100%;
        min-width: 100%;
    }
}
