*{
	padding: 0;
	margin: 0;
	font-family: 'Josefin Sans', sans-serif;
	box-sizing: border-box;
	--principal: #ffd79d;
	--secondaire: #d902ee;
	--tertiaire: #ff19ec;
	--pastel:#fcfc;
}

span{
	color: var(--principal);
}

.intro{
	height: 100vh;
	width: 100%;
	background-size: cover;
	background-position: center;
}

/*Barre de navigation*/

.logo{
	height: auto;
	width: 80px;
}

nav{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 45px;
	padding-left: 8%;
	padding-right: 8%;
}

nav ul li{
	list-style-type: none;
	display: inline-block;
	padding: 10px  35px;
}
nav ul li a{
	color: white;
	text-decoration: none;
	font-weight: bold;
	text-transform: capitalize;
	font-size: 110%
}
nav ul li a:hover{
	color: var(--principal);
	transition: .4s;
}

/*Boutton langue*/

.btn{
	background-color:var(--principal);
	color: white;
	text-decoration: none;
	border: 2px solid transparent;
	font-weight: bold;
	padding: 10px 25px;
	border-radius: 30px;
	transition: transform .4s; 
}
.btn:hover{
	transform: scale(1.2);
}

/*Titre + sous-titre*/

.titre p{
	color: white;
	  margin: 10px 0px 20px;
	  font-size: 15px;
	text-align: right;
  }

/*Principal, Moi en quelque mots*/

/* Code de base */
h1 {
	color: white;
	margin: 20px 0px 20px;
	font-size: 50px;
}
h3 {
	color: white;
	font-size: 20px;
	margin-bottom: 35px;
}

/*Pied de page*/

footer{
	position: relative;
	width: 100%;
	background: #101010;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.end{
	position: absolute;
	color:var(--principal);
	bottom: 15px;
	font-size: 14px; 
}

/* Configuration verticale */
@media (max-width: 767px) {

    .intro nav {
		position: relative;
	}
	
	.nav-links {
		display: none; /* Masque les liens de navigation */
		flex-direction: column;
		position: absolute;
		top: 150px; /* Ajuste la position sous le logo */
		left: 0;
		width: 100%;
		background-color: #191919;
		padding: 20px 0;
		text-align: center;
		transition: max-height 0.4s ease-in-out;
		overflow: hidden;
	}
	
	.nav-links.show {
		display: flex; /* Affiche les liens lorsqu'on clique */
	}

	/* Affiche le lien Accueil lorsque le menu est déroulé */
	.nav-links.show .accueil-link {
		display: block;
	}
	
	.logo {
		cursor: pointer;
	}
	

	/*Page de base*/

	.nav {
		padding-left: 10px;
		padding-right: 10px;
	}

	.titre{
		padding-top: 120px;
		padding-left: 10px;
		padding-right: 10px;
		position: static;
        text-align: center;
        transform: none;
        margin-bottom: 20px;
    }
    .titre p {
        font-size: 13px;
        text-align: center;
    }

	h1 {
        font-size: 30px;
        text-align: center;
    }

    h3 {
        font-size: 18px;
        text-align: center;
    }

	.main {
        width: 100%;
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main h2 {
        font-size: 40px;
    }

    .main h5 {
        font-size: 18px;
    }

}

/* Configuration horizontals */
@media (min-width: 767px) {
    /*Page de base*/

	.titre {
        position: absolute;
        top: 55%;
        left: 8%;
        transform: translateY(-50%);
    }

    .titre p {
        font-size: 15px;
        text-align: right;
    }

    .main {
        width: 1130px;
        max-width: 95%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }

    h1 {
        font-size: 50px;
    }

    h3 {
        font-size: 20px;
    }
}
