@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;
}

/* Reset général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0066FF;
}

/* Conteneur principal */
#page {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}



/* Menu */
#menu {
  background-color: #0033FF;
  height: 75px;
  position: relative;
  background-image: url(../img/motif3.png);
  background-repeat: repeat;
  background-size: auto;
}


.menu-container {
  position: absolute;
  top: 0;
  right: 10px;
  display: inline-block;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle img { display: block; }

.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  right: 100%;
  transform: translateX(10px);
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  background-color: rgba(0,0,0,0.8);
  border-radius: 5px;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  z-index: 10;
}

.menu-items.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.menu-items li { margin-bottom: 5px; }
.menu-items li:last-child { margin-bottom: 0; }

.menu-items a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: white;
}

.menu-items a:hover { background-color: rgba(255,255,255,0.1); }

/* Contenu */
#contenu {
	justify-content: space-between;
	align-items: flex-start;
	background-color: #0066FF;
	background-image: url(../img/motif2.png);
	background-repeat: repeat;
	background-size: auto;
	padding: 20px;
	height: 100%;
	width: 100%;
	text-align: center;
}


.bloc1 {
	width: 450px;
	height: 450px;
	padding: 10px;
	text-align: center;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

.bloc2 {
	width: 450px;
	padding: 10px;
	height: 450px;
	text-align: center;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

/* Images */
.img {
	width: 409px;
	height: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-top: 75px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	text-align: center;
}
.img2 {
	width: 146px;
	height: 75px;
	margin-top: 75px;
	padding: 0px;
	margin-right: 0px;
	margin-bottom: 75px;
	margin-left: 0px;
	text-align: center;
}

/* Carrousel */
.carrousel-container {
	position: relative;
	width: 450px;
	height: 450px;
	overflow: hidden;
	background: white;
	border: 2px solid #007BFF;
	border-radius: 10px;
	background-image: url(../img/motif2.png);
	background-repeat: repeat;
	background-size: auto;
	margin-top: 20px;
	margin-bottom: 0px;
	margin-left: auto;
	padding: 0px;
	text-align: center;
	margin-right: auto;
}

.carrousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrousel-item {
  min-width: 100%;
  height: 100%;
}

.carrousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Boutons navigation */
.btn-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #007BFF;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.btn-left { left: 10px; }
.btn-right { right: 10px; }

/* Points */
.indicators {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.indicators .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.indicators .dot.active { background-color: #007BFF; }

/* Responsive */
@media (max-width:1024px) {
  #contenu { flex-direction: column; align-items: center; }
  .bloc1, .bloc2 { width: 100%; max-width: 450px; margin-bottom: 20px; }
  .special { text-align: center; margin-left: 0; font-size: 16px; }
}

@media (max-width:768px) {
  #contenu { flex-direction: column; align-items: center; }
  .bloc1, .bloc2 { width: 100%; max-width: 100%; margin-bottom: 20px; }
  .special { font-size: 14px; }
}

.special {
	font-family: 'animeace2_bld', Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-size: 18px; /* taille par défaut pour PC */
	padding: 0;
	margin-top: 25px;
	margin-left: 15px;
	width: 100%;
	float: left;
	text-align: left;
}

.special1 {
	font-family: 'Elgharib-AlwiSahafa', Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-size: 30px; /* taille par défaut pour PC */
	float: right;
	margin-right: 112px;
	padding: 0;
	margin-top: 25px;
	text-align: right;
	width: 100%;
}

/* Tablette */
@media (max-width: 1024px) {
    .special {
        font-size: 18px;
		margin-top: 25px;
    }
    .special1 {
        font-size: 30px;
		margin-right: 112px;
		margin-top: 13px;
    }
}

/* Téléphone */
@media (max-width: 768px) {
    .special {
        font-size: 10px;
		margin-top: 30px;
    }
    .special1 {
        font-size: 24px;
        margin-right: 112px; /* j’ai réduit ici pour éviter que ça déborde sur mobile */
		margin-top: 15px;
    }
}


/* Pied de page */
#pied {
	background-color: #00FFFF;
	height: 55px;
	background-image: url(../img/motif4.png);
	background-repeat: repeat;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 20px;
	margin: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
  
}
/* 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 */
  }
}
