/*GLOBAL ----------------------------*/
/*------------------------------------*/

* {
	padding:0;
	margin:0;
}

@media screen and (max-width: 768px) {
	
	html {
	    font-size: 12px;
	    line-height:13px;
	}

	body, button, input {
    	font-family: 'Akkurat-Normal', sans-serif;
	}
}


@media (min-width: 769px) and (max-width: 1080px) {
	
	html {
	    font-size: 12px;
	    line-height:13px;
	}

	body, button, input {
	    font-family: 'Akkurat-Light', sans-serif;
	}
}

@media (min-width: 1081px) {
	
	html {
	    font-size: 12px;
	    line-height:13px;
	}

	body, button, input {
	    font-family: 'Akkurat-Light', sans-serif;
	}
}



body{
	background-color: var(--color-third);
    overflow-x:hidden;
    color:var(--color-main);
	height:112vh;
}

@font-face { 
    font-family: 'SimplonBPMono-Regular';
    src: url('../fontes/SimplonBPMono/SimplonBPMono-Regular.otf') format('opentype');
}

@font-face { 
    font-family: 'Akkurat-Light';
    src: url('../fontes/Akkurat-Light/Akkurat-Light.otf') format('opentype');
}

@font-face { 
    font-family: 'Akkurat-Normal';
    src: url('../fontes/Akkurat-Normal/Akkurat-Normal.otf') format('opentype');
}


::-webkit-scrollbar {
    width: 0px;
    background-color: var(--color-second);
    height:0px;
}

::-webkit-scrollbar-thumb {
    width: 0px;
    background-color: var(--color-main);
    border-radius: 0px;
}

/*VARIABLES --------------------------*/
/*------------------------------------*/

:root{
	--color-main:#635533;
	--color-second:#aa906a;
	--color-third:#f6f7f9;
	--color-fourth:white;
	--spacing-underline: 10px;
	--spacing-small-h: 1vh;
	--spacing-medium-h: 2vh;
	--spacing-big-h: 4vh;
	--spacing-small-w: 1vw;
	--spacing-medium-w: 2vw;
	--spacing-big-w: 3vw;
	--text-small-d: 0.9rem;
	--text-normal-d: 1rem;
	--text-medium-d: 1.25rem;
	--text-big-d: 3rem;
}

/*TYPOGRAPHIE ------------------------*/
/*------------------------------------*/
a{
    color:var(--color-main);
 	text-decoration: none;
}

a:hover{
    color:var(--color-second);
 	cursor:pointer;
}

h1{
    font-size:var(--text-big-d);
    line-height:1em;
    font-weight:normal;
}

h2{
    font-size:calc(var(--text-big-d) / 1.5);
    line-height: calc(var(--text-big-d) / 1.5) ;
}

h3{
    font-size:var(--text-medium-d);
}

button{
    padding:1vh 2vh;
    border-radius:0;
    border: 1px solid var(--color-main);
    outline:none;
    color:var(--color-main);
  	background-color: transparent !important;
    text-transform:uppercase;
    cursor:pointer;
    font-size:var(--text-medium-d);
}

input{
    font-size:var(--text-normal-d);
}

button:hover{
    border: 1px solid var(--color-second);
    color:var(--color-second);
}

.carousel-button:hover{
    border: none;
}

/*MAIN -------------------------------*/
/*------------------------------------*/

main{
	display:flex;
	flex-direction:column;
}

.content{
	background-color: var(--color-fourth);
}

/*HEADER -----------------------------*/
/*------------------------------------*/

header{
	position:sticky;
	padding:3vh 1.5vw;
	top:0;
	width:calc(100vw - 3vw);
	text-transform:uppercase;
	z-index:2;
	height:2vh;
	z-index:5;
}

header nav{
	display:flex;
	flex-direction:row;
	justify-content: space-between;
}

header nav div{
	display:flex;
	flex-direction:row;
}

.nav-global .nav-links a,
.nav-global .nav-cart .link-cart{
	margin-left:var(--spacing-small-w);
	height:fit-content;
}

header nav div svg{ 
	width:80%;
	position:relative;
	fill: var(--color-main);
}

#button-menu{
	display:none;
}



/*SECTION ----------------------------*/
/*------------------------------------*/

section{
	background-color: var(--color-fourth);
	position:relative;
	top:0;
	left:0;
	padding:7vh 1.5vw 9vh 1.5vw;
	min-height:76vh;
	width:calc(100vw - 3vw);
	z-index:1;
}


/*FOOTER -----------------------------*/
/*------------------------------------*/

footer{
	background-color:var(--color-third);
	position:relative;
	padding:5.5vh 1.5vw 1.5vh 1.5vw;
	width:calc(100vw - 3vw);
	display:flex;
	text-transform:uppercase;
	justify-content: center;
	align-items: center;
	height:5vh;
	z-index:3;
}

footer a{
	margin:0 1.5vw;
}

/*CHARGEMENT DES IMAGES --------------*/
/*------------------------------------*/

.fade-in {
   opacity: 0;
}

.fade-in-active {
   opacity: 1;
   transition: opacity 0.5s ease;
}





@media screen and (max-width: 1080px) {

	body{
		height:auto;
		background-color: var(--color-fourth);
	}

	.content {
	  	height: calc(var(--real-vh, 1vh) * 100);
	  	display: flex;
	  	flex-direction: column;
	}

	section {
		width:calc(100vw - 5vw);
		flex:1;
  		padding: 4vh 2.5vw;
	}

}

@media screen and (max-width: 768px) {

	header{
		height: auto;
  		padding: 2vh 2.5vw;
		width:calc(100vw - 5vw);
		background-color: var(--color-fourth);
		background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
	}


	header nav div svg{ 
		position:relative;
		height:auto;
		position:relative;
		fill: var(--color-main);
		width:250px;
		height:16px;
	}


	header nav .nav-global {
		flex-wrap: nowrap;
		justify-content: flex-end;
	}

	.nav-global .nav-links a,
	.nav-global .nav-cart a{
		margin-left:0;
	}

	header nav .nav-global .nav-cart{
		order:1;
		text-align: right;
		justify-content: flex-end;
		width:50%;
	}


	header nav .nav-global .nav-links{
		order:3;
		display:flex;
		margin-top:0.9vh;
		flex-direction:column;
		position:absolute;
		top:4vh;
		right:2.5vw;
	}

	#button-menu{
		display:flex;
		justify-content: flex-end;
		order:2;
		text-align: right;
		margin-left:var(--spacing-small-w);
	}

	#button-menu a{
		text-align: right;	
	}

	header nav .nav-global .nav-links a{
		margin:0 0 0.9vh 0;

	}

	.links{
		visibility:hidden;
	}

	footer{
		flex-direction:column;
		justify-content: flex-start;
		align-items: flex-start;
		width:calc(100vw - 5vw);
		padding:2vh 2.5vw;
		height:auto;
	}

	footer a{
		margin:0 0 0.75vh 0;
	}

}

@media (min-width: 769px) and (max-width: 1080px) {
	

	header{
		background-color: var(--color-fourth);
		background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
	}

}

@media (min-width: 1081px) {

}

