:root {
    --max-width: 1340px;
    --min-margin: 3rem;
    --dynamic-width: min(var(--max-width), calc(100% -(2* var(--min-margin))));
    --dynamic-margin: max(calc(50% - 0.5* var(--max-width)), var(--min-margin));
} 

/*
 *
 * INITIALISATION 
 *
 */

html, body{
    width : 100%;
    overflow: hidden;
    overflow-y: auto;
}

header .elementor-widget-image a img[src$=".svg"]{
    width: auto;
}

footer .elementor-widget-image a img[src$=".svg"]{
    width: auto;
}


/* DISPLAY NONE */
.d-none{
    display: none!important;
}

@media screen and (min-width:768px){
    .d-sm-only{
        display: none!important;
    }
}

@media screen and (max-width:767px){
    .d-sm-none{
        display: none!important;
    }
}

@media screen and (min-width:1024px){
    .d-md-only{
        display: none!important;
    }
}

@media screen and (max-width:1023px){
    .d-md-none{
        display: none!important;
    }
}

@media screen and (min-width:1200px){
    .d-lg-only{
        display: none!important;
    }
}

@media screen and (max-width:1199px){
    .d-lg-none{
        display: none!important;
    }
}

/* RECAPTCHA */
.grecaptcha-badge{
	display : none!important;
	opacity : 0;
	z-index : -99999;
}

/*
 *
 * GENERAL 
 *
 */


/* Full height */
.full-height{
    height: 100%!important;
}

/* Offset left wrapper */
@media screen and (min-width:768px){
    .offset-left-wrapper{
        position: relative;
        padding-left: var(--dynamic-margin);
    }
}

/* Background image & squared background image */
.background-img, .squared-img{
    position: relative;
}

.background-img:before, .squared-img:before{
    z-index: 2;
}

.squared-img{
    aspect-ratio: 1 / 1;
}

.squared-img > div, .background-img > div{
    position: static;
}

.squared-img img, .background-img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    object-position: center;
    min-height: 100%;
}

.squared-img.top img, .background-img.top img{
    object-position: center top;
}

.squared-img.bottom img, .background-img.bottom img{
    object-position: center bottom;
}

@media screen and (max-width:767px){
    .background-img.full-height, .squared-img.full-height{
        height: auto!important;
    }
}

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

/* Background */
.bg.light-gradient{
    background: #F7F7F7;
    background: linear-gradient(180deg,rgba(247, 247, 247, 1) 0%, rgba(247, 247, 247, 1) 15rem, rgba(255, 255, 255, 1) 15rem, rgba(255, 255, 255, 1) 100%);
}

/* HOME */

@media screen and (max-width:880px){
    .home .e-n-menu .e-n-menu-title{
        white-space: wrap!important;
    }
	
	.home .e-n-menu .e-n-menu-item a{
        padding: 2rem 1rem!important;
    }
	
	
}

/* HERO */

/* Hero Home */
.home #hero-container{
    position: relative;
}

.home #hero-container:before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width : 1.5rem;
    background-color: var(--e-global-color-primary);
    height: 40%;
}

@media screen and (max-width:1366px) and (min-width:1025px){
    .home #hero-container:before{
        height: 30%;
    }
}

@media screen and (max-width:1200px){
    .home #hero-container:before{
        width : 1rem;
    }
}

@media screen and (max-width:1024px) and (min-width:881px){
    .home #hero-container:before{
        height: 35%;
    }
}

@media screen and (max-width:880px) and (min-width:768px){
    .home #hero-container:before{
        height: 35%;
    }
}


.script{
    font-family: "absolute-beauty", sans-serif;
}

/* LOGO TEXTE */
#logo-texte{
    line-height: .9;
}

#logo-texte #prenom{
    letter-spacing: 2px;
    font-size: 3.9rem;
}

#logo-texte [id^="nom"]{
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: bold;
}

#logo-texte .color{
    color : var(--e-global-color-primary);
}

#logo-texte #nom-1{
    font-size: 8.9rem;
}

#logo-texte #nom-2{
    font-size: 7.5rem;
}

@media screen and (max-width:1024px) and (min-width:881px){
    #logo-texte #prenom{
        font-size: 2.9rem;
    }

    #logo-texte #nom-1{
        font-size: 6.8rem;
    }

    #logo-texte #nom-2{
        font-size: 5.65rem;
    }
}

@media screen and (max-width:880px) and (min-width:768px){
    #logo-texte #prenom{
        font-size: 2.5rem;
    }

    #logo-texte #nom-1{
        font-size: 5.8rem;
    }

    #logo-texte #nom-2{
        font-size: 4.65rem;
    }
}

@media screen and (max-width:767px) and (min-width:576px){
    #logo-texte #prenom{
        font-size: 2rem;
    }

    #logo-texte #nom-1{
        font-size: 4.7rem;
    }

    #logo-texte #nom-2{
        font-size: 3.9rem;
    }
}

@media screen and (max-width:575px){
    #logo-texte #prenom{
        font-size: 1.5rem;
    }

    #logo-texte #nom-1{
        font-size: 3.62rem;
    }

    #logo-texte #nom-2{
        font-size: 3rem;
    }
}

/*
 *
 * HEADER 
 *
 */

#main-header{
    position: fixed;
    transition: all .3s ease;
    z-index: 10;
}

#main-header .elementor-widget-theme-site-logo{
    transition: all .3s ease;
}

/* STICKED */
#main-header .elementor-widget-image {
	z-index: 3;
}

#main-header.sticked{
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 5;
    padding-top : 0!important;
	transform : translateY(-200%);
	transition : transform .3s ease;
}

#main-header.sticked.active{
	transform : translateY(0);
}

#main-header li a span.d-sm-none{
    padding-right : 0.3rem;
}

/*
 *
 * MAIN MENU 
 *
 */

#main-menu .e-n-menu-wrapper{
    opacity: 0;
    transition: .3s all ease;
    pointer-events: none;
}

#main-menu .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: 25;
    background-color: rgb(255, 255, 255);
    display: flex;
    padding: 4rem;
    justify-content: center;
    opacity: 1; 
    pointer-events: all;
}

#main-menu .e-n-menu-wrapper .e-n-menu-item a{
    margin: auto;
}

/* Menu Home */
#home-menu .e-n-menu-heading .e-n-menu-item{
    width: 33.33%;
    padding: 0;
}

#home-menu .e-n-menu-heading li.e-n-menu-item > div{
    padding: 0;
}

#home-menu .e-n-menu-heading .e-n-menu-item a{
    display: inline-block;
    width: 100%;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

#home-menu .e-n-menu-heading .e-n-menu-item:nth-child(1){
    background-color: var(--e-global-color-accent);
}

#home-menu .e-n-menu-heading .e-n-menu-item:nth-child(2){
    background-color: var(--e-global-color-secondary);
}

#home-menu .e-n-menu-heading .e-n-menu-item:nth-child(3){
    background-color: var(--e-global-color-primary);
}

/* Background Carousel */
.background-carousel .swiper-slide div{
    height: 100%;
}

.background-carousel .swiper-wrapper{
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

/*
 *
 * CONTACT 
 *
 */

.elementor-field-group-rgpd_texte{
    margin-top : 1rem;
    margin-bottom: 1rem;
}

.elementor-field-group-rgpd_texte .elementor-field-option{
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top : 0.5rem;
}

.elementor-field-group-rgpd_texte .elementor-field-option label{
    line-height: 1.4;
    width: 90%!important;
    font-size : .9rem;
}