/* ----------------------------------------------- Global ----------------------------------------------- */
:root {
	--dark-purple: rgb(10, 0, 19);
	--purple: rgb(132, 35, 156);
	--pink: rgb(255, 0, 225);
	--dark-pink: rgba(255, 0, 225, 0.15);
	--blue: rgb(0, 0, 232);
	--light-blue: rgb(0, 217, 255);
	--light-gray: rgb(244, 244, 244);
}
* {
	scroll-behavior: smooth;
}
body {
	margin: 0rem;
	padding: 0rem;
	font-family: 'Century Gothic', 'Helvetica', 'Arial';
	/* background-color: var(--light-gray); */
	background-color: black;
	color: white;
}
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    padding: 1rem;
    align-items: center;
	background: linear-gradient(to bottom,#000000d4,transparent);
    color: white;
	text-align: center;
	backdrop-filter: blur(2px);
}
header a {
	margin: 1rem;
}
h2 {
	text-align: center;
	font-size: 1.8em;
	color: var(--light-blue);
	padding-top: 3rem;
	margin-block-start: 0rem;
}
p {
	font-size: 0.9em;
}
a {
	color: white;
}
header a {
	text-decoration: none;
	cursor: pointer;
}
header a:hover {
	color: var(--light-blue);
}
footer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 3rem;
	border-top: solid;
	border-color: var(--dark-pink);
}
footer .list {
	flex-wrap: wrap;
	display: flex;
	flex-direction: row;
	justify-content: center;
}
footer .elem {
	flex-direction: column;
	text-align: center;
	margin: 1rem 2rem;
}
footer .elem img {
	width: 2.5rem;
}
footer p {
	margin-bottom: 0.5rem;
}

footer .credit p, footer .credit a {
	margin-top: 0rem;
	margin-bottom: 1rem;
	color: rgb(70, 70, 70);
	text-align: center;
}
/* ----------------------------------------------- Home ----------------------------------------------- */
#home {
    background-image: url('https://mir-s3-cdn-cf.behance.net/project_modules/fs/9bc27292880429.5e569ff84e4d0.gif');
    background-size:100%;
    background-repeat: no-repeat;
    background-attachment: scroll;
	background-size: cover;
    height: 100vh;
    width:100%;
}
#black {
	background-color: rgba(2, 0, 4, 0.7);
	background-size: cover;
    height: 100vh;
    width:100%;
	color: white;
	text-align: center;
	display: flex;
	flex-direction: column;
}
#name {
	font-size: 60px;
	margin-top: 40vh;

	/* Facultatif */
	background-color: white;
	color: var(--dark-purple);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5rem;
	padding: 0.5rem;
}
#typing-text {
	width: 100%;
}
#typing-text::after {
    content: 'Bienvenue';
    font-size: 40px;
	font-weight: bolder;
    font-family: Century Gothic, sans-serif;
	animation: write-text 5s infinite;

	/* Facultatif */
	background-color: white;
	color: var(--dark-purple);
	margin-left: inherit;
	margin-right: inherit;
	padding: 0.5rem;
}
@keyframes write-text {
	0%  { content: ''; }
	5%  { content: 'B'; }
	10%  { content: 'Bi'; }
	15%  { content: 'Bie'; }
	20%  { content: 'Bien'; }
	25%  { content: 'Bienv'; }
	30%  { content: 'Bienve'; }
	35%  { content: 'Bienven'; }
	40%  { content: 'Bienvenu'; }
	45%  { content: 'Bienvenue'; }
	50%  { content: 'Bienvenue'; }
	55%  { content: 'Bienvenue'; }
	60%  { content: 'Bienvenu'; }
	65%  { content: 'Bienven'; }
	70%  { content: 'Bienve'; }
	75%  { content: 'Bienv'; }
	80%  { content: 'Bien'; }
	85%  { content: 'Bie'; }
	90%  { content: 'Bi'; }
	95%  { content: 'B'; }
	100%  { content: ''; }
}
/* ----------------------------------------------- Presentation ----------------------------------------------- */
.img-anne {
	width: 15rem;
	/* height : auto; */
	display : block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	object-fit: cover;
}
#presentation {
	height: fit-content;
	display: flex;
	flex-direction: row;
	text-align: justify;
	/* background-color: var(--dark-pink); */
	margin: 3rem 20%;
	margin-bottom: 0rem;
	/* background: linear-gradient(to left, var(--dark-pink), var(--purple), var(--light-blue)); */
	background: linear-gradient(to left, rgba(212, 0, 255, 0.1), rgb(255, 0, 225,0.15), rgb(0, 217, 255,0.25));
	/* clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 90%); */
}
#presentation p {
	margin: 2rem;
}
/* ----------------------------------------------- Hobbies ----------------------------------------------- */
#hobbies {
	display: flex;
	flex-direction: row;
	text-align: center;
	flex-wrap: wrap;
	justify-content: space-around;
}
#hobbies div {
	width: 14rem;
}
#hobbies p, #hobbies h3 {
	margin: 0.2rem;
}
#hobbies img {
	margin-top: 0.5rem;
}
#hobbies img {
	/* La transition s'applique à la fois sur la largeur et la hauteur, avec une durée d'une seconde. */
	-webkit-transition: all 1s ease; /* Safari et Chrome */
	-moz-transition: all 1s ease; /* Firefox */
	-ms-transition: all 1s ease; /* Internet Explorer 9 */
	-o-transition: all 1s ease; /* Opera */
	transition: all 1s ease;
}
.zoom:hover img {
	/* L'image est grossie de 25% */
	-webkit-transform:scale(1.25); /* Safari et Chrome */
	-moz-transform:scale(1.25); /* Firefox */
	-ms-transform:scale(1.25); /* Internet Explorer 9 */
	-o-transform:scale(1.25); /* Opera */
	transform:scale(1.25);
	}
	
