html,
body {
    min-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-color: rgb(48, 44, 44) #0F0D0D;
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    position: relative;
    background-color: #0F0D0D;
    display: flex;
    flex-direction: column;
    gap: 35px;
    overflow-y: auto;
}

section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible;

    background-color: #121212;

    box-sizing: border-box;
    align-items: center;

    overflow-anchor: none;
}

section:not(.home) {
        scroll-margin-top: 2.2vh;
    }

section .title {
        margin-top: 0;
        margin-bottom: 100px;

        font-size: 2.8125rem;
        text-align: center;

        filter: drop-shadow(0 0 15px #d168dcbd) drop-shadow(0 0 25px #d168dc8f) drop-shadow(0 0 5px #d068dcf6);
        animation: flicker-5 12s linear infinite both;
    }

section .title.big {
            font-size: 5rem;
        }

section img.background {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        position: absolute;

        left: 0;
        top: 0;
        pointer-events: none;

        transition: 0.1s;
        /* z-index: -1; */
    }

section *:not(.background) {
        z-index: 1;
    }

section div.frame {
        width: 100%;
        height: 100%;
        position: absolute;

        left: 0;
        top: 0;

        pointer-events: none;

        filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.08));
        clip-path: border-box;
    }

section div.frame .blackFrame {
            width: 100%;
            height: 100%;
            position: absolute;
        }

section div.frame .blackFrame.mobile {
                visibility: hidden;
            }

section div.frame .logoPicto,
        section div.frame .logoText {
            position: absolute;
            margin-inline: auto;
            margin-left: auto;
            margin-right: auto;
            left: 0;
            right: 0;
            -o-object-fit: cover;
               object-fit: cover;
            transition: 0.3s;

            --logoPictoWidth: 47px;
            --logoPictoHeight: 53px;
            --logoTextWidth: 165px;
            --logoTextHeight: 37px;

            --logoPictoZoom: 1;
            --logoTextZoom: 1;

            --logoPictoMargin: 2%;
            --logoTextMargin: 2.5%;
        }

section div.frame .logoPicto {
            top: calc(var(--logoPictoMargin) / var(--logoPictoZoom));

            width: calc(var(--logoPictoWidth) * var(--logoPictoZoom));
            height: calc(var(--logoPictoHeight) * var(--logoPictoZoom));
        }

section div.frame .logoText {
            bottom: calc(var(--logoTextMargin) / var(--logoTextZoom));

            width: calc(var(--logoTextWidth) * var(--logoTextZoom));
            height: calc(var(--logoTextHeight) * var(--logoTextZoom));
        }


a:has(.homeButton) {
    display: contents;
}

.homeButton {
    position: fixed;
    top: 50px;
    left: 50px;

    width: 50px;
    height: 50px;

    padding-inline: 12px;
    padding-left: 12px;
    padding-right: 12px;

    padding-block: 12px;
    padding-top: 12px;
    padding-bottom: 12px;

    z-index: 9999 !important;
}

.homeButton.openiera_icon_button .openiera_icon {
        width: 100%;
        height: 100%;
    }

.openieraText {
    font-family: 'Poppins', sans-serif, Helvetica, Arial;
    font-weight: 400;
    font-size: 1.5625rem;
    color: white;
}

.openieraText.light {
        font-weight: 300;
    }

.openieraText.extraLight {
        font-weight: 200;
    }

.openieraText:is(.link, .email) {
        font-size: revert;
    }

.partner {
    width: 100%;
    display: flex;
    flex-direction: column;
    bottom: 50px;
    position: relative;
}

.partner p.confiance {
        text-align: center;
        margin-block: 50px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

.partner .partnerLogoContainer {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
        gap: 50px;

        padding-inline: 25px;
        padding-left: 25px;
        padding-right: 25px;

        box-sizing: border-box;
    }

.partner .partnerLogoContainer .imgLogoPartner {
            height: 200px;
            max-width: 100%;
            -o-object-fit: contain;
               object-fit: contain;
            border-radius: 3px;
        }

.openiera_button {
    padding: 15px;
    border-radius: 1000px;
    
    border: none;

    font-size: 2.5rem;
    
    transition: background-color 0.3s ease, color 0.3s ease;

    cursor: pointer;
}

.openiera_button.cta {
        background-color: var(--openiera-color-cta);
        color: var(--openiera-color-cta-second);
    }

.openiera_button.cta:is(:hover, :focus) {
            background-color: var(--openiera-color-cta-second);
            color: var(--openiera-color-cta);
        }


@media (max-width: 81.25rem) {
        section .title {
            margin-bottom: 50px;
        }

            section .title.big {
                font-size: 3.75rem;
            }
}

@media (max-width: 75rem) {
        section .title {
            margin-top: 0;
            margin-bottom: 80px;

            font-size: 1.875rem;
        }
}

@media (max-width: 56.25rem) {
            section div.frame .blackFrame {
                visibility: hidden;
            }

                section div.frame .blackFrame.mobile {
                    visibility: visible;
                }
}

@media (max-width: 48.125rem) {
        section .title {
            margin-bottom: 20px;
        }
}

@media (max-width: 31.25rem) {
            section .title.big {
                font-size: 2.8125rem;
            }

    .openiera_button {
        font-size: 1.5625rem;
    }
}

@media (max-width: 30.5rem) {
        section .title {
            margin-bottom: 20px;
        }
}

@media (max-width: 25rem) {
            section .title.big {
                font-size: 2.1875rem;
            }
    
    .openiera_button {
        font-size: 1.125rem;
    }
}



@media (max-width: 75rem) {
            section div.frame .logoPicto {
                --logoPictoZoom: 0.75;
            }

            section div.frame .logoText {
                --logoTextZoom: 0.75;
            }
}

@media (max-width: 56.25rem) and (min-height: 25rem) {
            section div.frame .logoPicto {
                --logoPictoMargin: 0.6%;
                --logoPictoZoom: 0.5;
            }

            section div.frame .logoText {
                --logoTextMargin: 0.6%;
                --logoTextZoom: 0.5;
            }
}

@media (max-width: 31.25rem) {
            section div.frame .logoPicto {
                --logoPictoMargin: 0.7%;
                --logoPictoZoom: 0.4;
            }

            section div.frame .logoText {
                --logoTextMargin: 0.7%;
                --logoTextZoom: 0.4;
            }
}

@media (max-width: 56.25rem) and (max-height: 46.875rem) {
            section div.frame .logoPicto {
                --logoPictoMargin: 0.3%;
                --logoPictoZoom: 0.3;
            }

            section div.frame .logoText {
                --logoTextMargin: 0.4%;
                --logoTextZoom: 0.4;
            }
}

@media (max-height: 59.375rem) and (min-width: 56.3125rem) {
            section div.frame .logoPicto {
                --logoPictoZoom: 0.75;
            }

            section div.frame .logoText {
                --logoTextZoom: 0.75;
            }
}

@media (max-height: 46.875rem) and (min-width: 56.3125rem) {
            section div.frame .logoPicto {
                --logoPictoMargin: 1.5%;
                --logoPictoZoom: 0.6;
            }

            section div.frame .logoText {
                --logoTextMargin: 1.8%;
                --logoTextZoom: 0.6;
            }
}

@media (max-height: 36.25rem) and (min-width: 56.3125rem) {
            section div.frame .logoPicto {
                --logoPictoMargin: 0.9%;
                --logoPictoZoom: 0.5;
            }

            section div.frame .logoText {
                --logoTextMargin: 1.3%;
                --logoTextZoom: 0.5;
            }
}

.no-controls {
    pointer-events: none;
}