@import url('https://fonts.googleapis.com/css2?family=Herr+Von+Muellerhoff&family=Parisienne&family=Petit+Formal+Script&family=Roboto&display=swap');
* {
    font-family: Corben;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    --res: calc(0.01 * 10vmin);
}

body {
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    scroll-behavior: smooth;
    font-family: system-ui, sans-serif;
}

#vues3D {
    padding-top: 80px;
}

section {
    min-height: 900px;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #C2A77A;
}


/* -- Grid System -- */

.troisCols {
    display: flex;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 0;
    column-gap: 50px;
    justify-items: center;
    padding-top: 60px;
    background: white;
}

.uneCols {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    background: white;
}

.deuxColonnes {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 10px 1fr;
    grid-template-rows: auto 1fr auto;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    width: 100%;
}

.padIMG {
    padding-top: 10px;
}

.logoAtrium {
    text-align: center;
    padding-top: 150px;
}

.footerAtrium {
    padding: 50px;
}

.bordure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    text-align: center;
    border-top: 1px solid black;
    height: 100px;
    margin: 25px;
    padding-left: 150px;
}

.fullLine {
    grid-column-start: 1;
    grid-column-end: 3;
}

.fullLine2 {
    grid-column-start: 1;
    grid-column-end: 2;
}

.logoVSD {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    width: 40%;
}

.gauche {
    display: grid;
    justify-items: center;
    left: 50%;
    background-color: black;
    padding: 10px;
}

.droite {
    display: grid;
    justify-items: center;
    vertical-align: middle;
    padding: 10px;
    border: solid 2px black;
}

.comblesDeReve img {
    width: 100%;
}

#famous a {
    background-color: f7efef;
    font-size: 1.5em;
    color: grey;
    border-radius: 10px;
    transition: background .3s;
    text-align: center;
    vertical-align: middle;
}

.osez {
    padding: 1em;
}

#famous h1 {
    color: #000;
}

.RevivreMaMaisonAlaRadio {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    width: 40%;
}


/****************************************************/

.tarifs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    background: rgb(255, 255, 255);
}

.card {
    margin: 40px;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
    width: 550px;
    height: 700px;
}

.card:hover {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.stars {
    text-align: center;
    padding: 10px;
}

.card:hover img {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.card__thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    vertical-align: middle;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    text-align: center;
    height: 300px;
}

.card__thumb img {
    top: 0;
    display: block;
    width: 100%;
    height: 400px;
    opacity: 1;
}

.card__thumb:hover {
    transition: 0.3s;
}

.card__category {
    position: absolute;
    background-color: rgb(38, 112, 112);
}

.card__title {
    margin: 0;
    padding: 10px 20px 50px 10px;
    font-size: 35px;
    color: #C2A77A;
    font-weight: bold;
    height: 100px;
    text-align: center;
}

.card__description {
    height: 80px;
    text-align: center;
    font-size: 20px;
    line-height: 27px;
    color: #666C74;
}

.card__footer {
    bottom: 20px;
    padding: 20px;
    left: 20px;
    right: 20px;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    color: #0a2a43;
}


/***************************************/

section.tout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    min-height: 500px;
}

.philo {
    grid-column: 1.5 span;
    padding: 30px;
}

#Camille img {
    width: 30%;
}

.sociaux {
    display: flex;
    flex-direction: row;
    padding: 50px;
}

#Camille a {
    font-size: 3rem;
    padding: 10px;
    color: #0a0a0a;
}

#Camille a:hover {
    color: #C2A77A;
}

#partenaires {
    background-color: #f7efef;
}

.me-left {
    background-size: cover;
    background-color: rgb(119, 74, 74);
}

.me-right {
    background-color: rgb(161, 224, 190);
}

#famous {
    padding-bottom: 150px;
}

#famous h1.or {
    color: #C2A77A;
}

.big {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    grid-column: 1 span;
    width: 100%;
    font-size: calc(50 * var(--res));
    padding-bottom: 150px;
}

.big-right {
    display: grid;
    grid-template-columns: 1fr;
}

.big-right p {
    font-size: calc(65 * var(--res));
}

