/* Déclaration polices */

@font-face {
	font-family: 'Intro Rust';
	src: url('../fonts/introrust/introheadr-base.otf');
	src: url('../fonts/introrust/introheadr-base-webfont.woff');
	src: url('../fonts/introrust/introheadr-base-webfont.woff2');
}

@font-face {
	font-family: 'Bebas Neue';
	src: url('../fonts/bebas_neue/BebasNeue-Regular.eot');
	src: url('../fonts/bebas_neue/BebasNeue-Regular.otf');
	src: url('../fonts/bebas_neue/BebasNeue-Regular.ttf');
	src: url('../fonts/bebas_neue/BebasNeue-Regular.woff');
	src: url('../fonts/bebas_neue/BebasNeue-Regular.woff2');
}


/* Apparence globale de la page */

body {
	font-family: 'Intro Rust';
	background: linear-gradient(45deg, #4462B4, #5E42A6);
	color: white;
	margin: auto;
	padding-left: 50px;
	padding-right: 50px;
}

p, li {
	font-size: 1.5rem;
}

a {
	color: white;
}

h1, h2, h3 {
	font-family: 'Bebas Neue';
}

h1 {
	font-size: 1.8rem;
}

h2 {
	font-size: 1.6rem;
}

button a {
	color: black;
}

.haut {
	position: fixed;
	bottom : 10px;
	right: -100px;
	margin-right: 10px;
	border-radius: 5px;
	padding: 7px;
	background-color: #8BE8CB;
}

.haut a {
	text-decoration: none;
}

#profil {
	display: flex;
}

.accroche {
	width: 90%;
}

#cv {
	display: flex;
}

#cv aside {
	width: 30%;
	padding-left: 4vw;
	border-left: dotted 1px white;
}

#cv main {
	width: 70%;
	padding-right: 4vw;
}

#cv main li {
	padding-bottom: 1vh;
}


/* Header */
header {
	text-align: center;
}


/* Dropdowns */

.dropdown {
	position: relative;
	display: inline-block;
}

.dropbtn {
	display: flex;
	align-items: center;
}

.dropdown-content {
	position: absolute;
	left: -3vw;
	background-color: #3b3a3a;
    width: 15vw;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	padding-top: 1vh;
	padding-bottom: 1vh;
	padding-left: 1vw;
	padding-right: 1vw;
	justify-content: left;
}


/* Footer */

footer {
	display: flex;
	justify-content: space-around;
	align-items: center;
}


/* Images */

#avatar {
	width: 250px;
	border-radius: 200px;
	margin-right: 50px;
	margin-left: 50px;
}

#maquette {
	width: 80%;
	display: block;
	margin: auto;
}

#puzzle1 {
	width: 100%;
	border-radius: 5px;
}

#puzzle2 {
	width: 450px;
	border-radius: 5px;
}

#puzzle3 {
	width: 477px;
	border-radius: 5px;
}

#images_puzzles {
	display: flex;
	justify-content: space-around;
}

.pliage {
	width: 30%;
	border-radius: 5px;
}

#linkedin {
	width: 40px;
	padding-top: 10px;
}


/* Page active */

#active {
	font-weight: bold;
	color: #8BE8CB;
}


/* Responsive design */

@media screen and (max-width: 1024px) {
	#maquette, #puzzle1, #puzzle2, #puzzle3, .pliage, #cv main, #cv aside {
		width: 100%;
	}

	#images_puzzles, #pliages, #cv, #profil {
		flex-direction: column;
	}

	#cv aside {
		border-left: none;
		padding-left: 0;
	}

	#introduction {
		width: 100%;
	}

	#avatar {
		margin-left: auto;
		margin-right: auto;
	}

	.dropdown-content {
		width: 45vw;
	}
}