
@import 'https://unpkg.com/open-props@beta.5' layer(library);

*,
::before,
::after {
    box-sizing: border-box;
}
:where(:not(dialog)) {
    margin: 0;
}
:root {
    font-family: 'Montserrat', sans-serif;

    --white: #FFF;
    --black: #000;

    --green: #00DEBA;
    --space-xxs: var(--size-1);
    --space-xs: var(--size-2);
    --space-sm: calc(var(--size-1) + var(--size-2));
    --space-md: var(--size-3);
    --space-lg: var(--size-7);
    --space-lg2: 2.5rem;

    --radius-md: var(--radius-3);
    --radius-lg: var(--radius-round);
    --border-thin: var(--border-size-1);

    --timing-function-slow-ease: var(--ease-1);
    --timing-function-fast-ease-in-out: var(--ease-in-out-4);

    --button-link-font-size: var(--font-size-0);
    --button-link-font-weight: var(--font-weight-6);
    --button-link-block-size: 3.25em;
    --button-link-min-inline-size: 7em;
    --button-link-border: var(--border-size-1) solid currentColor;
    --button-link-face: transparent;
    --button-link-text: var(--white);
    --button-link-hover-face: color-mix(in oklch, var(--white), transparent 80%);
    --button-link-primary-text: var(--white);
    --button-link-primary-face: var(--green);
    --button-link-primary-border: none;
    --button-link-primary-hover-face: color-mix(
        in oklch,
        var(--green),
        transparent 20%
    );
    --button-link-border-radius: var(--radius-round);
    --nav-logo-inline-size: var(--size-12);
    --icon-btn-block-size: var(--size-8);
    --icon-btn-inline-size: var(--size-8);

    --highlight-text: var(--green);
    --body-font-size: var(--font-size-0);
    --body-font-weight: var(--font-weight-4);
    --headline1-font-weight: var(--font-weight-7);
    --headline1-font-size: var(--font-size-fluid-3);

    --nav-link-font-size: 0.875rem;
    --nav-block-size: 100px;
}
body {
    -webkit-font-smoothing: antialiased;
    background-color: var(--black);
    color: var(--white);
    font-size: var(--body-font-size);
    min-block-size: 100dvb;
}
/* App */
.offre {
    width: 100%;
    height: 50px;
    border-bottom: 2px solid var(--second-light);
    position: fixed;
    top: 0px;
    transition: 400ms linear;
    z-index: 1000;
    background-color: var(--green);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    -moz-backdrop-filter: blur(30px);
}
.offre .limit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    width: calc(100% - 100px);
    height: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.offre a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.25em;
}
.nav {
    display: grid;
    place-items: center;
}
.nav.discover {
    position: relative;
    top: 50px;
}
.nav-container {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    place-items: center;
    min-block-size: var(--nav-block-size);
    inline-size: min(100%, 1656px);
    gap: var(--space-md);

    padding-inline: var(--space-lg);
    height: 100px;
}
.logo-wrapper {
    justify-self: start;
    inline-size: var(--nav-logo-inline-size);
    height: 40px;
}
.logo-img {
    block-size: auto;
    display: block;
    object-fit: cover;
    width: auto;
    height: 39px;
}
.menu-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: subgrid;
    place-items: center;
    grid-column: 2/-1;
}
.mobile-wrapper {
    display: grid;
    gap: var(--space-md);
}
.mobile-mobile-head {
    display: grid;
    grid-auto-flow: column;
    place-items: center;
    min-block-size: var(--nav-block-size);
    /* padding-inline-start: var(--space-md);
    padding-inline-end: var(--space-sm); */
    justify-content: space-between;

    padding-inline: var(--space-lg);
    height: 100px;
}
.menu {
    display: grid;
    grid-auto-flow: column;
    gap: var(--space-lg);
    list-style: none;
    padding: 0;
}
.nav-link {
    text-wrap: nowrap;
    display: block;
    color: var(--white);
    text-decoration: none;
    padding-block: var(--space-sm);
    font-size: var(--nav-link-font-size);
}
.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.5ex;
}
.mobile-nav-link {
    display: none;
}
.bottom-nav-link{
    position: absolute; 
    bottom: 10px; 
    left: calc(50% - 61px);
}
.actions {
    display: grid;
    grid-auto-flow: column;
    gap: var(--space-md);
}
.content-actions {
    display: grid;
    grid-auto-flow: column;
    gap: var(--space-md);
}
.icon-btn {
    color: var(--white);
    inline-size: var(--icon-btn-inline-size);
    block-size: var(--icon-btn-block-size);
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.icon-btn img {
    width: 24px;
}
.button-link {
    text-decoration: none;
    font-size: .75rem;
    font-weight: var(--button-link-font-weight);
    padding-inline: var(--space-md);
    padding-block: var(--space-md);
    border-radius: var(--button-link-border-radius);
    block-size: var(--button-link-block-size);
    transition: background-color 0.2s var(--timing-function-slow-ease);
    color: var(--button-link-text);
    border: var(--button-link-border);
    background-color: var(--button-link-face);
    min-inline-size: var(--button-link-min-inline-size);
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    font-weight: var(--button-link-font-weight);
    white-space: nowrap;
    text-overflow: ellipsis;
}
.button-link:hover {
    background-color: var(--button-link-hover-face);
}
.button-link.primary {
    color: var(--button-link-primary-text);
    background-color: var(--button-link-primary-face);
    border: var(--button-link-primary-border);
}
.button-link.primary:hover {
    background-color: var(--button-link-primary-hover-face);
}
.content-actions-discover {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.button-discover-link {
    text-decoration: none;
    font-size: .75rem;
    padding-inline: var(--space-md);
    padding-block: var(--space-md);
    border-radius: var(--button-link-border-radius);
    block-size: var(--button-link-block-size);
    transition: background-color 0.2s var(--timing-function-slow-ease);
    min-inline-size: var(--button-link-min-inline-size);
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    font-weight: var(--button-link-font-weight);
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--button-link-primary-text);
    background-color: var(--button-link-primary-face);
    border: var(--button-link-primary-border);
    max-width: max-content;
    z-index: 1;
}
.button-discover-link:hover {
    background-color: var(--button-link-primary-hover-face);
}
/* Main */
.main {
    height: calc(100vh - var(--nav-block-size));
    /* overflow: hidden; */
}
.hero {
    block-size: max(490px, calc(100dvb - var(--nav-block-size)));
    display: grid;
    gap: var(--space-lg);
    inline-size: 100%;
}
.hero-visual {
    background-color: var(--black);
    block-size: max(580px, 100dvb);
    inset: 0;
    margin-inline: auto;
    max-inline-size: 100%;
    overflow: clip;
    position: absolute;
    z-index: -1;
}
.hero-visual-wrapper {
    block-size: 100%;
    inline-size: 100%;

    animation-name: push-up;
    animation-duration: 5s;
    animation-delay: 10s;
    animation-timing-function: var(--timing-function-fast-ease-in-out);
    animation-fill-mode: forwards;
}
.hero-video {
    inline-size: 100%;
    block-size: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}
.hero-header {
    inline-size: 100%;
}
.headline1 {
    font-size: var(--headline1-font-size);
    font-weight: var(--headline1-font-weight);
    text-align: center;
    display: inline-grid;
    inline-size: 100%;
    white-space: nowrap;
}
.headline-container {
    display: block;
    block-size: 1lh;
    overflow-y: clip;
    position: relative;
}
.headline-secondary {
    display: block;
    block-size: 0.75lh;
    overflow-y: clip;
    position: relative;
}
.headline-third {
    display: block;
    block-size: 48px;
    overflow-y: clip;
    position: relative;
}
.headline-scroller {
    display: grid;
    position: absolute;
    text-align: center;
    inline-size: 100%;
    inset: 0;
    animation-name: push-up;
    animation-duration: 5s;
    animation-delay: 11s;
    animation-timing-function: var(--timing-function-fast-ease-in-out);
    animation-fill-mode: forwards;
}
.scroll-item {
    color: var(--highlight-text);
    display: block;
    white-space: nowrap;
    min-inline-size: 100%;
    overflow: clip;
    text-overflow: ellipsis;
    height: max-content;
}
.scroll-secondary {
    color: var(--white);
    display: block;
    white-space: nowrap;
    min-inline-size: 100%;
    overflow: clip;
    text-overflow: ellipsis;
    font-size: 0.75em !important;
    height: max-content;
}
.scroll-third {
    color: var(--white);
    display: block;
    white-space: nowrap;
    min-inline-size: 100%;
    overflow: clip;
    text-overflow: ellipsis;
    font-size: 0.5em !important;
    font-weight: 500;
    height: 48px;
}
.hero-content {
    block-size: 100%;
    display: grid;
    gap: var(--space-lg);
    grid-template-rows: 1fr auto 1fr;
    place-items: end center;
    padding: var(--space-md);
}
.hero-header {
    grid-row: 2/3;
    display: grid;
    place-items: center;
    gap: var(--space-lg);
}
.scroll-btn {
    inline-size: var(--icon-btn-inline-size);
    block-size: var(--icon-btn-block-size);
    display: inline-grid;
    color: var(--white);
    grid-row: 3/-1;
    border: var(--border-thin) solid var(--white);
    padding: 15px;
    border-radius: var(--radius-lg);
    transition: background-color 0.2s var(--ease-1), color 0.2s var(--ease-1);
}
.scroll-btn:hover {
    background-color: var(--white);
    color: var(--black);
}


/** Modal */
.is-flex {
    display: flex !important;
}
.is-hidden {
    display: none !important;
}
.is-align-items-center {
    align-items: center !important;
}
.is-justify-content-center {
    justify-content: center !important;
}
.is-justify-content-flex-end {
    justify-content: flex-end !important;
}
.is-justify-content-space-between {
    justify-content: space-between !important;
}
.overlay {
    visibility: hidden;
    opacity: 0;
    z-index: 4000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(50, 50, 50, 0.70);

    display: block;
    overflow: scroll;
    align-content: center;
}
.overlay.target {
    -webkit-animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    -moz-animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    -o-animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    visibility: visible;
    opacity: 1;
}
.modal-content {
    margin: 0px auto;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--black);
}
form {
    width: 100%;
}
.contact {
    display: flex;
    justify-content: space-between;
}
.group {
    position: relative;
    width: 48.5%;
    margin-bottom: 20px;
}
h4 {
    color: var(--green);
    font-size: 2.5em;
    margin-bottom: 20px;
}
h4.modal-title {
    text-align: left;
    margin-bottom: 5px;
}
.modal-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.modal-header .modal-text {
    margin: 0;
}
.titre_accompagnant {
    display: flex;
}
.titre_accompagnant p {
    font-size: 0.875em;
    color: var(--white);
    padding: 10px 0px 10px 0px;
}
input {
    font-size: 1em;
    padding: 35px 20px 20px 20px;
    display: block;
    width: 100%;
    border: 1px solid var(--white);
    background-color: var(--black);
    color: var(--white);
    max-height: 60px;
}
input.name {
    text-transform: uppercase;
}
input.firstname {
    text-transform: capitalize;
}
input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 222, 186, 0.6);
    border-color: #00DEBA;
}
label {
    color: var(--white);
    font-size: 1em;
    font-weight: 300;
    position: absolute;
    pointer-events: none;
    left: 20px;
    top: 22px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}