.container {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.container__slider {
    flex-direction: column;
    vertical-align: middle;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

h1 {
    color: #C2A77A;
    font-size: calc(54 * var(--res));
    text-align: center;
}

h2 {
    font-size: calc(44 * var(--res));
    text-align: center;
}

p {
    font-size: 1.5em;
    line-height: 1.4;
    color: grey;
}

.partenaire a {
    display: flex;
    flex-direction: column;
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #C2A77A;
    text-align: center;
}

.axone {
    color: #000000;
    text-align: center;
}

.paralax {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.paralax::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #0a2a43, transparent);
    z-index: 100000;
    mix-blend-mode: color;
}

#rang {
    position: relative;
    color: #fff;
    font-size: 10em;
    z-index: 2;
}

.paralax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a2a43;
    z-index: 100000;
}

.paralax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

#menuArea {
    margin-left: 70px;
}

.deuxCols {
    display: grid;
    align-content: center;
    justify-self: center;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    width: 100%;
}

.tou {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.espace50 {
    padding: 20px 150px;
}

header.header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    margin: 0 auto;
    /*background-color: black;*/
    transition: background 0.2s;
    z-index: 20;
}

.small {
    background-color: #2cb1cc87;
}

header.header li {
    color: rgb(0, 0, 0);
    font-size: 1em;
}

header.header img {
    display: none;
    width: 150px;
}

.top-page {
    grid-column: span 3;
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 13%, rgba(30, 172, 201, 1) 100%);
    height: 100vh;
    width: 100%;
    padding: 0px;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    z-index: 1;
}

.logo {
    width: 30%;
    background-position: center;
    vertical-align: middle;
}


/* Page Principale */

.landing-page {
    display: flex;
    justify-content: center;
    vertical-align: middle;
    transform: translateY(-50%);
    z-index: 1;
}

.landing-page img {
    margin-top: 90vh;
}

.scroll-down {
    color: black;
    text-decoration: none;
    position: absolute;
    margin-top: 40vh;
    top: 80%;
    padding: 50px 0px;
}

.scroll-down a {
    display: flex;
    justify-content: center;
    text-decoration: none;
    margin-top: 20px;
    color: white;
}

.scroll-down h1 {
    color: rgb(15, 12, 12);
    font-size: 26px;
    font-family: 'Petit Formal Script', cursive;
}


/* rows */

.row {
    display: flex;
    flex-direction: column;
    row-gap: 100px;
    text-align: center;
}


/* Menu de navigation */

nav.nav {
    display: flex;
    flex: 3;
    padding: 10px;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
}

nav.nav li a {
    text-decoration: none;
    /*font-size: 0.7rem;*/
    font-size: calc(15 * var(--res));
    margin-left: 10px;
    color: rgb(0, 0, 0);
}

nav.nav a:hover {
    color: #C2A77A;
}

.NavButton {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 40px;
    width: 100%;
    padding: 15px;
    position: relative;
    box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001, inset 0px 0px 0px 0px #fff9, inset 0px 0px 0px 0px #0001, inset 0px 0px 0px 0px #fff9, inset 0px 0px 0px 0px #0001;
    transition: box-shadow 0.6s cubic-bezier(.79, .21, .06, .81);
    border-radius: 10px;
}


/*  */

.article1 {
    text-align: justify;
    color: rgb(106, 119, 119);
    align-content: center;
}


/* BURGER MENU */

.inputBurger {
    display: none;
}

.open {
    background-color: #ffffff;
    width: 24px;
    height: 4px;
    display: block;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    text-align: right;
}

.open:before {
    content: "";
    background-color: #ffffff;
    width: 24px;
    height: 4px;
    display: block;
    border-radius: 2px;
    position: relative;
    top: -8px;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.open:after {
    content: "";
    background-color: #ffffff;
    width: 24px;
    height: 4px;
    display: block;
    border-radius: 2px;
    position: relative;
    top: 4px;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.menuOpen {
    width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    cursor: pointer;
    float: right;
}

.menuOpen:hover .open:before {
    top: -20px;
}

.menuOpen:hover .open:after {
    top: 0px;
}

.menu {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.712);
    z-index: 2;
}

.menu label {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
    background-size: 100%;
    cursor: pointer;
}

.menu .menuContent {
    position: relative;
    top: 50%;
    font-size: 20px;
    text-align: center;
    padding-bottom: 20px;
    margin-top: -170px;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.menu ul li a {
    display: block;
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.2s;
    font-family: Trebuchet MS;
    text-transform: uppercase;
    padding: 10px 0;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.9em;
}

.menu ul li a:hover {
    color: #C2A77A;
}

.menu ul li:hover {
    color: #C2A77A;
}

.menuEffects {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.menuEffects ul {
    transform: translateY(0%);
    transition: all 0.5s;
}

#menuToggle:checked~.menuEffects {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s;
}

#menuToggle:checked~.menuEffects ul {
    opacity: 1;
}

#menuToggle:checked~.menuOpen .open {
    background-color: transparent;
}

