:root {
    --shadow: 0 2px 10px rgba(16, 24, 40, 0.08);
    --green: #909483;
    --green-2: #909483;
    --green-3: #6b7b4b;
    --green-4: color-mix(in srgb, var(--green) 40%, transparent);
    --black: black;
    --yellow: #f9f1cd;
    --max-width: 1080px;
    --font-size: 16px;
    --font-size-l: 24px;
    --font-size-sm: 8px;
    --theme-color: var(--yellow);
}

@media (prefers-color-scheme: dark) {
    :root {
        --theme-color: var(--green)
    }
}


@font-face {
    font-family: 'Amsterdam';
    src: url('assets/fonts/Amsterdam.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arapey';
    src: url('assets/fonts/Arapey-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    overflow-x: clip;
}

body {
    font-family: Arapey, serif;
    background: var(--yellow);
    color: var(--green-3);
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
    font-size: var(--font-size-l);
}


@media (max-width: 768px) {
    body {
        line-height: 1.0;
        font-size: var(--font-size);
    }
}


p {
    /*padding: 1rem;*/
}

section {
    padding: 0 0 1em 0;
    font-family: Arapey, serif;
    font-size: 1em;
    /*overflow: hidden;*/
}

.header-section {
    font-family: Amsterdam, serif;
    color: var(--green);
    font-size: 2em;
    padding: 1em 10px;
    text-align: center;
}

.section-content {
    padding: 0.5rem;
    text-align: center;
}

.container {
    max-width: var(--max-width);
    margin: auto;
    padding: 1em 0;
}

.font-amsterdam {
    font-family: Amsterdam, serif;
}

.text-center {
    text-align: center;
}

.color-white {
    color: white;
}

.align-center {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
}

.flex-column {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--green-4);
}


/*
 * Home
 */
.home {
    margin: auto;
    padding: unset;
    img {
        max-height: 650px;
        margin: auto;
    }

    .olivier {
        width: 200px;
        height: unset;
        object-position: unset;
        transform: rotate(20deg);
    }
}

.home-left {
    width: 100%;
    display: flex;
}

.home-right {
    height: calc(650px - 2em);
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0 2em;
}
.home-header {
    font-size: 2em;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            object-position: center -60px;
        }
        .olivier {
            width: 100px;
            margin: -30px 0;
        }
    }

    .home-right {
        font-size: 1em;
        height: unset;
        padding-bottom: 1em;
    }

}

.container-green {
    margin: initial;
    max-width: 100%;
    background: var(--green-2);
    padding: 1em 0;
}
.container-green .header-section {
    color: white;
}

.container-green .section-content {
    color: white;
}

.programme {
    margin-top: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em 0;
    img {
        object-fit: cover;
        max-height: 150px;
        max-width: 150px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .programme {
        align-items: center;
        img {
            object-fit: cover;
            max-height: 80px;
            max-width: 80px;
        }
    }
}


.sub-section {
    display: flex;
    gap: 20px 3em;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

#info {
    flex-direction: row;
    display: flex;
    justify-content: center;
}
/*!* Mobile Styles *!*/
/*@media (max-width: 768px) {*/
/*    #info {*/
/*        flex-direction: column;*/
/*    }*/

/*}*/


/* Footer */

footer {
    img {
        object-fit: cover;
        max-width: 400px;
        background-color: var(--yellow);
        color-scheme: only light;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    footer {
        img {
            max-width: 200px;
        }
    }

}


/* ... existing code ... */
.btn-primary {
    display: inline-block;
    background-color: var(--green-2); /* Your theme color */
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px; /* Rounded pills look modern */
    font-weight: bold;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.container-green .btn-primary {
    background-color: white;
    color: var(--green-2);
}

.btn-primary:hover {
    background-color: white;
    color: var(--green-2);
    border-color: var(--green-2);
}

svg image {
    /* Forces the browser to handle transparency correctly */
    background: transparent;
}
