body {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
	font-size: 1.1em;
	max-width: 100%;
	overflow-x: hidden;
	color: #161616;
}

*{
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

img {
	width: 100%;
	object-fit: cover;
}

.descappart > div > img {
	height: 100%;
}

nav > div > ul {
	list-style-type: none;
	display: flex;
	justify-content: space-between;
	height: 20px;
	width: 30%;
	margin: auto;
}

li {
	display: flex;
	justify-content: center;
}

.burger {
	display: none;
}


li > a {
	cursor: pointer;
	color: #ffffff;
	font-size: 1em;
	font-weight: bold;
	transition: transform 0.4s ease;
	position: absolute;

}


li > a:hover {
	transform: translateY(-6px);
}


header {
	background-color: #161616;
	color: #ffffff;
	font-weight: bold;
	margin: auto;
	height: 10vh;
	line-height: 10vh;
}

/*.accueil {
	height: 90vh;
	background-image: url('../img/chateau.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
*/


.accueil {
	height: 90vh;
}

.accueil:after{
	content:"";
	position:fixed;
	top:0;
	height:100vh;
	width: 100%;
	left:0;
	z-index:-50;
	background: url("../img/chateau.webp") center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


.accueil > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.button {
	text-decoration: none;
	border: 1px solid #161616;
	background: none;
	color: #161616;
	font-family: 'Inter', sans-serif;
	font-size: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 2em;
	padding-right: 2em;
	cursor: pointer;

	transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.button:hover {
	transform: translateY(-6px);
	background-color: #161616;
	color: #ffffff;
}

.accueil > div > .button {
	color: #ffffff;
	border: 1px solid #ffffff;
}

.accueil >  div > .button:hover {
	background-color: #ffffff;
	color: #161616;
}

.accueil > div > h1 {
	color: #ffffff;
	font-weight: italic;
}

h1 {
	font-size: 2em;
	font-family: 'Libre Baskerville', serif;
	padding-bottom: 2em;
	text-align: center;
}

.slogan {
	background-color: #E2C9B3;
	height: 20vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-left: 20em;
	padding-right: 20em;
}

.descappart {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	background-color: #F2EFEA;
}

.descappart > div:nth-child(1) {
	padding: 10em;
	text-align: justify;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.galerie {
	text-align: center;
	padding-top: 7em;
	padding-bottom: 7em;
	background-color: #ffffff; 
}

.slick-slide {
	padding: 1em;
}

.equipement {
	background-color: #F2EFEA;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 7em;
	padding-bottom: 7em;
	padding-left: 20em;
	padding-right: 20em;
}

.equipement > div {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding-top: 2em;
}

.equipement > div > div {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.equiplogo {
	width: 48px;
	padding-bottom: 1em;
}

.alentours {
	height: 70vh;
	background-image: url('../img/pontdarc.webp');
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.listelieu {
	background-color: #E2C9B3;
	width: 40%;
	height: 40%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	padding-top: 7em;
	padding-bottom: 7em;
}

.listelieu > ul {
	padding-bottom: 2em;
	display: flex;
	flex-direction: column;
	align-items: start;
}

.listelieu > ul > li {
	padding-bottom: 1em;
}

.listelieu > ul > li::before {
	content: '\2022';
	margin-right: 0.5em;
}

.geographie {
	background-color: #F2EFEA;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.geographie > div {
	width: 50%;
	padding: 7em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: justify;
}

.contact {
	background-color: #ffffff;
	padding-top: 7em;
	padding-bottom: 7em;
	display: flex;
	flex-direction: column;
	align-items: center;
}


footer {
	height: 25vh;
	background-color: #161616;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	flex-direction: column;
	font-size: 0.9em;
	text-de
}

footer > a {
	padding-top: 1em;
	color: #ffffff;
	text-decoration: underline;
}

.mentions-legales {
	padding: 4em;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding-bottom: 2em;
	padding-top: 2em;
}

.mentions-legales > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2em;
	text-align: center;
}

h3 {
	padding-bottom: 1em;
}


/*Formulaire*/



form {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

form > div:nth-child(1) {
	display: flex;
	justify-content: space-between;
}

.formelem {
	display: flex;
	flex-direction: column;
	position: relative;
}

form > div {
	width: 100%;
	padding-top: 2em; 
}

input, textarea {
	border: none;
	border-bottom: 1px solid #161616;
	padding-top: 2em;
	transition: border-width 0.2s ease-in, padding-top 0.3s ease;
}

input:focus, 
textarea:focus {
	outline:none;
	border-bottom: 2px solid #161616;
	padding-top: 5em;
}

label {
	transition: transform 0.4s ease, font-size 0.4s ease;
	position: absolute;
}


form > button {
	margin-top: 4em;
}

.formulaire {
	width: 500px;
}


.contact > div {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding-top: 2em;
	width: 100%;
}

.hote {
	display: grid;
	grid-template-rows: 10fr 1fr;
	grid-template-columns: 1fr 2fr;
	grid-gap: 4em;
	width: 700px;
}

.hote > div:nth-child(3), .hote > div:nth-child(4) {
	display: flex;
	align-items: center;
}

.hote > div:nth-child(1) {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hote > div:nth-child(2) > p {
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
	text-align: justify;
}

h2 {
	padding-bottom: 1em;
}

a {
	cursor: pointer;
	text-decoration: none;
}

.hote > div > a {
	color: #161616;
	padding-left: 2em;
	font-size: 0.7em;
}

#popup-close > img {
	width: 30px;
	height: 30px;
}

.galerie-item {
	transition: transform 0.3s ease;
}

.galerie-item:hover {
	transform: scale(1.05);
	z-index: 4;
}

#popup-bg {
	background-color: rgba(22, 22, 22, 0.5);
	backdrop-filter: blur(3px);
	position: fixed;
	overflow: hidden;
	z-index: 105;
	width: 100vw;
	height: 100vh;
	display: none;
}

#popup-bg.popup-active {
	display: block;
}

#popup-content {
	position: absolute;
	width: 30%;
	height: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#popup-close {
	position: absolute;
	top: 2%;
	right: 2%;
	transition: transform 0.3s ease;
}

.bodyactive {
	overflow: hidden;
}

.bar {
	width: 30px;
	height: 3px;
	background-color: #ffffff;
	border-radius: 2px;
	margin: 7px 0;
	transition: 0.3s;
}

#popup-close .bar:nth-child(1) {
	transform: rotate(-45deg) translate(-1px, 6px);
	background-color: #161616;
}

#popup-close .bar:nth-child(2) {
	transform: rotate(45deg) translate(-1px, -6px);
	background-color: #161616;
}

#popup-close:hover {
	transform: scale(1.2);
}