input:focus~label,
input:valid~label {
    top: 12px;
    font-size: 0.75em;
    color: var(--white);
}
.validate.btnAddGuest,
.validate.btnRemoveGuest {
    margin: 0px 0px 20px 0px;
    cursor: pointer;
}
.validate:not(.btnAddGuest):not(.btnRemoveGuest) {
    margin-top: 10px;
}
.validate p a {
    /* color: #621FEE; */
    color: var(--white);
    font-size: 0.875em;
    font-weight: 500;
}
.validate p span {
    font-size: 25px;
    /* color: #621FEE; */
    color: var(--green);
}
input[type=button]:disabled,
input[type=button][disabled],
input[type=submit]:disabled,
input[type=submit][disabled],
input[type=button]:hover[disabled],
input[type=submit]:hover[disabled] {
    /* background-color: #DCEDF3;
    border-color: #DCEDF3; */
    opacity: 0.6;
    cursor: not-allowed;
}
input[type=button],
input[type=submit] {
    text-decoration: none;
    font-size: .75rem;
    font-weight: var(--button-link-font-weight);
    padding-inline: var(--space-md);
    padding-block: var(--space-md);
    border-radius: var(--button-link-border-radius);
    block-size: var(--button-link-block-size);
    transition: background-color 0.2s var(--timing-function-slow-ease);
    color: var(--button-link-text);
    border: var(--button-link-border);
    background-color: var(--button-link-face);
    min-inline-size: var(--button-link-min-inline-size);
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    font-weight: var(--button-link-font-weight);
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0px;
    width: 48.5%;
    cursor: pointer;
}

