@media only screen and (min-width: 300px) {
	body {
		background-color: #fefefe;
		margin: 0;
		padding: 0;
	}

	/* body.no-scroll {
		overflow: hidden;
		height: 100%;
	} */

	.loading.hidden {
		display: none;
	}

	.tab-content {
		display: none;
	}

	.tab-content.active {
		display: block;
	}

	html {
		scroll-behavior: smooth;
	}

	#container {
		height: 100vh;
		width: 100vw;
		position: relative;
	}

	.loading {
		position: absolute;
		height: 100vh;
		width: 100vw;
		z-index: 6;
		transition: 0.45s;
		overflow: hidden;
	}

	.text-loading {
		position: absolute;
		display: flex;
		flex-direction: column;
		align-items: center;
		top: 15%;
		width: 100%;
		color: wheat;
		text-shadow: 1px 1px 3px black;
	}

	.chargement {
		text-align: center;
		width: 100%;
		margin-bottom: 20px;
		font-size: 1.5em;
		font-family: roboto, sans-serif;
	}

	.letter {
		color: #484848;
		letter-spacing: 5px;
		animation: flash 1.5s linear infinite;
		font-family: Roboto, sans-serif;
	}

	@keyframes flash {
		0% {
			color: gold;
			text-shadow: 0 0 7px white;
		}

		90% {
			color: #484848;
			text-shadow: none;
		}

		100% {
			color: goldenrod;
			text-shadow: 0 0 7px white;
		}
	}

	.letter:nth-child(1) {
		animation-delay: 0.1s;
	}
	.letter:nth-child(1) {
		animation-delay: 0.1s;
	}
	.letter:nth-child(2) {
		animation-delay: 0.2s;
	}
	.letter:nth-child(3) {
		animation-delay: 0.3s;
	}
	.letter:nth-child(4) {
		animation-delay: 0.4s;
	}
	.letter:nth-child(5) {
		animation-delay: 0.5s;
	}
	.letter:nth-child(6) {
		animation-delay: 0.6s;
	}
	.letter:nth-child(7) {
		animation-delay: 0.7s;
	}
	.letter:nth-child(8) {
		animation-delay: 0.8s;
	}
	.letter:nth-child(9) {
		animation-delay: 0.9s;
	}
	.letter:nth-child(10) {
		animation-delay: 1s;
	}

	.check-list {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 90%;
		text-transform: uppercase;
		font-size: 0.8em;
		font-family: Roboto, sans-serif;
	}

	.type {
		margin: 20px;
		overflow: hidden;
		white-space: nowrap;
		width: 0;
		border-right: 3px solid;
		animation: typing 2s steps(50, end) forwards,
			blink 0.5s step-end infinite alternate;
	}

	.type2 {
		margin: 20px;
		overflow: hidden;
		white-space: nowrap;
		width: 0;
		border-right: 3px solid;
		animation: typing 2s steps(50, end) forwards,
			blink 0.5s step-end infinite alternate;
		animation-delay: 3s;
	}

	.type3 {
		margin: 20px;
		overflow: hidden;
		white-space: nowrap;
		width: 0;
		border-right: 3px solid;
		animation: typing 1s steps(50, end) forwards,
			blink 0.5s step-end infinite alternate;
		animation-delay: 6s;
	}

	@keyframes typing {
		from {
			width: 0;
		}
		to {
			width: 100%;
		}
	}

	@keyframes blink {
		50% {
			border-color: transparent;
		}
	}

	.loading-container {
		position: absolute;
		top: 90%;
		left: 50%;
		transform: translate(-50%, -70%);
		font-size: 3em;
	}

	.number {
		width: 100%;
		text-align: center;
		color: wheat;
		text-shadow: 1px 1px 3px black;
		font-family: Roboto, sans-serif;
	}

	#bar {
		overflow: hidden;
		width: 2.9em;
		height: 0.15em;
		border: inset 2.5px wheat;
		border-radius: 5px;
		box-shadow: 1px 1px 2px black;
	}

	#progress {
		background-color: rgb(8, 219, 148);
		width: 0;
		height: 100%;
	}

	#header {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.video-background {
		position: fixed; /* Fixe la vidéo pour qu'elle remplisse toujours l'écran */
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		overflow: hidden;
		pointer-events: none;
	}

	.video-background video {
		position: absolute;
		top: 50%;
		left: 50%;
		width: auto;
		height: 100%;
		object-fit: cover;
		transform: translate(-50%, -50%);
		transition: transform 0.5s ease; /* Ajoute une transition pour adoucir l'effet de zoom */
	}

	#menu {
		height: 3em;
		width: 100vw;
		top: 0;
		background-color: darkgrey;
		position: fixed;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 5;
		border-bottom: 3px solid goldenrod;
	}

	#bar-menu {
		width: 80%;
		height: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-around;
		border: none;
		text-decoration: none;
	}

	.fa-solid {
		margin-right: 10px;
	}

	.link {
		margin: 10px;
		font-weight: bold;
		font-size: 0.5em;
		text-decoration: none;
		text-transform: uppercase;
		text-shadow: 1px 1px 3px #000;
		height: 96%;
		display: flex;
		justify-content: center;
		align-items: center;
		font-family: Roboto, sans-serif;
	}

	.link:visited,
	.link:link {
		color: #fff;
	}

	.link:hover {
		border-bottom: 3px solid red;
	}

	.fa-solid {
		margin-right: 8px;
	}

	#logo-container {
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.heading-title {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.title {
		font-size: 3em;
		text-transform: uppercase;
		letter-spacing: 2px;
		text-shadow: 5px 5px 8px black;
		color: #d5d4d4;
		text-transform: uppercase;
		font-family: "Philosopher", sans-serif;
		font-weight: 400;
	}

	.first {
		margin-top: 55px;
	}

	.description {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.wavy {
		margin-top: 110px;
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		align-items: center;
		font-size: 0.7em;
		color: goldenrod;
		font-family: Roboto, sans-serif;
	}

	.home {
		margin-top: 30px;
		text-decoration: none;
		opacity: 0;
		text-shadow: 2px 2px 5px grey;
		cursor: pointer;
		color: #fefefe;
		animation: opacity-2 4s linear infinite, bounce 1s infinite;
		animation-delay: 1s;
	}

	.wavy span {
		animation: brillance 1s linear infinite, flip 3s infinite;
		animation-delay: calc(0.1s * var(--i));
	}

	.home::after {
		content: "--";
		font-size: 2em;
	}

	.home::before {
		content: "--";
		font-size: 2em;
		margin-right: 15px;
	}

	.fa-angles-down {
		font-size: 1.8em;
	}

	.ability {
		background-image: url(images/img1.gif);
		background-repeat: no-repeat;
		background-size: 130%;
		background-position: 50% 50%;
		image-rendering: high-quality;
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.category,
	.category-bis {
		opacity: 0.9;
		font-size: 0.9em;
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 2px;
		text-shadow: 1px 1px 5px goldenrod;
		color: #fff;
		text-transform: uppercase;
		border: none;
		text-decoration: none;
		font-family: "Philosopher", sans-serif;
	}

	.category {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		animation: category 3s linear infinite alternate;
	}

	.category-bis {
		position: absolute;
		align-self: center;
		animation: category-bis 3s linear infinite alternate;
	}

	#skill {
		background-color: rgb(250, 250, 250);
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	.presentation {
		height: 2.2em;
		width: 100%;
		background-color: darkgrey;
		display: flex;
		align-items: center;
		justify-content: center;
		border-top: 3px solid goldenrod;
		border-bottom: 3px solid goldenrod;
	}

	.presentation-text {
		font-size: 0.7em;
		letter-spacing: 2px;
		text-shadow: 1px 3px 5px #000;
		color: #fefe;
		font-family: Roboto, sans-serif;
	}

	.fa-quote-right {
		margin-left: 20px;
	}

	.title-skill {
		margin-top: 10px;
		width: 100%;
		text-align: center;
		font-size: 2em;
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 2px;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkblue;
		color: wheat;
		font-family: "Poppins", sans-serif;
	}

	.background-skill {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		background-image: url(images/background-skill.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-color: rgb(1, 1, 26);
	}

	#generate-buttons {
		width: 10em;
		height: 2em;
		color: white;
		cursor: pointer;
		margin-bottom: 20px;
		background-color: #992424;
		border: inset wheat;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkblue;
		/* Effet de lumière et ombre */
		box-shadow: 0 -5px 10px rgba(255, 255, 255, 0.6),
			5px 5px 10px rgba(0, 0, 0, 0.3), -5px 5px 10px rgba(0, 0, 0, 0.3);
		transition: transform 0.2s ease, box-shadow 0.2s ease,
			background-color 0.2s ease;
	}

	/* Effet au survol */
	#generate-buttons:hover {
		background-color: #b72b2b; /* Rouge plus vif */
		box-shadow: 0 -7px 14px rgba(255, 255, 255, 0.8),
			7px 7px 14px rgba(0, 0, 0, 0.5), -7px 7px 14px rgba(0, 0, 0, 0.5);
		transform: scale(1); /* Légère mise en avant */
	}

	/* Effet lors du clic */
	#generate-buttons:active {
		transform: translateY(3px) scale(0.98); /* Légère descente et réduction */
		box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5),
			inset -2px -2px 4px rgba(255, 255, 255, 0.5); /* Ombres internes */
		background-color: #7a1c1c; /* Rouge plus foncé */
	}

	#btn-container {
		display: flex;
		justify-content: space-between;
		width: 95%;
		position: relative;
	}

	.column {
		margin-bottom: 20px;
		display: flex;
		flex-direction: column;
	}

	.style-btn {
		border: 2px solid wheat;
		margin: 5px;
		border-radius: 50%;
		border: inset wheat;
	}

	button.child-button {
		margin: 5px;
		font-size: 14px;
		height: 3.2em;
		width: 3.2em;
		border-radius: 50%;
		background-color: #000;
		border: inset white;
		text-shadow: 1px 1px 1px #fff;
		box-shadow: 5px 5px 8px #666666, -5px -5px 8px #ffffff;
		opacity: 0;
		transform: scale(0) translateY(10px);
		transition: opacity 1s ease, transform 0.8s ease, cursor 0.5s ease,
			box-shadow 0.3s ease;
		cursor: default;
	}

	button.child-button.show {
		opacity: 1;
		transform: scale(1) translateY(0);
		cursor: pointer;
	}

	/* Effet lors du clic pour tous les autres boutons .child-button */
	button.child-button:active {
		box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5),
			inset -2px -2px 4px rgba(255, 255, 255, 0.5); /* Ombres internes */
		background-color: wheat; /* Rouge plus foncé */
	}

	button.child-button.left-button.show:hover:not(.no-hover) {
		transform: scale(1) translateY(0) rotate(360deg);
		transition: transform 0.5s ease;
	}

	button.child-button.right-button.show:hover:not(.no-hover) {
		transform: scale(1) translateY(0) rotate(-360deg);
		transition: transform 0.5s ease;
	}

	.img1 {
		background-image: url(images/html.png);
		background-size: 2.1em;
		background-repeat: no-repeat;
		background-position: 50% 70%;
	}

	.img2 {
		background-image: url(images/javascript.webp);
		background-size: 2.7em;
		background-repeat: no-repeat;
		background-position: 50% 80%;
	}

	.img3 {
		background-image: url(images/React.png);
		background-size: 2.5em;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	.img4 {
		background-image: url(images/ps-icon.png);
		background-size: 1.8em;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	.img5 {
		background-image: url(images/illustrator.png);
		background-size: 1.8em;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	.img6 {
		background-image: url(images/css.png);
		background-size: 2.7em;
		background-repeat: no-repeat;
		background-position: 50% 80%;
	}

	.img7 {
		background-image: url(images/ts-icon.png);
		background-size: 1.9em;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	.img8 {
		background-image: url(images/react-native.png);
		background-size: 2.8em;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	.img9 {
		background-image: url(images/indesign.png);
		background-size: 2em;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	.img10 {
		background-image: url(images/figma.png);
		background-size: 2em;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	#screen {
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 55%;
		height: 95%;
		background-color: rgba(173, 216, 230, 0.7);
		border-radius: 8px;
		opacity: 0;
		/* box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); */
		transition: transform 1s ease, opacity 1s ease;
		animation: pulse 2s infinite; /* Animation de pulsation */
	}

	@keyframes pulse {
		0% {
			box-shadow: 0 0 2px rgb(0, 255, 255),
				0 0 20px rgba(0, 255, 255, 0.4);
		}
		50% {
			box-shadow: 0 0 4px rgb(0, 255, 255),
				0 0 20px rgba(0, 255, 255, 0.6);
		}
		100% {
			box-shadow: 0 0 2px rgb(0, 255, 255),
				0 0 20px rgba(0, 255, 255, 0.4);
		}
	}

	#screen.visible {
		opacity: 1;
		transform: translateX(-50%) scale(1);
	}

	#screen.hidden {
		opacity: 0;
		transform: translateX(-50%) scale(0);
	}

	.text-container {
		position: absolute;
		font-size: 0.7rem;
		font-weight: bold;
		color: rgb(255, 219, 152);
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkblue;
		text-transform: uppercase;
		opacity: 0; /* Démarre avec une visibilité à 0 */
		transition: opacity 0.5s ease;
		font-family: Roboto, sans-serif;
	}

	.text-container.left {
		left: 10px;
		right: auto;
	}

	.text-container.right {
		right: 10px;
		left: auto;
	}

	#portfolio {
		width: 100%;
		height: 100%;
		background-color: rgb(250, 250, 250);
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	.presentation-portfolio {
		height: 2.2em;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.3);
		display: flex;
		align-items: center;
		justify-content: center;
		border-top: 3.5px solid goldenrod;
		border-bottom: 3.5px solid goldenrod;
	}

	.presentation-text-portfolio {
		font-size: 0.8em;
		text-align: center;
		letter-spacing: 2px;
		text-shadow: 1px 3px 5px #000;
		color: #fefe;
		font-family: Roboto, sans-serif;
	}

	.title-portfolio {
		margin-top: 20px;
		margin-bottom: 20px;
		width: 100%;
		text-align: center;
		opacity: 0.9;
		font-size: 2.3em;
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 2px;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkblue;
		color: wheat;
		font-family: "Poppins", sans-serif;
	}

	#portfolio-container {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: #000;
	}

	.tab-container {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}

	.tab-content {
		width: 100%;
		height: 100%;
		display: none;
		align-self: center;
	}

	.ui-btn1,
	.ui-btn2,
	.ui-btn3 {
		border-radius: 5px;
		border: outset 2.5px white;
		color: wheat;
		background-color: rgb(222, 222, 222);
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkblue;
		display: flex;
		align-items: center;
		justify-content: center;
		font: var(--font-weight) var(--font-size) var(--font-family);
		cursor: pointer;
		overflow: hidden;
		--btn-hover-bg: goldenrod;
		--btn-letter-spacing: 0.2rem;
		--btn-animation-duration: 0.8s;
		--hover-btn-color: white;
		--text-shadow: 1px 1px 3px rgb(0, 0, 0);
		--font-size: 0.8em;
		--font-weight: 600;
		--font-family: Menlo, Roboto Mono, monospace;
	}

	.ui-btn1 span,
	.ui-btn2 span,
	.ui-btn3 span {
		letter-spacing: var(--btn-letter-spacing);
		position: relative;
		margin-bottom: 2px;
	}

	.ui-btn1 span::before {
		content: "DEV";
		font-size: 0.7em;
	}

	.ui-btn2 span::before {
		content: "MAQUETTE";
		font-size: 0.7em;
	}

	.ui-btn3 span::before {
		content: "GRAPHIQUE";
		font-size: 0.7em;
	}

	.ui-btn1:hover,
	.ui-btn2:hover,
	.ui-btn3:hover {
		background: var(--btn-hover-bg);
	}

	.ui-btn1:hover span,
	.ui-btn2:hover span,
	.ui-btn3:hover span {
		color: var(--hover-btn-color);
	}

	.ui-btn1:hover span::before {
		animation: chitchat1 linear both var(--btn-animation-duration);
	}

	.ui-btn2:hover span::before {
		animation: chitchat2 linear both var(--btn-animation-duration);
	}

	.ui-btn3:hover span::before {
		animation: chitchat3 linear both var(--btn-animation-duration);
	}

	@keyframes chitchat1 {
		0% {
			content: "#";
		}

		5% {
			content: ".";
		}

		10% {
			content: "^{";
		}

		15% {
			content: "-!";
		}

		20% {
			content: "#$_";
		}

		25% {
			content: "№:0";
		}

		30% {
			content: "#+.";
		}

		35% {
			content: "@}-?";
		}

		40% {
			content: "?{4@%";
		}

		45% {
			content: "=.,^!";
		}

		50% {
			content: "?2@%";
		}

		55% {
			content: "1}]>è";
		}

		60% {
			content: "?{%:%";
			right: 0;
		}

		65% {
			content: "|{f[4";
			right: 0;
		}

		70% {
			content: "{4%0%";
			right: 0;
		}

		75% {
			content: "'1_0<";
			right: 0;
		}

		80% {
			content: "{0%";
			right: 0;
		}

		85% {
			content: "]>'";
			right: 0;
		}

		90% {
			content: "4";
			right: 0;
		}

		95% {
			content: "2";
			right: 0;
		}

		100% {
			content: "WEB";
			right: 0;
		}
	}

	@keyframes chitchat2 {
		0% {
			content: "#";
		}

		5% {
			content: ".";
		}

		10% {
			content: "^{";
		}

		15% {
			content: "-!";
		}

		20% {
			content: "#$_";
		}

		25% {
			content: "№:0";
		}

		30% {
			content: "#+.";
		}

		35% {
			content: "@}-?";
		}

		40% {
			content: "?{4@%";
		}

		45% {
			content: "=.,^!";
		}

		50% {
			content: "?2@%";
		}

		55% {
			content: "1}]>è";
		}

		60% {
			content: "?{%:%";
			right: 0;
		}

		65% {
			content: "|{f[4";
			right: 0;
		}

		70% {
			content: "{4%0%";
			right: 0;
		}

		75% {
			content: "'1_0<";
			right: 0;
		}

		80% {
			content: "{0%";
			right: 0;
		}

		85% {
			content: "]>'";
			right: 0;
		}

		90% {
			content: "4";
			right: 0;
		}

		95% {
			content: "2";
			right: 0;
		}

		100% {
			content: "MOBILE";
			right: 0;
		}
	}

	@keyframes chitchat3 {
		0% {
			content: "#";
		}

		5% {
			content: ".";
		}

		10% {
			content: "^{";
		}

		15% {
			content: "-!";
		}

		20% {
			content: "#$_";
		}

		25% {
			content: "№:0";
		}

		30% {
			content: "#+.";
		}

		35% {
			content: "@}-?";
		}

		40% {
			content: "?{4@%";
		}

		45% {
			content: "=.,^!";
		}

		50% {
			content: "?2@%";
		}

		55% {
			content: "1}]>è";
		}

		60% {
			content: "?{%:%";
			right: 0;
		}

		65% {
			content: "|{f[4";
			right: 0;
		}

		70% {
			content: "{4%0%";
			right: 0;
		}

		75% {
			content: "'1_0<";
			right: 0;
		}

		80% {
			content: "{0%";
			right: 0;
		}

		85% {
			content: "]>'";
			right: 0;
		}

		90% {
			content: "4";
			right: 0;
		}

		95% {
			content: "2";
			right: 0;
		}

		100% {
			content: "GRAPHIQUE";
			right: 0;
		}
	}

	button.btn-portfolio.active {
		background-color: goldenrod;
		color: white;
		border: outset 2.5px white;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkblue;
		transform: translateY(3px) scale(0.98); /* Légère descente et réduction */
	}

	button {
		margin: 10px;
		width: 7em;
		height: 2em;
	}

	/* Conteneur principal du carrousel */
	.carousel-container {
		width: 100%;
		height: 100%;
		perspective: 1000px; /* Perspective 3D pour l'effet de profondeur */
		transform-style: preserve-3d; /* Nécessaire pour le flip 3D */
		overflow: hidden;
		cursor: grab;
	}

	/* Carrousel */
	.carousel {
		width: 100%; /* Largeur approximative du cercle */
		height: 100%;
		transform-style: preserve-3d; /* Nécessaire pour la 3D */
		transition: transform 1s ease-out; /* Transition douce entre les rotations */
	}

	.card {
		perspective: 1000px;
		transform-style: preserve-3d;
		width: 120px; /* Taille des images */
		height: 120px;
		position: absolute;
		left: 31.2%;
		top: 30%;
		transform-origin: center center 200px; /* Définit la distance de chaque image au centre */
		cursor: grab;
	}

	.card:hover {
		z-index: 10;
	}

	.content-card {
		position: relative;
		transform-style: preserve-3d; /* Nécessaire pour le flip 3D */
		width: 100%;
		height: 100%;
		border: outset 1px goldenrod;
		border-radius: 20px;
		transition: transform 0.3s ease-out, box-shadow 0.1s ease; /* Transition douce pour l'ombre et la rotation */
		animation: pulse 2s infinite;
		user-select: none; /* Empêche la sélection de texte */
		-webkit-user-drag: none; /* Empêche les effets de drag sur l'image */
		outline: none; /* Supprime le contour bleu */
	}

	.content-card-maquette {
		position: relative;
		transform-style: preserve-3d; /* Nécessaire pour le flip 3D */
		width: 100%;
		height: 80%;
		border: outset 1px goldenrod;
		border-radius: 20px;
		transition: transform 0.3s ease-out, box-shadow 0.1s ease; /* Transition douce pour l'ombre et la rotation */
		animation: pulse 2s infinite;
		user-select: none; /* Empêche la sélection de texte */
		-webkit-user-drag: none; /* Empêche les effets de drag sur l'image */
		outline: none; /* Supprime le contour bleu */
	}

	.content-card img {
		width: 100%;
		height: 100%;
		image-rendering: high-quality;
		object-fit: unset;
		filter: none;
		pointer-events: none; /* Désactive les événements de la souris directement sur l'image */
	}

	.content-card-maquette img {
		width: 100%;
		height: 100%;
		image-rendering: high-quality;
		object-fit: unset;
		filter: none;
		pointer-events: none; /* Désactive les événements de la souris directement sur l'image */
	}

	@keyframes pulse {
		0% {
			box-shadow: 0 0 2px grey, 0 0 20px wheat;
		}
		50% {
			box-shadow: 0 0 8px grey, 0 0 20px wheat;
		}
		100% {
			box-shadow: 0 0 2px grey, 0 0 20px wheat;
		}
	}

	/* Style de la carte zoomée */
	.zoomed {
		perspective: 1000px;
		width: 140px;
		height: 180px;
		position: absolute;
		left: 28.5%;
		top: 33%;
		transition: transform 0.3s ease-out, opacity 0.5s ease;
		cursor: auto;
		image-rendering: high-quality;
		overflow: visible;
	}

	.glow {
		z-index: 0;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		opacity: 0; /* L'effet glow est invisible par défaut */
		transition: transform 0.3s ease-out, opacity 0.5s ease; /* Animation d'apparition/dissipation */
		border-radius: 20px;
		mix-blend-mode: hard-light;
		background: radial-gradient(
			circle at 50% 50%,
			rgba(211, 211, 211, 1),
			rgba(169, 169, 169, 0.6),
			transparent 80%
		);
	}

	.btn-flip {
		display: none; /* Par défaut, le bouton est masqué */
		width: 20px;
		height: 20px;
		border: inset 1.5px goldenrod;
		border-radius: 20px;
		box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.5);
		position: absolute;
		left: 0;
		top: 0;
	}

	.btn-flip-back {
		display: none;
		width: 20px;
		height: 20px;
		border: inset 1.5px goldenrod;
		border-radius: 20px;
		box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.5);
		position: absolute;
		right: 0;
		top: 0;
	}

	.btn-flip:hover,
	.btn-flip-back:hover {
		background-image: url(images/arrow-back.png);
		background-size: cover;
		box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.8);
		cursor: pointer;
	}

	/* Face avant */
	.front {
		position: absolute;
		width: 100%;
		height: 100%;
		backface-visibility: hidden;
		border: outset 1.5px white;
		border-radius: 20px;
		overflow: hidden;
	}

	/* Face arrière */
	.back {
		position: absolute;
		width: 100%;
		height: 100%;
		transform: rotateY(180deg); /* La face arrière est pivotée de 180° */
		backface-visibility: visible; /* Assurez-vous que la face arrière soit visible */
		background: linear-gradient(
			135deg,
			#d7d7d7,
			#ffffff,
			#a6a6a6,
			#f0f0f0,
			#b8b8b8
		);
		border-radius: 20px;
		overflow: hidden;
	}

	.back-container {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		color: goldenrod;
	}

	.title-card {
		font-size: 1em;
		text-transform: uppercase;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkgray;
		font-family: Roboto, sans-serif;
	}

	.category-portfolio {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: start;
		align-items: center;
		font-family: "Poppins", sans-serif;
	}

	.category-1 {
		padding-left: 5px;
		font-size: 0.5em;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px black;
		font-family: "Poppins", sans-serif;
	}

	.category-2 {
		text-align: center;
		padding-left: 5px;
		padding-top: 2.5px;
		color: goldenrod;
		font-size: 0.5em;
		text-shadow: 1px 1px 3px #fefefe;
		font-family: "Poppins", sans-serif;
	}

	.icon-category {
		opacity: 0.8;
		padding-right: 5px;
		font-size: 1em;
		color: red;
		text-shadow: 1px 1px 3px black;
	}

	.logo-portfolio {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		align-items: center;
	}

	.fa-react {
		font-size: 2.5em;
	}

	.icon-portfolio-1 {
		text-shadow: 1px 1px 3px grey;
		font-size: 1.5em;
		color: red;
	}

	.icon-portfolio-2 {
		text-shadow: 1px 1px 3px grey;
		font-size: 1.5em;
		color: blue;
	}

	.icon-portfolio-3 {
		text-shadow: 1px 1px 3px grey;
		font-size: 1.5em;
		color: gold;
	}

	.icon-portfolio-4 {
		text-shadow: 1px 1px 3px grey;
		font-size: 1.5em;
		color: cyan;
	}

	.icon-portfolio-5 {
		text-shadow: 1px 1px 3px grey;
		font-size: 1.5em;
		color: darkorchid;
	}

	.source-github,
	.preview {
		position: relative;
		overflow: hidden;
		width: 6em;
		height: 1em;
		text-align: center;
		text-decoration: none;
		border: outset 1.5px goldenrod;
		border-radius: 1em;
		box-shadow: 5px 5px 10px #666666, -5px -5px 10px #ffffff;
		font-family: "Poppins", sans-serif;
		background: linear-gradient(
			135deg,
			#d7d7d7,
			#ffffff,
			#a6a6a6,
			#f0f0f0,
			#b8b8b8
		);
	}

	.text-source {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		font-size: 0.6em;
		color: wheat;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px black;
	}

	.source-github::before,
	.preview::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 0;
		border-radius: 15px;
		background-color: goldenrod;
		z-index: 1;
		transition: all 350ms;
	}

	.source-github:hover::before {
		width: 100%;
		height: 100%;
		content: "Aller !";
		font-size: 0.6em;
		animation: 0.2s opacity linear;
		font-family: "Poppins", sans-serif;
	}

	.preview:hover::before {
		width: 100%;
		height: 100%;
		content: "Voir";
		font-size: 0.6em;
		animation: 0.2s opacity linear;
		font-family: "Poppins", sans-serif;
	}

	.source-github:visited,
	.source-github:link,
	.preview:visited,
	.preview:link {
		color: white;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 2px black;
	}

	.source-github:hover,
	.preview:hover {
		color: #fefe;
	}

	#contact {
		width: 100%;
		height: 100%;
		background-color: rgb(250, 250, 250);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.title-contact {
		margin-top: 29px;
		opacity: 0.9;
		font-size: 2.3em;
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 2px;
		text-shadow: 1px 1px 2px black, 0 0 25px #fff, 0 0 5px darkblue;
		color: wheat;
		font-family: "Poppins", sans-serif;
	}

	.presentation-contact {
		height: 2.4em;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.3);
		display: flex;
		align-items: center;
		justify-content: center;
		border-top: 3.5px solid goldenrod;
		border-bottom: 3.5px solid goldenrod;
	}

	.presentation-text-contact {
		font-size: 1.5em;
		letter-spacing: 2px;
		text-shadow: 1px 3px 5px #000;
		color: #fefe;
		font-family: Roboto, sans-serif;
	}

	#contact-content {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-image: url(images/img3.png);
		background-size: cover;
		background-position: 50% 50%;
		image-rendering: high-quality;
	}

	#contact-container {
		width: 90%;
		height: 100%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}

	.type-contact {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
	}

	.type-contact-2 {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
	}

	.info {
		margin-top: 30px;
		margin-bottom: 30px;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	.info-2 {
		margin-top: 30px;
		margin-bottom: 30px;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	.type-info-1 {
		width: 100%;
		margin-bottom: 10px;
		font-family: normal, sans-serif;
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 2px;
		text-shadow: 1px 3px 5px black;
		color: goldenrod;
		font-size: 1.4em;
	}

	.type-info-2 {
		word-break: keep-all;
		width: 100%;
		font-family: normal, sans-serif;
		color: white;
		text-shadow: 1px 1px 3px black;
	}

	.text-1 {
		text-align: left;
		font-family: "Poppins", sans-serif;
		font-size: 0.9em;
	}

	.text-1-bis {
		width: 100%;
		font-size: 0.7em;
	}

	.text-2 {
		text-align: right;
		font-family: "Poppins", sans-serif;
		font-size: 0.9em;
	}

	.text-2-bis {
		width: 100%;
		text-align: right;
		font-size: 0.85em;
	}

	.icon-contact {
		color: red;
		margin-right: 10px;
	}

	.icon-contact-2 {
		color: blueviolet;
		margin-left: 20px;
	}

	.fa-phone {
		margin-right: 18px;
	}

	.fa-envelope-open-text {
		margin-right: 13px;
	}

	@keyframes opacity {
		0% {
			opacity: 0;
			transform: translateY(0%);
		}
		100% {
			opacity: 1;
			transform: translateY(0%);
		}
	}

	@keyframes opacity-2 {
		0% {
			opacity: 0;
			transform: translateY(0%);
		}
		50% {
			opacity: 1;
			transform: translateY(0%);
		}
		60% {
			opacity: 0;
			transform: translateY(0%);
		}
		70% {
			opacity: 0;
			transform: translateY(0%);
		}
		80% {
			opacity: 0;
			transform: translateY(0%);
		}
		90% {
			opacity: 0;
			transform: translateY(0%);
		}
		100% {
			opacity: 0;
			transform: translateY(0%);
		}
	}

	@keyframes flip {
		10%,
		80% {
			transform: rotateY(360deg);
		}
	}

	@keyframes brillance {
		from {
			color: grey;
			text-shadow: 3px 3px 3px black;
		}
		50% {
			color: white;
			text-shadow: 3px 3px 3px grey;
		}
		to {
			color: grey;
			text-shadow: 3px 3px 3px black;
		}
	}

	@keyframes bounce {
		0%,
		100% {
			transform: translateY(-25%);
			animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
		}

		50% {
			transform: translateY(0);
			animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
		}
	}

	@keyframes category {
		0% {
			opacity: 1;
			transform: translateY(0%);
		}
		20% {
			opacity: 1;
			transform: translateY(0%);
		}
		50% {
			opacity: 0;
			transform: translateY(0%);
		}
		100% {
			opacity: 0;
			transform: translateY(0%);
		}
	}

	@keyframes category-bis {
		0% {
			opacity: 0;
			transform: translateY(0%);
		}
		50% {
			opacity: 0;
			transform: translateY(0%);
		}
		80% {
			opacity: 1;
			transform: translateY(0%);
		}
		100% {
			opacity: 1;
			transform: translateY(0%);
		}
	}
}

@media only screen and (min-width: 350px) {
	.check-list {
		width: 80%;
	}

	#bar-menu {
		width: 100%;
	}

	.title {
		font-size: 3.8em;
	}

	.first {
		margin-top: 50px;
	}

	.link {
		font-size: 0.6em;
	}

	.wavy {
		margin-top: 80px;
		font-size: 0.8em;
	}

	.home {
		margin-top: 0;
	}

	.category {
		font-size: 1em;
	}

	.category-bis {
		font-size: 1em;
	}

	.presentation-text {
		font-size: 0.9em;
	}

	.text-container {
		font-size: 0.8rem;
	}

	.ui-btn1,
	.ui-btn2,
	.ui-btn3 {
		--font-size: 0.9em;
	}

	.ui-btn1 span::before {
		content: "DEV";
		font-size: 0.8em;
	}

	.ui-btn2 span::before {
		content: "MAQUETTE";
		font-size: 0.8em;
	}

	.ui-btn3 span::before {
		content: "GRAPHIQUE";
		font-size: 0.8em;
	}

	.card {
		width: 150px;
		height: 150px;
		position: absolute;
		left: 28.5%;
		top: 30%;
		transform-origin: center center 190px;
	}

	.zoomed {
		width: 165px;
		height: 200px;
		position: absolute;
		left: 27%;
		top: 33%;
	}

	.title-card {
		font-size: 1.2em;
	}

	.category-1 {
		font-size: 0.6em;
	}

	.category-2 {
		font-size: 0.6em;
	}

	.text-1-bis {
		width: 100%;
		font-size: 0.8em;
	}

	.text-2-bis {
		width: 90%;
		font-size: 0.9em;
	}
}

