/*BEM method used in this file*/

/*Valeurs root utilisées comme variables*/


:root{
	--blue-color: 60, 147, 255;
	--red-color: 148, 41, 17;
	--yellow-color: 249, 187, 26;
	--black-color: 29,29,31;
	--white-color: 256,256,256;
	--grey-color: 63, 63, 63;
	--font-trueno: 'trueno-rg', sans-serif;
	--font-proxima: 'proxima_novaregular', sans-serif;
	--small-font-size:.75rem;
	--medium-font-size:1rem;
	--semilarge-font-size:1.5rem;
	--large-font-size: 2rem;
	--verylarge-font-size: 3em;

	--mobile-semilarge-font-size: 1.25rem;
	--mobile-large-font-size: 1.8rem;
	--mobile-verylarge-font-size: 2rem;

}

/*Classes réutilisables*/

.centrer{
	display: grid;
	justify-self: center;
	align-items: center;
	/*text-align: center;*/
}

.position-leftside{
	display: grid;
	justify-self: flex-start;
}

.position-centerside{
    display: grid;
    justify-self: center;
}

.position-rightside{
	display: grid;
	justify-self: flex-end;
}

/*Définir une taille de container/wrapper*/

.container__header{
	text-align: center;
}

.wrapper__header{
	display : inline-grid;
	max-width: 71.25em;
	padding: 0 1rem;
}

.wrapper__header div{
	overflow: hidden;
}

/*CSS des topheader du header*/

.container__topheader{
	display: inline-flex;
	justify-content: flex-end;
	background: rgba(var(--blue-color), .2);
	height: 3em;
	width: 100%;
}

.topheader__nav{
	padding: 0 2rem;
}

.topheader__nav ul{
	display: flex;
	gap: 1rem;

}

.topheader__nav a {
	font-size: .875rem;
}

/*Elements communs des nav topheader et bottomheader du header*/

.topheader__nav li, .bottomheader__nav li, .bottomheader__nav ul{
	display: inline-flex;
}

.topheader__nav a, .bottomheader__nav a{
	color: rgb(var(--black-color));
	text-decoration: none;
	font-family: var(--font-trueno);
}



/*CSS des nav bottomheader du header*/

.container__bottomheader{
	grid-template-columns: 1fr 3fr 1fr;
	align-items: center;
	width: 100%;
	height: 9em;
	gap: 5%;
}


.bottomheader__nav ul{
	background-color: rgb(var(--black-color),0.02);
	align-items: center;
}

.bottomheader__nav li{
	text-align: center;
}


.bottomheader__nav a{
	color: rgb(var(--black-color), .5);
	padding: .3rem 1.5rem;
	font-size: var(--small-font-size);

}

.bottomheader__nav a:hover{
	color: rgb(var(--white-color), 1);
	background-color: rgba(var(--black-color), 5);
	border-radius: 30px;

}

.medium-bottomheader__nav{
	display: none;
}



/*CSS du bouton "nous contacter" */


.bottomheader__nav ul {
	border-radius: 30px;
	height: 3.5em;

}

.bottomheader_button a{
    
    font-family: var(--font-trueno);
	padding: 1em 1.5rem;
	color: rgb(var(--grey-color));
	text-decoration: none;
	background-color: rgb(var(--white-color));
	margin: 2em 1em;
	box-shadow: 0px 0px 1em rgba(var(--black-color), .08);
	border-radius: 30px;
}

.bottomheader_button a:hover{
	box-shadow: 0px 0px 1em rgba(var(--black-color), .2);
	cursor: pointer;
}

.bottomheader__callbutton_mobile, .bottomheader__togglebutton_mobile{
	display: none;
}




/*CSS pour le header de l'outil*/


.toolbottomheader_button img{
    margin-right: .5em;
}

.toolbottomheader_grid{
    grid-template-columns: 1fr 1fr 1fr;

}


.position-centerside label{
    font-family: var(--font-trueno);
    
}

/*Définir les breakpoints*/

/* Medium devices such as tablets (860 and down) */
@media only screen and (max-width: 53.75rem) {
    
    .bottomheader__callbutton_mobile{
        display: flex;
    }

	.wrapper__header, .medium-container__bottomheader{
		width: 90vw;
	}

 
	.container__bottomheader{
		grid-template-columns: 1fr 1fr;
		height: 5em;
		/*display: grid;*/
		
	}

	.bottomheader_button{
		display: flex;
		gap: 1rem;
	
	}

	.bottomheader_button button{
		background-color: transparent;
		border: none;
		padding: 0;
		
	}
	.bottomheader_button button:hover{
		background: none;
		border: none;
		cursor: pointer;
	}

	/*bouton pour contacter*/
	.bottomheader__callbutton_desktop, .bottomheader__nav{
		display: none;

	}

	.bottomheader__callbutton_mobile, .bottomheader__togglebutton_mobile{
		display: contents;
	}
	
	.medium-container__bottomheader{
		height: 0em;

	}

	.medium-bottomheader__nav ul{
		padding: 1em;
		background-color: rgba(var(--black-color), .75);
		border-radius: 10px;
	}

	.medium-bottomheader__nav li{
		text-align: start;
		padding: .2rem .4rem;
		
  	}

  	.medium-bottomheader__nav li:active{
		background-color: rgb(var(--white-color));
		border-radius: 10px;
  	}

	.medium-bottomheader__nav a{
		text-decoration: none;
		color: rgb(var(--white-color));
		font-family: var(--font-trueno);
 	 }

	.medium-bottomheader__nav a:active{
		color: rgb(var(--black-color));

	}
	
	
	/*CSS pour la header de notre outil*/
	
	.toolbottomheader_button span{
	    display: none;
	}
	
	.toolbottomheader_button a{
	    border: none;
    	padding: 1rem;
    	box-shadow: none;
    	background-color: transparent;
	}
	
	.toolbottomheader_button img{
        margin:0;
    }

	
	.toolbottomheader_grid{
        grid-template-columns: 20vw 40vw 20vw;

    }
    
    .bottomheader__progressnav{
        width: 30vw;
    }

}

/* Large devices such as laptops (986px and down) */
@media only screen and (min-width: 53.75rem) {

	.bottomheader__logo img{
		width: 120px;
	}
	.bottomheader__nav a{
		font-size: var(--small-font-size);
	}

	.medium-bottomheader__nav li{
		display: none;
  	}
	
}

/* Large devices such as laptops (1140px and down) */
@media only screen and (min-width: 71.25rem) {

	.bottomheader__logo img{
		width: 150px;
	}
	.bottomheader__nav a{
		font-size: var(--medium-font-size);
	}

	.medium-bottomheader__nav li{
		display: none;
		
  	}

	
}

