.footer {
    background-color: #3B6B59;
    color: white;
    padding: 10px 0;
    margin-top: 20px;
    text-align: center; /* Holder teksten til venstre i hver sektion */
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between; /* Centrer sektionerne horisontalt */
    /*gap: 30px; /* Skaber mellemrum mellem hver sektion */
    margin: 0 auto;
    max-width: 1200px; /* Valgfrit - begrænser bredden */
}

.footer-section {
    flex: 1;
    min-width: 200px;
    max-width: 600px; /* Begrænser sektionernes bredde */
    padding: 10px;
}

.footer-section h2, .footer-section h3, .footer-section h4 {
    color: #B2E6A8;
    margin-bottom: 10px;
}

.footer h4 {
    font-weight: bold;
    text-transform: uppercase;
}

.footer-section p, .footer-section ul, .footer-section a {
    color: #FAF3E0;
    margin: 0 auto; /* Centrerer hele blokken i sektionen */
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0 auto; /* Centrerer hele listen i sektionen */
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #FAF3E0;
}

.footer-bottom {
    font-size: 0.85rem;
    border-top: 1px solid #A7C4BC;
    /*margin-top: 20px;*/
    padding-top: 10px;
    text-align: center; /* Midterstil bundteksten */
    color: var(--tertiary-font-color);
}

.footer .social-icons {
    display: flex;
    gap: 20px; /* Reducer afstanden mellem ikonerne */
    justify-content: center;
}

.footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    margin: 0; /* Fjern margin */
    padding: 0; /* Fjern padding */
}

.footer .social-icons a:hover {
    color: var(--complementary-yellow);
}

.footer a {
    color: var(--complementary-yellow);
}

.footer a:hover {
    color: var(--complementary-yellow);
}
