h1, h2, h3, h4, p, a, li {
    font-family: "DM Sans", sans-serif;
}
h1 {
    font-size: 5.6rem;
    font-weight: 700;
    letter-spacing: unset;
    line-height: 1.1;
}
h2{
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: unset;
    line-height: 1.1;
}
h3{
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: unset;
    line-height: 1.1;
}
h4{
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: unset;
    line-height: 1.1;
}

p {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6!important;
    margin-bottom: 1.5rem;
}
a {
    color: #323232;
    text-decoration: none;
}
.black-section {
    background-color: #000;
    color: #fff;
}
.white-section {
    background-color: #fff;
    color: #323232;
}
.active {
    opacity: 1!important;
}





/* === navbar === */
.navbar{
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99;
    padding-left: 5rem;
    padding-right: 5rem;
    font-size: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    transition: all 0.3s ease-in-out;
    /* Annuler transition sur la box-shadow */
    transition-property: background, padding-top, padding-bottom, font-size;
}
.navbar-brand{
    font-size: 2.5rem;
    padding: 0;
}
nav.scrolled {
    /* Modifier les propriétés CSS lorsque la classe "scrolled" est ajoutée */
    background: linear-gradient(to right, #433533, #1c1716);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    font-size: .875rem;
    /* Ajouter une transition pour la hauteur de la barre de navigation et la boîte d'ombre */
    transition: all 0.3s ease-in-out;
}
.navbar-brand.scrolled{
    font-size: 1.8rem;
    transition: all 0.3s ease-in-out;
}
.navbar-nav.scrolled{
	padding-top: unset;
	padding-bottom: unset;
}

.navbar-nav .nav-link {
    padding-top: 0.5rem;
    padding-bottom: unset;
}
.nav-link{
    font-weight: 500;
    color: #ffffff;
    --bs-navbar-nav-link-padding-x: 0.3rem;
    margin-left: 1.6rem;
    margin-right: 1.6rem;
}

.nav-item:hover{
    transition: all 0.3s ease-in-out;
}
.hover-underline-animation {
    position: relative;
}
.hover-underline-animation:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #323232;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.nav-item:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.navbar-logo{
    width: auto;
    height: 50px;
}


/* === Burger Menu Icon mobile === */
.burger {
	margin: 5px;
	position: relative;
	width: 35px;
	height: 26.25px;
	background: transparent;
	cursor: pointer;
	justify-content: right;
}
.burger input {
	display: none;
}
.burger span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: white;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}
.burger span:nth-of-type(1) {
	width: 35px;
	top: 0px;
	transform-origin: left center;
}
  
.burger span:nth-of-type(2) {
	width: 25px;
	top: 50%;
	transform: translateY(-50%);
	transform-origin: left center;
} 
.burger span:nth-of-type(3) {
	width: 15px;
	top: 100%;
	transform-origin: left center;
	transform: translateY(-100%);
}
.burger input:checked ~ span:nth-of-type(1) {
	width: 35px;
	transform: rotate(45deg);
	top: 0px;
	left: 5px;
}
.burger input:checked ~ span:nth-of-type(2) {
	width: 0%;
	opacity: 0;
}
.burger input:checked ~ span:nth-of-type(3) {
	width: 35px;
	transform: rotate(-45deg);
	top: 24.72px;
	left: 5px;
}






/* android navbar */
.android-navbar{
    opacity: 0;
    pointer-events: none;
    position: fixed;
    bottom: 0;
    /* placer au milieu */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 1%;
    background: hsla(0, 0%, 0%, 0.6);
    /* fond flou et semi transparent */
    backdrop-filter: blur(5px);

    z-index: 99;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 45%, 0.6);
    /*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);*/
    padding: 0.8rem 0.8rem;
    transition: opacity 0.3s ease-out;
}
.active{
    opacity: 1;
    pointer-events: auto;
}
.nav-container{
    flex-direction: row!important;
}
.a-container{
    display: flex;
    padding-left: 4px;
    padding-right: 4px;
}
.navbar-logo{
    width: auto;
    height: 50px;
}
.white-svg path{
    fill: #fff!important;
}
/* === Img menu And Text hover === */
.icon-1{
	display: block!important;
}
.icon-2{
	display: none!important;
	/* transition: display 0.3s ease-in-out; */
}
.active-icon{
    display: block!important;
}
.deactive-icon{
    display: none!important;
}
.a-container:hover .icon-1{
	display: none!important;
}
.a-container:hover .icon-2{
	display: block!important;
}

