html{
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Rajdhani', sans-serif;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: #696969;
    font-weight: 600;
    border-bottom: 0px solid #696969;
    transition: all 0.25s linear;  
    position: relative;
}

a:before{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1e6c6f;
    position: absolute;
    left: 0;
    bottom: -3px; /* this is to match where the border is */
    transform-origin: left; 
    transform: scale(0);
    transition: 0.25s linear;
  /*   will-change: transform; */
}
  
a:hover:before {
    transform: scale(1);
}

::placeholder{
    color:#696969;
}

input{
    outline:none;
    border:none;
}

input:focus{
    outline:none;
}

h1{
    text-transform: uppercase;
}

header{
    box-shadow: 0px 18px 20px -30px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
    display:flex;
    justify-content:center;
    align-items: center;
    padding: 5px;
    background: white;
    z-index: 1;
    position: relative;
}

main{
    background: #fff;
}

.content-main {
    font-family: 'Rajdhani', sans-serif;
    width: 86%;
    margin: auto;
}

.header-container{
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

header>.header_part{
    display:flex;
    justify-content:flex-start;
    align-items: center;
}

#notfound {
    position: relative;
    height: 80vh;
}
#notfound .notfound {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.notfound .notfound-404 {
    position: relative;
    height: 150px;
    line-height: 150px;
    margin-bottom: 25px;
}
.notfound .notfound-404 h1 {
    font-size: 186px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    background: url(/img/404.png);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: cover;
    background-position: center;
    
}

.notfound h2 {
    margin-bottom: 0;
}
.notfound p {
    margin-top: 0;
}

nav > a{
    text-transform: uppercase;
    margin: 0 12px;
    font-size: 17px;
}

nav.header_part{
    display: flex;
    justify-content: space-around;
}

#logo{
    max-width: 250px;
    height: max-content;
}

#logo_link:before{
    height: 0;
}

#mobile_menu{
    color:#0b757f;
    display: none;
}

#mobile_menu:hover{
    cursor: pointer;
}

.container_contenu{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* margin: 2% 0; */
}

.btn_ {
    text-align: center;
    background: #0b757f;
    color: #fff;
    padding: 5px 25px;
    font-size: 20px;
}
.btn_:hover {
    color: #fff;
    background: #69cad3;
}

.img_contenu{
    flex-basis: 30%;
    /* padding: 20px */
}
.txt_contenu{
    flex-basis: 70%;
    padding: 5%;
    width: 100%;
}
.txt_contenu > p{
    text-align: justify;
}
.img_contenu > #image_coaching{
    width: 100%;
    background: url(/img/coaching_individuel.jpg) no-repeat center;
    background-size: cover;
    /* border-radius: 15px; */
    height: 100%;
    opacity: .6;
}

.img_contenu > #image_physio{
    width: 100%;
    background: url(/img/physiowork.jpg) no-repeat center;
    background-size: cover;
    /* border-radius: 15px; */
    height: 100%;
    opacity: 1;
}

.card_container, .physio_container, .autres_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.card{
    padding: 15px 15px 15px 0px;
    flex-basis: 33%;
}

.autres_container > .card{
    flex-basis: 25%;
}

.physio_mat{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0px 25px;
    border: 1px solid lightgray;
    margin: 10px 0px;
    border-radius: 20px;
}
.physio_mat > h2{
    flex-basis: 50%;
}
.physio_txt{
    flex-basis: 80%;
}
.physio_txt > p{
    text-align: justify;
}
.physio_mat > .img_card{
    flex-basis: 15%;
    margin-right: 20px;
    margin-left: 20px;
}

.cta_container{
    margin: 4%;
    text-align: center;
}

.card_inner{
    padding: 15px;
    border: 1px solid lightgray;
    border-radius: 5px;
    height: 270px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 18px 20px -30px rgba(0, 0, 0, 0.4);
}

.card_inner > p, .card_txt > p{
    text-align: justify;
    font-size: 13px;
}

.card_txt{
    flex-basis: 50%;
    padding-left: 5px;
    padding-right: 15px;
}

.physiohiit{
    background: url(/img/physio/physiohiit.png) no-repeat center;
}

.physiowork{
    background: url(/img/physio/physiowork.png) no-repeat center;
}

.physiovitalite{
    background: url(/img/physio/physiovitalité.png) no-repeat center;
}

.img_card{
    width: 175px;
    height: 175px;
    flex-basis: 50%;
    background-size: contain;
}

