body h1{
	font-size:3rem;
}
body h2 span{
	color:#e21617;
	font-size: 4.5rem;

}
body main h2{
	text-align: center;
    font-size: 4.5rem;
    width: 50%;
    line-height: 4.5rem;
    text-align: center;
    margin: 5vh auto 0;
    font-family:League Spartan;
}
header img{
	height:60%;
	margin:0 5vw;
}
body p.sous_titre {
    font-size: 2rem;
    width: 100%;
    text-align: center;
    margin-bottom: 2vh;
    margin-top: 4vh;
}
header{
	display: flex;
    width: 100%;
    height: max-content;
}
header nav{
	width: 100%;
	display:flex;
	justify-content: center;
	height:100%;
	align-items: center;
}
header .nav_fixed{
	position: fixed;
	left:0;
	width:100%;
	background:rgba(0,0,0,.8);
	height:6vh;
	backdrop-filter: blur(10px);
	transition:top .3s;
	top:-6vh;
	z-index: 5;
}
header .nav_fixed.visible{
	top:0;
}
header .nav_fixed ul {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .nav_fixed ul li {
    height: 100%;
}
header .nav_fixed *{
	opacity:.9;
}
header .nav_fixed ul li a {
    color: white;
    height:100%;
    display:flex;
    justify-content: center;
    align-items: center;
    transition:opacity .2s;
}
header .nav_fixed ul li a img{
	margin:0;
	opacity:1;
}
header nav ul{
	list-style: none;
	display:flex;
	padding:0;
	height:max-content;
}
header nav ul li a{
	text-decoration: none;
}

header .nav_header>a {
    height: max-content;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #191919;
    width: 5.5rem;
    margin: 0 8.5rem;
    justify-content: center;
    align-items: center;
}
header .nav_header>a h1 {
    flex-direction: column;
    display: flex;
    font-size: 1.6rem;
    margin-top: 0.5vh;
    text-align: center;
}
header .nav_header>a img{
    height: auto;
    width: 5.5rem;
    /* width: 20%; */
    margin: 1rem 5vw;
}
header .nav_header>a h1 span {
    font-size: 2.2rem;
    margin: 0;
    line-height: 2.5vh;
}

header .nav_header ul {
    /*position: absolute;
    top: 5rem;*/
    width: calc(50% - 22.5rem);
    /* margin: 0 auto; */
    text-align: center;
    display: flex;
    justify-content: center;
}

header .nav_header_left {
    right: calc(50% + 8rem);
}

header .nav_header_right {
    left: calc(50% + 8rem);
}

header .nav_header ul li a{
	color: #191919;
	border-bottom: solid 0px transparent;
    transition: border-color .2s, color .2s;
    font-size:1.6rem;
}
header .nav_header ul li a i{
	margin-right:5px;
}
header .nav_header ul li a:not(.to_account):hover, header .nav_header ul li a:not(.to_account).active{
	border-bottom: solid 2px #e21617;
}
header .nav_header ul li .to_account:hover, header .nav_header ul li .to_account.active{
	color:#e21617;
}
header .nav_fixed ul li a:hover, header .nav_fixed ul li a.visible{
	opacity:1;
}
header nav ul li{
	margin:0 2.5vw;
	height:max-content;
}

/* mobile */

.nav_mobile {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 99;
    pointer-events: none;
}

.nav_mobile img {
    width: 3rem;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    margin: 0;
    z-index: -1;
}

.nav_mobile .background {
    position: absolute;
    top: -8rem;
    left: 0;
    width: 100%;
    height: 8rem;
    background-color: white;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0);
    transition: .5s ease-in-out;
    z-index: -1;
}

.nav_mobile .background.visible {
    top: 0;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1);
}

.hamburger {
    width: 3rem;
    height: auto;
    overflow: visible;
    fill: #191919;
    position: absolute;
    top: 3rem;
    left: 4rem;
    pointer-events: all;
    z-index: 2;
}

.hamburger rect:nth-child(1), rect:nth-child(2), rect:nth-child(3) {
    transition: .5s cubic-bezier(.8, 0, .2, 1);
    transform-origin: 50px 35px;
}

.hamburger.open {
    fill: white;
}

.hamburger.open rect:nth-child(1) {
    transform: translateX(-20px) translateY(21px) rotate(45deg);
}

.hamburger.open rect:nth-child(2) {
    width: 100%;
    transform: rotate(-45deg);
}

.hamburger.open rect:nth-child(3) {
    width: 100%;
    transform: translateX(-20px) translateY(-21px) rotate(-45deg); 
}

#menu_mobile {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10rem 4rem;
    background-color: #191919;
    list-style: none;
    transform: translateX(-100%);
    transition: transform .5s cubic-bezier(.8, 0, .2, 1);
    justify-content: space-around;
    z-index: -1;
}

#menu_mobile.open {
    transform: none;
    pointer-events: all;
}

#menu_mobile li {
    padding: 1rem 0;
    font-size: 1.6rem;
    margin-left: calc(50% - 6rem);
    width: max-content;
    /* margin: 3%; */
}

#menu_mobile li a {
    color: white;
    transition: .3s ease-in-out;
}

#menu_mobile li a:hover {
    color: #e21617;
}

#menu_mobile i{
    margin-right:5px;
}

.link_lasuite {
    font-family: Cormorant Garamond;
    font-size: 2rem !important;
    font-weight: bold;
}

@media only screen and (max-width: 480px) {
    body main h2{
        font-size:3rem;
        line-height: 1.2em;
        width: calc(100% - 40px);
    }
    body main h2 span{
        font-size:3rem;
        line-height: 1.2em;
    }
}
@media (orientation: portrait) {
    body main{
        width:100%;
        padding:20px;
    }
    body:not(.footer_padding) main{
        padding:0;
    }
    .nav_header{
        display:none;
    }
    .nav_header ul{
        display:none;
    }
    .nav_fixed{
        display:none !important;
    }
    .nav_mobile{
        display:block;
    }
    body:not(.index_lasuite):not(.index_hub) main h2:not(.no_margintop){
        margin-top:10rem !important;
    }
}
