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: #ff3838;
    box-shadow: 0 2px 5px #0000001a;
    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);
}


main {
    flex: 1;
    padding: 20px 20px;
}

.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: #f4e3fc8a;
    z-index: -1; 
}


.main-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 30px;
}

.tipps-section {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px #0000001a;
    padding: 20px;
    margin-top: 20px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    transition: all 0.5s ease-in-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tipps-section:nth-child(1) {
    animation-delay: 0.1s;
}


.tipps-section:nth-child(2) {
    animation-delay: 0.2s;
}

.tipps-section:nth-child(3) {
    animation-delay: 0.3s;
}

.tipps-section:nth-child(4) {
    animation-delay: 0.4s;
}

.tipps-section:nth-child(5) {
    animation-delay: 0.5s;
}

.tipps-section:nth-child(6) {
    animation-delay: 0.6s;
}

.tipps-section:nth-child(7) {
    animation-delay: 0.65s;
}

.tipps-section:nth-child(8) {
    animation-delay: 0.7s;
}

.tipps-section:nth-child(9) {
    animation-delay: 0.75s;
}

.tipps-section:nth-child(10) {
    animation-delay: 0.8s;
}

.tipps-section:nth-child(11) {
    animation-delay: 0.85s;
}

.tipps-section:nth-child(12) {
    animation-delay: 0.9s;
}

.tipps-section:nth-child(13) {
    animation-delay: 0.95s;
}

.tipps-section:nth-child(14) {
    animation-delay: 1s;
}

.tipps-section:nth-child(15) {
    animation-delay: 1.05s;
}

.tipps-section:nth-child(16) {
    animation-delay: 1.1s;
}


.card {
    background-color: #fbf9fc;
    border: none;
    box-shadow: 0 4px 20px #0000001a;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.8s ease, background-color 0.3s ease;
    overflow: hidden;
}

.card:hover {
    background-color: #fefbff;
    box-shadow: 0 3px 25px #00000050;
}

.card h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #6c3e9d;
    margin-bottom: 30px;
}

.tipps-list {
    list-style-type: none;
    padding-left: 0;
}

.tipps-list li {
    font-size: 18px;
    color: #333333;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.tipps-list li::before {
    content: '➤';
    position: absolute;
    left: 0;
    top: 0;
    color: #8d2555;
    font-size: 18px;
    line-height: 1;
}









footer {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    color: #333;
    box-shadow: 0 -2px 10px #0000001a;
}


footer p {
    margin: 0;
}



@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .card {
        margin-left: -30px;
        margin-right: -30px;
        padding: 20px;
    }
}


@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);
    }
}

