@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;600;700&display=swap');

html,
body {
	position: relative;
}

body {
	color: #333;
	margin: 0;
	padding: 0px;
	box-sizing: border-box;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.4em;
}
:root {
	--main-color: rgb(195, 147, 75);
}

footer {
	justify-content: flex-end;
	display: flex;
	padding: 15px;
	margin-right: 0;
}

a {
	text-decoration: none;
	color: var(--main-color);
}

a.underline {
	padding-bottom: 5px;
	background-image: linear-gradient(120deg, var(--main-color) 0%, rgb(169, 131, 25) 100%);
	background-repeat: no-repeat;
	background-size: 100% 2%;
	background-position: 0 100%;
	transition: background-size 0.15s ease-in-out;
}

a.underline:hover {
	text-decoration: none;
	background-size: 100% 20%;
	background-position: 0 100%;
}

a:visited {
	/* color: rgb(0, 80, 160); */
}

nav > * {
	margin-right: 10px;
}

h1 {
	font-size: 2em;
	outline: none;
	font-weight: normal;
	margin-top: 0px;
	line-height: 1em;
}

h2 {
	font-weight: normal;
}

label {
	display: block;
}

input,
button,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	-webkit-padding: 0.4em 0;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

section {
	padding: 105px;
	/* padding-top: 160px; */
	min-height: calc(100vh - 265px);

	display: flex;
	justify-content: center;
	align-items: center;
}

.main {
	/* padding: 105px; */
	/* max-width: 1400px; */
	margin: 0 auto;
	width: 100%;
}

.underline-magical {
	text-decoration: none;
	background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
	background-repeat: no-repeat;
	background-size: 100% 0em;
	background-position: 0 100%;
	transition:
		background-size 0.5s ease-in-out,
		background-position 0.25s ease-in-out;
}

.underline-magical:hover {
	text-decoration: none;
	background-size: 100% 30%;
	background-position: 0 120%;
}

.container {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	grid-template-rows: minmax(auto, 1fr);
	align-items: center;
	justify-content: space-between;
	height: auto;
	/* width: calc(100% - 30px); */
	/* position: absolute; */
	padding: 15px 20px 20px 100px;
	box-sizing: border-box;
	top: 0;
	left: 0;

	gap: 15px;
}

@media (max-width: 1045px) {
	.container {
		height: auto;
		position: relative;
		flex-direction: column;
		padding: 130px 20px 20px 20px;
	}
}

.container.bureau {
	grid-template-columns: 0.65fr 0.35fr;
}

.slideshow {
	position: relative;
	margin-right: 0px;
	margin-left: auto;
	width: 100%;
	height: 100%;
	background: url(https://res.cloudinary.com/hiroba/image/upload/f_auto/v1659538002/maison48_full_kpzv9h.jpg);
	background-size: cover;
}
.slideshow.home {
	width: 80%;
}

@media (min-width: 1500px) {
	body {
		font-size: 18px;
		line-height: 1.6em;
	}
}
@media (max-width: 500px) {
	nav > * {
		margin-right: 0px;
	}

	section {
		padding: 20px;
		padding-top: 160px;
	}

	.container {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.container.bureau {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.slideshow.home {
		left: 10px;
		top: 10px;
		width: calc(100% - 20px);
		height: calc(100% - 20px);
		position: absolute;
		background-image: linear-gradient(45deg, #00000087, transparent),
			url(https://res.cloudinary.com/hiroba/image/upload/f_auto/v1659538002/maison48_full_kpzv9h.jpg);
		z-index: -10;
		background-position: 10%;
	}

	.main-link {
		text-decoration: none;
		color: rgb(255 204 87);
	}
}

.btn.primary {
	-webkit-appearance: none;
	appearance: none;
	border: 1px solid white;
	background-color: black;
	color: white;
	padding: 15px;
	transition: all 0.25s ease-in-out;
	cursor: pointer;
}

.btn.primary:hover {
	background-color: white;
	border: 1px solid black;
	color: black;
}

.navigation-small-item {
	margin: 15px;
}