#menuToggle:checked~.menuOpen .open:before {
    content: "";
    background-color: white;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20000;
}

#menuToggle:checked~.menuOpen .open:after {
    content: "";
    background-color: white;
    transform: rotate(-45deg);
    position: relative;
    top: 0;
    right: 0;
    z-index: 20000;
}

#menuToggle:not(:checked)~.menuEffects ul {
    transform: translateY(-30%);
}


/* Footer */

.footer {
    margin: 0%;
    padding-top: 10px;
    grid-column: span 3;
    text-align: center;
    background-color: black;
    color: white;
    flex-basis: 100%;
}

.footer p {
    padding: 1em;
}

.slogan {
    font-family: 'Petit Formal Script', cursive;
    font-size: 1em;
    color: #C2A77A;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    font-size: 30px;
    padding-right: 25px;
}

.footer img {
    border-radius: 4px;
    padding: 5px;
    width: 300px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    font-size: 1em;
    padding-right: 5px;
    padding-left: 5px;
    text-decoration: none;
}

.footer-links a:before {
    content: "|";
    padding-right: 15px;
}


/***************************************/

@media screen and (max-width: 1700px) {
    .deuxColonnes img {
        grid-template-columns: 200px 10px 200px;
        width: 90%;
    }
}

@media screen and (max-width: 1280px) {
    .deuxColonnes img {
        grid-template-columns: 170px 10px 170px;
        width: 60%;
    }
}

@media screen and (max-width: 1260px) {
    .tarifs {
        display: flex;
        align-items: center;
        justify-items: center;
        background: rgb(255, 255, 255);
    }
    .card {
        margin: 40px;
        position: relative;
        background-color: #fff;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
        width: 350px;
        height: 700px;
    }
}

@media screen and (max-width: 1270px) {
    .tarifs {
        display: flex;
        align-items: center;
        justify-items: center;
        background: rgb(255, 255, 255);
    }
    .card {
        margin: 40px;
        position: relative;
        background-color: #fff;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
        width: 350px;
        height: 700px;
    }
}


/*******************/

@media screen and (max-width: 850px) {
    .tarifs {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        background: rgb(255, 255, 255);
    }
    .card {
        margin: 40px;
        position: relative;
        background-color: #fff;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
        width: 450px;
        height: 700px;
    }
    .row {
        grid-column: span 3;
        padding: 10px 10px;
        text-align: center;
    }
    .philo {
        padding: 30px;
        grid-column: span 3;
    }
    body {
        display: flex;
        flex-direction: column;
        height: 100vh;
        width: 100%;
        margin: 0 auto;
        scroll-behavior: smooth;
    }
    .deuxCols {
        padding-top: 2px;
    }
    .troisCols {
        display: flex;
        grid-template-columns: 1fr;
        justify-items: center;
        padding-top: 100px;
        background: white;
    }
    .concours {
        padding: 2em;
    }
    #famous a {
        font-size: 1em;
        color: #C2A77A;
        text-align: center;
    }
    .deuxCols {
        display: grid;
        align-content: center;
        justify-self: center;
        grid-template-rows: auto 1fr auto;
        margin: 0 auto;
    }
    .atrium p {
        font-size: 1em;
    }
    .deuxColonnes {
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr 10px 1fr;
        margin: 0 auto;
        background: rgb(255, 255, 255);
        width: 100%;
    }
    .deuxColonnes img {
        width: 90%;
    }
    /* Realisation exclusive Revivre ma Maison : Atrium entrée Immeuble */
    .atrium {
        font-family: Corben;
        font-style: normal;
        font-weight: normal;
        font-size: 24px;
        line-height: 44px;
        text-align: center;
        letter-spacing: 0.3em;
        padding: 50px;
        width: 100%;
    }
    .atrium img {
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }
    section {
        min-height: 500px;
    }
}

