/*Colors
Noir 		#080705
Bordeaux 	#800000
Gris  		#696969
Gris clair	#C0C0C0
Blanc		#FFFCFF
*/

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	font-family: Lato, sans-serif;
	font-size: 16px;
	color: #fcfcfc;
	background-color: #534942;
	font-weight: 400;
}

.playfair-display-xl, .playfair-display {
	font-family: "Playfair Display", serif;
	font-optical-sizing: auto;
	letter-spacing: 1px;
	font-style: normal;
}

.playfair-display-xl {
	font-size: 48px;
	font-weight: 700;
}

.playfair-display {
	font-size: 28px;
	font-weight: 500;
}

h3 {
	font-weight: 900;
	font-size: 24px;
}

a,
.navbar a {
	color: #696969;
}

h3,
strong, 
b, 
em,
a:hover,
.navbar a:hover {
	color: #f4f4f4;
}

section {
	padding: 4rem;
}


.separator {
	width: 60%;
	height: 4px;
	margin: 1rem auto;
}

.custom-btn {
	display: inline-block;
	margin: 2rem 0;
	padding: 1rem 3rem;
	background-color: #534942;
	color: #f4f4f4;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	cursor: pointer;
	border: none;
}

.bg-orange, .separator {
	background-color: #d04c00;
}

.flashbag {
	position: fixed;
	width: 40vw;
	margin: 15vh 30vw;
	background-color: green;
	text-align: center;
	padding: 1.5rem 3rem;
	z-index: 9999;
	font-size: 2rem;
}

/*Header*/
.navbar {
	position: fixed;
	width: 100%;
	font-weight: 700;
}

.navbar-collapse {
	text-align: right;
	flex-grow: 0;
}

.logo {
	height: 40px;
}

/*Banner*/
.banner {
	background-image: url(../img/bg-header.png);
	background-repeat: no-repeat;
	background-position: 30% top;
	background-size: cover;
	height: 100vh;
	display: flex;
}

.banner>div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	width: 90%;
	margin: auto;
}

.banner>div>div {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: flex-start;
}


/*Services*/

.service {
    display: flex;
    align-items: center;
    height: 10rem;
    justify-content: space-evenly;
    padding: 0 10%;
}

.service:nth-child(odd) {
    text-align: right;
}

.service:nth-child(even) {
    flex-direction: row-reverse;
}

.service:nth-child(odd) div:first-child {
	padding-right: 1rem;
}

.service:nth-child(even) div:first-child {
	padding-left: 1rem;
}

.service div:first-child {
    width: 80%;
}

.service div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    font-size: 3rem;
    color: #800000;
    border: 2px solid #800000;
    border-radius: 50%;
	transition-duration: .5s;
}

.service div:last-child:hover {
	color: #fff;
	background-color: #800000;
}

/*Skills*/

.skills-details {
	text-align: center;
}

.skills-details img {
	width: 100%;
	max-width: 900px;
	margin: 2rem auto;
}


/*Contact*/
address div {
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 2rem;
}

form {
	text-align: center;
}

input, textarea {
	width: 100%;
	margin-bottom: 1rem;
	padding: 1rem;
	border: 2px solid #696969;
	background-color: #d04c00;
	color: #f4f4f4;
	font-weight: 700;
}

::placeholder {
	color: #d3d3d3;
	opacity: 1; /* Firefox */
	font-weight: 400;
}

::-ms-input-placeholder { /* Edge 12 -18 */
	color: #d3d3d3;
}

ul {
	list-style-type: none;
	padding-left: 0;
}

.captcha {
	display: flex;
	justify-content: end;
}

.sendButton {
	border: 0;
	color: #FFFCFF;
	background-color: #696969;
	padding: 1rem 2rem;
	width: 100%;
	transition-duration: .5s;
}

.sendButton:hover {
	color: #800000;
	background-color: #C0C0C0;
	padding: 1rem 2rem;

}

footer {
	text-align: center;
	background-color: #C0C0C0;
	margin-top: 3rem;
	padding: 2rem;
}

.contact a {
	cursor: pointer;
}

#backToTop {
	position: fixed;
	right: 1%;
	bottom: 15%;
	font-size: 4rem;
	cursor: pointer;
}

@media screen and (min-width: 992px) {
	h1 {
		font-family: Lato, sans-serif;
		font-size: 72px;
		font-weight: 900;
	}

	h2 {
		font-family: Lato, sans-serif;
		font-size: 54px;
		font-weight: 700;
	}

	.navbar {
		background-color: rgba(255,255,255,0.95)!important;
		font-size: 1.6rem;
	}

	.navbar li {
		margin: auto 1rem;
	}

	.logo {
		height: 60px;
	}
    
	.container {
		width: 75%;
	}

	.banner {
		background-position: 50% top;
	}

	.services-details {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;	
	}

	.service {
		width: 45%;
		padding: 0;
	}
}