@media (max-width: 1560px) {

	.descappart > div:nth-child(1) {
		padding: 5em;
	}

	.hote {
		grid-template-columns: 1fr;
		grid-template-rows: 10fr 8fr 1fr 1fr;
		grid-gap: 1em;
		width: 400px;
	}

	.hote > div:nth-child(1) {
		width: 250px;
	}

	form > div:nth-child(1) {
		flex-direction: column;
	}

	form > div:nth-child(1) > div {
		padding-top: 2em;
	}

	.inpre {
		width: 100%;
	}

	.geographie > div {
		padding: 5em;
	}

	.equipement {
		padding-right: 10em;
		padding-left: 10em;
	}

	.listelieu {
		width: 45%;
	}

	.geographie > div {
		padding: 5em;
	}

	#popup-content {
		width: 36%;
	}

	.formulaire {
		width: 400px;
	}


}

@media (max-width: 1280px) {

	.slogan {
		height: 100%;
		padding:4em;
	}


	.listelieu {
		width: 50%;
	}

	.contact > div {
		flex-direction: column;
		padding-top: 0em;
	}

	.hote {
		padding-top: 4em;
		width: 70%;
	}

	.formulaire {
		width: 70%;
	}

	form > div:nth-child(1) {
		padding-top: 0em;
	}

	nav > div > ul {
		width: 40%;
	}

	#popup-content {
		width: 45%;
	}


}

@media (max-width: 1200px) {

	.geographie {
		flex-direction: column;
	}

	.geographie > div {
		padding-left: 0em;
		padding-right: 0em;
		width: 80%;
	}

	.geographie > div:nth-child(2) {
		padding-top: 0em;
	}

	#popup-content {
		width: 48%;
	}

}

@media (min-width: 768px) {
	.descappart {
		background-attachment: fixed;
	}

	.alentours {
		background-attachment: fixed;
	}

}

@media (max-width: 1000px) {

	.descappart {
		height: 100%;
		background-image: url('../img/chateau3.webp');
		background-repeat: no-repeat;
		background-size: cover;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.descappart > div:nth-child(1) {
		width: 100%;
		height: 40%;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		padding-top: 4em;
		padding-bottom: 4em;
		color: #ffffff;
	}

	.equipement {
		padding-left: 5em;
		padding-right: 5em;
	}

	.listelieu {
		width: 70%;
	}

	#popup-content {
		width: 55%;
	}


}


@media (max-width: 850px) {

	nav > div > ul {
		width: 50%;
	}

	#popup-content {
		width: 70%;
	}

}

@media (max-width: 700px) {
	.listelieu {
		width: 80%;
	}

	.equipement {
		padding-right: 3em;
		padding-left: 3em;
	}

	iframe {
		height: 300px;
	}

	.hote {
		padding-left: 5%;
		padding-right: 5%;
	}

}


@media (max-width: 650px) {

	.equipement > div {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 100%;
		padding-top: 2em;
	}

	.equipement > div > div {
		padding-top: 2em;
		padding-bottom: 2em;
	}

	.listelieu {
		justify-content: center;
		padding-left: 3em;
		padding-right: 3em;
		width: 100%;
	}


	.alentours {
		justify-content: center;
		align-items: start;
		height: 100%;
	}

	.descappart > div:nth-child(1) {
		padding: 2em;
	}

	.nav-links {
		position: absolute;
		height: 100%;
		width: 100%;
		background-color: #161616;
		display: flex;
		align-items: center;
		margin-left: -200%;
		top: 0;
		transition: all 0.5s ease-out;
		z-index: 15;
	}

	.nav-links ul {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
	}

	nav > div > ul {
		height: 50vh;
	}

	header {
		line-height: 0;
	}

	.burger {
		display: block;
		z-index: 20;
		cursor: pointer;
	}

	.burger.active .bar:nth-child(1) {
		transform: rotate(-45deg) translate(-8px, 6px);
	}

	.burger.active .bar:nth-child(2) {
		opacity: 0;
	}

	.burger.active .bar:nth-child(3) {
		transform: rotate(45deg) translate(-8px, -6px);
	}

	nav {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	header {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.nav-links.mobile-menu {
		margin-left: 0;
	}

	#popup-content {
		width: 85%;
	}

}

