@font-face {
    font-family: 'Tangerine';
    src: url('font/TangerineRegular.woff2') format('woff2'),
        url('font/TangerineRegular.woff') format('woff'),
        url('font/TangerineRegular.ttf') format('truetype'),
        url('font/TangerineRegular.svg#TangerineRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Louis George Cafe';
    src: url('font/LouisGeorgeCafe-BoldItalic.woff2') format('woff2'),
        url('font/LouisGeorgeCafe-BoldItalic.woff') format('woff'),
        url('font/LouisGeorgeCafe-BoldItalic.ttf') format('truetype'),
        url('font/LouisGeorgeCafe-BoldItalic.svg#LouisGeorgeCafe-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Louis George Cafe';
    src: url('font/LouisGeorgeCafe-Italic.woff2') format('woff2'),
        url('font/LouisGeorgeCafe-Italic.woff') format('woff'),
        url('font/LouisGeorgeCafe-Italic.ttf') format('truetype'),
        url('font/LouisGeorgeCafe-Italic.svg#LouisGeorgeCafe-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Louis George Cafe';
    src: url('font/LouisGeorgeCafe-Bold.woff2') format('woff2'),
        url('font/LouisGeorgeCafe-Bold.woff') format('woff'),
        url('font/LouisGeorgeCafe-Bold.ttf') format('truetype'),
        url('font/LouisGeorgeCafe-Bold.svg#LouisGeorgeCafe-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Louis George Cafe';
    src: url('font/LouisGeorgeCafeLight-Italic.woff2') format('woff2'),
        url('font/LouisGeorgeCafeLight-Italic.woff') format('woff'),
        url('font/LouisGeorgeCafeLight-Italic.ttf') format('truetype'),
        url('font/LouisGeorgeCafeLight-Italic.svg#LouisGeorgeCafeLight-Italic') format('svg');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Louis George Cafe';
    src: url('font/LouisGeorgeCafeLight.woff2') format('woff2'),
        url('font/LouisGeorgeCafeLight.woff') format('woff'),
        url('font/LouisGeorgeCafeLight.ttf') format('truetype'),
        url('font/LouisGeorgeCafeLight.svg#LouisGeorgeCafeLight') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Louis George Cafe';
    src: url('font/LouisGeorgeCafe.woff2') format('woff2'),
        url('font/LouisGeorgeCafe.woff') format('woff'),
        url('font/LouisGeorgeCafe.ttf') format('truetype'),
        url('font/LouisGeorgeCafe.svg#LouisGeorgeCafe') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root
{
    --black: #000000;
    --black75: #000000bf;
    --black50: #00000080;
    --black25: #00000040;
    --white: #ffffff;
    --grey: #dadada;
    --grey50: #dadada80;
    --grey2: #313131;
    --red: #8b2635;
    --red2: #a53e3e;
    --red75: #8b2635bf;
    --title: Tangerine;
    --corp: "Louis George Cafe";
    --scrollPercent: 0%;
}
html, *
{
    scroll-behavior: smooth;
}
body
{
    margin: 0;
    padding: 0;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--corp);
}
section
{
    padding: 4em 15vw;
    min-height: calc(100vh - 4em);
    width: calc(100% - 30vw);
}
section:first-of-type
{
    padding-top: 4em;
    min-height: calc(100vh - 6em);
}
section:nth-child(odd)
{
    background: linear-gradient(90deg, rgba(36,0,0,1) 0%, var(--red) 50%, var(--red2) 100%);
    color: var(--white);
}
section:nth-child(odd) h2::after, section:nth-child(odd) h2::before, section:nth-child(odd) h3::before, .doubleColReverse h3::before
{
    background-color: var(--white);
}
section span
{
    font-size: 1.2em;
}
#description h2,
#contact h2,
.pressSection h2,
#about h2
{
    font-family: var(--title);
    font-size: 1.5em;
    position: relative;
    margin: 0;
    text-transform: uppercase;
    padding-left: 15px;
}
#description h2::before,
#contact h2::before,
.pressSection h2::before,
#about h2::before
{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 1.2em;
    width: 5px;
    background-color: var(--red);
}
#description h2::after,
#contact h2::after,
.pressSection h2::after,
#about h2::after
{
    display: none;
}
#description h3,
#contact h3,
.pressSection h3,
#about h3
{
    font-size: 1em;
    padding-left: 0;
}
#description h3::before,
#contact h3::before,
.pressSection h3::before,
#about h3::before
{
    display: none;
}
li
{
    list-style-type: '- ';
}
a
{
    text-decoration: none;
    color: initial;
}
h1, h2
{
    font-family: var(--title);
    font-size: 3em;
    position: relative;
    margin-top: 0;
}
h1::after, h2::after
{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2em;
    height: 5px;
    background-color: var(--red);
}
h3
{
    font-family: var(--title);
    font-size: 1.5em;
    position: relative;
    margin: 0;
    text-transform: uppercase;
    padding-left: 15px;
}
h3::before
{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 1.2em;
    width: 5px;
    background-color: var(--red);
}
.date
{
    font-family: var(--corp);
    font-size: 0.8em;
    position: relative;
}
header
{
    position: relative;
    max-width: 100vw;
    overflow: hidden;
    box-shadow: 0px 0px 4px 0px var(--black);
}
#headerNavigation::before
{
    content: '';
    height: 3px;
    width: 100%;
    background-color: var(--grey50);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.2s;
}
#headerNavigation::after
{
    content: '';
    height: 3px;
    width: var(--scrollPercent);
    background-color: var(--grey);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.2s;
}
header #social
{
    z-index: 12;
    position: fixed;
    top: 1.5em;
    right: 1em;
    display: flex;
    gap: 0.75em;
    transition: all 0.25s;
}
#social a:hover
{
    opacity: 0.5;
}
.button, .button-white
{
    width: fit-content;
    padding: 0.5em 1em;
    font-family: var(--corp);
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    border: solid 2px var(--red);
    border-radius: 5px;
    background-color: var(--red);
    color: var(--white);
    transition: all 0.2s;
}
.button-white
{
    border: solid 2px var(--white);
    background-color: var(--white);
    color: var(--red2);
}
.button:hover
{
    background-color: var(--white);
    color: var(--red);
}
.button-white:hover
{
    background-color: var(--red2);
    color: var(--white);
}
#headerBackground
{
    height: 100vh;
    width: 100vw;
    background-image: url("img/header_OFFLAN_2025.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
#headerImage
{
    height: 100vh;
    width: 100vw;
    background: linear-gradient(90deg, var(--black75) 0%, var(--red75) 100%);
    backdrop-filter: blur(4px);
}
#headerLogo
{
    max-width: 50%;
    max-height: 50%;
    position: absolute;
    left: 50%;
    top: calc(50% - 2em);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0px 0px 10px var(--black50));
}
header ul
{
    z-index: 10;
    width: 100vw;
    height: 3em;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 2em;
    font-size: 1.4em;
    font-family: var(--title);
    color: var(--white);
}
#navigationLogo
{
    opacity: 0;
    height: 50%;
    position: absolute;
    left: 1em;
}
header ul li
{
    margin-top: 0;
    padding: 0;
    list-style-type: none;
    position: relative;
    cursor: pointer;
}
header ul li::after
{
    content: '';
    height: 2px;
    width: 0;
    background-color: var(--white);
    position: absolute;
    left: 0;
    bottom: 4px;
    transition: width 0.5s;
}
header ul li:hover::after
{
    width: 100%;
}
header ul li a 
{
    color: var(--white);
}
header ul #backBtn
{
    display: none;
}
#association
{
    position: relative;
    padding-left: 42vw;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    max-width: 53vw;
}
#association::after
{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40vw;
    background-color: var(--red);
    opacity: 0.4;
}
#association img
{
    position: absolute;
    left: 0;
    top: 0;
    width: 40vw;
    height: 100%;
    object-fit: cover;
}
#association strong
{
    color: var(--red);
}
#association ul
{
    margin: 0;
}
#association li
{
    color: var(--red);
}
.doubleCol, .doubleColReverse
{
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    grid-template-rows: auto;
    gap: 2em;
    align-items: center;
    margin-bottom: 2em;
}
.doubleColReverse::before
{
    content: ' ';
    width: 100vw;
    height: 100%;
    position: absolute;
    left: -15vw;
    top: 0;
    z-index: -1;
    background-color: var(--red2);
}
.doubleColReverse
{
    position: relative;
    grid-template-columns: 2.5fr 1fr;
    color: var(--white);
    padding: 1em 0;
}
.eventDesc
{
    position: relative;
    height: fit-content;
    padding-bottom: 0.5em;
}
#programme
{
    position: relative;
}
#programme h2
{
    margin-top: 1em;
}
.programmeBtn
{
    right: 0.5em;
    bottom: 0;
    display: flex;
    flex-flow: row wrap;
    gap: 0.5em;
    padding-top: 1em;
    justify-content: right;
}
.eventIllustration
{
    width: 100%;
    box-shadow: 0px 0px 4px 0px var(--black50);
}
.firstEvents
{
    display: flex;
    justify-content: space-around;
    gap: 2em;
    margin-bottom: 4em;
}
.eventCard
{
    max-width: calc(50% - 1em);
    min-width: calc(33% - 1.33em);
    border-radius: 10px;
    box-shadow: 0px 0px 4px 0px var(--black25);
}
.eventCard .eventIllustration
{
    box-shadow: inset 0px 0px 4px 0px var(--black50);
}
.eventCard img
{
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}
.eventCard .eventDesc
{
    padding: 1em;
}
.eventCard img, .eventCard .eventDesc h3
{
    cursor: pointer;
}
.eventCard .eventDesc a
{
    right: 0.5em;
    bottom: 0;
    display: flex;
    flex-flow: row wrap;
    padding-top: 0.5em;
    justify-content: right;
    color: var(--red);
}
#partenaires
{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
}
#partPrincipal, #partSecond
{
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 4em;
    width: 100%;
}
#partSecond
{
    padding-top: 2em;
}
#partPrincipal .logos
{
    height: 8em;
}
#partSecond .logos
{
    height: 4em;
}
.logos
{
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.2s;
    cursor: pointer;
}
.logos:hover
{
    transform: scale(1.1);
}
.logos img
{
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}
#contact
{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
    margin: 5em 0;
    min-height: fit-content;
}
#contact div
{
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.pressSection
{
    min-height: fit-content !important;
}
.pressSection span :where(.button, .button-white)
{
    margin-top: 1em;
}
.pdf
{
    height: 90vh;
    width: 100%;
}
.grid 
{
    column-count: 4;
    column-gap: 1em;
}
.gridItem 
{
    background: #ddd;
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
    transition: all 0.25s;
}
.gridItem:hover
{
    transform: scale(1.05);
    cursor: pointer;
}
footer
{
    position: relative;
    background: linear-gradient(90deg, var(--black) 0%, var(--red) 100%);
    color: var(--white);
    height: 15em;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 2.5em;
    box-shadow: 0px 0px 4px 0px var(--black50);
}
footer img
{
    height: 5em;
}
footer ul
{
    list-style-type: none;
    padding: 0 0 0 2.5em;
    border-left: solid 1px var(--white);
}
footer ul li
{
    margin: 0.25em 0;
    cursor: pointer;
    transition: all 0.25s;
}
footer ul li:hover, footer span a:hover
{
    opacity: 0.5;
}
footer a 
{
    color: var(--white);
}
footer #social
{
    z-index: 12;
    position: absolute;
    /*bottom: calc(1em + 20px);*/
    left: 50%;
    top: calc(50% + 2.5em + 10px);
    transform: translate(-50%, 0);
    display: flex;
    justify-content: space-between;
    width: 22em;
    gap: 0.75em;
    transition: all 0.25s;
}
footer span
{
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}
#description
{
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-content: center;
    padding-top: 0;
}
#description img
{
    height: 50vh;
    width: 100vw;
    margin-left: -15vw;
    object-fit: cover;
}
@media (max-width: 1250px)
{
    header #social
    {
        display: none;
    }
    .grid 
    {
        column-count: 2;
    }
    .firstEvents
    {
        flex-flow: column nowrap;
    }
    .eventCard
    {
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 800px)
{
    h1, h2
    {
        font-size: 2em;
    }
    header ul li
    {
        display: none;
    }
    #headerLogo
    {
        max-width: 90%;
    }
    #navigationLogo
    {
        left: 50%;
        transform: translate(-50%, 0);
    }
    #association
    {
        position: relative;
        padding-left: 5vw;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        max-width: 90vw;
        width: 90vw;
    }
    #association::after
    {
        display: none;
    }
    #association img
    {
        display: none;
    }
    #partPrincipal .logos
    {
        height: initial;
        width: 60%;
    }
    #partSecond .logos
    {
        height: initial;
        width: calc(30% - 0.7em);
    }
    .doubleCol
    {
        display: flex;
        flex-flow: column nowrap;
        margin-bottom: 4em;
    }
    .doubleColReverse
    {
        display: flex;
        flex-flow: column-reverse nowrap;
        margin-bottom: 4em;
    }
    #contact
    {
        min-height: calc(100vh - 12em);
    }
    header ul #backBtn
    {
        display: initial;
        height: 1.5em;
        position: fixed;
        left: 15px;
        top: 1.5em;
        transform: translate(0, -50%);
    }
    header ul #backBtn img
    {
        height: 100%;
    }
    .grid 
    {
        column-count: 1;
    }
    .firstEvents
    {
        width: 90vw;
        margin-left: -10vw;
    }
}
