/* Réinitialisation de la mise en page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
 
}


div.p1
{
   width: 100%; 
height: 100%;
  text-align: center;
  margin-left: auto;
margin-right: auto;
}

/* Style de l'entête */
header {
  background-color: #333;
  color: white;
  padding: 20px 0;
   text-align: center;
}

header .container {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: inline-block;
}

/* Style pour l'élément h1 */
#animated-text {
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    background-color: #ff7f50;
    color: white;
    display: inline-block;
    border-radius: 10px;
    transition: background-color 1s ease, transform 1s ease;
}

/* Animation de changement de taille et de couleur */
@keyframes changeTextSize {
    0% {
        font-size: 50px;
    }
    50% {
        font-size: 70px;
    }
    100% {
        font-size: 50px;
    }
}

@keyframes changeTextColor {
    0% {
        color: red;
    }
    25% {
        color: green;
    }
    50% {
        color: blue;
    }
    75% {
        color: purple;
    }
    100% {
        color: orange;
    }
}

@keyframes changeBackgroundColor {
    0% {
        background-color: #ff7f50;
    }
    50% {
        background-color: #8a2be2;
    }
    100% {
        background-color: #ff7f50;
    }
}

#animated-text {
    animation: changeTextSize 3s , changeTextColor 5s , changeBackgroundColor 6s infinite;
}

h2
{
 background-color: orange;
 color: white;
   text-align: center;
}

/* Appliquer l'animation au chargement */
.cc3 {
    animation: loadAnimation 1s ease-out;
}

header nav ul {
  list-style: none;
}

header nav ul li {
  display: inline;
  margin-right: 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

/* Style du contenu principal */
main {
  width: 80%;
  margin: 30px auto;
}

.container {
  display: flex;
  justify-content: space-between;
}

.left-column, .right-column {
  width: 48%; /* Les deux colonnes prennent presque la moitié de la largeur */
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.left-column h2, .right-column h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* Style du bas de page */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
   padding-bottom: 50px;
  position: relative;
  bottom: 0;
  width: 100%;
  
}

footer p {
  font-size: 1rem;
     text-align: center;
}



  .left-column, .right-column {
    width: 80%; /* Les colonnes prennent toute la largeur sur les petits écrans */
    margin-bottom: 20px;
  }

  header .container {
    flex-direction: column;
    text-align: center;
  }

  header nav ul li {
    display: block;
	display:inline-block;
    margin-bottom: 10px;
  }
}


.cube {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 10s infinite linear;
    margin-right: 20px;
	-webkit-border-radius:15px;
-moz-border-radius:15px;
-o-border-radius:15px;
-ms-border-radius:15px;
-khtml-border-radius: 15px ; 
border-radius:15px;
border-left: 1px solid #0000FF;
margin-left: auto;
margin-right: auto;
}


.front  { transform: translateZ(75px); }
.back   { transform: rotateY(180deg) translateZ(75px); }
.right  { transform: rotateY(90deg) translateZ(75px); }
.left   { transform: rotateY(-90deg) translateZ(75px); }
.top    { transform: rotateX(90deg) translateZ(75px); }
.bottom { transform: rotateX(-90deg) translateZ(75px); }

@keyframes rotateCube {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
}

.face {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #007BFF;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    opacity: 0.9;
	border: 1px solid #0000FF;
}


.animated-3d-text {
    font-size: 2em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: #fff;
    transform: perspective(300px) rotateX(0deg);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: perspective(300px) rotateX(0deg);
    }
    50% {
        transform: perspective(300px) rotateX(45deg);
    }
}

/* Add shadow for depth */
.animated-3d-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    transform: perspective(300px) rotateX(0deg) translateZ(-1px);
    animation: shadow 4s ease-in-out infinite;
}

@keyframes shadow {
    0%, 100% {
        transform: perspective(300px) rotateX(0deg) translateZ(-1px);
    }
    50% {
        transform: perspective(300px) rotateX(45deg) translateZ(-1px);
    }
}


.etiquette
{
   
    width:15%;
}

.maxecran
{
    border:3px solid #f8cece;
    width:45%;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive - Adaptation mobile */
@media (max-width: 768px) 
{
  .container {
    flex-direction: column;
    align-items: center;
  }
  
	video
	{
	  
	 width: 80%; 
	 height: auto;
	  
	}
	
	img
	{
	  
	 width: 80%; 
	 height: auto;
	  
	}
	
	
	footer 
	{
	background-color: #333;
	color: white;
	text-align: center;
	padding: 20px;
	 padding-bottom: 50px;
	position: relative;
	bottom: 0;
	width: 760px;
	
	}
  
  main 
  {
  width: 760px;
  margin: 3px auto;
  }


  .left-column, .right-column 
  {
    width: 760px; /* Les colonnes prennent toute la largeur sur les petits écrans */
    margin-bottom: 20px;
  }
  


div.p1
{
   width: 760px;
  height: auto;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


body {
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  line-height: 1.6;
  background-color: #f4f4f4;
  width: 760px;
 
}

  }