@font-face {
	font-family: "Jost";
	src: url("./fonts/Jost/Jost-400-Book.otf");
}

/* General Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Jost", "Arial", sans-serif;
}

html {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	height: 100%;
	display: flex;
	flex-direction: column;
	color: #161616;
	background-color: white;
	text-align: center;
}

img {
	max-width: 100%;
	cursor: pointer;
}

/* Fullscreen container */
.fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.fullscreen img {
	max-width: 90%;
	max-height: 90%;
	transition: transform 0.2s;
}

main {
	flex: 1;
}

h2 {
	font-size: 28px;
}

/* Header */
header {
	padding: 20px;
	background-color: #e9e9e9;
	border-bottom: 0.5px solid #aa9625;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

header img {
	height: 60px;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 80%;
	margin: auto;
}

.logo {
	height: 60px;
}

nav ul {
	list-style: none;
	display: flex;
}

nav li {
	margin: 0 15px;
}

nav a {
	color: #161616;
	text-decoration: none;
	font-size: 18px;
}

nav a:hover {
	color: #aa9625;
}

/* Hero Section */
#accueil {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px;
	box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.35); /* vignette */
}

#accueil img {
	width: 150px;
	border-radius: 50%;
	border: 3px solid #aa9625;
	margin-bottom: 20px;
}

#slogan {
	font-size: 25px;
}

/* Services Section */
#services {
	padding: 40px;
	background-color: #161616;
	color: #e9e9e9;
	border-top: 0.5px solid #aa9625;
	border-bottom: 0.5px solid #aa9625;
	box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1), 0 -2px 4px -2px rgb(0 0 0 / 0.1), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

#services h2 {
	color: #d2ba36;
}

#services-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*.service-item {}*/

.boitier {
	height: 250px;
}

.electronic {
	width: 350px;
}

/* Contact Form */
#contact {
	padding: 40px;
}

form {
	display: flex;
	flex-direction: column;
	width: 50%;
	margin: auto;
}

label {
	margin-top: 10px;
}

input,
textarea {
	padding: 10px;
	border: 1px solid #aa9625;
	background-color: white;
	color: #161616;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

textarea {
	min-height: 70px;
	resize: vertical;
}

button {
	margin-top: 15px;
	padding: 10px;
	background-color: #aa9625;
	color: #161616;
	border: none;
	cursor: pointer;
	font-size: 16px;
	transition: 0.8s ease;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

button:hover {
	background-color: #e0c738;
	transition: 0.3s ease;
}

ul {
	list-style: none;
}

/* Footer */
footer {
	background-color: #161616;
	color: #e9e9e9;
	padding: 20px;
	padding-bottom: 10px;
	border-top: 0.5px solid #aa9625;
	box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1), 0 -2px 4px -2px rgb(0 0 0 / 0.1);
}

footer img {
	height: 40px;
	margin-top: 10px;
}

@media screen and (max-width: 850px) {
	#slogan {
		font-size: 15px;
	}

	form {
		width: inherit;
	}

	h2 {
		font-size: 20px;
	}

	h3 {
		font-size: 16px;
	}

	.boitier {
		height: 150px;
	}
	
	.electronic {
		width: 200px;
	}

	.header-content {
		width: 95%;
	}

	header {
		padding: 5px;
	}

	#accueil {
		padding: 20px;
	}

	#contact {
		padding: 10px;
	}
}