@media only screen and (min-width: 350px) and (min-height: 600px) {
	.loading-container {
		top: 70%;
	}
}

@media only screen and (min-width: 350px) and (min-height: 700px) {
	.chargement {
		margin-bottom: 60px;
	}

	.title {
		font-size: 4em;
	}

	.first {
		margin-top: 50px;
	}

	.wavy {
		margin-top: 80px;
	}

	.home {
		margin-bottom: 50px;
	}
}

@media only screen and (min-width: 375px) {
	.card {
		width: 150px;
		height: 150px;
		position: absolute;
		left: 30%;
		top: 30%;
		transform-origin: center center 180px;
	}

	.zoomed {
		width: 170px;
		height: 200px;
		position: absolute;
		left: 27%;
		top: 33%;
	}
}

@media only screen and (min-width: 389px) {
	.zoomed {
		width: 180px;
		height: 200px;
		position: absolute;
		left: 27%;
		top: 32%;
	}
}

@media only screen and (min-width: 400px) {
	.chargement {
		font-size: 2em;
	}

	.check-list {
		width: 85%;
		font-size: 1em;
	}

	#bar-menu {
		width: 90%;
	}

	.link {
		font-size: 0.7em;
	}

	.title {
		margin-top: 50px;
		font-size: 4em;
	}

	.wavy {
		margin-top: 20px;
		font-size: 0.9em;
	}

	.home {
		margin-top: -50px;
	}

	.ability {
		background-size: 25em;
	}

	.category {
		font-size: 0.9em;
	}

	.category-bis {
		font-size: 0.9em;
	}

	.presentation-text {
		font-size: 1em;
	}

	.presentation-text-portfolio {
		font-size: 0.7em;
	}

	button {
		margin: 20px;
	}

	.card {
		width: 160px; /* Taille des images */
		height: 160px;
		position: absolute;
		left: 30.8%;
		top: 25%;
		transform-origin: center center 160px; /* Définit la distance de chaque image au centre */
	}

	.zoomed {
		width: 180px;
		height: 200px;
		position: absolute;
		left: 29%;
		top: 32%;
	}

	.btn-flip {
		position: absolute;
		left: -10px;
		top: -10px;
	}

	.btn-flip-back {
		position: absolute;
		right: -10px;
		top: -10px;
	}

	.title-card {
		font-size: 1.2em;
	}

	.category-1 {
		font-size: 0.6em;
	}

	.category-2 {
		font-size: 0.6em;
	}

	.text-1-bis {
		width: 90%;
		font-size: 0.8em;
	}
}

