@font-face{
    font-family: "Roboto";
    src: url("../Polices/roboto/Roboto-Regular.ttf");
    font-family:"RobotoLight";
    src: url("../Polices/roboto/Roboto-Light.ttf");
    font-family: "RobotoMedium";
    src: url("../Polices/roboto/Roboto-Medium.ttf");
}

*{
    box-sizing : border-box;
}

body{
    background-color: black!important;
    margin: 0;
    margin-bottom: 100px!important;
}

/*bouton retour*/
.bouton_retour a{
    color: white;
    padding: 0.7em calc(0.7em * 1.2);
    display: inline-block;
    border: 3px solid transparent;
    position: relative;
    font-size: 1.5em;
    cursor: pointer;
    letter-spacing: 0.07em;
    text-decoration: none;
}

.bouton_retour a:hover{
    text-decoration: none!important;
    color: white!important;
}

.bouton_retour a .text {
    font-family: "RobotoMedium";
    font-size: 30px;
    transform: translate3d(0, 0.7em, 0);
    display: block;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1) 0.4s;
}
.bouton_retour a:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: calc(0.7em * 1.2);
    right: calc(0.7em * 1.2);
    height: 3px;
    background-color: #914152;
    transition: transform 0.8s cubic-bezier(1, 0, 0.37, 1) 0.2s, right 0.2s cubic-bezier(0.04, 0.48, 0, 1) 0.6s, left 0.4s cubic-bezier(0.04, 0.48, 0, 1) 0.6s;
    transform-origin: left;
}

.bouton_retour .line {
    position: absolute;
    background-color: #914152;
}

.bouton_retour .line.-right, .bouton_retour .line.-left {
    width: 3px;
    bottom: -3px;
    top: -3px;
    transform: scale3d(1, 0, 1);
}

.bouton_retour .line.-top, .bouton_retour .line.-bottom {
    height: 3px;
    left: -3px;
    right: -3px;
    transform: scale3d(0, 1, 1);
}

.bouton_retour .line.-right {
    right: -3px;
    transition: transform 0.1s cubic-bezier(1, 0, 0.65, 1.01) 0.23s;
    transform-origin: top;
}

.bouton_retour .line.-top {
    top: -3px;
    transition: transform 0.08s linear 0.43s;
    transform-origin: left;
}

.bouton_retour .line.-left {
    left: -3px;
    transition: transform 0.08s linear 0.51s;
    transform-origin: bottom;
}

.bouton_retour .line.-bottom {
    bottom: -3px;
    transition: transform 0.3s cubic-bezier(1, 0, 0.65, 1.01);
    transform-origin: right;
}

.bouton_retour a:hover .text,
.bouton_retour a:active .text {
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1) 0.4s;
}

.bouton_retour a:hover:after,
.bouton_retour a:active:after {
    transform: scale3d(0, 1, 1);
    right: -3px;
    left: -3px;
    transform-origin: right;
    transition: transform 0.2s cubic-bezier(1, 0, 0.65, 1.01) 0.17s, right 0.2s cubic-bezier(1, 0, 0.65, 1.01), left 0s 0.3s;
}

.bouton_retour a:hover .line,
.bouton_retour a:active .line {
    transform: scale3d(1, 1, 1);
}

.bouton_retour a:hover .line.-right,
.bouton_retour a:active .line.-right {
    transition: transform 0.1s cubic-bezier(1, 0, 0.65, 1.01) 0.2s;
    transform-origin: bottom;
}

.bouton_retour a:hover .line.-top,
.bouton_retour a:active .line.-top {
    transition: transform 0.08s linear 0.4s;
    transform-origin: right;
}

.bouton_retour a:hover .line.-left,
.bouton_retour a:active .line.-left {
    transition: transform 0.08s linear 0.48s;
    transform-origin: top;
}

.bouton_retour a:hover .line.-bottom,
.bouton_retour a:active .line.-bottom {
    transition: transform 0.5s cubic-bezier(0, 0.53, 0.29, 1) 0.56s;
    transform-origin: left;
}


/*fin bouton retour*/



/* contenu*/

#filtres{
    display: flex;
    justify-content: center;
}

button{
    margin-right: 20px;
    background-color: white;
    font-family: "RobotoMedium"!important;
    font-size: 20px!important;
    border-radius:12px 0 12px 0;
	border:none;
	padding:8px 12px 8px 12px;
    box-shadow:3px 3px 12px #999;
}

button:hover{
    box-shadow: 0px 0px 0px #999;
}

button{
    margin-left: 10px!important;
}

.carousel-control{
    width: 15%!important;
}

.carousel{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

h4{
    font-size: 30px!important;
    color: #914152!important;
    font-weight: 100!important;
}

p{
    font-size: 18px!important;
    color: white!important;
}

h4,p{
    text-align: center;
    font-family: "Roboto"!important;
}

.photo1, .videos{
    display: none;
}

img{
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.img_pascentre{
    margin-right: 0;
}

.ensemble{
    margin: 0 auto;
}

.ensemble .descript{
    margin-left: 0;
}

.ensemble h4{
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.ensemble p{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.ensemble_parties video{
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    display: block;
}

.siteretroworld{
    text-decoration: none;
    color: #914152;
}

.siteretroworld:hover{
    text-decoration: line-through;
}

.description_projet{
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    grid-auto-rows: 400px;
}

.description_projet a img{
    width: 50%;
}

#imgesthetique{
    margin-bottom: 15px;
}

embed{
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 100%;
}

.embed_video{
    width: 80%;
}

.item img{
    margin-left: auto;
    margin-right: auto;
}

.redi_photo{
    transform: rotate(-90deg);
}

.videoyoutube{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lien{
    color: #914152;
    text-decoration: none;
}

.lien:hover{
    color: white;
}

@media screen and (max-width:993px){
    .bouton_retour .text{
        font-size: 40px!important;
    }
    
    button{
        font-size: 40px!important;
        padding: 12px 18px 12px 18px;
    }
    
    .description_projet{
        display: block;
    }
    
    .ensemble_parties{
        margin-top: 100px;
    }
    
    .siteretroworld{
        font-size: 13px;
    }
    
    a#cRetour{
        display: none;
    }
    
    .img_pascentre{
        margin-right: auto;
    }
    
    .ensemble p{
        font-size: 14px!important;
    }
    
    .extrascolaire h4{
        font-size: 55px!important;
        margin-top: 100px;
    }
    
    .extrascolaire p{
        font-size: 25px!important;
    }
}













a#cRetour{
    border-radius: 3px;
    padding: 10px;
    font-size: 15px;
    text-align: center;
    color: black;
    background: white;
    position: fixed;
    right: 20px;
    opacity: 1;
    z-index: 99;
    transition: all ease-in 0.2s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    text-decoration: none;
}

a#cRetour:before{ 
    content: "\25b2"; 
}

a#cRetour:hover{
    background: black;
    color: white;
    transition:all ease-in 0.2s;
}

a#cRetour.cInvisible{
    bottom:-35px;
    opacity:0;
    transition:all ease-in 0.5s;
}

a#cRetour.cVisible{
    bottom:20px;
    opacity:1;
}
