body {
    font-family: "Gill Sans", sans-serif;
    padding: 0;
    margin: 0;
    background-color: #f4f4f4;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: white;
    color: #333;
    box-shadow: 0 2px 10px #00000050;
    padding: 5px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 45px;
    height: auto;
    margin-right: 10px;
}

.site-title {
    font-size: 36px;
    background: linear-gradient(to right, #975549, #e64147);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #333;
    bottom: -5px;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

.burger {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    margin-right: 30px;
    padding: 10px;
    background-color: #ffffffcc;
    border-radius: 10px;
    box-shadow: 0 2px 10px #00000033;
    transition: background-color 0.3s, transform 0.3s;
}

.burger:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.burger .line {
    width: 35px;
    height: 4px;
    margin: 4px 0;
    transition: background-color 0.3s;
    background: linear-gradient(to right, #d8269d, #f57f10);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

#background-video {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}


.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffffa9;
    z-index: -1; 
}


main {
    flex: 1;
    padding: 20px 0;
}

h2 {
    margin-bottom: 100px;
    font-size: 2em;
    text-shadow: 
    0px 3px 30px #ffffff, 
    0px 3px 30px #ffffff, 
    0px 3px 30px #ffffff;   

}



.latest-blogs {
    background-color: #ffffff; 
    border: 1px solid #ccc; 
    border-radius: 50px;
    width: 300px;
    box-shadow: 0 2px 10px #0000001a;
    margin: 20px auto; 
}




.blog-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.blog-preview {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px;
    width: 330px;
    height: 450px;
    box-shadow: 0 2px 5px #0000001a;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    text-align: left;
}

.blog-preview h3 {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
}

.blog-preview:hover {
    box-shadow: 0 4px 10px #0000003b;
}


.blog-preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 6px 6px;
    box-shadow: 0 4px 8px #00000033;
}


.blog-preview .weiterlesen-button {
    display: inline-block;
    position: relative;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: transparent;
    color: #282936;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: letter-spacing 0.4s ease, color 0.4s ease;
    text-decoration: none;
    align-self: flex-end;
    margin-top: auto;
}

.blog-preview .weiterlesen-button::before,
.blog-preview .weiterlesen-button::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background-color: #282936;
    transition: width 0.4s ease;
}

.blog-preview .weiterlesen-button::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.blog-preview .weiterlesen-button::after {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.blog-preview .weiterlesen-button:hover::before,
.blog-preview .weiterlesen-button:hover::after {
    width: 90%;
}

.blog-preview .weiterlesen-button:hover {
    letter-spacing: 2px;
    color: #282936;
}

.all-blogs-container {
    margin-top: 50px;
    display: inline-block;
}

.learn-more {
    width: 12rem;
    height: auto;
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    border-radius: 50px;
    vertical-align: middle;
    text-decoration: none;
    background: #ffffff70;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.learn-more .circle {
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #1e1e20;
    border-radius: 1.625rem;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.learn-more .circle .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.learn-more .circle .icon.arrow::before {
    content: '';
    position: absolute;
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

.learn-more .button-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #313138;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.learn-more:hover .circle {
    width: 100%;
}

.learn-more:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

.learn-more:hover .button-text {
    color: #fff;
}

.info-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 10px #00000052;
    margin: 60px auto 50px;
    width: 90%; 
    max-width: 745px;
    text-align: left; 
    box-sizing: border-box; /
}



.blog-preview,
.learn-more,
.info-box {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
}

.latest-blogs,
h2 {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

h2 {
    animation-delay: 0.3s;
}

.blog-preview {
    animation-delay: 0.5s;
}

.learn-more {
    animation-delay: 1s;
}

.info-box {
    animation-delay: 1.5s;
}

.latest-blogs {
    animation-delay: 1s;
}



footer {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 -2px 10px #00000050;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin: 0;
}


@media (max-width: 500px) {
    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 20px;
        width: max-content;
        width: 100%;
        padding: 10px;
        max-width: 200px;
        background-color: #fffffff2;
        box-shadow: 0 4px 20px #00000033;
        border-radius: 8px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(-20px) translateX(-100%);
        opacity: 0;
        z-index: 1;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 5px 0;
        text-align: left;
    }
    
    .nav-links li a {
        color: #333;
        text-decoration: none;
        padding: 12px 15px;
        display: block;
        padding: 10px;
        border-radius: 5px;
        transition: background-color 0.3s, transform 0.3s;
    }
    
    .nav-links li a:hover {
        background-color: #0000001a;
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
        align-items: center;
    }

    .blog-preview {
        width: 85%;
        max-width: 400px;
    }

    .info-box {
        margin: 60px auto 40px;
        padding: 15px;
    }
}