@media only screen and (min-width: 400px) and (max-height: 800px) {
	.title {
		font-size: 4em;
	}

	.wavy {
		margin-top: 10px;
	}
}

@media only screen and (min-width: 500px) {
	.title {
		margin-top: 50px;
		font-size: 4em;
	}

	.text-container {
		font-size: 1.2rem;
	}

	.card {
		position: absolute;
		left: 34%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 31.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 500px) and (max-height: 450px) {
	#skill {
		height: auto;
	}

	.background-skill {
		height: auto;
	}

	#btn-container {
		width: 80%;
	}

	#screen {
		width: 65%;
	}

	.text-container {
		font-size: 1.2rem;
	}

	#portfolio {
		height: 160%;
	}

	.title-portfolio {
		margin-top: 10px;
		margin-bottom: 0;
	}

	.card {
		position: absolute;
		left: 35%;
		top: 30%;
	}
}

@media only screen and (min-width: 600px) {
	.chargement {
		margin-bottom: 50px;
		font-size: 2.5em;
	}

	.check-list {
		width: 68%;
		font-size: 1.2em;
	}

	.loading-container {
		top: 70%;
	}

	#bar-menu {
		width: 90%;
	}

	#logo-container {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.heading-title {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-end;
	}

	.title {
		margin-bottom: 50px;
		font-size: 1.7em;
	}

	.description {
		margin-bottom: 150px;
	}

	.wavy {
		align-items: flex-end;
		font-size: 0.7em;
	}

	.category {
		font-size: 0.7em;
	}

	.category-bis {
		font-size: 0.7em;
	}

	.home {
		margin-top: 30px;
	}

	.ability {
		display: flex;
		align-items: center;
		justify-content: center;
		background-size: 20em;
		background-position: 50% 50%;
	}

	.presentation {
		height: 2.5em;
	}

	.presentation-text {
		font-size: 1.5em;
	}

	.title-skill {
		font-size: 3em;
	}

	#skill-container {
		width: 80%;
	}

	.background-skill {
		background-position: 50% 75%;
	}

	.presentation-text-portfolio {
		font-size: 1.2em;
	}

	.title-portfolio {
		font-size: 3em;
		margin-bottom: 0px;
	}

	.tab-container {
		margin-bottom: -20px;
	}

	button {
		width: 10em;
	}

	.card {
		width: 200px;
		height: 200px;
		position: absolute;
		left: 34%;
		top: 30%;
		transform-origin: center center 100px;
	}

	.zoomed {
		width: 230px;
		height: 230px;
		position: absolute;
		left: 32%;
		top: 30%;
	}

	.title-card {
		font-size: 1.5em;
	}

	.category-1 {
		padding-left: 5px;
		font-size: 0.7em;
	}

	.category-2 {
		padding-left: 10px;
		padding-top: 2.5px;
		font-size: 0.6em;
	}

	.icon-category {
		opacity: 0.8;
		padding-right: 5px;
		font-size: 1.1em;
	}

	.fa-react {
		font-size: 2.5em;
	}

	.icon-portfolio-1 {
		font-size: 1.5em;
	}

	.icon-portfolio-2 {
		font-size: 1.5em;
	}

	.icon-portfolio-3 {
		font-size: 1.5em;
	}

	.icon-portfolio-4 {
		font-size: 1.5em;
	}

	.icon-portfolio-5 {
		font-size: 1.5em;
	}

	.title-contact {
		font-size: 3em;
	}

	.presentation-contact {
		height: 2.8em;
	}

	.text-1 {
		font-size: 1.1em;
	}

	.text-1-bis {
		width: 100%;
		font-size: 1.1em;
	}

	.text-2 {
		font-size: 1.1em;
	}

	.text-2-bis {
		width: 100%;
		font-size: 1.1em;
	}
}

