/* Reset und Grundlagen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    width: 100%;
    margin: 0 auto;
    background: #e41d3c;
    color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;

}

.header .headline-img {
    width: 100%;
    object-fit: cover;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}
/* BEGIN MODAL CSS */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.6);
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .modal-content {
            background-color: #ffffff;
            margin: 2% auto;
            padding: 0;
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            border-radius: 8px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: slideIn 0.3s ease;
            overflow: hidden;
            color:#333333;
        }
        
        @keyframes slideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .modal-header {
            padding: 20px 30px;
            background-color: #f5f5f5;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color:#333333;
        }
        
        .modal-header h2 {
            margin: 0;
            font-size: 1.8rem;
            color: #333;
        }
        
        .modal-close {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #666;
            line-height: 1;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s ease;
        }
        
        .modal-close:hover {
            color: #000;
        }
        
        .modal-body {
            padding: 30px;
            overflow-y: auto;
            max-height: calc(90vh - 80px);
        }
        
        .modal-body h2 {
            font-size: 1.5rem;
            color: #333;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        .modal-body h2:first-child {
            margin-top: 0;
        }
        
        .modal-body h3 {
            font-size: 1.2rem;
            color: #555;
            margin-top: 20px;
            margin-bottom: 10px;
        }
        
        .modal-body p {
            margin-bottom: 15px;
            line-height: 1.8;
            text-align: justify;
            color: #333;
        }
        
        .modal-body ul, .modal-body ol {
            margin: 15px 0 15px 30px;
            line-height: 1.8;
            color:#333333;
        }
        
        .modal-body li {
            margin-bottom: 10px;
            color:#333333;
        }
        
        .modal-body a {
            color: #0066cc;
            text-decoration: none;
        }
        
        .modal-body a:hover {
            text-decoration: underline;
        }
        
        .contact-box {
            background-color: #f5f5f5;
            padding: 20px;
            border-left: 4px solid #0066cc;
            margin: 20px 0;
        }
        
        .signature {
            font-style: italic;
            margin-top: 20px;
            text-align: right;
            color: #666;
        }
        
        @media screen and (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 5% auto;
                max-height: 85vh;
            }
            
            .modal-header {
                padding: 15px 20px;
            }
            
            .modal-header h2 {
                font-size: 1.5rem;
            }
            
            .modal-body {
                padding: 20px;
                max-height: calc(85vh - 70px);
            }
            
            .modal-body h2 {
                font-size: 1.3rem;
            }
            
            .modal-body h3 {
                font-size: 1.1rem;
            }
        }


/* END OF MODAL CSS */

/* Countdown Section */
.countdown-section {
    text-align: center;
    padding: 40px 20px;

}

.countdown-section .countdown-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #999999;
    font-weight: normal;
}

.clock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.clock .clock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    min-width: 120px;
}

.clock .clock-item .clock-value {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
}

.clock .clock-item .clock-label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Box Links Section */
.box-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.box-links .box-link {
    flex: 1 1 300px;
    max-width: 380px;
    background: #e41d3c;
    padding: 2%;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-links .box-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.box-links .box-link .box-img {
    width: 100%;
    border-radius: 8px;
}

.centerdiv {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.centerdiv .centerimg {
    max-width: 1200px;
    width: 100%;
}

/* Additional Image Section */
.additional-image {
    text-align: center;
    padding: 40px 20px;
}

.additional-image .contributer-img {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #383838;
    border-top: 1px solid #e0e0e0;
    color: #FFFFFF;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
}

.footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer .footer-links {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer .footer-links .footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-links .footer-link:hover {
    color: #e41d3c;
}

.footer .footer-links .footer-separator {
    margin: 0 10px;
    color: #999999;
}

.footer .footer-links .footer-copyright {
    color: #999999;
}

.footer .footer-credit {
    font-size: 0.85rem;
}

.footer .footer-credit .footer-link {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-credit .footer-link:hover {
    color: #0066cc;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .countdown-section .countdown-title {
        font-size: 1.5rem;
    }
    
    .clock {
        gap: 15px;
    }
    
    .clock .clock-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .clock .clock-item .clock-value {
        font-size: 2.5rem;
    }
    
    .clock .clock-item .clock-label {
        font-size: 0.8rem;
    }
    
    .box-links {
        gap: 20px;
        padding: 40px 20px;
    }
    
    .box-links .box-link {
        flex: 1 1 250px;
    }
}

@media screen and (max-width: 768px) {
    .main-content {
        padding: 15px;
    }
    
    .countdown-section {
        padding: 30px 15px;
    }
    
    .countdown-section .countdown-title {
        font-size: 1.3rem;
    }
    
    .clock {
        gap: 10px;
    }
    
    .clock .clock-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .clock .clock-item .clock-value {
        font-size: 2rem;
    }
    
    .clock .clock-item .clock-label {
        font-size: 0.7rem;
        margin-top: 8px;
    }
    
    .box-links {
        flex-direction: column;
        gap: 20px;
        padding: 30px 15px;
    }
    
    .box-links .box-link {
        max-width: 100%;
    }
    
    .additional-image {
        padding: 30px 15px;
    }
    
    .footer {
        padding: 20px 15px;
    }
    
    .footer .footer-links {
        font-size: 0.85rem;
    }
    
    .footer .footer-links .footer-separator {
        margin: 0 8px;
    }
    
    .footer .footer-credit {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .countdown-section .countdown-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .clock {
        gap: 8px;
    }
    
    .clock .clock-item {
        min-width: 70px;
        padding: 10px 8px;
    }
    
    .clock .clock-item .clock-value {
        font-size: 1.5rem;
    }
    
    .clock .clock-item .clock-label {
        font-size: 0.6rem;
        margin-top: 5px;
    }
    
    .footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer .footer-links .footer-separator {
        display: none;
    }
    
    .footer .footer-credit {
        margin-top: 10px;
    }
}
