@charset "utf-8";
@font-face {
font-family: 'animeace2_bld';
src: url('../fonts/animeace2_bld.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Elgharib-AlwiSahafa';
src: url('../fonts/Elgharib-AlwiSahafa.ttf') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Beiruti-ExtraLight';
src: url('../fonts/Beiruti-ExtraLight.ttf') format('opentype');
font-weight: normal;
font-style: normal;
}

/* Reset général */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
body {
  background-color: #333333;
}
#page {
  width: 1024px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  box-sizing: border-box;
}
#haut {
	background-color: #000000;
	margin: 0px;
	padding: 0px;
	height: 535px;
	width: 100%;
	background-image: url(../img/motif5.png);
}


.mon-carrousel {
	position: relative;
	width: 100%;        /* Toujours 100% largeur */
	height: 450px;
	overflow: hidden;
	border: 2px solid #333;
	border-radius: 0;
}

.mon-container {
	width: 100%;
	height: 100%;
	position: relative;
}

.mon-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
}

.mon-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Zoom au survol */
.mon-slide img:hover {
  transform: scale(1.1);
}

.mon-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  border-radius: 5px;
}

.mon-caption h3 {
	margin: 0;
	font-size: 24px;
	font-weight: bolder;
}

.mon-caption p {
	margin: 5px 0 0;
	font-size: 16px;
	font-weight: bold;
}

/* Boutons cercles */
.mon-indicators {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.mon-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  border: 1px solid #333;
}

.mon-dot.active {
  background: #000;
}

/* Flèches */
.mon-prev, .mon-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 20;
}

.mon-prev { left: 10px; }
.mon-next { right: 10px; }

.mon-prev:hover, .mon-next:hover {
  background: black;
}

/* RESPONSIVE : toujours 100% largeur */
@media (max-width: 1023px) {
  .mon-carrousel {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .mon-carrousel {
    width: 100%;
  }
}

/* Affiche la première image au départ */
.mon-slide:first-child {
  display: block;
}
#menu {
	margin: 0px;
	padding: 0px;
	height: 75px;
}
.menu {
  height: 75px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.menu li {
  position: relative;
}
.menu li a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	transition: background 0.3s, color 0.3s;
	height: 50px;
	padding: 10px 15px;
	cursor: pointer;
}
.menu li a:hover {
  background-color: white;
  color: black;
}

.menu-container {
  position: relative;
  display: inline-block;
}

.menu-toggle {
	height: 75px;
	display: flex;
	align-items: center;
	border: none;
	border-radius: 10px;
	padding: 0 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #FFFFFF;
	font-size: 18px;
}


.menu-toggle img {
	width: 40px;
	height: 40px;
	margin-right: 10px;
	margin-left: 10px;
}

.menu-toggle.clicked {
	color: black;
	background-color: #FFFFFF;
	font-size: 18px;
}

.dropdown {
	display: none;
	position: absolute;
	top: 85px;
	left: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	z-index: 100;
	text-align: center;
}

.dropdown button {
	width: 100%;
	padding: 10px 20px;
	border: none;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
	text-align: center;
	font-size: 16px;
	font-weight: normal;
}

.dropdown button:hover {
	font-size: 18px;
	background-color: #FFFFFF;

}

.dropdown button:last-child {
	border-bottom: none;
}

/* ------------------------------ */
/* Media query : cacher menu si largeur < 900px */
@media screen and (max-width: 1000px) {
  .menu {
    display: none;
  }
}




#txtinto {
	margin: 0px;
	padding: 10px;
	height: 40px;
}
#videointro {
	padding: 0px;
	height: auto;
	width: auto;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: center;
}
.video-container {
	width: 380px;
	height: 350px;
	background-color: transparent;
	position: relative;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: center;
	padding: 0px;
}
#txt2intro {
	padding: 0px;
	height: 100%;
	width: 450px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-weight: bold;
}
.scroll-container {
	width: 380px;        /* largeur du conteneur */
	max-width: none;     /* pas de limite */
	height: 350px;
	overflow-y: scroll;
	background-color: rgba(0, 0, 0, 0.7);
	border: 5px solid #ffffff33;
	box-sizing: border-box;
	margin-top: 40px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}

