* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    overflow-x: hidden
}

body {
    font: 100% arial, verdana, tahoma, sans-serif;
    color: #404040;
    background-color: beige
}

header {
    overflow: hidden
}

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

h1 {
    color: #E74F38
}

main ul {
    padding-left: 15px
}

main a {
    color: #404040
}

.main-form img {
    max-width: 50%
}

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

.toggle-menu {
    width: 40px;
    height: 40px;
    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);
    margin: 0 10px;
    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
}

.logo {
    text-align: center
}

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

nav {
    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;
    background-size: cover;
    border-top: 2px solid #E74F38;
    border-bottom: 2px solid #E74F38
}

.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: #808080d6;
    margin: 19px;
}

main,
footer {
    padding: 30px
}

footer ul {
    list-style-type: none
}

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

.linkedin {
    padding-bottom: 0px;
    padding-top: 0px;
}

footer a {
    color: beige
}

footer a:hover {
    color: #E74F38
}

.txt-menu {
    position: absolute;
    top: 2px;
    left: 9px;
    color: #f7f1e5
}

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

.copyright {
    color: beige;
    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
}

.grid li {
    list-style-type: none
}

.grid li a,
.grid li img {
    max-width: 100%;
    height: auto
}

@media only screen and (min-device-width :768px) {
    header {
        background-color: #fff0
    }

    .logo {
        text-align: left;
        position: absolute;
        top: 0;
        left: 0;
        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
    }

    .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;
    }

    
}

@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
    }
}