/*Page d'ouverture*/

.intro{
	background-image: url(img/fond.jpg);
}

.main{
	width: 86%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
}
.moi{
	width: 100%;
	padding: 100px 0px;
	background-color: black;
}
.moi img{
	height: auto;
	width: 430px;
	padding-right: 60px;
}
.moi-text{
	width: 900px;
	text-align: justify;	
}
.moi-text h2{
	color: white;
	font-size: 60px;
	text-transform: capitalize;
	margin-bottom: 20px;
}
.moi-text h3{
	color: white;
	letter-spacing: 2px;
	font-size: 50px;
	margin-bottom: 25px;
	text-transform: capitalize;
}
.moi-text h4{
	color: white;
	letter-spacing: 2px;
	font-size: 37px;
	margin-bottom: 25px;
	text-transform: capitalize;
}
.moi-text p{
	color: var(--pastel);
	letter-spacing: 1px;
	line-height: 28px;
	font-size: 18px;
	margin-bottom: 45px;
}
.moi2{
	width: 100%;
	padding: 100px 0px;
	background-color: #180517;
}
.moi2 img{
	height: auto;
	width: 430px;
	padding-left: 60px;
}

/* Configuration pour les petits écrans */
@media (max-width: 767px) {

	/*A propos de moi*/

    .moi {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .moi img {
        width: 100%;
        padding-right: 20px;
		padding-left: 20px;
        margin-bottom: 20px;
    }

	.moi2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .moi2 img {
        width: 100%;
        padding-right: 20px;
		padding-left: 20px;
        margin-bottom: 20px;
    }

    .moi-text {
        width: 100%;
        padding: 0 20px;
        text-align: justify;
    }

    .moi-text h2 {
        font-size: 40px;
    }

    .moi-text h5 {
        font-size: 18px;
    }

    .moi-text p {
        font-size: 16px;
        line-height: 24px;
    }
}
