/* Grundlegendes Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #333;
    overflow-x: hidden;
}

/* Vollbild-Video */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

/* Overlay auf Video für Text und Button */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
}

.title {
    font-size: 4rem;
    font-weight: 600;
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 10px;
    opacity: 0.8;
}

.scroll-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4d8062;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.scroll-button:hover {
    background-color: #3b6147;
    transform: scale(1.05);
}

/* Abschnitte */
.section {
    padding: 60px 20px;
    min-height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Projekte, Zertifikate, Aufgaben-Styling */
.container {
    width: 100%;
}

.project-grid,
.certificate-grid,
.task-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.project-card,
.certificate-card,
.task-card {
    width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover,
.certificate-card:hover,
.task-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.project-card h3,
.certificate-card h3,
.task-card h3 {
    font-size: 1.5rem;
    color: #4d8062;
    margin-bottom: 10px;
}

/* Kontakt Abschnitt */
#contact iframe {
    width: 100%;
    height: 1000px;
    border: none;
}

/* Footer Styling */
footer {
    background-color: #4d8062;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Cursor-Design */
.cursor {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #4d8062;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.cursor:hover {
    width: 50px;
    height: 50px;
    background-color: #3b6147;
}

.spaced {
    margin-bottom: 20px; /* Füge hier den gewünschten Abstand ein */
}