/* Style the header */
.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100; /* Ensure the header is above other elements */
    background-color: var(--color-background); /* Replace with the color of your choice */
    border-bottom: 2px solid var(--color-secondary); /* Replace with the color of your choice */
}

/* Style the logo and title container */
.header__logo-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Style the logo */
.header__logo {
    width: 100px; /* Adjust this to your preferred width */
    text-align: center;
}

.header__logo img {
    width: 80%;
    height: auto;
    margin: auto;
}

/* Style the title */
.header__title h1,
.header__title h2 {
    margin: 0;
}

.header__title h1 {
    font-size: 2rem; /* Adjust this to your preferred font size */
}

.header__title h2 {
    font-size: 1rem; /* Adjust this to your preferred font size */
}

/* Style the navigation */

.header__nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.header__nav ul li {
    margin: 0;
}

/* Style the call to action */
.header__cta a {
    background-color: var(--color-accent);
    color: var(--color-background);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.header__cta a:hover {
    background-color: var(--color-shaded-accent);
}



/* Style the hero section */
.hero {
    background: url("../images/hero.webp") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    height: 85vh; /* This makes the hero take the full height of the viewport */
    display: flex;
    justify-content: left;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Style the hero content */
.hero__content {
    box-shadow: 0 0 5px 0;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background-color: rgba(255, 255, 255, 0.582);
    /* padding: 0.5em; */
    display: flex;
    margin-left: 5vw;
    width: 70vw;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 20px;
    border-radius: 5px;
    transform: translateY(15vh);
}

/* Style the hero title */
.hero__content h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 2.2rem; /* Adjust this to your preferred font size */
}

/* Style the hero text */
.hero__content p {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.2rem; /* Adjust this to your preferred font size */
}

/* Style the "Mehr erfahren" element */
.hero__content a {
    margin-top: 20px;
    transition: all 0.3s;
}

.hero__content a:hover {
    transform: scale(1.05);
}



/* Style the features section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin: auto;
}

/* Style the features title */
.features__title {
    width: 100%;
    text-align: center;
    color: var(--color-background);
    background-color: var(--color-accent);
    margin-bottom: -20px;
}

.features__title h2 {
    margin: 0;
    padding: 40px;
    font-size: 2.2rem; /* Adjust this to your preferred font size */
    color: var(--color-background);
    text-decoration: underline;
}

/* Style the features items */
.features__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

/* Style the features item image */
.features__item__image {
    /* width: 100vw; */
    overflow: hidden;
    position: relative;
    text-align: center;
}

.features__item__image img {
    width: 100%;
    height: auto; /* Adjust this to your preferred height */
    /* add drop shadow */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
    transition: all 0.3s;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0);
}

.features__item__image img:hover {
    /* add zoom effect */
    filter: drop-shadow(0 0 7.5px rgba(0, 0, 0, 1));
    transform: translate(-50%, -5px);
}

/* Style the features item content */
.features__item__content {
    text-align: center;
    margin: auto;
    padding: 20px;
    color: var(--color-secondary);
    background-color: var(--color-accent);
    height: calc(100% - 20px); /* Adjust this to your preferred height */
    font-size: 120%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.features__item__content > * {
    transition: all 0.3s;
}

.features__item__content:hover > * {
    transition: all 0.3s;
    transform: translateY(-5px);
}

/* Style the features item title */
.features__item__content h3 {
    font-size: 2.2rem; /* Adjust this to your preferred font size */
    margin: 0;
    color: var(--color-background);
}

.features__item__content p {
    padding: 0 40px;
}


/* Style the cta section */
.cta {
    background-color: var(--color-accent);
    color: var(--color-background);
    padding: 40px;
    text-align: center;
    font-size: 120%;
    margin-top: 20px;
    padding-bottom: 60px;
}

/* Style the cta title */
.cta h2 {
    margin: 0;
    color: var(--color-background);
    font-size: 2.2rem; /* Adjust this to your preferred font size */
    text-decoration: underline;
}

.cta p {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 20px auto;
    color: var(--color-secondary);
}

/* Style the cta button */
.cta a {
    background-color: var(--color-background);
    color: var(--color-accent);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.cta a:hover {
    background-color: var(--color-shaded-background);
    transform: scale(1.05);
}


/* Style the spacer */
.spacer {
    height: 200px;
    background: url("../images/hero.webp") no-repeat center center fixed;
    background-size: cover;
    filter: blur(4px);
}


/* Style the footer */
footer {
    background-color: var(--color-background);
    color: var(--color-secondary);
    text-align: center;
    margin-top: 20px;
}

footer p {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 20px auto;
}
