*{
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}

body{
	background-color: #DBDBDB;
	margin: auto;
	font-family: '';
	font-size:  21px;
	min-height: 100vh;
}
img{
	width: 100%;
}
.anchor{
	display: block; 
	visibility: hidden;
}
.title{
	font-size: 34px;
	text-align: center
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}
.container{
	text-align: center;
	margin-top: 100px;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.table{
	margin-right: 2.5em;
	margin-left: 2.5em;
	margin-top: 1em;
	display: grid;
	grid-gap: 1em;
	height: auto;
}
.tableTable{
	background-color: #1E1F1E;
	color: #e7db74;
	box-shadow: 10px 5px 5px 5px #4a3f3f3d;
}
.tableContent{
	grid-area: auto;
	display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em;
	transition: transform 2s;
	transform-origin: top;
}

li:focus {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

/*Title*/

	.TitleSite{
		display: flex;
		background-color: #1E1F1E;
		color: #FFFFFF;
		align-items: center;
		justify-content: center;
		font-size: 10vw;
		height: 100dvh;
		width: 100%;

		span{
			text-shadow: 4px 3px #79151e;
		}
	}

	.backgroundCarousel{
		z-index: 0;
		position: absolute;
	    height: 100%;
	    width: 100%;
		display: flex;
	    flex-direction: column;
	}	
	.CarouselViewer{
		position: relative;
		align-content: center;
		width: 100%;
		height: 20%;
		overflow-x: hidden;
		font-size: 6vw;
	}

	 .Carousel{
	  	position: absolute;
	  	display: flex;
		gap: 50px;
	  	top: 0;
	}

	.gridCarouselContent{

		cursor: default;
		transition: color 2s linear;
    	width: max-content;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		color: #2f302f;
		filter: blur(5px);

		&:hover{
			color: white;
			filter: blur(0px);
		}
	}
	
	@media only screen and (max-width: 775px){

		.backgroundCarousel{
			display: none;
		}
		.TitleSite span{
			text-shadow: none;
		}
		
	}


/*Navbar*/

	.navbar{
		background: #1E1F1E;
		overflow: hidden;
		position: -webkit-sticky;
		position: sticky;
		top: -1px;
		text-align: center;
		z-index: 99;
		margin-top: -50px;
		height: 50px;
		align-items: center;  
		font-size: min(4vw,24px);
		transform-origin: bottom center;
	}

	.navbar ul{
		display: inline-flex;
		list-style-type: none;
		width: 90%;
		height: 100%;
	}
	.navbar li{
		cursor: pointer;
		text-decoration: none;
		position: relative;
		width: 100%;
		margin-right: 5px;
		margin-left: 5px;
		color: #e7db74;
		transition: color 0.5s;

		&::after{
		    content: "";
		    position: absolute;
		    bottom: 0;
		    left: 0;
		    width: 100%;
		    height: 100%;
		    opacity: 0;
		    transform: scaleY(0);
		    transform-origin: bottom center;
		    background: #DBDBDB;
		    z-index: -1;
		    transition: all 0.3s;		
		    border-top-left-radius: 5px;
		    border-top-right-radius: 5px;
		}
	}
	.navbar li:hover::after{
		opacity: 1;
    	transform: scaleY(1);
	}
	.navbar li:hover{
		color: black;
	}
	.navbar a{
		display: flex;
		flex-wrap: wrap;
		align-content: center;
		justify-content: center;
		text-decoration: inherit;
		color: inherit;
		width: 100%;
		height: 100%;
	}


/* Service */
	#services .table{
		grid-template-columns: 1fr 1fr;
		color: #e7db74;
	}
	#title.tableContent{
		background-color: #1E1F1E;
		color: #e7db74;
	}
	#services .tableTable{
		display: grid;
		grid-template-rows: 20% 80%;
	}
	#inTable.tableContent{
    	justify-content: space-evenly;
    	flex-direction: column;
		margin: 0;
		grid-gap: 0;
		grid-template-columns: 1fr;
		grid-template-rows: 40% 60%;
		background-color: #e7db74;
		color: #1E1F1E;
	}


	@media only screen and (max-width: 775px) {
		#services .table{
			grid-template-columns: 1fr;
			grid-template-rows: 1fr 1fr ;
		}
		#inTable.table{
			grid-template-columns: 40% 60%;
			grid-template-rows: 1fr;
		}
	} 

/* Realisation */
	.RealisationMain{
		width: 100%;
		display: flex;
    	flex-direction: column;
	}
	.RealGrid{
		display: grid;
		grid-template-columns: 1fr;
		grid-gap: 2%;
		width: 60%;
	}
	@media only screen and (max-width: 768px) {
	  .RealGrid{
		grid-template-columns: 1fr;
		grid-column: 1fr,
	  }
	}
	.RealGridContent{
		padding: 1vw;
		grid-area: auto;
		font-size: 31px;
		overflow: hidden;
	}
	.RealIMG{
		position: relative;
	}
	.RealOverlay{
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		background-color: #dcb7e9; 
		opacity: 0;
		position: absolute;
		top: 0;
		transition: 1s;
	}
	.RealOverlay:hover{
		opacity: 0.9;
	}
	.RealOverlay a{
		width: 100%; 
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		color: black;
	}

/* Footer */

	footer{
		width: 100%;
		position: absolute;
		left: 0;
		margin-top: 0px;
		padding: 0px;
		padding-top: 40px;
		background-color: #1E1F1E;
		color: #FFFFFF;
	    padding-bottom: 1em;
		align-items: center;
		justify-content: center;
		justify-items: center;
		text-align: center;
    	display: inline-grid;
		text-shadow: 1px 1px 2px black;		 
	}
	footer a{
		text-decoration: none;
		color: #cf1d2c;
	}