/* Texte blanc avec contour, toujours centré */
.scroll-text p {
	color: white;
	font-size: 18px;
	text-shadow: 1px 1px 2px #000, -1px -1px 2px #aaa;
	margin: 0;
	text-align: center !important; /* force le texte au milieu */
}

/* Scrollbar pour Firefox */
.scroll-container {
	scrollbar-color: #000 transparent;
	scrollbar-width: thin;
	text-align: center;
}

/* Scrollbar pour Chrome, Edge et Safari */
.scroll-container::-webkit-scrollbar {
	width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
	background: transparent;
}

.scroll-container::-webkit-scrollbar-thumb {
	background-color: #000;
	border-radius: 4px;
	border: 2px solid transparent;
}

/* PLUS BESOIN DE MEDIA QUERIES */

#txtdesign {
	margin: 0px;
	padding: 10px;
	height: 40px;
}
#txt2design {
    margin: 0;
    padding: 0;
    height: 245px;
}

.scroll-container2 {
	width: 90%; /* toujours 100% largeur */
	max-width: none; /* pas de limite */
	height: 200px;
	overflow-y: scroll;
	background-color: rgba(0, 0, 0, 0.7); /* noir transparent */
	border: 5px solid #ffffff33;
	box-sizing: border-box;
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 7px;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
}

/* Texte blanc avec contour */
.scroll-text p {
	color: white;
	font-size: 16px;
	text-align: justify;
	text-shadow: 1px 1px 2px #000, -1px -1px 2px #aaa;
	margin: 0;
	font-weight: bold;
}

/* Scrollbar personnalisée (Chrome, Edge, Opera) */
.scroll-container2::-webkit-scrollbar {
    width: 8px;
}

.scroll-container2::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 4px;
}

.scroll-container2::-webkit-scrollbar-track {
    background: transparent;
}

/* Scrollbar pour Firefox */
.scroll-container2 {
    scrollbar-color: #000 transparent;
    scrollbar-width: thin;
}

/* PLUS BESOIN DE MEDIA QUERIES */
/* Toujours 100% largeur sur PC, tablette et mobile */


#carouseldesign {
	margin: 0px;
	padding: 0px;
	height: 265px;
}




#txtanim {
	margin: 0px;
	padding: 10px;
	height: 40px;
}
#txt2anim {
	padding: 0px;
	height: 450px;
	width: 450px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
}
#carouanim {
	padding: 0px;
	height: 450px;
	width: 450px;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 0px;
}


#txtweb {
	margin: 0px;
	padding: 10px;
	height: 40px;
}
#carouweb {
	margin: 0px;
	padding: 0px;
	height: 230px;
}
#txt2web {
	margin: 0px;
	padding: 0px;
	height: 230px;
}


#txtcont {
	padding: 10px;
	height: 40px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#boutcont {
	height: 460px;
	width: 60px;
	margin: 0px;
	padding: 0px;
	float: right;
}




#boutmenu {
	padding: 0px;
	float: left;
	height: 300px;
	width: 250px;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 50px;
}
#boutoncont {
	padding: 0px;
	float: left;
	height: 320px;
	width: 280px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 150px;
}
#copypied {
	height: 50px;
	padding: 0px;
	border-top-style: 0;
	border-right-style: 0;
	border-bottom-style: 0;
	border-left-style: 0;
	width: 100%;
	float: right;
	margin-top: 50px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}

/* Scrollbar personnalisée (Chrome, Edge, Opera) */
.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #000; /* bouton noir */
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-track {
  background: transparent;
}
.special {
	font-family: 'animeace2_bld', Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding: 0;
	margin: 0px;
	text-align: center;
}

.special1 {
	font-family: 'Elgharib-AlwiSahafa', Arial, Helvetica, sans-serif;
	font-size: 24px;
	padding: 0;
	margin: 0px;
}
.special2 {
	font-family: 'Beiruti-ExtraLight', Arial, Helvetica, sans-serif;
	font-size: 24px;
	padding: 0;
	margin: 0px;
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}	
	.special3 {
	font-family: 'Beiruti-ExtraLight', Arial, Helvetica, sans-serif;
	font-size: 18px;
	padding: 0;
	margin: 0px;
	word-spacing: 1mm;
}
.Style3 {
	font-family: 'Elgharib-AlwiSahafa', Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 24px;
}