input[type=submit] {
    background-color: var(--green);
    color: var(--white);
    border-color: var(--green);
}
/* input[type=button],
input[type=submit] {
    background-color: #621FEE;
    color: var(--white);
    padding: 20px;
    font-size: 1em;
} */
input[type=button]{
    background-color: var(--black);
}
input[type=button]:focus,
input[type=button]:hover, 
input[type=submit]:focus,
input[type=submit]:hover {
    background-color: var(--black);
    color: var(--white);
    outline: inherit;
}
input[type=button]:focus,
input[type=submit]:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(98, 31, 238, 0.3);
    border-color: #621FEE;
}
.confirm-mail h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 2em;
}
.confirm-mail p {
    font-size: 1.25em;
    color: var(--white);
    padding: 10px 0px 10px 0px;
}
.form-rgpd {
    text-align: left;
    margin-top: 30px;
}

/** CountDown */
.comptearebours {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 394px;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    box-shadow: 0px 5px 20px rgb(0 0 0 / 8%);
    text-align: center;
    z-index: 1;
}
.comptearebours p:first-child {
    margin-top: 0px;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}
.compte_a_rebours {
    flex-wrap: wrap;
}
.label-count {
    text-align: center;
    margin: 0 5px;
}
.label-count div {
    display: flex;
}
.count {
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--black);
    background-color: var(--white);
    min-width: 35px;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    margin: 2px;
}
.label-count p {
    line-height: inherit;
    text-align: left;
    margin-top: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white);
}
/** Modal Discover **/
.discover-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}
.discover-img-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.discover-content .button-link {
    background-color: rgba(0, 0, 0, 0.4);
}
.discover-img-content img {
    margin: 10px;
}
/** Keyframes */
@keyframes animate-ratio {
    from {
        aspect-ratio: 16/9;
        clip-path: inset(0 0);
    }
    to {
        aspect-ratio: 2.5/6;
        clip-path: inset(120px 0 50px 0);
        padding-block-start: 120px;
        padding-block-end: 50px;
    }
}
@keyframes push-up {
    10%,
    90% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(-200%);
    }
}
/** Responsive */
@media screen and (width >= 1100px) {
    .nav-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .mobile-mobile-head {
        display: none;
    }
    .actions {
        justify-self: end;
        display: flex;
        padding-left: 10px;
    }
    .icon-btn {
        display: none;
    }
}
@media screen and (max-width: 1100px) {
    /* :root {
        --nav-link-font-size: var(--font-size-2);
    } */
    /* .nav-container {
        padding-inline-start: var(--space-md);
        padding-inline-end: var(--space-sm);
    } */
    .menu-wrapper {
        align-content: space-between;
        background-color: var(--black);
        gap: var(--space-lg);
        grid-auto-flow: row;
        inset: 0;
        padding-block-end: var(--space-lg);
        place-items: start stretch;
        position: absolute;
        overflow-y: scroll;
        z-index: var(--layer-4);
        transition: opacity 0.3s var(--timing-function-slow-ease),
            scale 0.5s var(--timing-function-slow-ease),
            display 0.5s var(--timing-function-slow-ease) allow-discrete;
        height: 100vh;
    }
    .nav.discover .menu-wrapper {
        height: calc(100vh - 50px);
    }
    .nav:not(.open) .menu-wrapper{
        display: none;
        opacity: 0;
        scale: 0.6;
    }
    .menu {
        grid-auto-flow: row;
        gap: var(--space-md);
        padding-inline: var(--space-lg);
    }
    .nav-link {
        padding-block: 5px;
    }
    .mobile-nav-link {
        display: block;
    }
    .bottom-nav-link {
        display: none;
    }
    .actions {
        padding-inline: var(--space-lg);
    }
    /* .button-link{
        font-size: .875rem;
    } */
}
@media screen and (width >= 700px) {
    :root {
        --headline1-font-size: clamp(3.5rem, 4.333vw, 4.5rem);
    }
    .hero-visual {
        animation: 3s linear 5s forwards animate-ratio;
    }
}
@media screen and (max-height: 740px) {
    .hero-content > img {
        display: none;
    }
}
@media screen and (max-width: 700px) {
    .actions {
        grid-auto-flow: row;
    }
}
@media screen and (max-width: 660px) {
    .headline-secondary {
        block-size: 0.63lh;
    }
    .scroll-secondary {
        font-size: 0.625em !important;
    }
}
@media screen and (max-height: 650px) {
    .bottom-nav-link {
        position: inherit;
        /* display: none; */
    }
}
@media screen and (max-width: 500px) {
    .comptearebours {
        max-width: none;
        width: calc(100% + 40px);
        left: -20px;
        padding: 20px 0;
    }
    .compte_a_rebours {
        justify-content: center;
    }
    .compte_a_rebours .label-count:last-child {
        display: none;
    }
}
@media screen and (max-width: 480px) {
    .contact {
        flex-wrap: wrap;
    }
    .validate:not(.btnAddGuest):not(.btnRemoveGuest) {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .actions-accompagnant {
        flex-direction: column;
    }
    .validate.btnAddGuest {
        margin: 0;
    }
    .validate.btnAddGuest:has(+ .btnRemoveGuest.is-hidden) {
        margin-bottom: 20px;
    }
    .group,
    input[type=button],
    input[type=submit] {
        width: 100%;
    }
    input[type=button]{
        margin-top: 20px;
    }
}