/* === SVG icons android navbar === */
.svg-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: white; /* Définit la couleur */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.svg-icon path {
    fill: #fff;
}
.home-svg {
    -webkit-mask-image: url("/public/icons/rc/home-1.svg");
    mask-image: url("/public/icons/rc/home-1.svg");
}
.home-2-svg {
    -webkit-mask-image: url("/public/icons/rc/home-2.svg");
    mask-image: url("/public/icons/rc/home-2.svg");
}
.document-svg {
    -webkit-mask-image: url("/public/icons/rc/document-1.svg");
    mask-image: url("/public/icons/rc/document-1.svg");
}
.document-2-svg {
    -webkit-mask-image: url("/public/icons/rc/document-2.svg");
    mask-image: url("/public/icons/rc/document-2.svg");
}
.cube-svg {
    -webkit-mask-image: url("/public/icons/rc/cube-1.svg");
    mask-image: url("/public/icons/rc/cube-1.svg");
}
.cube-2-svg {
    -webkit-mask-image: url("/public/icons/rc/cube-2.svg");
    mask-image: url("/public/icons/rc/cube-2.svg");
}
.pencil-svg {
    -webkit-mask-image: url("/public/icons/pencil-1.svg");
    mask-image: url("/public/icons/rc/pencil-1.svg");
}
.pencil-2-svg {
    -webkit-mask-image: url("/public/icons/pencil-2.svg");
    mask-image: url("/public/icons/rc/pencil-2.svg");
}
.clapperboard-play-svg {
    -webkit-mask-image: url("/public/icons/rc/clapperboard-play-1.svg");
    mask-image: url("/public/icons/rc/clapperboard-play-1.svg");
}
.clapperboard-play-2-svg {
    -webkit-mask-image: url("/public/icons/rc/clapperboard-play-2.svg");
    mask-image: url("/public/icons/rc/clapperboard-play-2.svg");
}
.table-layout-svg {
    -webkit-mask-image: url("/public/icons/rc/table-layout-1.svg");
    mask-image: url("/public/icons/rc/table-layout-1.svg");
}
.table-layout-2-svg {
    -webkit-mask-image: url("/public/icons/rc/table-layout-2.svg");
    mask-image: url("/public/icons/rc/table-layout-2.svg");
}








/* === Scroll To Top Button === */
.scroll-to-top-btn {
    z-index: 4;
    transform-origin: left top;
    transform: rotate(-90deg) translate(-50%, 0);
    /*left: 4vh;*/
    left: 1.5vh;
    position: fixed;
    top: 50%;
    /*min-height: 3.5rem;*/
    display: inline-flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.scroll-to-top-bar {
    width: 5rem;
    height: .15rem;
    margin-right: 1rem;
    position: relative;
}


.scroll-to-top-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: currentColor;
    opacity: .25;
}
.scroll-track {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-color: currentColor;
}
.scroll-to-top-holder {
    font-weight: 600;
    font-family: "DM Sans", sans-serif;
}


/* === Social Media === */
.social-link-container {
    z-index: 4;
    transform-origin: right bottom;
    transform: rotate(-90deg) translate(+50%, 0);
    /*left: 4vh;*/
    right: 1.5vh;
    position: fixed;
    top: 50%;
    /*min-height: 3.5rem;*/
    display: inline-flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    margin: 0;
    gap: 1rem;
}
.social-link-container li{
    list-style: none;
}
.social-link-item {
    transform: rotate(90deg);
    line-height: 1;
    display: block;
}
.social-link-item {
    font-size: 1.2rem;
    color: #000;
    transition: color 0.3s;
}
.separation-line {
    height: .15rem;
    width: 5rem;
    background-color: #000;
    margin: 0 auto;
    margin-right: 1rem;
}
.social-text {
    /*transform: rotate(-90deg);*/
    font-weight: 600;
    font-family: "DM Sans", sans-serif;
    margin-left: 1rem;
}
.social-link-container .fi {
    transform: rotate(90deg);
    rotate: 90deg;
}