.text {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #FFFFFF;
	padding: 10px;
	margin-top: 10px;
	margin-right: 75px;
	margin-bottom: 0px;
	margin-left: 0px;
}


#bannier {
	background-color: #333333;
	width: 100%;
	background-repeat: repeat;
	background-position: center;
	height: auto;
	text-align: center;
}

#introduction {
	background-color: #990000;
	background-repeat: repeat;
	background-position: center;
	height: auto;
	background-image: url(../img/motif6.png);
	text-align: center;
}

#graphisme {
	background-color: #0033FF;
	background-repeat: repeat;
	background-position: center;
	height: auto;
	background-image: url(../img/motif10.png);
	text-align: right;
}

#animation {
	background-color: #FF9900;
	background-repeat: repeat;
	background-position: center;
	height: auto;
	background-image: url(../img/motif9.png);
	text-align: center;
}

#pied {
	background-color: #000000;
	width: 100%;
	background-repeat: repeat;
	height: 100%;
	background-image: url(../img/motif5.png);
	text-align: center;
}

#webdesign {
	background-color: #0066FF;
	background-repeat: repeat;
	background-position: center;
	height: auto;
	background-image: url(../img/motif8.png);
}

#contact {
	background-color: #FFCC00;
	background-repeat: repeat;
	background-position: center;
	height: 100%;
	background-image: url(../img/motif7.png);
	width: 100%;
}

/* clearfix pour que chaque conteneur englobe ses floats */
#bannier::after,
#introduction::after,
#graphisme::after,
#animation::after,
#pied::after,
#webdesign::after,
#contact::after {
  content: "";
  display: table;
  clear: both;
}
/* Bouton hamburger fixé à gauche, centré verticalement */
#menuToggleBtn {
	position: fixed;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	cursor: pointer;
	background: black;
	padding: 0px;
	z-index: 9999;
}

#menuToggleBtn .bar {
  width: 100%;
  height: 4px;
  background: white;
}

/* Menu vertical (au même endroit que le bouton) */
#sideMenu {
  position: fixed;
  top: 50%;
  left: -220px; /* caché au départ */
  transform: translateY(-50%);
  width: 200px;
  background: black;
  color: white;
  transition: left 0.3s ease;
  z-index: 9998;
  padding: 10px 0;
  border-radius: 5px;
}

#sideMenu.active {
  left: 10px; /* même position que le bouton */
}

#menuCloseBtn {
  font-size: 24px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  text-align: right;
  padding: 0 10px;
}

#sideMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#sideMenu ul li {
  padding: 8px 15px;
}

#sideMenu ul li a {
  color: white;
  text-decoration: none;
  display: block;
}


/* Sous-menu Traduction */
.submenu .dropdown {
  display: none;
  padding-left: 15px;
}
#titre {
	color: #000000;
}


.submenu.open .dropdown {
  display: block;
}
/* Conteneur Flex */
.container {
	display: flex;
	flex-wrap: wrap; /* Permet aux éléments de descendre si espace insuffisant */
	justify-content: center; /* Centre horizontalement */
	gap: 20px; /* Espace entre les éléments */
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}

/* Chaque élément */
.box-5 {
	width: 450px;
	height: 450px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	text-align: center;
}

/* Responsive : quand écran trop petit */
@media (max-width: 850px) {
  .box-5 {
    width: 100%; /* prend moins de largeur sur mobile */
    height: 450px; /* peut réduire hauteur si besoin */
  }
}
/* Conteneur Flex */
.container1 {
	display: flex;
	flex-wrap: wrap; /* Permet aux éléments de descendre si espace insuffisant */
	justify-content: center; /* Centre horizontalement */
	gap: 20px; /* Espace entre les éléments */
	margin-top: 20px;
}

/* Chaque élément */
.box-4 {
	width: 450px;
	height: 450px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	text-align: center;
}

/* Responsive : quand écran trop petit */
@media (max-width: 850px) {
  .box-4 {
    width: 100%; /* prend moins de largeur sur mobile */
    height: 450px; /* peut réduire hauteur si besoin */
  }
}