/* ----------------------------------------------- Studies ----------------------------------------------- */
#etudes {
	display: flex;
	flex-direction: column;
	text-align: center;
}
.steps {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.step {
	/* text-align: justify; */
	margin: 0.2rem;
	padding: 0.5rem 1.5rem;
	width: 19rem;
	max-width: 24rem;
	background: linear-gradient(to left, rgba(212, 0, 255, 0.1), rgb(255, 0, 225,0.15), rgba(0, 127, 186, 0.25));
	text-align: left;
	box-shadow: none;
	transition: all 1s;
}
.step strong, .expe strong, .comp strong, #informatique strong, #art strong {
	font-size: larger;
}
.line {
	background-color: white;
	width: 2rem;
	height: 0.3rem;
}
.wrap {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
.step:hover {
    transition: all 1s;
	box-shadow: 0 0px 15px 5px rgba(0, 217, 255, 0.56);
}
/* ----------------------------------------------- Experiences ----------------------------------------------- */
#experiences, #competences {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.expe {
	/* text-align: justify; */
	margin: 0.3rem 3.2rem;
	padding: 0.5rem 1.5rem;
	width: 10rem;
	height: 10rem;
	background: linear-gradient(to left, rgba(212, 0, 255, 0.1), rgb(255, 0, 225,0.15), rgba(0, 127, 186, 0.25));
	/* background: linear-gradient(to right, rgba(212, 0, 255, 0.1), rgb(255, 0, 225,0.15), rgba(0, 127, 186, 0.25), rgba(69, 191, 247, 0.25)); */
	text-align: left;
	box-shadow: none;
	transition: all 1s;
}
.expe:hover {
	transition: all 1s;
    box-shadow: 0 0px 15px 5px rgba(255, 49, 217, 0.597);
}
/* ----------------------------------------------- Competences ----------------------------------------------- */
.comp {
	margin: 0.3rem 2rem;
	padding: 0.5rem 1.5rem;
	width: 15rem;
	height: 24.4rem;
	border-style: solid;
	border-width: 4px;
	border-image: linear-gradient(180deg, rgba(15, 219, 255, 0.386), rgba(222, 66, 250, 0.408)) 1;
	text-align: center;
	box-shadow: none;
	transition: all 1s;
}
.comp:hover {
	transition: all 1s;
	box-shadow: 0 0px 15px 5px rgba(255, 255, 255, 0.250);
}
.icon {
	display: flex;
    justify-content: center;
    align-items: center;
}
.icon svg, .icon img {
	padding-right: 0.3rem;
}
.icon .img {
	width: 25px;
}
/* ----------------------------------------------- Informatic ----------------------------------------------- */
#informatique + h2 {
	padding-top: 2.8rem;
}
#informatique, #art {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding-right: 1rem;
	padding-left: 1rem;
	justify-content: center;
}
.info-img {
	width: 25rem;
	height: 15rem;
	background-image: url('http://annesarah.fr/Assets/Informatic/crouskie.png');
    background-repeat: no-repeat;
    background-attachment: scroll;
	background-size: cover;
	background-position: center;
	margin: 0rem 1rem 2rem 1rem;
}
.info-img div {
	width: inherit;
	height: inherit;
	text-align: center;
	vertical-align: middle;
	transition: all 0.5s;
	background-color: rgba(0, 0, 0, 0);
}
.info-img div:hover {
	transition: all 0.5s;
	background-color: rgba(16, 0, 21, 0.85);
	/* background: linear-gradient(to left, rgba(18, 0, 21, 0.858), rgba(24, 0, 21, 0.852), rgba(0, 12, 18, 0.874)); */
	cursor: pointer;
}
.info-img div p {
	margin: 0rem;
	padding-top: 6rem;
	font-size: large;
	color: rgba(255, 255, 255, 0);
	transition: all 0.5s;
}
.info-img div:hover p {
	color: rgb(255, 255, 255)
}
#p-towerdefense .map-itd img {
	height: 20rem;
	width: auto;
}
#informatique #forumep {
	background-image: url("http://annesarah.fr/Assets/Informatic/forumep.png");
}
#informatique #speedscore {
	background-image: url("http://annesarah.fr/Assets/Informatic/speedscore2.png");
}
#informatique #graphmap {
	background-image: url("http://annesarah.fr/Assets/Informatic/graphmap.png");
}
#informatique #vibubble {
	background-image: url("http://annesarah.fr/Assets/Informatic/vibubble.png");
}
#informatique #bretcho {
	background-image: url("http://annesarah.fr/Assets/Informatic/bretcho.png");
}
#informatique #weathermate {
	background-image: url('http://annesarah.fr/Assets/Informatic/weathermate.jpg');
}
#informatique #pacman {
	background-image: url('http://annesarah.fr/Assets/Informatic/pacman.png');
}
#informatique #chess {
	background-image: url("http://annesarah.fr/Assets/Informatic/chess.png");
}
#informatique #towerdefense {
	background-image: url('http://annesarah.fr/Assets/Informatic/towerdefense.png');
}
#informatique #retoucheimg {
	background-image: url('http://annesarah.fr/Assets/Informatic/cpp.png');
}
/* ----------------------------------------------- Art ----------------------------------------------- */
#art #dessin {
	background-image: url('http://annesarah.fr/Assets/fusainmini.jpg');
}
#art #peinture {
	background-image: url('http://annesarah.fr/Assets/pomme.jpg');
}
#art #photomontage {
	background-image: url('http://annesarah.fr/Assets/appareilphoto.jpg');
}
#art #infographie {
	background-image: url('http://annesarah.fr/Assets/japantouchmini.png');
}
#art #photo {
	background-image: url('http://annesarah.fr/Assets/pecureilmini.jpg');
}
#art #video {
	background-image: url('http://annesarah.fr/Assets/video.png');
}
#art #animation {
	background-image: url('http://annesarah.fr/Assets/dragon.png');
}
#art #d3 {
	background-image: url('http://annesarah.fr/Assets/blender.png');
}
#art #court-metrage {
	background-image: url('http://annesarah.fr/Assets/reset.png');
}
#p-animation video {
	width: 70%;
}
/* ----------------------------------------------- Popups ----------------------------------------------- */
.pops {
	justify-content: center;
	display: block;
    position: fixed;
    z-index: 5;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
.popup {
	position: relative;
    margin: auto;
    padding: 1.5rem 2rem;
	border-style: solid;
	border-width: 4px;
	border-image: linear-gradient(180deg, rgba(15, 219, 255, 0.386), rgba(222, 66, 250, 0.408)) 1;
    height: fit-content;
	margin: 5rem 5%;
	background-color: black;
	justify-content: center;
	text-align: center;
}
.popup img {
	width: 15rem;
	margin: 0.5rem;
}
.popup .h {
	width: 20rem;
}
.popup .i {
	width: 17rem;
}
.popup .pm {
	width: 25rem;
}
.popup .big {
	height: 25rem;
	width: auto;
}
.popup .crouskie, .popup .speedscore {
	width: 60rem;
}
.popup .weathermate {
	width: 40rem;
}
.popup div {
	justify-content: center;
	flex-wrap: wrap;
}
.popup h3 {
	margin-top: 0rem; 
    padding: 0rem 2rem;
	font-size: 1.8em;
	text-transform: uppercase;
	color: var(--light-blue);
}
#p-dessin, #p-peinture , #p-photomontage, #p-infographie, #p-photo, #p-video, #p-animation, #p-d3, #p-court-metrage,
#p-crouskie, #p-speedscore, #p-graphmap, #p-bretcho, #p-weathermate, #p-pacman, #p-retoucheimg, #p-towerdefense, #p-forumep, #p-vibubble, #p-chess {
	display: none;
}
.close {
    position: absolute;
    top: 0rem;
    right: 1rem;
    color: #aaaaaa;
    float: right;
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in;
}
.close:hover {
	color: #dcdcdc;
}
.pops .video-iframe {
	width: 44rem;
	height: 25rem;
}
/* ----------------------------------------------- Phone Version ----------------------------------------------- */
@media all and (max-width: 1200px)
{
	.popup .crouskie, .popup .speedscore {
		width: 48rem;
	}
}