@media screen and (max-width: 480px) {
    /****************************************************/
    h1 {
        color: #C2A77A;
        font-size: calc(45 * var(--res));
        text-align: center;
    }
    /* Realisation exclusive Revivre ma Maison : Atrium entrée Immeuble */
    .atrium {
        font-family: Corben;
        font-style: normal;
        font-weight: normal;
        font-size: 24px;
        line-height: 44px;
        text-align: center;
        letter-spacing: 0.3em;
        padding: 50px;
        width: 100%;
    }
    .atrium img {
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }
    .tarifs {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        background: rgb(255, 255, 255);
    }
    .card {
        margin: 40px;
        position: relative;
        background-color: #fff;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
        width: 300px;
        height: 700px;
    }
    .card__title {
        font-size: 25px;
    }
}


/****/

@media screen and (max-width: 630px) {
    body {
        display: flex;
        flex-direction: column;
        height: 100vh;
        width: 100%;
        margin: 0 auto;
        scroll-behavior: smooth;
    }
    .deuxCols {
        padding-top: 2px;
    }
    .troisCols {
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-template-columns: 1fr;
        row-gap: 50px;
        justify-items: center;
        padding-top: 60px;
        background: white;
    }
    #famous a {
        font-size: 1em;
        color: #C2A77A;
        text-align: center;
    }
    .deuxCols {
        display: grid;
        align-content: center;
        justify-self: center;
        grid-template-rows: auto 1fr auto;
        margin: 0 auto;
    }
    .logoAtrium img {
        width: 70%;
    }
    .atrium p {
        font-size: 1em;
    }
    .deuxColonnes {
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr;
        margin: 0 auto;
        background: rgb(255, 255, 255);
        width: 100%;
    }
    .deuxColonnes img {
        width: 70%;
    }
    .top-page {
        display: flex;
        flex-direction: column;
        margin-top: 0;
        height: 100vh;
        width: 100%;
    }
    .tou h1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        /*font-size: 1.4rem;*/
    }
    .tou h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 1.2rem;
    }
    header.header {
        display: flex;
        flex-direction: column;
    }
    header.header img {
        display: none;
        align-items: center;
    }
    #menuArea {
        margin-left: 0px;
    }
    .logo {
        width: 50%;
        background-position: center;
        vertical-align: middle;
    }
    .logoInside {
        bottom: 25px;
    }
    .logoInside img {
        text-align: center;
        width: 100%;
    }
    nav.nav {
        list-style: none;
        margin-left: 0px;
    }
    nav.nav li a {
        display: none;
    }
    nav.nav li i {
        display: none;
    }
    nav .svg-inline--fa {
        display: none;
    }
    .landing-page img {
        margin-top: 60vh;
    }
    .scroll-down {
        color: black;
        text-decoration: none;
        position: absolute;
        margin-top: 15vh;
        top: 80%;
        padding: 50px 0px;
    }
    .scroll-down h1 {
        color: rgb(15, 12, 12);
        font-size: 16px;
        font-family: 'Petit Formal Script', cursive;
    }
    .footer {
        margin: 0%;
        padding-top: 10px;
        grid-column: span 3;
        text-align: center;
        background-color: black;
        color: white;
        flex-basis: 100%;
    }
}

@media screen and (max-width:376px) {
    .deuxColonnes {
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr;
        margin: 0 auto;
        background: rgb(255, 255, 255);
        width: 100%;
    }
    /* Realisation exclusive Revivre ma Maison : Atrium entrée Immeuble */
    .atrium {
        font-family: Corben;
        font-style: normal;
        font-weight: normal;
        font-size: 24px;
        line-height: 44px;
        text-align: center;
        letter-spacing: 0.3em;
        padding: 50px;
        width: 100%;
    }
    .atrium img {
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }
}

@media screen and (max-width: 1000px) {
    .container-grille {
        display: flex;
        flex-direction: column;
    }
    .liste-sidenav {
        flex-direction: row;
        justify-content: center;
    }
    .liste-sidenav li {
        margin: 0 10px;
    }
    main p {
        min-height: 610px;
    }
    aside p {
        height: auto;
    }
}


/* SLIDER */

