
@font-face {

	font-family: 'ma_police';
	src: url("police/Aller_Rg.ttf");
}
@font-face {
	font-family: 'font_titre';
	src: url("police/BankGothic.ttf"),
		 url("../police/BankGothic.otf");
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
body{
	background: rgba(48,48,48,10);
	background-size: 100vw;
	background-attachment: fixed;
	font-family: ma_police;
	margin: 0px;
}
.image-gauche {
    position: absolute;
    top: 0;
    left: 2%;
    width: 160px; /* Ajuste la taille de l'image selon tes besoins */
	padding: 10px;
	background-color: none;
}
header{
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center; /* Aligner verticalement les éléments au centre */
	font-size: 1.2em;
	background: none;
	height: 1;
	padding: 10px 20px; /* Espacement de 10px en haut et en bas, et 20px sur les côtés */
	z-index: 2;
	position: absolute;
	top: 0;
	right: 0;
}
header ul{
	display: flex;
	margin: 10px;
	margin-right: 50px;
}
header li {
	text-decoration: none;
	list-style: none;
	margin-left: 50px;
	padding: 20px;
	font-weight: bold;
	/*border-left: 10px solid #ff9900;*/ /*permet de mettre une petite ligne*/
}
header li:hover{
	border-left: 3px solid #ff9900;
	margin-right: -5px;
}
header a {
	text-decoration: none;
	color: #ff9900;
}
header .sous{
    display: none;
    box-shadow: 0px 1px 2px #CCC;
    background-color: rgba(0, 0, 0, 0.714);
    position: absolute;
    z-index: 10;
}
header > ul li:hover .sous{
    display: table-column;
	margin-top: 20px;
	margin-left: 0;
	padding: 0;
}
header .sous li{
    float: none;
    text-align: left;
	margin-left: 0;
	padding-top: 10px;
	padding-left: 5px;
}
header .sous a{
    padding: 0;
	text-align: left;
    border-bottom: none;

}
header .sous a:hover{
    border-bottom: none;
    background-color: RGBa(200,200,200,0.1);
}
header .deroulant > a::after{
    content:" ▼";
    font-size: 12px;
}
h1{
	font-size: 2em;
	font-family: font_titre;
	margin-bottom: 0px;
	margin-top: 15px;
	margin-left: 5%;
	color: #333;
}
h3{
	font-size: 1hv;
	color: #ff9900;
	margin-bottom: 5px;
}
a{
	color: inherit;
	text-decoration: none;
}
#citation{
	background-color: none;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	text-align: center;
	position: absolute;
	font-style: italic;
	font-size: 80px;
	margin-top: 300px;
	color: white;
	opacity: 0.8;
	opacity: 0; /* Commencez avec une opacité à 0 pour le fondu */
    animation: fadeIn 1s ease-in-out forwards
}
/*BLOC PRESENTATION PROJET*/
#presentation_projet{
	margin-top: 20%;
	background: white;
	color: #333;
	padding: 30px;
	padding-left: 15%;
	padding-right: 15%;
	padding-bottom: 70px;
	text-align: justify;
	line-height: 2em;
	font-size: 1.2em;
}

#background-video {
	width: 100vw;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.container {
	display: flex;
	align-items: flex; /* Aligne le texte et le modèle 3D verticalement */
	justify-content: space-around; /* Espace entre le texte et le modèle 3D */
	gap: 20px; /* Espace entre les éléments */
}

.text-box {
	width: 45%; /* Largeur du texte */
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-left: 2vw;
	margin-top: 10px;
	color: white;
	background: #ff9900;
	font-size: 1.2em;
	line-height: 1.5em;
	transform: translateX(-100%); /* Commence en haut de l'écran */
    animation: slideIn 0.75s ease-in-out forwards;
	text-align: justify;
	height: auto;
}

#partenaire{
	justify-content: flex;
	flex-direction: column;
	justify-content:center;
	background: white;
	min-height: 300px;
	padding-top: 30px;
	background-image: url('image/motif_pcb.webp'); /* Remplacez par le chemin de votre image */
    background-size: 30%; /* Ajustez la taille de l'image de fond */
   	background-repeat: no-repeat; /* Empêche la répétition du motif */
   	background-position: right bottom;
}
#partenaire h2{
	margin-left: 0%;
	margin-top: 20px;
}
#partenaire .bloc_logo{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding-left: 100%;
	padding-right: 5%;
}
#partenaire .logo_partenaire{
	margin: 0px;
}


footer{
	background: #eaeaea;
	padding: 40px;
	text-align: center;
}
footer .reseauxbottom{
	width: 35px;
	padding: 2px;
	margin: 3px;
}

@media screen and (max-width: 768px) {
    header ul {
        display: none;
    }

    /* Style du bouton burger */
    .burger-menu {
        display: block;
        cursor: pointer;
        position:absolute;
		margin-bottom: 100px;
        top: 15px;
        right: 20px;
        z-index: 10;
		width: auto;
    }

    .burger-menu span {
        display: block;
        width: 30px;
        height: 4px;
        background-color: orange;
        margin: 6px 0;
        transition: 0.4s;
    }

    /* Cacher le menu mobile par défaut */
    #mobile-nav {
        display: none;
        position: fixed;
        top: -100px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 11;
        justify-content: center;
        align-items: center;
    }

    #mobile-nav ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    #mobile-nav ul li {
        margin: 20px 0;
    }
	#mobile-nav ul li ul{
       font-size: 0.5em;
    }

    #mobile-nav ul li a {
        color: white;
        font-size: 1.5em;
        text-decoration: none;
    }
	.container{
		display: flex;
		flex-direction: column;
		align-items: flex; /* Aligne le texte et le modèle 3D verticalement */
		justify-content: space-around; /* Espace entre le texte et le modèle 3D */
		gap: 20px; /* Espace entre les éléments */
	}
	.container .text-box{
		width: auto;
		height: auto;
		margin-top: -0.5vh;
		font-size: 0.8em;
		margin-left: 0;
		border-radius: 0;
		padding-bottom: 2vh;
	}
	.container iframe{
		width: 100%;
		height:300px;
	}
	#citation{
		margin-top: 20vh;
		font-size: 1.5em;
	}
	.image-gauche{
		width: 24vw;
	}
	#background-video{
		margin-top: 75px;
	}

}

/* Styles pour le grand écran */
@media screen and (min-width: 769px) {
    .burger-menu {
        display: none;
    }

    #mobile-nav {
        display: none;
    }
}
