html {
background-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0) 85%, rgba(0,0,0,0.2) 100%), url('./background.png');
background-size: contain;
background-position-y: -330px;
}
body {
max-width: 1300px;
margin: auto;
font-family: "Liberation sans";
color: #444;
}
a {
color: inherit;
text-decoration: none;
}
button, .button {
cursor: pointer;
}
.align-right {
text-align: right;
width: 100%;
display: inline-block;
}
h1 {
font-family: Kiona;
font-size: 121px;
letter-spacing: -0.047619047619047616em;
line-height: 0.7em;
margin: calc(0.8em + 5vh) auto 20px;
margin: 20px auto;
text-align: left;
display: flex;
width: 5.915em;
flex-wrap: wrap;
font-weight: normal;
}
h1 > div::first-letter {
font-size: 1.7em;
}
header h4 {
font-style: italic;
font-size: 1.07em;
display: block;
margin: 0;
padding-left: 0px;
}
h2 {
font-family: "Ge Body";
font-weight: normal;
font-size: 2.75em;
margin: 0.8em -8px 1em;
}
h2::first-letter {
font-size: 1.5em;
letter-spacing: 1px;
}
h3, h4 {
font-family: "GoldenRatio";
margin: 0.8em 0;
}
h3 {
font-size: 1.3em;
}
h4 {
font-size: 1.1em;
}
h1,h2 {
color: #111;
}
#qui h3, #qui h4, #contact label{
color: #222;
}
section:not(#galerie) h2 {
margin-left: -5%;
margin-right: -5%;
}
section:not(#modale) {
margin: 5% 5% 0;
}
section#galerie{
margin: 5em 10px 0;
}
header {
text-align: center;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
header svg, header .button, .couleur, h2::first-letter, header a, header #alternative_downloads{
fill: #4C8F29;
color: #4C8F29;
}
header #alternative_downloads{
margin-top: 5px;
}
header svg {
width: 50px;
height: 50px;
}
header .button {
display: inline-block;
border-radius: 20px;
text-align: center;
font-size: 1.25em;
padding: 0.5em;
border: 2px solid currentColor;
}
header .button span {
vertical-align: bottom;
line-height: 50px;
height: 50px;
display: inline-block;
font-size: 1.1em;
}
header #download {
text-decoration: none;
font-family: "Kiona";
font-weight: bold;
margin: 20px 0 15vh;
}
.profil {
display: inline-flex;
width: 49%;
}
#charte > div {
text-align: justify;
display: flex;
}
#charte div span {
display: inline-block;
margin: 0.15em 0;
}
#charte div span::first-letter {
font-size: 1.3em;
}
#charte img {
max-height: 100%;
max-width: 80%;
object-fit: contain;
margin-left: 10%;
}
.profil:nth-child(2n) {
flex-direction: row-reverse;
text-align: right;
}
.profil > div:not(.img) {
margin: 0 10px;
display: flex;
flex-direction: column;
justify-content: center;
}
.profil > div p {
margin-top: 0;
}
.profil img {
max-height: 100%;
object-fit: cover;
}
.img {
height: 150px;
width: 150px;
border-radius: 100%;
overflow: hidden;
flex-shrink: 0;
}
.profil .role {
display: inline-flex;
align-items: center;
justify-content: center;
}
.profil .role svg {
margin: 0 15px;
}
.participants {
display: flex;
justify-content: space-around;
margin: 4em 5%;
}
.participants > div {
text-align: center;
}
#galerie .wrapper {
width: 100%;
padding-bottom: 54.25%;
position: relative;
max-width: 1250px;
margin: auto;
}
#galerie .content {
position: absolute;
top: 0; bottom: 0; left: 0; right: 0;
display: grid;
grid-template-columns: repeat(11, 1fr);
grid-template-rows: repeat(9, 1fr);
grid-gap: 0.4rem;
}
#galerie img {
width: 100%;
height: 100%;
object-fit: cover;
}
#galerie .content > div {
background-size: cover;
cursor: pointer;
background-position-y: center;
background-position-x: center;
}
#galerie .content>div:nth-child(1){
grid-column: span 3;
grid-row: span 6;
}
#galerie .content>div:nth-child(2){
grid-column: span 2;
grid-row: span 3;
}
#galerie .content>div:nth-child(3){
grid-column: span 3;
grid-row: span 5;
}
#galerie .content>div:nth-child(4){
grid-column: span 3;
grid-row: span 2;
}
#galerie .content>div:nth-child(5){
grid-column: span 3;
grid-row: span 3;
}
#galerie .content>div:nth-child(6){
grid-column: span 2;
grid-row: span 3;
}
#galerie .content>div:nth-child(7){
grid-column: span 6;
grid-row: span 4;
}
#galerie .content>div:nth-child(8){
grid-column: span 2;
grid-row: span 3;
}
#galerie .content>div:nth-child(9){
grid-column: span 3;
grid-row: span 3;
}
#contact {
padding: 0 0 3em;
}
#contact form > div {
padding: 0 0 1.1rem;
}
#contact label, #contact input[type="submit"]{
font-family: "GoldenRatio";
display: block;
font-weight: 600;
line-height: 1.5em;
letter-spacing: 0.075em;
text-transform: uppercase;
margin: 0 0 0.75rem 0;
}
#contact input[type="text"], #contact input[type="password"], #contact input[type="email"], #contact select, #contact textarea {
display: block;
outline: 0;
padding: 0 0.55rem;
text-decoration: none;
width: calc(100% - 1.16rem);
color: inherit;
line-height: 2.8em;
border: 1px solid #DDD;
border-radius: 6px;
}
#contact input[type="text"]:focus, #contact input[type="password"]:focus, #contact input[type="email"]:focus, #contact select:focus, #contact textarea:focus {
box-shadow: 0px 0px 4px 1px #61c030;
border-color: transparent;
}
#contact input[type="submit"], #contact .button {
background-color: transparent;
border: 2px solid currentColor;
border-radius: 0;
cursor: pointer;
padding: 0.75em 1.5em 0.6em;
text-decoration: none;
}
#contact textarea {
padding: 0.75rem 0.55rem;
line-height: 1.1em;
}
ul,ol,li {
list-style: none;
padding: 0;
margin: 0;
}
.a {
color: #005700;
}
#modale {
position: fixed;
background-color: #000000dd;
display: none;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
text-align: center;
}
#modale img {
max-width: calc(100% - 100px);
max-height: 100%;
object-fit: contain;
}
#modale button:not(.close) {
flex: auto;
background: none;
border: none;
padding: 0;
}
#modale button.close, #modale button div {
background-color: #333;
color: #AAA;
border-radius: 100%;
display: inline-block;
border: none;
}
#modale button:not(.close) div {
height: 35px;
width: 35px;
line-height: 30px;
}
#modale button.close {
position: absolute;
top: 2px;
right: 2px;
height: 50px;
width: 50px;
line-height: 45px;
padding: 0;
}
footer {
background-color: #c6d9bdc4;
padding: 10px 0;
width: 100%;
position: absolute;
left: 0;
font-size: 1.1em;
}
footer {
background-color: #111111C5;
color: white;
}
.footer {
display: flex;
align-items: first baseline;
justify-content: center;
}
.rs {
text-align: center;
align-items: center;
display: inline-flex;
justify-content: center;
}
.h1 {
font-family: Kiona;
font-size: 2.35em;
letter-spacing: -0.05em;
line-height: 0.7em;
margin: 10px 15px 5px 0px;
text-align: left;
display: flex;
width: 5.915em;
flex-wrap: wrap;
font-weight: normal;
}
.h1 > div::first-letter {
font-size: 1.7em;
}
.h4 {
font-style: italic;
font-size: 0.75em;
display: block;
margin: 0;
padding-left: 0px;
font-family: "GoldenRatio";
}
.date {
font-size: 0.6em;
text-align: center;
}
#bandeau {
background-color: red;
position: fixed;
top: 0;
left: 0;
width: 100%;
text-align: center;
font-weight: bold;
font-size: 1.2em;
padding: 7px 0;
color: #111;
}
@media (max-width: 690px) {
h1 {
font-size: 90px;
}
}
@media (max-width: 660px) {
.profil {
display: flex;
width: 100%;
}
.profil > div:not(.img) {
width: 100%;
text-align: center;
}
}
@media (max-width: 520px) {
h1 {
font-size: 66px;
}
}
@media (max-width: 410px) {
h1 {
font-size: 50px;
}
.img {
height: 100px;
width: 100px;
}
}
@media (max-width: 300px) {
h1 {
font-size: 35px;
}
}