@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "DM Sans", sans-serif;
}

body {
	background-color: #cce7ff; /* bleu clair */
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 20px;
}

/* ---------------- CONTAINER ---------------- */
.container {
	width: 100%;
	max-width: 1000px;
	min-height: 1000px;
	display: grid;
	grid-template-columns: 1fr 2fr;
	background-color: #fdf5e6; /* beige clair */
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.2);
	overflow: hidden;
}

/* ---------------- COLONNE GAUCHE ---------------- */
.left-side {
	background-color: #f4a460; /* sandybrown */
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
}

/* Photo */
.profileTexte {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.5);
	margin-bottom: 30px;
}

.profileTexte .imgBx {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	margin-bottom: 15px;
	border: 4px solid #554e41;
}

.profileTexte .imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profileTexte h2 {
	font-size: 1.2rem;
	text-align: center;
	line-height: 1.4;
	font-weight: 700;
}

.profileTexte h2 span {
	display: block;
	font-size: 0.9rem;
	font-weight: 400;
	margin-top: 5px;
	color: #554e41;
}

/* Contacts */
.contactinfo, {
	width: 100%;
	text-align: left;
	margin-bottom: 30px;
}

.contactinfo .title,  .title {
	text-transform: uppercase;
	margin-bottom: 15px;
	font-size: 1.1rem;
	font-weight: 700;
	color: #554e41;
}

.contactinfo ul {
	list-style: none;
	padding: 0;
}

.contactinfo ul li {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	font-size: 0.9rem;
	color: #554e41;
}

.contactinfo ul li .icone {
	margin-right: 8px;
	font-size: 1.2rem;
}

/*-----------------BOUTON------------------*/

.button-container {
	margin-top: 30px;
	text-align: center;
}

.button-container .btn {
	display: inline-block;
	padding: 10px 20px;
	background-color: sandybrown;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s;
}

.button-container .btn:hover {
	background-color: #e59861; /* couleur plus claire au survol */
}

/* ---------------- COLONNE DROITE ---------------- */
.right-side {
	background-color: #fdf5e6;
	padding: 40px;
	color: #333;
}

.right-side .title {
	text-transform: uppercase;
	margin-bottom: 15px;
	font-size: 1.2rem;
	border-bottom: 2px solid #f4a460;
	padding-bottom: 5px;
}

.right-side .item {
	margin-bottom: 20px;
}

.right-side .item h4 {
	font-size: 1rem;
	margin-bottom: 5px;
	font-weight: 700;
}

.right-side .item p {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #555;
}

/* ---------------- RESPONSIVE (je dois avouer m'être emmêlée les pinceaux avec Bootstrap, j'ai donc utilisé chatgpt pour le rendre responsive...) ---------------- */
@media screen and (max-width: 768px) {
	.container {
		grid-template-columns: 1fr;
	}

	.left-side, .right-side {
		padding: 20px;
	}

	.profileTexte .imgBx {
		width: 150px;
		height: 150px;
	}

	.profileTexte h2 {
		font-size: 1rem;
	}

	.right-side .item h4 {
		font-size: 0.95rem;
	}

	.right-side .item p, .contactinfo ul li, .skills ul li {
		font-size: 0.85rem;
	}
}
