@charset "UTF-8";
/* CSS Document */

*{
	margin:0px;
	padding:0px;
	box-sizing: border-box;
}

@font-face {
	font-family: Spartan;
	src: url("../fonts/Spartan.ttf") format("truetype");
	font-display: auto;
  }

:root{
	--intro-bg-color: #000;
	--secondary-color: #088ec0;
}

body{
    background-image: url(../img/backgfond.jpg);
	background-repeat: reapet-x;
	background-color: #fff;
	font-size: 12px;
	text-align:center;
	font-family: Spartan, Verdana, "Courier New", Courier, monospace;
}

.intro{
	width:100%;
	height:100vh; 
	/* background-image: url(../img/backghead.jpg); */
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column nowrap;
	background-color: var(--intro-bg-color);
	padding: 10px;
	color:#fff;
	font-size: 16px;
	overflow: hidden;
	z-index: 1;
	
}

.intro_text{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column nowrap;
	z-index: 2;
	}

h1,h2{
	margin: 6px;
	font-weight: normal;
}

h1{
	font-size:3em;
}

h3{
	position: relative;
	text-align: left;
	width: 550px ;
	color: var(--secondary-color);
	text-transform: uppercase;
	margin: 5px 10px;
	/* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); */
}
h3::after{
	position: absolute;
	content: "";
	z-index: 5;
	width: 200px;
	height: 3px;
	display: block;
	background-color: var(--secondary-color);
	bottom: -8px;
	/* box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); */

}

.intro_subtext{
	margin: 30px 12px 12px;
	}

.ligne_titre { 
	display: flex; 
	font-size:20px;
	line-height: 22px;
	flex-direction: row; 
	justify-content: center;
} 
	
.ligne_titre:before, .ligne_titre:after { 
	content: ""; 
	flex: 1 1; 
	border-bottom: 1px solid; 
	margin: 2px 6px 8px; 
	width: 100px;
} 


@keyframes slidein {
	from {
	  transform: translateY(-25px);
	  opacity: 0%;
	}
  
	to {
	  transform: translateY(0);
	  opacity: 100%;
	}
  }

.title_letter{
	display: inline-block;
	transition: transform 500ms ease;
	animation: slidein 1s ease backwards;
}
.title_letter:hover{
	transform: scale(125%);
}

.center{
	display: flex;
	align-items: center;
	flex-flow: column;
	width: 100%;
	margin: 5px 0;
	}

.web_section{
	display: grid;
	grid-template-columns: repeat(6,75px);
	grid-template-rows: repeat(auto-fill,75px);
 	grid-gap: 15px;
  	grid-auto-flow: dense;
	width: 550px;
	margin: 0px auto;
	padding: 15px;
	z-index: 5;
	}

.header-clip{
	clip-path: polygon(0 0, 100% 0%, 100% 85%, 0 15%);
	background-color: var(--intro-bg-color);
	width: 100%;
	height: 100px;
}

.footer-clip{
	clip-path: polygon(100% 100%, 0px 100%, 0px 85%, 100% 15%);
	background-color: var(--secondary-color);
	width: 100%;
	height: 100px;
}

.blocky{
	display: block;
	width: 75px;
	height: 75px;
	min-width: 75px;
	background-color: #fdfdfd;
	border-radius: 5px;
	box-shadow: 1px 1px 8px rgba(0,0,0,0.5);
	transition:background-color 750ms ease;
	}


.blocky a{
	display:block;
	width: 75px;
	height:75px;
	background-color: rgba(255,255,255,0);
	border-radius: 5px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	transition:background-color 750ms ease;
}

.blocky a:hover{
	background-color: rgba(255,255,255,0.5);
	box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
	transition:background-color 500ms ease;
	}

.blocky2{
	display:block;
	width: 75px;
	height:75px;
	color:#fff;
	font-size:10px;
	line-height:20px;
	border-radius: 5px;
	text-align: center;
}
	
.skills{
display:block;
padding: 3px;
grid-column: 4 / 7;
grid-row: 1 / 3;
color:#083157;
font-size:16px;
line-height:18px;
background-color: var(--secondary-color);
border-radius: 5px;
padding: 10px 0;
text-align: center;
box-shadow: 1px 1px 8px rgba(0,0,0,0.5), 1px 1px 2px rgba(0,0,0,0.5);
}

.skills_list{
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-flow: row wrap;
	width: 100%;
	list-style: none;
	font-weight: 500;
	margin-top: 10px 10px;
}

.skills_list li{
	font-size: 16px;
	margin: 3px 2px;
	white-space: nowrap;
}

.skills_list li:nth-child(even){
	color: #fff;
}

.footer{
	display: flex;
	justify-content: center;
	width: 100%;
	background-color: var(--secondary-color);
	padding-bottom: 10px;
}

.footer_link{
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	width: 75px;
	height: 75px;
	border: 3px solid #fff;
	font-size: 4em;
	margin: 5px;
	border-radius: 5px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	text-decoration: none;

}

@media screen and (min-width: 700px) {

	h2{
	font-size:20px;
	line-height: 22px;
	}
	
}
@media screen and (min-width: 523px) and (max-width: 699px) {

	.header{
		height:160px; 
	}
	
	.web_section{
		grid-template-columns: repeat(6,75px);
		grid-template-rows: repeat(auto-fill,75px);
		grid-gap: 10px;
		width: 530px;
	}
	

	h1{
		font-size:30px;
		line-height: 32px;
	}

	h3{
		width: 530px ;
	}
	.ligne_titre{
		font-size:18px;
		line-height: 20px;
	}
	.blocky2{
		display:none;
	}
}
@media screen and (max-width: 522px){

	
	.header{
		height:140px; 
	}
	
	.web_section{
	grid-template-columns: repeat(3,75px);
	grid-template-rows: repeat(auto-fill,75px);
 	grid-gap: 10px;
	 width: 275px;
	}

	h1{
	font-size:18px;
	line-height: 20px;
	}
	h3{
		width: 275px ;
	}
	
	.ligne_titre{
	font-size:12px;
	line-height: 14px;
	}

	.blocky2{
	display:none;
	}

	.skills{
		display:block;
		padding: 3px;
		grid-column: 1 / 4;
		grid-row: 2 / 4;
	}
}


	#cdess{
		position: absolute;
		margin:0 auto;
		top: 75px;
		width:510px;
		z-index:10;
		border:5px solid #fff;
		border-radius: 15px;
		box-shadow: 0px 0px 12px #555;
	}

.blocky2 a{
display:block;
width: 75px;
height:75px;
border-radius: 10px;
}

