* {
    box-sizing: border-box
}

html,
body {
    overflow-x: hidden;
}

/* Regular */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;          /* plage si version variable ; sinon 400, 700, etc. */
  font-style: normal;
  font-display: swap;            /* évite le texte invisible */
}

/* Italic (si nécessaire) */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Italic-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

body {
    font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #404040;
    background: #fffff2;
    margin:0;
    
}
header {
    overflow: hidden;
}
.main-back{
    position: relative;
    overflow: hidden;
}
.main-back::before{
  content: "";
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 182px;
  opacity: 0.12;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

ul, footer ul, dialog ul{
    margin:0;
    padding:0;
}
dialog{
   margin:0px;
}

h1 {
    color: #E74F38;
    font-size: 1.8rem;
}
main ul {
    padding-left: 15px
}

main a {
    color: #404040
}

.main-form img {
    max-width: 100%;
}

.main-form li, dialog li {
    list-style-type: none;
}

.toggle-menu {
    width: 40px;
    height: 49px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 18px
}

#menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 220px;
    height: 100%;
    padding-top: 60px;
    background: #091E2B;
    box-shadow: -10px 0 10px rgb(0 0 0 / .2) inset
}

#menu .toggle-menu {
    z-index: 3
}

.lnk-menu {
    display: block;
    border-bottom: 1px solid rgb(255 255 255 / .2);
    padding: 10px;
    color: #fff;
    text-decoration: none
}

.lnk-menu:hover {
    color: #E74F38
}

#menu {
    transform: translate3d(0, 0, 0) translateX(-220px);
    transition: all 0.25s cubic-bezier(.16, .63, .45, .98)
}

#menu:target {
    transform: translate3d(0, 0, 0) translateX(0)
}

header,
footer {
    background-color: #091E2B;
}
footer{
    border-top:3px solid #E74F38;
}


.logo {
    text-align: center;
    top: 20px;
    position: relative;
}

.logo img {
    width: 80px;
    height: auto;
}

nav {
    display: none;
}

.cita_principale{
    display: none;
}

.banniere {
    background: url(../img/banniere.jpg)#091E2B no-repeat center center;
    background: url(../img/banniere.webp)#091E2B no-repeat center center;
    padding: 161px 0 104px;
    -webkit-background-size: cover;
    background-size: cover;
    border-top: 2px solid #E74F38;
    border-bottom: 3px solid #E74F38;
}
.identite { 
    float: none;
}

.identite + p, .identite + p + p {
    margin-left: 0px;
}

.access img, .propos img {
    max-width: 100%;
    -webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.access :hover img, .propos :hover img{
    -webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.access {
    display: block
}

.access li {
    list-style-type: none;
    padding: 19px
}

.propos li {
    list-style-type: none;;
}
.access a, .propos a{
    text-decoration: none;
}

.access li, .propos li{
    position: relative;
    display: inline-block;
}
.centered{
    color:#fff;
    font-size:17px;
    display : block;
    position : absolute;
    bottom : 0; 
    top : 30%; 
    left : 0; 
    right : 0; /* voir règles */
    padding : 33px;
    overflow : hidden; /* empêche le dépassement de texte */
    text-shadow: 0px 0px 5px black;
    text-align: center;
    font-weight: bold;
    background-color: #8080808f;
    margin: 19px;
}

main,
footer {
    padding: 30px
}

footer ul {
    list-style-type: none
}

footer li {
    padding-bottom: 10px;
    padding-top: 10px
}

.social {
    padding-bottom: 0px;
    padding-top: 0px;
    display: flex;
    justify-content: flex-end;
}

footer a {
    color: beige;
    transition: all 0.4s ease-out;
}

footer a:hover {
    color: #E74F38
}

.txt-menu {
    position: absolute;
    top: -4px;
    left: 0px;
    color: #f7f1e5;
}
.txt-arts{
    color:#f1d3a2;
}
.txt-titre-arts{
    color:#f7f0e5;
}

.social_network {
    display: flex;
    justify-content:right;
}

.copyright {
    color: #f1d3a2;
    display: flex;
    justify-content: right;
}

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}
.lien_evitement{
    position: absolute;
    display: block;
    left: -10000px;
    top: -95px;
    width: 100%;
    height: 1px;
    overflow: hidden;
    text-align: center;
    padding: .25rem .5rem;
    background-color: #091E2B;
    color:#fff;
}
.lien_evitement:focus {
  position: static;
  width: auto;
  height: auto;
}
.grid li {
    list-style-type: none
}

.grid li a,
.grid li img {
    max-width: 100%;
    height: auto
}
input[type="text"], textarea{
    background-color: #fff;
    border: 2px solid #e75038;
    padding: 9px;
    margin-bottom: 31px;
}
input[type="submit"]{
    background-color: #e75038;
    border: 2px solid #e75038;
    color:#fff;
    padding: 5px;
}
input[type="submit"]:hover{
    background-color: #091E2B;
    border: 2px solid #091E2B;
    color:#fff;
    padding: 5px;
}

:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
}
@media only screen and (min-device-width :768px) {
    header {
        background-color: #fff0
    }

    .logo {
        text-align: left;
        position: absolute;
        top: 19px;
        left: 12px;
        z-index: 1
    }

    .logo img {
        width: 100px;
        height: 89px
    }

    .toggle-menu,
    .txt-menu,
    #menu {
        display: none
    }

    #menu {
        transform: translate3d(0, 0, 0) translateX(0);
        transition: all 0.25s cubic-bezier(.16, .63, .45, .98)
    }

    nav {
        display: block;
        position: initial;
        box-shadow: none;
        transition: all 0.3s ease;
        padding-top: 0;
        width: 100%;
        background-color: #091E2B
    }

    nav {
        transform: translate3d(0, 0, 0) translateX(0);
        transition: all 0.25s
    }

    nav ul {
        display: flex;
        justify-content: right;
        list-style-type: none;
        padding: 30px
    }

    .lnk-menu {
        display: block;
        border-bottom: 0;
        margin: 0;
        padding: 5px;
        text-decoration: none;
        transition: all 0.4s ease-out;
    }

    .access img, .propos img {
        max-width: 100%;
    }

    .access {
        display: flex
    }

    .access li {
        list-style-type: none;
        padding: 19px
    }
    .centered{
        color:#fff;
        font-size:18px;
        display : block;
        position : absolute;
        bottom : 0; 
        top : 50%; 
        left : 0; 
        right : 0; /* voir règles */
        padding : 2px;
        overflow : hidden; /* empêche le dépassement de texte */
        text-shadow: 0px 0px 5px black;
        text-align: center;
        font-weight: bold;
    }
    .zoom-container {
      overflow: hidden; /* empêche l'image de déborder */
      width: 100%;     /* taille du cadre */
      height: 100%;
      border-radius: 10px;
    }

    .zoom-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease; /* animation douce */
    }

    .zoom-container:hover img {
      transform: scale(1.01); /* zoom à 120% */
    }
    .identite { 
    float: left;
    }

    .identite + p, .identite + p + p {
    margin-left: 181px;
    }

    nav a[aria-current="page"] {
    text-decoration: underline;
    color: #e75038;
    -webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

    
}

