#hero-section {
    position: relative;
    display: flex;
    background-color: transparent;
    z-index: 1;
    height: auto;
    padding-bottom: 2.5rem;
}

#hero-section::before {
    /* make a background that is semi-transparent */
    content: "";
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
    right: -2.5rem;
    bottom: -2.5rem;
    opacity: 0.5;
    z-index: -1;
    background-color: var(--a-color);
    margin-bottom: 2.5rem;
}

#title {
    margin: 2.5rem;
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#title h1 {
    text-align: center;
    margin-bottom: 5rem;
}

#title img {
    width: 100%;
    filter: invert(1);
    /* white to black */
}

.homepage-card {
    margin: 5rem auto;
    width: clamp(0rem, 85%, 85%);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.5rem;
}

.homepage-card h2 {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.homepage-card h4 {
    width: clamp(0rem, 85%, 85%);
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.homepage-card p {
    text-align: justify;
    margin: 1rem 0;
    width: clamp(0rem, 85%, 85%);
}

#action-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.homepage-card button {
    /* margin: 1rem 0; */
    height: 3rem;
    width: 9rem;
    font-family: "New Computer Modern", serif;
}

#campagneboekje {
    margin-top: 1rem;
    height: 4rem;
    width: 20rem;
}

#thick-homepage-divider {
    margin: 2.5rem 0;
    height: 5rem;
    width: calc(100% + 5rem);
    position: relative;
    left: -2.5rem;
    top: 0;
    border: None;
    opacity: 0.5;
    z-index: -1;
    background-color: var(--a-color);
}

#ploegfoto-container {
    position: relative;
    width: 65%;
    height: auto;
    object-fit: cover;
    background-image: url(../../axiom/img/ploegfoto-Axolotl.webp);
    background-size: auto 100%; 
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media only screen and (max-width: 600px) {
    .homepage-card {
        margin: 2.5rem auto;
    }

    #campagneboekje {
        width: 100%;
    }

    #hero-section {
        flex-direction: column;
    }

    #ploegfoto-container {
        z-index: 0;
        width: 100vw;
        height: 70vw;
        background-size: 100% auto; 
        margin-left: -2.5rem;
        margin-top: -1.5rem;
    }

    #title {
        z-index: 3;
        width: initial;
        margin-bottom: 0;
    }

    #title>h1 {
        margin-bottom: 0;
    }

    .hero-logo {
        display: none;
    }

    #action-section {
        margin-bottom: 0;
    }
}

#preses-stinkt {
    position: absolute;
    top: 50%;
    height: 16%;
    left: 53%;
    width: 5%;
    z-index: 1;
    transform: translate(-50%, -50%) rotate(40deg);
}