@media only screen and (min-width: 600px) and (max-height: 420px) {
	.chargement {
		margin-bottom: 10px;
	}

	.title {
		margin-top: 10px;
	}

	.description {
		margin-bottom: 10px;
	}

	.card {
		position: absolute;
		left: 35%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 32%;
		top: 30%;
	}
}

@media only screen and (min-width: 650px) {
	.title {
		margin-bottom: 50px;
		font-size: 1.8em;
	}

	.wavy {
		align-items: flex-end;
		font-size: 0.8em;
	}

	.category {
		font-size: 0.8em;
	}

	.category-bis {
		font-size: 0.8em;
	}

	.ability {
		background-size: 22em;
	}
}

@media only screen and (min-width: 650px) and (max-height: 400px) {
	.card {
		position: absolute;
		left: 35%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 32%;
		top: 30%;
	}
}

@media only screen and (min-width: 400px) and (max-height: 380px) {
	.description {
		margin-bottom: 10px;
	}
}

@media only screen and (min-width: 700px) {
	.check-list {
		width: 60%;
	}

	.title {
		font-size: 2.2em;
	}

	.loading-container {
		top: 70%;
	}
}

@media only screen and (min-width: 700px) and (max-height: 420px) {
	.title {
		margin-top: 10px;
	}

	.description {
		margin-bottom: 10px;
	}

	.card {
		position: absolute;
		left: 36%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 34%;
		top: 30%;
	}
}

