/*
Theme Name: ePrivacy
Theme URI: https://git.laquadrature.net/UneGrange/virage-citoyen
Author: Okhin & Oncela
Author URI: https://git.laquadrature.net/UneGrange/
Description: A basic themes used by La Quadrature du Net for simple advocating websites, mainly used with only one page.
Version: 1.0.6
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: blue, light, one-column, flexible-width, custom-header, custom-menu, one-page
Text Domain: lqdn-one

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@font-face {
    font-family: 'nimbus_sans_l';
    src: url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Reg-webfont.eot');
    src: url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Reg-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Reg-webfont.woff') format('woff'),
         url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Reg-webfont.ttf') format('truetype'),
         url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Reg-webfont.svg#nimbus_sans_l') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nimbus_sans_l';
    src: url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Bol-webfont.eot');
    src: url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Bol-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Bol-webfont.woff') format('woff'),
         url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Bol-webfont.ttf') format('truetype'),
         url('https://fonts.lqdn.fr/collections/Nimbus_Sans_L/NimbusSanL-Bol-webfont.svg#nimbus_sans_l') format('svg');
    font-weight: bold;
    font-style: normal;
}

html {
	font-size: 62.5%;
}

body {
	margin:0;
	background: #eee;
	color: black;
	font-family: "nimbus_sans_l";
	font-weight: 400;
	font-style: normal;
}

a {
	color: black;
	outline: none;
}

b, strong {
	font-weight: normal;
}

h1, h2, ul {
	margin: 0;
}

/* ------ header ------ */

#home {
	background-position: center center;
	background-size: cover;
	height:95vh;
	display: flex;
}

#title {
	padding: 0 2rem;
	margin: auto;
	padding-top: 10rem;
	margin-bottom: 10rem;
	max-width: 73rem;
	
	display: flex;
	flex-wrap: wrap;
}

#title h1 
{
	background:rgba(255, 255, 255, 1);
	padding: .4rem .4rem;
	font-weight: normal;
	font-size: 5rem;
}

#title h2 
{
	background: rgba(255, 255, 255, 1);
	padding: .4rem .4rem;
	font-size: 3rem;
	font-weight: normal;
	color: black;
}

#title h2:nth-of-type(odd) {
	background-color:rgb(233,73,88);
	color: white;
}

/* ------ intro ------ */

#intro
{
	margin: 6rem auto -2rem;
	font-size: 2rem;
	max-width: 72rem;
	padding: 0 2rem;
}

#intro a {
	text-decoration: none;
	color: rgb(233,73,88);
}


#intro p:last-child{
	text-align: center;
	margin-top: 3em;
	margin-bottom: 2em;
}

/* ------ menu ------ */

menu {
	display: flex;
	flex-wrap: wrap;
	padding: 1.4rem 3rem;
	background: white;
	position: fixed;
	width: 100%;
	top: 0px;
	margin: 0;
	align-items: center;
    z-index: 10;
}

menu a {
	font-size: 1.4rem;
	text-decoration: none;
	letter-spacing: .1rem;
}

menu a:after {
	content: "◆";
	margin-right: 1.5rem;
	margin-left: 1.5rem;
	color: #ddd;
}

menu a:hover {
	color: rgb(233,73,88);
}

menu a:first-of-type {
	font-size: 2rem;
}

menu a:first-of-type:after, menu a:last-of-type:after {
	content: "";
}

menu a:nth-last-of-type(2) {
	color: rgb(233,73,88);
}

menu a:nth-last-of-type(2):hover {
	color: black;
}

#lang {
	margin-left: auto;
	margin-right: 5rem;
}

#lang a{
	font-size: 1.4rem;
	color: black;
}

#lang a:hover {
	color: rgb(233,73,88);
}

/* ------ sections ------ */

section {
	max-width: 72rem;
	padding: 7rem 0 3rem;
	margin: auto;
}

/* ------ image ------ */

.image {
	height: 50vh;
	min-height: 45rem;
	background-position: center center;
	background-size: cover;
	border: 1.2rem solid black;
	position: relative;
}

.image p {
	opacity: 0;
	position: absolute;
	color: white;
	bottom: 0;
	right: 0;
	background: black;
	padding: .4rem 1rem;
	margin: 0;
	font-size: 1.2rem;
	transition: opacity .4s;
}

.image p a {
	color: white;
}

.image:hover p {
	opacity: .4;
}

/* ------ text ------ */

.text {
	background: white;
	padding: 2rem;
	border: 1.2rem solid black;
	border-top: none;
}

.text h1 {
	font-size: 4rem;
}

.text h2 {
	font-size: 3rem;
	background: rgb(233,73,88);
	color: white;
	display: inline;
	padding: 0rem .4rem;
}

.text h3 {
	font-size: 2.3rem;
  margin: 0.6em 0;
}

.text p, .text li  {
	font-size: 1.8rem;
	line-height: 130%;
}

.text li {
	margin: 1em 0;
	margin-left: -1rem;
	list-style-type: none;
}

.text li:before {
	display: block;
	content: "\25BC";
	color: rgb(233,73,88);
	position: relative;
	top: 1.9rem;
	left: -3.2rem;
	font-size: 1.8rem;
	max-width: 0;
	max-height: 0;
	transform: rotate(-90deg);
}

.text a {
	text-decoration: none;
	color: rgb(233,73,88);
}

.text a:hover {
	text-decoration: underline;
}

section:last-of-type h1 {
	color: rgb(233,73,88);
}

/* ------ more ------ */

.more, .less {
	margin:0;
	cursor: pointer;
}

.more {
	margin-top: -.6rem;
	color: rgb(233,73,88);
}

.more:hover {
		text-decoration: underline;
}

.more:after {
	content: " ▾";
}

.less {
	text-align: right;
	margin-right: 1rem;
	font-size: 3em !important;;
}

.less:hover {
	color: gray;
}

.hidden p:first-child {
	margin-top:0;
}

.hidden {
	margin-top: 2.6em;
}

/* ------ footer ------*/
	 
footer {
	background: white;
	padding: 6rem;
	margin-top: 12rem;
	text-align: center;
	border-top: solid black 1.2rem;
	font-size: 1.8rem;
}

footer h1 {
	margin-bottom: 1em;
}

footer p {
	max-width: 65rem;
	margin: 1em auto;
	text-align: left;
}

footer img {
	width: 16%;
	height: auto;
	margin-left: 42%;
	margin-top: 1.6em;
}

footer a {
	text-decoration: none;
	color: rgb(233,73,88);
}

/* ------ media queries ------ */

@media (max-width: 1260px) {
	
	menu {
		padding: .7rem;
		width: auto;
		right: 0;
		position: absolute;
	}
	
	menu a {
		display: none;
	}
	
	#lang {
		margin: 0;
	}
	
		menu #lang a {
		display: inline;
		margin: .8rem;
	}
	
	menu #lang a:after {
		content: none;
	}
	
}

@media (max-width: 1000px) and (orientation: portrait)  and (max-device-width: 1000px) {
	
	html {
	 font-size: 125%;
	}
	
	#title h1 {
		font-size: 3.4rem;
	}
	
	#title h2 {
		font-size: 2.2rem;
	}
	
	section {
		margin-left: 2rem;
		margin-right: 2rem;
		width: auto;
	}
	
	.text h1, .text h2 {
		font-size: 3.6rem;
	}
	
	#intro, .text p, .text li {
		font-size: 2.2rem !important;
	}


	.text li {
		margin-left: .8rem;
	}

	.text li:before {
		top: 2.6rem;
		left: -3rem;
	}

}