body {
    background: url("../ressources/img/common/starry-bg.png");
    background-size: 100% auto; /* Couvre la largeur, se répète en hauteur */
}

h2{
	color: #000000;
    font-size: calc(11px + .3vw);
	font-family: 'MSReferenceSansSerifBold', 'Arial', sans-serif;
	text-align: center;

	padding: 30px 60px;
	background-color: #ffffff;
	border-radius: 5px;

	position: relative;
}

div > p {
	color: #000000;
	font-size: calc(12px + .1vw);
	text-align: center;
	font-family: 'MSReferenceSansSerif', 'Arial', sans-serif;

	padding: 10px;
	background-color: #ffffff80;
	border-radius: 5px;
}

#lilstar1 {
    position: absolute;
    user-select: none;
    width:7vw;
    top:8vw;
    left:20vw;
    transform: scaleX(-1) rotate(-20deg);
}

#lilstar2 {
    position: absolute;
    user-select: none;
    width: 4vw;
    top:12vw;
    left: 70vw;
    transform: rotate(-170deg);
}

#formations{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#but {
	z-index: 10;
	background-image: url("../ressources/img/formation/form-planet-but.png");
	background-size: cover;
	background-repeat: no-repeat;

	width: 700px;
	height: 700px;

	position: relative;
	top: -100px; 

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#bac {
	z-index: 10;
	background-image: url("../ressources/img/formation/form-planet-bac.png");
	background-size: cover;
	background-repeat: no-repeat;

	width: 550px;
	height: 550px;

	position: relative;
	top: -220px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#base {
	z-index: 10;
    background-image: url("../ressources/img/formation/form-planet-base.png");
	background-size: cover;
	background-repeat: no-repeat;

	width: 300px;
	height: 300px;

	position: relative;
	top: -340px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.planet-text{
	max-width: 350px;
}

#base h2 {
	font-size: calc(11px + .3vw);
	text-align: center;
	font-family: 'MSReferenceSansSerifBold', 'Arial', sans-serif;
	padding: 0;
	background-color: unset;
	border-radius: 5px;
}

#transition1{
	position: relative;
	top: -180px;
}

#transition2{
	position: relative;
	top: -260px;
}

@media screen and (max-width: 900px) {

	#lilstar1 {
		top: 12vw;
	}

	h2{
		padding: 20px 40px;
	}
}

@media screen and (max-width: 750px) {

	#but{
		width: 500px;
		height: 500px;
	}


	#lilstar1, #lilstar2 {
		display: none;
	}

}

@media screen and (max-width: 600px) {

	h2 {
		padding: 15px 30px
	}

	#bg-start {
		width: 300px;
	}

	#transition1 {
		width: 300px;
		top: -110px;
	}

	#transition2 {
		width: 300px;
		top: -180px;
	}

	#but{
		top: -50px;
	}

	#bac {
		width: 400px;
		height: 400px;
		top: -150px;
	}

	#base{
		top: -260px;
	}
}

@media screen and (max-width: 500px) {

	#but{
		width: 400px;
		height: 400px;
	}

	#bac {
		width: 370px;
		height: 370px;
	}
}

@media screen and (max-width: 400px) {

	h2 {
		font-size: calc(11px + .3vw);
		padding: 10px 20px;
	}

	.planet-text {
		font-size: calc(10px + .1vw);
		max-width: 300px;
	}
}