/** @format */

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

:root {
	--couleur_fond: #1e242a;
	--couleur_jaune: #fec52e;
	--couleur_orange: #fe9a2e;
	--couleur_saumon: #cc7766;
	--couleur_bleu: #5798b6;
	--font: "Poppins";
}

body {
	background-color: var(--couleur_fond);
	font-family: var(--font);
}

#main {
	width: 100%;
	height: 100vh;
	position: absolute;
	overflow: hidden;
}

#box1 {
	width: 1232px;
	height: 1188px;
	background-image: url("../src/logo_nb.png");
	position: absolute;
	bottom: -100%;
	left: 10%;
	animation: anim 1s forwards, anim2 1s forwards 1s;
}

#box1:after {
	content: "";
	position: absolute;
	width: 1232px;
	height: 1188px;
	background-image: url("../src/logo.png");
	left: 0px;
	top: 0;
	z-index: -1;
}

@keyframes anim {
	from {
		bottom: -100%;
	}
	to {
		bottom: -15%;
	}
}

@keyframes anim2 {
	from {
		left: 10%;
		width: 1232px;
	}
	to {
		width: 0%;
		left: 30%;
	}
}

#box2 {
	width: auto;
	height: auto;
	color: white;
	font-size: 5em;
	line-height: 130px;
	position: absolute;
	top: 250px;
	left: 100px;
	overflow: hidden;
}

#text {
	position: relative;
	left: -110%;
	animation: anim3 2s forwards 1s;
}

.dev {
	text-shadow: 2px 1px var(--couleur_jaune);
	font-weight: 600;
}

.graph {
	text-shadow: 2px 1px var(--couleur_saumon);
	font-weight: 400;
}

.ux {
	text-shadow: 2px 1px var(--couleur_bleu);
	font-weight: 200;
}

@keyframes anim3 {
	from {
		left: -110%;
	}
	to {
		left: 0%;
	}
}

#box3 {
	overflow: hidden;
}

#container {
	width: 100%;
	position: absolute;
	top: -100%;
	animation: anim4 2s forwards 1s;
}

#logo {
	float: left;
	margin-left: 100px;
	margin-top: 20px;
}

#logo img {
	width: 50px;
}

#menu {
	font-size: 14px;
	color: white;
	letter-spacing: 2px;
	margin-right: 150px;
	margin-top: 20px;
	float: right;
}

#menu ul {
	list-style: none;
}

#menu ul li {
	display: inline-block;
	margin-left: 100px;
}

@keyframes anim4 {
	from {
		top: -100%;
	}
	to {
		top: 0%;
	}
}

#menu ul li a {
	text-decoration: none;
	color: white;
}

#menu ul li a:hover {
	color: var(--couleur_jaune);
}

@media screen and (max-width: 425px) {
	#box1 {
		background-image: url("../src/logo_mobile_nb.png");
		background-repeat: no-repeat;
		top: 35%;
	}

	#box1:after {
		background-image: url("../src/logo_mobile.png");
		background-repeat: no-repeat;
	}

	#box2 {
		color: white;
		font-size: 2em;
		font-weight: 500;
		line-height: 50px;
		position: absolute;
		top: 150px;
		left: 10px;
		overflow: hidden;
	}

	#container {
		background: #000000;
		background-size: cover;
		width: 100%;
	}

	#menu {
		display: flex;
		justify-content: center;
		float: none;
		margin-bottom: 5px;
	}
}

@media (min-width: 425px) and (max-width: 1024px) {
	#box1 {
		background-size: 500px;
		background-repeat: no-repeat;
		top: 35%;
	}

	#box1:after {
		background-size: 500px;
		background-repeat: no-repeat;
	}

	#box2 {
		color: white;
		font-size: 3em;
		font-weight: 500;
		line-height: 70px;
		position: absolute;
		top: 150px;
		left: 15px;
		overflow: hidden;
	}

	#container {
		background: #000000;
		background-size: cover;
		width: 100%;
	}

	#menu {
		display: flex;
		justify-content: center;
		float: none;
		margin-bottom: 5px;
	}
}

@media screen and (width: 1024px) {
	#box1 {
		background-size: 700px;
		background-repeat: no-repeat;
		top: 25%;
	}

	#box1:after {
		background-size: 700px;
		background-repeat: no-repeat;
	}

	#box2 {
		color: white;
		font-size: 3em;
		font-weight: 500;
		line-height: 70px;
		position: absolute;
		top: 150px;
		left: 25px;
		overflow: hidden;
	}

	#container {
		background: #000000;
		background-size: cover;
		width: 100%;
	}

	#menu {
		display: flex;
		justify-content: center;
		float: none;
		margin-bottom: 5px;
	}
}