@media only screen and (min-width: 750px) {
	.title {
		font-size: 2.2em;
	}

	.wavy {
		font-size: 0.9em;
	}

	.description {
		margin-bottom: 100px;
	}

	.category {
		font-size: 1em;
	}

	.category-bis {
		font-size: 1em;
	}

	.ability {
		background-size: 25em;
	}

	.card {
		position: absolute;
		left: 37%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 34.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 740px) and (max-height: 360px) {
	.title {
		margin-top: 10px;
	}

	.description {
		margin-bottom: 10px;
	}

	.zoomed {
		position: absolute;
		left: 34.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 799px) {
	.chargement {
		font-size: 3em;
	}

	.check-list {
		width: 50%;
	}

	.loading-container {
		font-size: 3.5em;
		top: 70%;
	}

	#logo-container {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.heading-title {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-end;
	}

	.title {
		margin-bottom: 30px;
		font-size: 3em;
	}

	.description {
		margin-bottom: 10px;
	}

	.wavy {
		align-items: flex-end;
		font-size: 0.8em;
	}

	.category {
		font-size: 1em;
	}

	.category-bis {
		font-size: 1em;
	}

	.home {
		margin-top: 30px;
	}

	.ability {
		display: flex;
		align-items: center;
		justify-content: center;
		background-size: 28em;
		background-position: 50% 50%;
	}

	#skill-container {
		width: 80%;
	}

	#generate-buttons {
		width: 10em;
		height: 2em;
	}

	#btn-container {
		width: 70%;
	}

	#screen {
		width: 70%;
	}

	.card {
		position: absolute;
		left: 37%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 35.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 800px) and (max-height: 420px) {
	.title {
		margin-top: 10px;
	}

	.description {
		margin-bottom: 10px;
	}

	.card {
		position: absolute;
		left: 38%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 35%;
		top: 30%;
	}
}