@media all and (max-width: 900px)
{
	#section {
		margin-bottom: 2rem;
	}
	header {
		width: auto;
	}
	footer .list div {
		flex-wrap: wrap;
		flex-direction: column;
		text-align: center;
		margin: 0rem 0.5rem;
	}
	footer .credit p {
		margin-top: 0.5rem;
	}
	#name {
		font-size: 3em;
		width: fit-content;
		margin-top: 35vh;
		margin-left: 1rem;
		margin-right: 1rem;
	}
	#presentation {
		display: flex;
		flex-direction: column;
		margin: 1rem 0.5rem;
	}
	.img-anne {
		margin-top: 1.5rem;
	}
	.line {
		display: none;
	}
	#informatique .info-img, #art .info-img {
		width: inherit
	} 
	#informatique, #art {
		display: block;
	}
	.popup {
		margin: 6rem 1rem;
		padding: 0.5rem;
	}
	.popup .h, .popup img, .popup .pm, .popup .i, .popup .big, .popup .crouskie, .popup .speedscore, #p-animation {
		width: 90%;
		height: auto;
	}
	.pops .video-iframe {
		width: 30rem;
		height: 20rem;
	}
}

@media all and (max-width: 630px)
{
	.pops .video-iframe {
		width: 15rem;
		height: 10rem;
	}
}