.slider {
    position: relative;
    height: 0px;
    padding-bottom: 66.666666667%;
    /*margin-top:24px;*/
    margin-bottom: 24px;
    height: 70px;
}

.autrement {
    padding-bottom: 80px;
}

.autrement.img {
    width: 5%;
}

.slider__after {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/decoration_interieur/before.jpg');
    background-size: cover;
    pointer-events: none;
}

.slider__before {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    width: 50%;
    height: 100%;
    background-image: url('assets/images/decoration_interieur/after.jpg');
    background-size: cover;
    pointer-events: none;
    overflow: hidden;
}

.slider__before:before {
    content: 'Avant';
    position: absolute;
    left: 8px;
    top: 8px;
}

.slider__after:before {
    content: 'Après';
    position: absolute;
    right: 8px;
    top: 8px;
}

.slider__separator {
    position: absolute;
    left: 50%;
    width: 2px;
    top: 0px;
    bottom: 0px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.5);
    cursor: ew-resize;
    z-index: 3;
    transform: translateX(-50%);
}

.slider__range {
    position: absolute;
    width: 100%;
    bottom: 0px;
    z-index: 3;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    margin: 0px;
}

.slider__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 16px;
    background: white;
}

.slider__range::-moz-slider-thumb {
    -moz-appearance: none;
    width: 12px;
    height: 16px;
    background: white;
}

.slider--tokyo .slider__before {
    background-image: url('../images/decoration_interieur/before.jpg');
}

.slider--tokyo .slider__after {
    background-image: url('../images/decoration_interieur/after.jpg');
}

.slider--tokyo .slider__separator:before {
    content: '';
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: solid 2px white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slider--tokyo .slider__range {
    display: none;
}

.slider--tokyo .slider__before:before,
.slider--tokyo .slider__after:before {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
    margin-left: 8px;
    margin-right: 8px;
}


/* Gallery */

.gallery {
    margin-top: 80px;
}

.gallery-section {
    width: 100%;
    padding: 80px 0;
    background: #ffffff;
}

.inner-width {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: auto;
}

.colonneCentre {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    align-items: center;
}

.gallery-section h1 {
    text-align: center;
}

.border {
    width: 180px;
    height: 4px;
    background: #333;
    margin: 60px auto;
}

.gallery-section .gallery {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
}

.gallery-section .image {
    flex: 25%;
    overflow: hidden;
    cursor: pointer;
}

.gallery-section .image img {
    width: 100%;
    height: 400px;
    transition: 0.4s;
}

.gallery-section .image:hover img {
    /*transform: scale(1.4) rotate(15deg);*/
    opacity: 0.7;
}

@media screen and (max-width:960px) {
    .gallery-section .image {
        flex: 33.33%;
    }
}

@media screen and (max-width:768px) {
    .gallery-section .image {
        flex: 50%;
    }
}

@media screen and (max-width:480px) {
    .gallery-section .image {
        flex: 100%;
    }
}


/* CONTACT */

.section {
    width: 100%;
    min-height: 900px;
    height: 100vh;
}

.contact {
    margin: 50px auto;
    box-shadow: 0 0 25px 3px rgba(0, 0, 0, .2);
}

.contact .head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
    height: 120px;
    background-color: #000000;
    color: #fefefe;
    overflow: hidden
}

.contact .head h3 {
    margin: 0;
    float: left;
    font-size: 18px;
    letter-spacing: 2px
}

.contact .head i {
    float: right;
    color: #fefefe;
}

.contact form {
    padding: 30px;
    background-color: #fff
}

.contact form label {
    display: block;
    margin-bottom: 5px;
    letter-spacing: 1px;
    color: #030303
}

.contact form>input {
    height: 32px;
    margin-bottom: 20px
}

.contact form>input,
.contact form>textarea {
    width: 49%;
    padding: 10px;
    border: 1px solid #C2A77A
}

.contact form>textarea {
    width: 98%;
    height: 70px;
    margin-bottom: 40px;
    resize: none
}

.contact form button {
    display: block;
    width: 30%;
    margin: auto;
    padding: 10px;
    letter-spacing: 1px;
    background: #000000;
    color: #fefefe;
    border: none;
    border-radius: 40px;
    -webkit-box-shadow: 0px 4px 8px rgba(165, 126, 157, 0.62);
    box-shadow: 0px 4px 8px rgba(165, 126, 157, 0.62);
    cursor: pointer
}