@media only screen and (min-width: 840px) and (max-height: 430px) {
	#portfolio {
		height: 150%;
	}

	.card {
		position: absolute;
		left: 38%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 36%;
		top: 30%;
	}
}

@media only screen and (min-width: 880px) and (max-height: 430px) {
	#portfolio {
		height: 150%;
	}

	.card {
		position: absolute;
		left: 39%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 36.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 899px) {
	.card {
		position: absolute;
		left: 39.5%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 37%;
		top: 30%;
	}
}

@media only screen and (min-width: 1000px) {
	.chargement {
		font-size: 3.5em;
	}

	#bar-menu {
		width: 70%;
	}

	.title {
		font-size: 3.5em;
	}

	.wavy {
		font-size: 1em;
	}

	.category {
		font-size: 1.1em;
	}

	.category-bis {
		font-size: 1.1em;
	}

	.ability {
		background-size: 30em;
	}

	#btn-container {
		width: 60%;
	}

	.card {
		position: absolute;
		left: 40%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 39%;
		top: 30%;
	}
}

@media only screen and (min-width: 1100px) {
	.card {
		position: absolute;
		left: 41%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 40%;
		top: 30%;
	}
}

@media only screen and (min-width: 1200px) {
	.text-loading {
		top: 10%;
	}

	.chargement {
		font-size: 4em;
	}

	.loading-container {
		top: 80%;
	}

	.check-list {
		width: 45%;
		font-size: 1.5em;
	}

	.title {
		font-size: 4.3em;
	}

	.wavy {
		font-size: 1.3em;
	}

	.category {
		font-size: 1.3em;
	}

	.category-bis {
		font-size: 1.3em;
	}

	.ability {
		background-size: 35em;
	}

	#skill-container {
		width: 80%;
	}

	.text-container {
		font-size: 1.5rem;
	}

	.background-skill {
		background-size: cover;
		background-position: 50% 80%;
	}

	.card {
		position: absolute;
		left: 42%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 41%;
		top: 30%;
	}

	#contact-container {
		width: 60%;
	}
}

