@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/*$global-color : #f2ece1;
$text-color : #707070;*/
* {
    box-sizing: border-box;
}
body {
    font-family: "Inter", sans-serif;
    font-weight: 200;
    font-style: normal;
    background-color:  #f2ece1;
    color: #707070;
    padding: 0;
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
}
h1, h2 {
    font-family: "Playfair Display", serif;
    font-weight: 200;
    font-style: normal;
}
h2.center {
    text-align: center;
}
h2 {
    font-size: 22px;
    font-weight: 600;
}
p, a  {
    color: #707070;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}
a:focus, a:visited, a:hover {
    color: #707070;
    text-decoration: none;
}
.back {
    font-weight: 500;
    padding: 1vmin;
    margin: 3vmin 0 0 3vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: 14px;
    cursor: pointer;
}
.back img {
    width: 25px;
    transition: 0.2s;
    margin-right: 5px;
}
.back:hover > img {
    margin-left: -5px;
    transition: 0.2s;
}
/********************* INDEX ****************/
/*******************************************/
.index .contain {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    margin: 0;
}
.index .contain .item {
    width: 50vmin;
    height: 50vmin;
    background-color: #FFF;
    padding: 2vmin;
    margin: 5vmin;
}
.index .contain .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/********************* MENU ****************/
/*******************************************/
nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 20vw;
    height: 100vh;
    background-color: #FFF;
    padding: 3vmin;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
nav .logo {
    width: 80%;
    height: 20vh;
}
nav .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
nav p {
    font-weight: 600;
    text-align: center;
    font-size: 16px;
    color:#a5a5a5;
    margin: 2vh 0;
}
nav li {
    list-style: none;
    text-align: center;
    margin: 6vh 0;
}
nav ul {
    margin: 0;
    padding: 0;
}
nav ul li a {
    font-size: 18px;
    font-weight: 600;
    padding: 5px;
    position: relative;
}
nav ul li a:before,
nav ul li a:after {
    content:'';
    position: absolute;
    width:0;
    height: 1px;
    bottom: 0;
    background-color: #707070;
    transition: 0.3s;
}
nav ul li a:before {
    left: 0;
}
nav ul li a:after {
    right: 0;
}
nav ul li a:hover:before,
nav ul li a:hover:after {
    width: 50%;
    transition: 0.3s;
}
nav ul li a.active:before,
nav ul li a.active:after  {
    width:50%;
}
nav ul img.logo {
    width: 25%;
    margin-bottom: 10vh;
    display: none;
}
nav ul .close {
    display: none;
    position: absolute;
    width: 90px;
    height: 90px;
    z-index: 1;
    top: 0;
    right: 0;
    padding: 15px;
    background: #FFF;
    border-bottom-left-radius: 10px;
}
.contain {
    width: 80vw;
    margin-left: 20vw;
    overflow: hidden;
}
/******************** HEADER ***************/
/*******************************************/
header {
    width: 80vw;
    margin-left: 20vw;
    height: 100vh;
}
header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

/********************* HOME ****************/
/*******************************************/
.section {
    width: 100%;
    padding: 5vmin;
}
.imageText {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section img {
    width: 60%;
}
.section .text {
    width: 40%;
    padding: 5vmin;
}
.section.reception img {
    width: 40%;
}
.section.reception .text {
    width: 60%;
    padding: 5vmin;
}
.section.onlyText {
    padding: 0 5vmin;
}
.section.onlyText p {
    padding: 0 5vmin;
}
.section .text h2 {
    text-align: left;
    margin: 0 0 20px 0;
}
.swiper {
    margin:5vh 0 5vh -25%!important;
    width: 150%;
    height: 40vh;
}
.swiper-slide {
    width: auto !important;
    display: flex !important;
    justify-content: center;
}
.swiper-slide img {
    display: block;
    width: auto;
    height: 100%;
}
.swiper-button-prev {
    left: 21vw!important;
    width: 2vw!important;
    color: rgba(255, 255, 255, 0.5)!important;
}
.swiper-button-next {
    left: 96vw!important;
    right: initial!important;
    width: 2vw!important;
    color: rgba(255, 255, 255, 0.7)!important;
    transition: 0.2s;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #FFF!important;
    transition: 0.2s;
}

/************** DISPONIBILITES *************/
/*******************************************/
.dispo .contain {
    overflow: initial;
}
.dispo .cadre h2 {
    color: #a5a5a5;
    font-size: 28px;
    margin: 0 0 3vh 0;
    font-weight: 500;
}
.dispo .cadre {
    width: fit-content;
    margin: 15vh auto 0 auto;
    border: 7px solid #FFF;
    padding: 5vmin 10vmin;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dispo .cadre p {
    text-align: center;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4vh 0;
}
.dispo .cadre p:last-of-type {
    margin: 0;
}
.dispo .cadre p span:first-of-type {
    font-size: 16px;
}
.dispo .cadre p span:last-of-type {
    font-size: 12px;
}
.dispo a.see {
    padding: 1vmin 10vmin;
    margin: auto;
    color: #FFF;
    background: #a5a5a5;
    border-radius: 40px;
    display: flex;
    width: fit-content;
    margin-top: 10vh;
}
/**************** EXPERIENCE ***************/
/*******************************************/
.experiences .contain {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 10vmin;
}
.experiences .contain .item {
    width: 80%;
    margin: 0 auto 4vh auto;
    cursor: pointer;
}
.experiences .contain .item .image {
    display: flex;
    position: relative;
}
.experiences .contain .item .image::before,
.experiences .contain .item .image::after {
    position: absolute;
    left: -4px;
    content: '';
    width: 100%;
    height: 0;
    border: 4px solid transparent;
    transition: 0.4s;
}
.experiences .contain .item .image::before {
    top: -4px;
}
.experiences .contain .item .image::after {
    bottom: -4px;
}
.experiences .contain .item:hover > .image::before,
.experiences .contain .item:hover > .image::after {
    height: 50%;
    border: 4px solid #fff;
    transition: 0.4s;
}
.experiences .contain .item .image img {
    width: 100%;
    z-index: 1;
}
.experiences .contain .item p {
    text-align: center;
    margin: 10px 0 0 0;
}
/**************** ARTICLE/EXPERIENCE ***************/
/***************************************************/
.article .contain {
    overflow: initial;
}
.article h1 {
    font-family: "Inter", sans-serif;
    text-align: center;
    margin: 3vh 0;
    font-weight: 300;
}
.article .content {
    padding: 10vmin;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.article .content img {
    width: 40%;
}
.article .content p {
    width: 50%;
    font-weight: 600;
}
.article .contact {
    width: 100%;
    text-align: center;
    margin: 0 0;
}
/**************** CALENDRIER ***************/
/*******************************************/
.calendrier .contain {
    overflow: initial;
}
.calendrier .cadre {
    width: 90%;
    margin: 5vh auto;
    position: relative;
}
.calendrier .cadre .bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    left:0;
    background-color: #f2ece1;
}
.calendrier .cadre .bottom p {
    display: flex;
    align-items: center;
}
.calendrier .cadre .bottom p span {
    width: 50px;
    height: 25px;
    background: #a5a5a5;
    margin-right: 10px;
}
.menu_mobile {
    display: none;
    position: fixed;
    width: 90px;
    height: 90px;
    z-index: 1;
    top: 0;
    right: 0;
    padding: 15px;
    background: #FFF;
    border-bottom-left-radius: 10px;
}

.footer {
    width: 80vw;
    margin-left: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:30px;
    margin-bottom:30px;
}
.footer p {
    text-align: center;
}
.footer h2 {
    margin: 0;
}
.footer img {
    width: 40px;
}
@media (max-width: 990px) {
    nav {
        position: initial;
        width: 100vw;
        height: fit-content;
    }
    nav ul {
        position: fixed;
        background-color: #FFF;
        width: 100vw;
        height: 100vh;
        top: -100vh;
        left: 0;
        align-items: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        z-index: 9;
        transition: 0.2s;
    }
    nav ul.show {
        top: 0;
        transition: 0.2s;
    }
    nav ul img {
        display: block;
    }
    nav li {
        margin: 3vh 0;
    }
    nav ul .close,
    nav ul img.logo {
        display: block;
    }
    header {
        width: 100vw;
        margin-left: 0;
        height: fit-content;
    }
    h2 {
        font-size: 3rem;
    }
    .contain {
        width: 100vw;
        margin-left: 0;
    }
    .imageText {
        flex-direction: column;
    }
    .section.imageText img {
        width: 100%;
    }
    .section.imageText .text {
        width: 100%;
        padding: 5vmin;
    }
    .footer {
        width: 100vw;
        margin-left: 0;
    }
    .menu_mobile {
        display: block;
    }
    nav .logo {
        width: 60%;
        height: auto;
    }
    nav p {
        font-size: 2rem;
    }
    nav ul img.logo {
        width: 50%;
        margin-bottom: 5vh;
    }
    nav ul li a {
        font-size: 3rem;
    }
    .dispo .cadre {
        margin: 5vh auto 0 auto;
    }
    .dispo .cadre h2 {
        font-size: 3rem;
    }
    .dispo .cadre p {
        font-size: 2rem;
    }
    .dispo .cadre p span:first-of-type,
    .dispo .cadre p span:last-of-type {
        font-size: 1.8rem;
    }
    .dispo a.see,
    .footer p,
    .back {
        font-size: 2rem;
    }
    .experiences .contain {
        grid-template-columns: 100%;
        padding: 5vmin;
    }
    .experiences .contain .item p {
        font-size: 2rem;
    }
    .article h1 {
        font-size: 3rem;
    }
    .article .content {
        flex-direction: column;
        padding: 5vmin;
    }
    .article .content p {
        font-size: 2rem;
        width: 100%;
    }
    .article .content img {
        width: 100%;
    }
}