.g-recaptcha {
    margin-top: 20px;
}

.contact form>input:focus,
.contact form>textarea:focus,
.contact form button:focus {
    outline: 0
}

.contact .head h3,
.contact form button {
    text-transform: uppercase
}

 ::-webkit-input-placeholder {
    color: #d9d5d6
}


/**/

.myhalf {
    width: 100%;
    max-width: 900px;
    height: 100px;
    padding: 0em 1em 0em 1em;
    margin-left: auto;
    margin-right: auto;
    font-family: "Quicksand-Regular", "sans-serif";
}

.myhalf:hover {
    box-shadow: 0 10px 90px 0 rgba(0, 0, 0, 0.05);
    background: #fff;
}


/* Acordeon styles */

.tab {
    position: relative;
    color: #181818;
    overflow: hidden;
}

label {
    position: relative;
    display: block;
    /*line-height: 5;*/
    padding-left: 1em;
    cursor: pointer;
    font-size: 1.5em;
    color: #C2A77A;
    font-weight: 500;
}

.openTitre {
    padding-top: 35px !important;
}

#mesIcons {
    text-align: center;
    display: grid;
    column-gap: 2px;
    grid-template-columns: 1fr 1fr;
    margin-top: 1em;
    margin-bottom: 2em;
}

.tab-content {
    max-height: 0px;
    overflow: hidden;
    background: #fff;
    -webkit-transition: max-height 0.35s;
    -o-transition: max-height 0.35s;
    transition: max-height 0.35s;
    margin: 0em 1em 0em 1em;
    padding-top: 0em;
    border: solid 0px black;
}

.tab-content h6 {
    text-align: center;
    padding: 1em 1em 0em 1em;
    font-size: 1.5em;
}


/* :checked */

input:checked~.tab-content {
    max-height: 30em;
}


/* Icon */

label::after {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 3em;
    height: 3em;
    line-height: 3;
    text-align: center;
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
}


/**/

.btn {
    display: inline-block;
    background-color: f7efef;
    border-radius: 10px;
    padding: 2px;
    transition: background .3s;
}

.popup {
    position: fixed;
    padding: 10px;
    max-width: 500px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .9);
    visibility: hidden;
    opacity: 0;
    /* "delay" the visibility transition */
    -webkit-transition: opacity .5s, visibility 0s linear .5s;
    transition: opacity .5s, visibility 0s linear .5s;
    z-index: 1;
}

.popup:target {
    visibility: visible;
    opacity: 1;
    /* cancel visibility transition delay */
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.popup-close {
    position: absolute;
    padding: 10px;
    max-width: 500px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .9);
}

.popup .close {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 5px;
    color: #000;
    transition: color .3s;
    font-size: 1.5em;
    line-height: .6em;
    font-weight: bold;
}

.popup .close:hover {
    color: #00E5EE;
}

.close-popup {
    background: rgba(0, 0, 0, .7);
    cursor: default;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    /* "delay" the visibility transition */
    -webkit-transition: opacity .5s, visibility 0s linear .5s;
    transition: opacity .5s, visibility 0s linear .5s;
}

.popup:target+.close-popup {
    opacity: 1;
    visibility: visible;
    /* cancel visibility transition delay */
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.event-list {
    list-style: none;
    padding: 0;
}


/*Calendrier des dates Passages Radio France Bleu Alsace Revivre ma Maison*/

.event-date {
    height: 60px;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f2f2f2;
    background: rgb(228, 208, 208);
}

.event-date span {
    line-height: 1;
    display: block;
}

.event-date--month {
    font-size: 14px;
}

.event-date--day {
    font-size: 24px;
    font-weight: 700;
}

.event-date--year {
    font-size: 12px;
}


/* Realisation exclusive Revivre ma Maison : Atrium entrée Immeuble */

.atrium {
    font-family: Corben;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 44px;
    text-align: center;
    letter-spacing: 0.3em;
    padding: 50px;
    width: 100%;
}

.atrium img {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}


/* Page Evenement Revivre Ma Maison */

.pattern {
    width: 100%;
}

@media screen and (max-width: 662px) {
    .picContainer {
        width: 100%;
        background-size: contain;
    }
}