@media only screen and (min-width: 1300px) {
	.card {
		position: absolute;
		left: 43%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 41.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 1400px) {
	.chargement {
		font-size: 4em;
	}

	.check-list {
		width: 38%;
		font-size: 1.5em;
	}

	#bar-menu {
		width: 50%;
	}

	.title {
		font-size: 5em;
	}

	.wavy {
		font-size: 1.5em;
	}

	.category {
		font-size: 1.6em;
	}

	.category-bis {
		font-size: 1.6em;
	}

	.ability {
		background-size: 38em;
	}

	#skill-container {
		width: 80%;
	}

	#btn-container {
		width: 50%;
	}

	.presentation {
		height: 2.8em;
	}

	.presentation-portfolio {
		height: 2.8em;
	}

	.zoomed {
		position: absolute;
		left: 42%;
		top: 30%;
	}

	#contact-container {
		width: 60%;
	}

	.presentation-contact {
		height: 3em;
	}
}

@media only screen and (min-width: 1500px) {
	.card {
		position: absolute;
		left: 44%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 42.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 1600px) {
	.card {
		position: absolute;
		left: 44.5%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 43%;
		top: 30%;
	}
}

@media only screen and (min-width: 1700px) {
	.card {
		position: absolute;
		left: 45%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 43.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 1800px) {
	.check-list {
		width: 32%;
	}

	#bar-menu {
		width: 40%;
	}

	#header {
		background-position: 50% 45%;
	}

	.title {
		font-size: 6.3em;
	}

	.wavy {
		align-items: flex-end;
		font-size: 2em;
	}

	.category {
		font-size: 1.5em;
	}

	.category-bis {
		font-size: 1.5em;
	}

	.ability {
		background-size: 40em;
	}

	#skill-container {
		width: 50%;
	}

	#btn-container {
		width: 40%;
	}

	.background-skill {
		background-size: cover;
		background-position: 50% 50%;
	}

	.card {
		position: absolute;
		left: 45.5%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 44%;
		top: 30%;
	}

	.presentation-contact {
		height: 3em;
	}

	#contact-container {
		width: 40%;
	}
}

