
.titre_des_pages{
    position:absolute;
    margin-top:10%;
    left: 35%;
    width:30%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 999;
    color: #fff;
    font-size:300%;
}
.banniere_nuitee{
    width: 100%;
}
.presentation{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    margin-bottom: 20px;
    align-items: center;
    
}
.texte_presentation{
    width: 50%;
    height: 100%;
    color: #154773;
    text-align: center;
    justify-content: center;
    margin-left: 150px;
    

}
.img_presentation{
    width: 50%;
    height: 300px;
    display: flex;
    justify-content: center;
}

.card_hebergement{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 30px;

}
.card{
    background-color: #269CCA;
    border-radius: 5px;
    margin: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
}
.card-body{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.btn-primary{
    background-color: #b8a23c;
    color: white;
    border-radius: 5px;
}
.btn-primary:hover{
    background-color: white;
    color: #b8a23c;
}
.card-img-top{
    width: 90%;
    height: 250px;
}





/*---------------*/
/***** Marley *****/
/*---------------*/
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: '';
}

.clearfix:after {
    clear: both;
}

.grid {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 600px;
    list-style: none;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* Common style */
.grid figure {
    position: relative;
    overflow: hidden;
    margin: 15px 1%;
    height: 500px; 
    width: 25%;
    background: #1a5b96;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    object-fit: cover;
    display: block;
    height: 100%;
    width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption>a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

/* Anchor will cover the whole item by default */
.grid figure figcaption>a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

.content_nuitee {
  margin: 0 auto;
  margin-top: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
figure.effect-marley figcaption {
	text-align: right;
  width: 100%;
}

figure.effect-marley h2,
figure.effect-marley p {
	position: absolute;
	right: 30px;
	left: 30px;
	padding: 10px 0;
}


figure.effect-marley p {
	bottom: 30px;
	line-height: 1.5;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-marley h2 {
	top: 30px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-marley:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-marley h2::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #fff;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-marley h2::after,
figure.effect-marley p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-marley:hover h2::after,
figure.effect-marley:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
