@fond: #2D2F34;
@fond-footer: darken(@fond, 3%);
@fond-option-hover: lighten(@fond, 10%);
@texte-secondaire: #9DA3B0;
@texte-principal: white;
@couleur-lien: white;
@couleur-principale: red;

.texte-secondaire {
	color: @texte-secondaire;
}

::selection {
	color: @fond;
	background-color: @texte-principal;
}

.boutton {
	border: 2px solid grey;
	padding: 10px;
	margin: 5px;
	display: inline-block;
	border-radius: 14px;
	color: @texte-principal;
	text-decoration: none;

	&:hover {
		color: @couleur-principale;
		border: 2px solid @couleur-principale;
	}

}

html {
	font-size: 20px;
	scrollbar-color: @texte-principal @fond;
	scrollbar-width: auto;
}

@media all and (max-width: 640px) {

	html {
		font-size: 13px;
	}

}

a {
	text-decoration: underline;
	color: @couleur-lien;
	transition: all 0.1s linear;

	&:hover {
		text-decoration: none;
		color: @couleur-principale;
	}

}

.logo {
	margin-bottom: 10px;
}

#img404 {
	padding-top: 10px;
	padding-bottom: 30px;
	width: 40%;
	@media (max-width: 1300px) {
		width: 766px;
	}
}

#page404 {
	text-align: center;
}



body, code {
	font-family: "Ubuntu", sans-serif;
	padding: 0px;
	margin: 0px;
	background-color: @fond;
	color: @texte-principal;
	font-size: 25px;
	line-height: 35px;
}

address {
	font-style: normal;
}

.grille-services {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 30px;
	padding-top: 30px;

	@media (max-width: 1500px) {
    grid-template-columns: 1fr 1fr 1fr;
  }

	@media (max-width: 1000px) {
    grid-template-columns: 1fr 1fr;
  }

	@media (max-width: 600px) {
    grid-template-columns: 1fr;
  }

}

.zoneLien {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.lienService:link {
	padding: 20px;
	border: 2px #2D2F34 solid;
	border-radius: 16px;
	transition: border 0.2s linear;
	color: white;
	text-decoration: none;
	display: block;
	padding-bottom: 10px;
	margin-bottom: 10px;
	&:hover {
		border: 2px white solid;
	}
}

.themeService {
	text-align: center;
	font-size: 0.8em;
}

.titreService {
	font-size: 1.3em;
	text-align: center;
}

.urlService {
	margin-top: -6px;
	font-size: 0.8em;
	color: grey;
	text-align: center;
}

.metaService {
	text-decoration: none;
}

.metasService {
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-size: 0.8em;
}

.logoService {
	text-align: center;
}

.elLogoServ {
	max-width: 150px;
	max-height: 100px;
	color: white;
}

.descService {
	padding-top: 5px;
	padding-bottom: 10px;
	text-align: left;
}

main {
	margin: 0px;
	margin-top: 30px;
	margin-left: 30px;
	margin-bottom: 50px;
	margin-right: 30px;
}

.centre {
	text-align: center;
	justify-content: center;
}

// FOOTER

.textefooter {
	margin: 10px;
	line-height: 1.5em;
	width: 60%;
	padding-left: 20px;
	padding-right: 20px;
}

.interlude {
	display: flex;
	justify-content: center;
}

.traitinterlude {
	border-top: 2px gray dashed;
	width: 650px;
}

.basfooter {
	display: flex;
	justify-content: space-around;
	margin-top: 30px;
	margin-bottom: 20px;
}

.corps {
	text-align: center;
}

footer {
	text-align: center;
	background-color: @fond-footer;
	display: flex;
	flex-direction: column;
}

.logofooter {
	padding-left: 6%;
	margin-top: 20px;
	text-align: center;
}

.ant {
	background-color: @fond-footer;
	background-image: url(img/antpetitgris.png);
	background-repeat: no-repeat;
	background-position: center top;
	display: inline-block;
	text-decoration: none;
	min-width: 264px;
	min-height: 80px;
}

.ant:hover {
	background-image: url(img/antpetit.png);
}

.liensfooter {
	display: flex;
	flex-direction: row;
	padding: 20px;
}

.lienfooter {
	margin: 10px;
}

#pres {
	text-align: center;
	line-height: 40px;
	margin-left: 100px;
	margin-right: 100px;

	@media (max-width: 1400px) {
		margin-left: 0px;
		margin-right: 0px;
	}
}

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

#header {
	margin: 0px;
	border: 3px white solid;
	border-top: none;
	border-radius: 0px 0px 12px 12px;
	text-align: center;
	font-size: 2em;
	display: flex;
	justify-content: center;
	padding: 30px;
	padding-bottom: 20px;
	margin-left: 35px;
	margin-right: 35px;

	@media (max-width: 600px) {
		border: none;
		padding: 0px;
		margin-top: 20px;
		margin-left: 20px;
		margin-right: 20px;
	}
}

header {
	display: flex;
	justify-content: center;
}


#header:active {
	box-shadow: 2px 2px 3px white inset;

}

#header:hover {
	background-color: @fond-option-hover;
  transition: all 0.2s ease-in-out;
	@media (max-width: 600px) {
		background-color: inherit;
	}
}


// ----- TITRES -----

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 100%;
}

h1 {
	font-size: 250%;
	text-align: center;
}

h2 {
	font-size: 200%;
}

h3 {
	font-size: 160%;
}

h4 {
	font-size: 140%;
}

h5 {
	font-size: 125%;
}

h6 {
	font-size: 110%;
}

#LRI {
	color: pink !important;
	aime: "les pizza ananas-champignons";
	width: 200px;
	position: absolute;
	top: 10px;
	left: 10px;
	@media (max-width: 1300px) {
		width: 60px;
		position: absolute;
		top: 2px;
		left: 2px;
	}
	@media (max-width: 1000px) {
		width: 32px;
		position: absolute;
		top: 2px;
		left: 2px;
	}
}

.gomeza {
	display: none; // Sera changé le moment voulu en JS
	position: fixed;
	bottom: 0px;
	left: 30px;
	z-index: 100;
}

@media (max-width: 800px) {

	.basfooter {
		flex-direction: column;
	}

	.textefooter {
		width: auto;
		margin: 4%;
		margin-bottom: 0px;
	}

	.logofooter {
		padding: 0px;
	}

	.traitinterlude {
		width: 80%;
	}
}

@media (max-width: 500px) {
	.textefooter {
		padding-left: 8%;
		padding-right: 8%;
		margin: 0px;
	}

	.liensfooter {
		flex-direction: column;
	}
}