@media only screen and (min-width: 1900px) {
	.card {
		position: absolute;
		left: 46%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 44.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 2200px) {
	.chargement {
		font-size: 5em;
	}

	.check-list {
		width: 28%;
		font-size: 1.8em;
	}

	.title {
		font-size: 7em;
	}

	.heading-title {
		width: 60%;
	}

	.ability {
		width: 60%;
		background-size: 45em;
	}

	.category {
		font-size: 1.8em;
	}

	.category-bis {
		font-size: 1.8em;
	}

	#btn-container {
		width: 35%;
	}

	.card {
		position: absolute;
		left: 46%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 44.5%;
		top: 30%;
	}
}

@media only screen and (min-width: 2500px) {
	.title {
		font-size: 8em;
	}

	.card {
		position: absolute;
		left: 46.5%;
		top: 30%;
	}

	.zoomed {
		position: absolute;
		left: 46%;
		top: 30%;
	}
}

@media only screen and (min-width: 500px) and (max-height: 500px) {
	#menu {
		height: 2.3em;
	}

	#logo-container {
		width: 100%;
		flex-direction: row;
	}

	.heading-title {
		justify-content: flex-start;
	}

	.title {
		font-size: 2.3em;
		margin-left: 10px;
	}

	.first {
		margin-top: 80px;
	}

	.wavy {
		font-size: 0.7em;
		align-items: flex-end;
		margin-left: -50px;
	}

	.home {
		margin-top: 20px;
		margin-bottom: 20px;
		margin-left: -50px;
	}

	.ability {
		background-size: 200%;
	}

	.category {
		font-size: 0.5em;
	}

	.category-bis {
		font-size: 0.5em;
	}

	.home::after {
		content: "--";
		font-size: 1.2em;
	}

	.home::before {
		content: "--";
		font-size: 1.2em;
		margin-right: 15px;
	}

	.fa-angles-down {
		font-size: 1.2em;
	}

	.presentation {
		height: 1.8em;
	}

	.presentation-portfolio {
		height: 1.8em;
	}

	.presentation-text-portfolio {
		font-size: 1em;
	}

	#contact {
		height: auto;
	}

	.presentation-contact {
		height: 1.8em;
	}

	.text-1-bis {
		width: 100%;
		font-size: 0.7em;
	}

	.text-2-bis {
		width: 100%;
		font-size: 0.8em;
	}
}

@media only screen and (min-width: 600px) and (max-height: 500px) {
	#menu {
		height: 2.6em;
	}

	#bar-menu {
		width: 80%;
	}

	.first {
		margin-top: 80px;
	}

	.wavy {
		margin-left: -10px;
	}

	.home {
		margin-left: -10px;
	}

	.ability {
		background-size: 180%;
	}

	.category {
		font-size: 0.6em;
	}

	.category-bis {
		font-size: 0.6em;
	}

	.presentation {
		height: 2em;
	}

	.presentation-text {
		font-size: 1.1em;
	}

	.presentation-portfolio {
		height: 2em;
	}

	.presentation-text-portfolio {
		font-size: 1.1em;
	}

	#contact {
		height: auto;
	}

	.presentation-contact {
		height: 2em;
	}

	.text-1-bis {
		font-size: 0.8em;
	}

	.text-2-bis {
		font-size: 0.9em;
	}
}

@media only screen and (min-width: 700px) and (max-height: 500px) {
	#header {
		background-position: 50% 40%;
		background-size: cover;
	}

	.ability {
		background-size: 150%;
	}

	.category {
		font-size: 0.8em;
	}

	.category-bis {
		font-size: 0.7em;
	}
}

@media only screen and (min-width: 810px) and (max-height: 500px) {
	#header {
		background-position: 50% 45%;
	}

	.title {
		font-size: 3em;
		margin-left: 20px;
	}

	.wavy {
		margin-left: -10px;
		font-size: 0.8em;
	}

	.home {
		margin-left: -10px;
	}
}

@media only screen and (min-width: 840px) and (max-height: 500px) {
	.wavy {
		margin-left: -20px;
	}

	.home {
		margin-left: -20px;
	}

	.category {
		font-size: 0.9em;
	}

	.category-bis {
		font-size: 0.8em;
	}
}

@media only screen and (min-width: 880px) and (max-height: 500px) {
	.title {
		font-size: 3em;
		margin-left: 10px;
	}

	.wavy {
		font-size: 0.9em;
		margin-left: 0;
	}

	.home {
		margin-left: 0;
	}

	.ability {
		background-size: 160%;
	}
}

@media only screen and (min-width: 600px) and (min-height: 900px) {
	.description {
		height: 70%;
	}
}

@media only screen and (min-width: 800px) and (min-height: 900px) {
	.description {
		height: 60%;
	}
}

@media (max-width: 767px) {
	.video-background video {
		width: 100%;
		height: auto;
		transform: translate(-50%, -50%);
	}
}
