﻿h1, h2, hh3 {
    text-wrap: balance;
}

.event-header {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 40px;
    background: black;
}
/* Supression du débuggeur ThreeJS */
.lil-gui {
    display: none !important
}
.event-header-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
}

.event-header canvas {
    position: absolute;
    left: 0;
    z-index: 0;
}
.event-header canvas {
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.5);
    z-index: 0;
}
.event-header__content {
    width: 60%;
    color: white;
    position: relative;
    z-index: 1;
    /*background: rgba(0,0,0,0.2);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 30px 75px 30px 0;
}

.event-header__content__fil-ariane {
    display: flex;
    gap: 5px;
    color: white;
    align-items: flex-end;
}

    .event-header__content__fil-ariane a {
        font-size: 24px;
        color: white;
        font-weight: 400;
        text-decoration: underline;
    }

    .event-header__content__fil-ariane span {
        font-size: 20px;
        font-weight: 400;
    }

.event-header__content__main-title {
    font-size: 32px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.4;
}

.event-header__content p {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    color: white;
}

.event-header__content__contact-email {
    display: flex;
    gap: 10px;
}

    .event-header__content__contact-email input {
        background: rgba(0,0,0,0.2);
        border: 2px solid white;
        border-radius: 6px !important;
        height: 50px;
        padding: 12px;
        font-size: 20px;
        font-weight: 400;
        color: white;
    }

        .event-header__content__contact-email input::placeholder {
            color: white;
            font-size: 20px;
            font-weight: 400;
        }
        .event-header__content__contact-email input:nth-of-type(2) {
            width: 215px;
            background: white;
            color: black;
            cursor: pointer;
            font-weight: 600
        }


.event-header__carousel {
    /*  background: linear-gradient(to bottom, rgba(255, 198, 0, 0) 0%, rgba(255, 198, 0, 0) 50%, rgba(255, 198, 0, 0.4) 100%);*/
    width: 40%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 75px 0px;
}
    .event-header__carousel img {
        width: auto;
        height: 100%;
    }
    .soldes-ete-cta-button {
        position: relative;
        z-index: 3;
        width: max-content;
        height: max-content;
        padding: 20px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        cursor: pointer;
        transition: box-shadow 0.6s linear;
        border-radius: 10px;
        color: white;
        backdrop-filter: blur(10px);
        background: rgba(255, 207, 0, 0.1);
    }

    .soldes-ete-cta-button:hover {
        box-shadow: 0 0 14px 2px #FFC600, inset 0px 0px 16px #FFC600;
    }

    .soldes-ete-cta-button span {
        position: relative;
        z-index: 3;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 1px;
        color: white;
    }

    .soldes-ete-cta-button img {
        position: absolute;
        width: 100%;
        height: calc(100% - 5px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%)
    }


    .soldes-ete-cta-button svg {
        overflow: visible;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

:root {
    --relative-dash: 0px;
    --animation-duration: 0s;
}

.soldes-ete-cta-button svg rect {
    stroke-dasharray: calc(var(--relative-dash) / 4);
    animation: dash var(--animation-duration) linear infinite;
    filter: drop-shadow(0px 0px 6px rgb(255, 198, 0)) blur(1px);
    width: 100%;
    height: 100%;
}

@keyframes dash {
    to {
        stroke-dashoffset: calc(var(--relative-dash) / 2);
    }
}

@media screen and (max-width: 1920px) {
    .event-header-wrapper {
        max-width: 1280px;
        
    }
}

@media screen and (max-width: 1000px) {
    .event-header-wrapper {
        flex-direction: column;
        padding: 40px 0;
        gap: 32px
    }

    .event-header__content {
        width: 100%;
        padding: 0;
        gap: 16px;
    }

    .event-header__content__contact-email {
        flex-direction: column;
    }

        .event-header__content__contact-email input {
            text-align: center;
        }
            .event-header__content__contact-email input:nth-of-type(2) {
                width: 100%;
                
            }
    .event-header__content__main-title {
        font-size: 22px;
    }

    .event-header__content p {
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 400;
    }

    .event-header__content__fil-ariane a, .event-header__content__fil-ariane span {
        font-size: 18px;
    }
    .soldes-ete-cta-button {
        padding: 10px 20px;
    }
    .soldes-ete-cta-button span {
        font-size: 14px;

    }
    .soldes-ete-cta-button {
        width: 100%;
        max-width: 385px;
    }

    .event-header__carousel {
        padding: 0;
        width: 100%
    }

}
@media screen and (max-width: 760px) {
    .webgl {
        filter: brightness(0.5)
    }
}