@media only screen and (min-device-width :1024px) {
.cita_principale {
    margin-left: 122px;
    padding-top: 34px;
    font-style: italic;
    color: #f1d3a2;
    font-size: 1rem;
    position: absolute;
    width: 465px;
    display: block;
}
}
@media only screen and (min-device-width :768px) {
    html {
        overflow-y: scroll
    }

    .grid:after {
        content: '';
        display: block;
        clear: both
    }

    .grid {
        max-width: 69em;
        list-style: none;
        margin: 30px auto;
        padding: 0;
    }

    .grid li {
        display: block;
        float: left;
        padding: 7px;
        width: 33%;
        opacity: 0
    }

    .grid li.shown,
    .no-js .grid li,
    .no-cssanimations .grid li {
        opacity: 1
    }

    .grid li a,
    .grid li img,
    picture {
        border: none;
        display: block;
        max-width: 100%;
        height: auto
    }

    button {
        padding: 0;
        margin: 0
    }
}

.menu-toggle {
    position: relative;
    right: 1.5rem;
    top: 49%;
    transform: translate(0, -50%);
    height: 26px;
    width: 29px
}

.menu-toggle,
.menu-toggle:hover {
    color: #fff0
}

.menu-toggle-bar {
    display: block;
    position: relative;
    top: 50%;
    margin-top: -3px;
    right: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #f7f1e5
}

.menu-toggle-bar.menu-toggle-bar--top {
    transform: translate(0, -8px)
}

.menu-toggle-bar.menu-toggle-bar--bottom {
    transform: translate(0, 8px)
}

.close.menu-toggle-bar.menu-toggle-bar--top {
    transform: rotate(45deg)
}

.close.menu-toggle-bar.menu-toggle-bar--middle {
    opacity: 0
}

.close.menu-toggle-bar.menu-toggle-bar--bottom {
    transform: rotate(-45deg)
}

.grid.effect-6 {
    -webkit-perspective: 1300px;
    perspective: 1300px
}

.grid.effect-6 li.animate {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: rotateX(-80deg);
    transform: rotateX(-80deg);
    -webkit-animation: flip .8s ease-in-out forwards;
    animation: flip .8s ease-in-out forwards
}

@-webkit-keyframes flip {
    0% {}

    100% {
        -webkit-transform: rotateX(0deg);
        opacity: 1
    }
}

@keyframes flip {
    0% {}

    100% {
        -webkit-transform: rotateX(0deg);
        transform: rotateX(0deg);
        opacity: 1
    }
}