footer {
    padding-top: 3rem;
}
.footer-hr {
    border-top: 1px dashed #323232;
}
.footer-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.footer-column {
    padding-left: 5rem;
    padding-right: 5rem;
}
.footer-title{
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: unset;
    line-height: 1.1;
}
.footer-link {
    font-weight: 600;
    color: #323232;
    transition: all 0.3s ease-in-out;
}
.footer-link:hover {
    color: #000;
}
.footer-link:hover .right-arrow {
    transform: translateX(0.5rem);
    transition: all 0.3s ease-in-out;
}
.footer-logo {
    width: 100px;
    height: auto;
}




@media screen and (min-width: 1024px) {
    body {
        cursor: none !important;
    }
    .custom-cursor {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        transition: width 0.3s,height 0.3s, border-color 0.3s, opacity 0.3s;
        z-index: 999;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        left: 0;
        /* rendre plus visible */
        /*background-color: #b3eaf127;*/
        filter: drop-shadow(0 0 2px #eeeeee);
        mix-blend-mode: difference; /* Appliquer un mélange de différences */
        filter: grayscale(1); /* Inversion et passage en noir et blanc */
    }
    .select-cursor{
        width: 50px;
        height: 50px;
        border: 3px solid #ffffff;
        transition: width 0.3s,height 0.3s, border-color 0.3s, opacity 0.3s;
        cursor: none!important;
    }
    /* Ajout de cette ligne pour masquer le curseur de base */
    button:hover, a:hover, input, textarea, [type=submit]:not(:disabled), a:-webkit-any-link {
        cursor: none!important;
    }
    .custom-cursor.large-cursor {
        display: none;
    }
}




@media screen and (max-width: 768px) {
    h1 {
        font-size: 3rem!important;
    }
    h2 {
        font-size: 2.5rem!important;
    }
    h3 {
        font-size: 1.8rem!important;
    }
    h4 {
        font-size: 1.5rem!important;
    }
    .navbar{
        position: fixed;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		padding-left: 1rem;
		padding-right: 1rem;
        background-color: #0a0a0a;
	}
    .android-navbar{
        margin-bottom: 2%;
    }
    .a-container{
        padding-left: 8px;
        padding-right: 8px;
    }
    .navbar-logo{
        width: auto;
        height: 40px;
    }
    .navbar-toggler {
        border: none;
        border-radius: unset;
    }
    .navbar-toggler:focus {
        box-shadow : none;
    }
    .navbar-collapse {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .scroll-to-top-btn {
        left: 0;
    }
    .social-link-container {
        right: 0;
    }
    .social-text {
        width:100px
    }

    .footer-row {
        margin-left: 0;
        margin-right: 0;
        gap: 4rem;
    }
    .footer-column {
        padding-left: 0;
        padding-right: 0rem;
    }
    .last-footer-column {
        text-align: center;
    }
    .footer-title {
        font-size: 1.5rem;
    }

}






/* ========== Scroll Bar ========== */
/* Style de la barre de défilement principale */
::-webkit-scrollbar {
    width: 16px; /* Largeur de la barre de défilement */    
}

/* Style de la poignée (thumb) de la barre de défilement */
::-webkit-scrollbar-thumb {
    background-color: #c2c2c2; /* Couleur de la poignée */
    /* border-radius: 10px; */ /* Bordures arrondies de la poignée */
    width: 5px; /* Largeur de la poignée de défilement */
    box-shadow: inset 0 0 0 7px #0a0a0a; /* Utilisation de box-shadow pour masquer une partie de la poignée */
}
::-webkit-scrollbar-thumb:hover{
    background-color: #b3eaf1;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 0 0 5px #0a0a0a;
}  
/* Style de la piste (track) de la barre de défilement */
::-webkit-scrollbar-track {
    background-color: #0a0a0a; /* Couleur de la piste */
}
/* Style de la poignée (thumb) de la barre de défilement au survol */
::-webkit-scrollbar-thumb:hover {
    background-color: #b3eaf1; /* Couleur de la poignée au survol */
}