/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    flex: 1;
}

h1, h2 {
    text-align: center;
    color: #333;
}

h1 {
    margin-bottom: 10px;
}

h2 {
    margin-bottom: 40px;
}

/* Header Styles */
.site-header {
    background-color: rgb(53, 49, 48);
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Header Styles */
.site-header .header-content h1 {
    margin: 0;
    font-size: 2em;
    /* Adjusted gradient for better visibility of blue, black, and white */
    background: linear-gradient(to bottom, #0072ce 30%, #000000 30%, #000000 60%, #ffffff 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.site-header .header-content p {
    margin: 5px 0 0 0;
    font-style: italic;
    font-size: 1em;
}

.site-header .header-content a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.site-header .header-content a:hover {
    text-decoration: underline;
}

/* Footer Stile */
.site-footer {
    background-color: #343a40;
    color: white;
    padding: 15px 0;
    text-align: center;
}

.site-footer .footer-content p {
    margin: 5px 0;
    font-size: 0.9em;
}

.site-footer .footer-content a {
    color: #ffc107;
    text-decoration: none;
}

.site-footer .footer-content a:hover {
    text-decoration: underline;
}

/* Feldkarten Stile */
.field-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.field-card img {
    width: 300px;
    height: auto;
    object-fit: cover;
}

.field-info {
    padding: 20px;
    flex: 1;
}

.field-info h3 {
    margin-top: 0;
    color: #333;
}

.field-info p {
    color: #666;
}

.rating {
    margin-top: 15px;
}

.rating div {
    margin-bottom: 10px;
}

.buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* General Styles */
button, .learn-more-btn, .map-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

/* Existing Button-Specific Styles */
.rules-btn {
    background-color: #28a745; /* Green for rules */
}

.rules-btn:hover {
    background-color: #1e7e34;
}

.learn-more-btn {
    background-color: #17a2b8; /* Blue for learn more */
}

.learn-more-btn:hover {
    background-color: #117a8b;
}

.map-btn {
    background-color: #ffc107; /* Yellow for map */
    color: #333;
}

.map-btn:hover {
    background-color: #e0a800;
}

/* Remove or adjust any other generic a styles if necessary */
/* For example, ensure normal links have their own styles */
.site-header .header-content a,
.site-footer .footer-content a {
    color: #ffc107;
    text-decoration: none;
}

.site-header .header-content a:hover,
.site-footer .footer-content a:hover {
    text-decoration: underline;
}

/* Popup Stile */
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.popup-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); }
    to { transform: translateY(0); }
}

/* Responsives Design */
@media (max-width: 768px) {
    .field-card {
        flex-direction: column;
    }

    .field-card img {
        width: 100%;
    }

    .header-content h1 {
        font-size: 1.5em;
    }
}
