@font-face {
    font-family: 'Amiamie-BlackRound';
    src: url('font/Amiamie-BlackRound.woff2') format('opentype');
}

@font-face {
    font-family: 'ProtestStrike-Regular';
    src: url('font/ProtestStrike-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Adelphe-GerminalRegular';
    src: url('font/Adelphe-FlorealRegular.woff') format('opentype');
}

@font-face {
    font-family: 'GreatVibes-Regular';
    src: url('font/GreatVibes-Regular.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
/* bannière */
.logo-banner {
    width: 100%;
    height: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}

.logo-banner img {
    height: 270px;
    object-fit: contain;
    margin-top: 50px;
}

.mobile-logo {
    display: none;
}

.additional-image {
    height: 300px; 
    object-fit: contain;
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.column {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.left-column {
    background-color: #eeeeee;
    position: fixed;
    width: 30%;
    height: 100vh;
    overflow-y: auto;
    text-align: center;
    padding: 0 20px;
}

.right-column {
    background-color: #eeeeee;
    margin-left: 30%;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    width: 70%;
}

.button-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    background-color: #eeeeee;
}

button {
    padding: 20px 40px;
    font-size: 2em;
    cursor: pointer;
    background-color: #eeeeee;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Amiamie-BlackRound', sans-serif;
    color: #939c9d;
    -webkit-text-stroke: 1.4px #3c3c3b;
    text-stroke: 1.4px #3c3c3b;
}

button:hover {
    color: #939c9d;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ff48d1,
        0 0 30px #ff48d1,
        0 0 40px #ff48d1;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 1.4em;
    font-family: 'Adelphe-FlorealRegular.woff', cursive, sans-serif;
    line-height: 1em;
    margin-bottom: 40px;
    text-align: center;
    color: #939c9d;
    padding: 0 40px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

p {
    font-size: 1.1em;
    line-height: 1.6em;
    margin-bottom: 13px;
    margin-top: -5px;
}

@media screen and (max-width: 1080px) {
    .container {
        flex-direction: row;
    }
    
    .left-column {
        position: fixed;
        width: 33.33%;
        height: 100vh;
    }

    .right-column {
        margin-left: 33.33%;
        width: 66.67%;
    }
}

.gradient-box-top {
    width: 100%;
    height: 75px;
    background: linear-gradient(to bottom, #0eff3e, rgba(238, 238, 238, 0));
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: regular;
    z-index: 1000;
}

.gradient-box-bottom {
    width: 100%;
    height: 75px;
    background: linear-gradient(to bottom, rgba(238, 238, 238, 0), #ff48d1);
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: regular;
    z-index: 1000;
}

.section {
    margin-bottom: 30px;
    padding: 0;
}

.section h3 {
    font-family: 'ProtestStrike-Regular', sans-serif;
    font-size: 3em;
    color: #3c3c3b;
    margin-top: 12px;
    margin-bottom: 0px;
    padding: 0;
    text-shadow: 
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    text-align: center;
}

.section h3::first-letter {
    font-family: 'GreatVibes-Regular', cursive;
    font-size: 1.6em;
}

.section p {
    font-size: 1.1em;
    line-height: 1em;
    margin-bottom: 8px;
    margin-top: 1px;
    color: #3c3c3b;
    text-align: center;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
}

.subsection:first-of-type {
    margin-top: -13px;
}

.subsection {
    margin: 0;
    padding: 0;
}

.subsection h4 {
    font-family: 'Amiamie-BlackRound', sans-serif;
    font-size: 1.5em;
    color: #939c9d;
    margin-bottom: -2px;
    margin-top: -2px;
    padding: 0;
    text-shadow: 
        -1px -1px 0 #3c3c3b,
        1px -1px 0 #3c3c3b,
        -1px 1px 0 #3c3c3b,
        1px 1px 0 #3c3c3b;
    text-align: center;
}

.subsection p {
    font-size: 1.1em;
    line-height: 1em;
    margin: 0;
    padding: 0;
    color: #3c3c3b;
    text-align: center;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
}

.content-section {
    display: none;
    padding: 20px;
    height: auto;
    overflow: visible;
}

.content-section.active {
    display: block;
}

.project-section {
    margin-bottom: 40px;
    height: auto;
}

.project-title {
    font-family: 'GreatVibes-Regular', cursive;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 
        -2px -2px 0 #3c3c3b,
        2px -2px 0 #3c3c3b,
        -2px 2px 0 #3c3c3b,
        2px 2px 0 #3c3c3b;
    margin-bottom: 0px;
    text-align: center;
}

.image-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 450px;
    margin: 0px 0 0px 0;
}

.image-scroll::-webkit-scrollbar {
    display: none;
}

.image-scroll img {
    height: 450px;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.project-info {
    font-family: 'Amiamie-BlackRound', sans-serif;
    color: #939c9d;
    font-size: 1em;
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    text-align: left;
    padding-left: 0px;
}

.project-description {
    font-family: 'Amiamie-RegularRound', sans-serif;
    color: #3c3c3b;
    font-size: 1.1em;
    line-height: 1.4;
    margin-top: 1px;
    text-align: left;
    padding-left: 0px;
    display: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.project-description.active {
    display: block;
    opacity: 1;
    max-height: 500px;
}

.project-description a {
    color: #dc0fd2;
    text-decoration: none;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
    transition: all 0.3s ease;
}

.project-description a:hover {
    color: #dc0fd2;
    text-shadow: 
        -1px -1px 0 #3c3c3b,
        1px -1px 0 #3c3c3b,
        -1px 1px 0 #3c3c3b,
        1px 1px 0 #3c3c3b;
}

a {
    color: #3c3c3b;
    text-decoration: none;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
    transition: all 0.3s ease;
}

a:hover {
    color: #dc0fd2;
    text-shadow: 
        -1px -1px 0 #3c3c3b,
        1px -1px 0 #3c3c3b,
        -1px 1px 0 #3c3c3b,
        1px 1px 0 #3c3c3b;
}

.project-info:hover {
    color: #939c9d;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ff48d1,
        0 0 30px #ff48d1,
        0 0 40px #ff48d1;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        display: flex;
    }

    .left-column {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
        order: 2;
        display: block !important;
        visibility: visible !important;
    }

    .right-column {
        position: relative;
        width: 100%;
        margin-left: 0;
        height: auto;
        overflow: visible;
        order: 3;
    }

    .logo-banner {
        position: relative;
        margin-top: -50px;
        margin-bottom: -15px;
        justify-content: center;
        order: 1;
    }

    .main-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
        width: 100%;
        margin-top: -20px;
    }

    .mobile-dropdown {
        display: block;
        margin: 20px 0;
    }

    .dropdown-button {
        width: 100%;
        padding: 15px;
        background-color: #eeeeee;
        border: none;
        text-align: center;
        font-family: 'Amiamie-BlackRound', sans-serif;
        font-size: 1.5em;
        color: #939c9d;
        -webkit-text-stroke: 1px #3c3c3b;
        text-stroke: 1px #3c3c3b;
        cursor: pointer;
    }

    .section {
        display: block !important;
    }

    /* Hide Parcours and My Friends sections on mobile */
    .section[data-section="parcours"],
    .section[data-section="my-friends"] {
        display: none !important;
    }

    .dropdown-content {
        display: none;
        padding: 20px;
        background-color: #eeeeee;
    }

    .dropdown-content.active {
        display: block;
    }

    .dropdown-content.active .section {
        display: block;
    }

    .button-container {
        position: sticky;
        top: 0;
        background-color: #eeeeee;
        z-index: 100;
        padding: 10px 0;
    }

    .button-container button {
        font-size: 1.5em;
        padding: 10px 18px;
    }

    .content-section {
        padding: 10px;
    }

    .project-title {
        font-size: 2em;
    }

    .image-scroll {
        height: 400px;
    }

    .image-scroll img {
        height: 400px;
    }

    .project-info {
        font-size: 0.9em;
        padding: 0 10px;
        text-align: center;
    }

    .project-description {
        font-size: 1em;
        padding: 0 10px;
        text-align: center;
    }

    .gradient-box-top {
        height: 40px;
        top: 0px;
    }

    /* Center all text on mobile */
    p, h1, h2, h3, h4, .project-info, .project-description, .section p, .subsection p {
        text-align: center !important;
    }

    /* Increase contact section size on mobile */
    .section:first-of-type h3,
    .left-column .section:first-of-type h3 {
        font-size: 4.2em !important;
        margin-bottom: 20px;
    }

    .section:first-of-type h4 {
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    .section:first-of-type p {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    .section:first-of-type .subsection {
        margin-bottom: 20px;
    }

    h2 {
        margin-bottom: 40px;
    }

    /* Make auto-edition images bigger on mobile */
    #auto-edition-section .image-scroll,
    #auto-edition-section .image-scroll img {
        height: 500px;
    }
}

/* Tablet Responsive Design */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .left-column {
        width: 40%;
    }

    .right-column {
        width: 60%;
        margin-left: 40%;
    }

    .logo-banner img {
        height: 230px;
    }

    .button-container button {
        font-size: 1.8em;
    }
}

.auto-edition-info {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin: 10px auto 0 auto;
    max-width: 600px;
    font-family: 'Amiamie-RegularRound', sans-serif;
    opacity: 0.85;
    padding: 0 8px;
}

.auto-edition-info-toggle {
    font-size: 1em;
    color: #939c9d;
    text-align: center;
    margin: 12px auto 0 auto;
    max-width: 600px;
    font-family: 'Amiamie-RegularRound', sans-serif;
    opacity: 0.85;
    padding: 0 8px;
    cursor: pointer;
    background: #eeeeee;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #dc0fd2;
    display: inline-block;
}

.auto-edition-info-toggle:hover {
    color: #dc0fd2;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff48d1;
    border-color: #ff48d1;
}

.auto-edition-info-description {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin: 10px auto 0 auto;
    max-width: 600px;
    font-family: 'Amiamie-RegularRound', sans-serif;
    opacity: 0.85;
    padding: 0 8px;
    display: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.auto-edition-info-description.active {
    display: block;
    opacity: 1;
    max-height: 200px;
}