/*** PAGES DES AUBERGES ***/

/* Dormir à l'auberge */
.dormir{
    text-align: center;
    margin: 5em 5%;
    position: relative;
}
.dormir__chambres{
    display: flex;
    width: 100%;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top:2rem;
}
.dormir--auberge .dormir__chambres{
    display: flex;
    width: 100%;
	margin-top:2rem;
	overflow: hidden;
	gap: 0;
	flex-wrap: nowrap;
}
.dormir .chambre{
    text-align: start;
    background-color: #E9F5F6;
    margin: 0.5em 0;
    min-width: 100%;
    left: 0%;
    transition: 0.2s;
    position: relative;
	border-radius: 5px;
}
.chambre__img{
    width: 100%;
	height: 45%;
    object-fit: cover;
	border-radius: 5px;
}
.chambre__infos{
    padding: 2rem;
    position: relative;
}
.chambre__price{
    background-color: white;
    padding:0.5rem 1.5rem;
    position: absolute;
    top: -2rem;
    left: 0;
}
.chambre__price span{
	display: block;
	font-size: 0.7rem
}
.chambre__title{
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.dormir .slider__control--next{
    background-color: #eaf5f7;
}
.dormir .slider__controls{
    bottom: 4em;
    width: inherit;
}
.dormir__buttons{
    padding-top: 6em;
}
.dormir .chambres__info{
	text-align: left;
	margin: 2rem 0;
	margin-top: 0.5rem;
    font-size: 0.8rem;
}
.dormir .chambre__pictos{
	margin-top: 1rem;
}
.dormir .chambre__pictos > img{
	margin-right: 0.5rem;
}
.dormir .slider__controls{
	margin-top:0;
}

@media(min-width: 950px){
    .dormir {
        margin-top: 8em;
    }
	.dormir__chambre{
			box-shadow: rgb(0 0 0 / 10%) 0px 4px 12px;
	}
    .dormir__chambres{
        justify-content: center;
		overflow: inherit;
		gap: 0;
    }
    .dormir .chambre {
        width: 30%;
        margin: 2em 1em;
        min-width: 30%;
    }
	.dormir .chambre:hover {
		transform: scale(1.10, 1.10);
	}
    .dormir .slider__controls{
        display: none;
    }
    .dormir__buttons{
        padding-top: 0;
    }
	.dormir .chambres__info{
		margin-top: 1rem;
	}
}

/*** Slider ***/

.chambre__slider, .chambre__imgs {
  width: 100%;
  height: 250px;
  position: relative;
}

.chambre__slider .chambre__imgs {
  display: flex;
  overflow: hidden;
}

.chambre__slider .chambre__img {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  left: 100%;
  animation: .6s cubic-bezier(0.645, 0.045, 0.355, 1) 0s left;
  animation-fill-mode: forwards;
  background-size: cover !important;
  background-position: 50% !important;
}

.dots {
  position: absolute;
  bottom: -2rem;
  right: 2rem;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 2
}

.dot {
  width: 12px;
  height: 12px;
  background: gray;
  border-radius: 50%;
  margin: 0 3px;
  cursor: pointer;
}

.active-dot {
  background: #3f3f3f;
  cursor: default;
}

@keyframes leftNext {
  from { left: 100%; }
  to { left: 0; }
}

@keyframes leftCurr {
  from { left: 0; }
  to { left: -100%; }
}

@keyframes rightNext {
  from { left: -100%; }
  to { left: 0; }
}

@keyframes rightCurr {
  from { left: 0; }
  to { left: 100%; }
}

@media(min-width: 700px){
	.chambre__slider, .chambre__imgs {
	  height: 400px;
	}
}

@media(min-width: 950px){
	.chambre__slider, .chambre__imgs {
	  height: 250px;
	}
}