.cta_cours{
    flex-basis: 100%;
    text-align: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.cta_cours > h2{
    margin: 0;
}

.cta_cours > .btn_{
    border-left: 1px solid #fff;
}

.titre_card{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.titre_card > .img_titre_card, .titre_card > h2{
    flex-basis: 50%;
    text-align: center;
}

.img_titre_card > img{
    width: 100%;
}
.lieu_pratique{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.lieu_pratique > h2, .lieu_pratique > #lieux{
    flex-basis: 100%;
}

.lieu_container{
    flex-basis:50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    padding: 25px 25px 25px 0px;
}

.body_pilates{
    background: url(/img/lieux/body_pilates.jpg) no-repeat top;
}

.studio_121{
    background: url(/img/lieux/studio_121.jpeg) no-repeat;
    background-position: right 35% bottom 80%;
}

.lieu_img{
    background-size: cover;
    width: 100%;
    height: 220px;
    flex-basis: 100%;
    filter: grayscale(.8);
    border-radius: 20px;
}

.lieu_img:hover{
    filter: grayscale(0);
}

#lieux{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.lieu_container > img{
    flex-basis:50%;
    width: 100%;
}

.titre_card > h2, .card_txt > h2{
    background: #69cad3;
    color: #fff;
    border-radius: 8px;
    text-transform: uppercase;
    text-align: center;
}

.tarifs_container, .tarif{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.tarif{
    padding: 10px;
    flex-basis: 30%;
    height: 220px;
    border: 1px solid lightgray;
    border-radius: 5px;
    margin: 15px;
    box-shadow: 0px 18px 20px -30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.prix{
    font-size: 45px;
    font-weight: 500;
    border-bottom: 5px solid #0b757f;
}

.prix > span{
    font-size: 30px;
}

.asterix{
    font-size: 12px;
    text-align: center;
    flex-basis: 100%;
}

.container_cta{
    text-align: center;
    margin-bottom: 5%;
    margin-top: 2%;
}

footer{
    text-align: center;
    background: #0b757f;
    color: #fff;
    display: flex;
    padding: 10px 10%;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 25px;
}

.block_liens_footer > span > a{
    color:#fff;
}
#liens_footer{
    flex-basis: 50%;
    margin-bottom: 10px;
}
#copyright{
    flex-basis: 100%;
}
#copyright > a {
    color:#fff;
}
#contact_footer{
    text-align: left;
    flex-basis: 25%;
}
#contact_footer > p{
    margin:0;
}
.footer-icon-social > a, .sitemap-plan > a{
    color: #fff;
    margin-right: 5px;
}
.footer-icon-social > a::before, .block_liens_footer > span > a::before, .sitemap-plan > a::before{
    background-color: #fff;
}
#sitemap{
    flex-basis: 25%;
}
#sitemap > p {
    margin: 0;
    text-align: left;
}
.sitemap-plan{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}
.sitemap-plan > a{
    font-weight: 400;
}
.footer_part{
    flex-basis:25%;
}

@media (max-width : 1390px){
    .physio > .card_inner{
        height: 400px;
    }
    .autres_cours > .card_inner{
        height: 220px;
    }
    .img_card, .card_txt{
        flex-basis: 100%;
    }
    .cta_cours{
        justify-content: center;
        flex-wrap: wrap;
    }
    .cta_cours > .btn_ {
        margin-top: 5px;
        font-size: 15px;
    }
    .autres_container > .card{
        flex-basis: 50%;
    }
}

@media (max-width: 1200px){
    .tarif{
        height: 300px;
        flex-basis: 100%;
    }
    .prix{
        font-size: 30px;
    }
    .prix > span { 
        font-size: 20px;
    }
    
}


@media (max-width: 816px){
    .txt_contenu{
        flex-basis: 100%;
    }
    .physio_mat > .img_card{
        display: none;
    }
    .physio_txt {
        flex-basis: 100%;
    }
}

@media (min-width: 965px) {
    #toggle-menu{
        display: flex;
    }
}

@media (max-width: 965px) {
    .hidden {
        display: none !important;
    }
    .flexbox{
        display: flex !important;
    }
    nav.header_part{
        display: none;
        flex-wrap: wrap;
        height: auto;
        overflow: hidden;
    }
    nav.header_part  > a{
        flex-basis: 100%;
        text-align: center;
        padding: 5px;
    }
    #header_top{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #mobile_menu{
        display: block;
        width: 75px;
        text-align: right;
    }
    #mobile_menu > i{
        font-size: 35px;
    }
    .footer_part{
        flex-basis:100% !important;
    }
    .footer_part > p{
        text-align: center !important;
    }
    .sitemap-plan{
        align-items: center;
    }
    #sitemap{
        margin-top: 10px;
    }
    .card, .autres_container > .card {
        flex-basis: 100%;
    }
}