/* Auteur : Pochon Marius */
/*Cet page est pour le style CSS*/
body
{
	background-color: darkslateblue;
	font-family: fantasy;

}

.Principal
{
	color: darkslateblue;
	font-family: fantasy;
	text-align: center;
}

.image
{
	border-radius: 20px;
  align-content: center;

}
#image1 {
  width: 40%;
  border-radius: 20px;
}
#image2 {
  border-radius: 20px;
  align-content: center;
  width: 20%;
}
.Font 
{
	border-radius: 30px;
	text-align: center;
	align-content: center;
	background-color: black;
}

nav {
	justify-content: center;
	display: flex;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
   
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    background-color: black;
}

li {
    float: left;
    font-size: 130%;
}

li a {
    display: block;
    color: darkslateblue;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: white;
}

li a.active {
    color: white;
    background-color: #4CAF50;
}

.menuActif
{
  
 background-color: white;


}

.TexteP{
	color: darkslateblue;
	text-align: center;
	vertical-align: middle;
}
.blocTexte {
	height: auto;

  padding: 5cm;

  margin:auto;

  margin-bottom: 1cm;

  padding-right: 3px;

  padding-left: 3px;

  padding-top: 10px;

  padding-bottom: 10px;

  border-radius: 16px;

  text-align: justify;

  width: 50%;
}
#videoH {
	width: 600px;
	border-radius: 20px;
	text-align: center;
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.videoStyles {
  border-radius: 20px;
  width: 300px;
  text-align: center;
  display: block;
  margin-right: auto;
  margin-left: auto;
  
}
.centre {
  text-align: center;
}
a
{
	color: darkcyan;
	text-decoration: none;
}
.link:hover{
	color: white;
}


.timeline {
  margin: 0 auto;
  max-width: 750px;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  font-family: "Fira Sans", sans-serif;
  color: #ffffff;
}

.timeline__component {
  margin: 0 20px 20px 20px;
}

.timeline__component--bg {
  padding: 1.5em;
  background: rgba(1, 1, 1, 0.2);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.timeline__component--bg:hover {
	background: rgba(1, 1, 1, 0.4);
}

.timeline__component--bottom {
  margin-bottom: 0;
}

.timeline__middle {
  position: relative;
  background: #ffffff;
}

.timeline__point {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background: #ffffff;
  border-radius: 50%;
}


.timeline__point--bottom {
  top: initial;
  bottom: 0;
}

.timeline__date--right {
  text-align: right;
}

.timeline__title {
  margin: 0;
  font-size: 1.15em;
  font-weight: bold;
}

.timeline__paragraph {
  line-height: 1.5;
}
/* ici c'est le code pour optimiser mon site sur SmartPhone, j'ai par exemple changer le menu pour qu'il soit mieux adapté. J'ai aussi aggrandi le texte suivant la résolution et j'ai changé la taille des images */
@media only screen and (max-width : 1000px) {
  ul {

    height: auto;

    padding: 5cm;

    margin:auto;

    margin-bottom: 1cm;

    padding-right: 3px;

    padding-left: 3px;

    padding-top: 10px;

    padding-bottom: 10px;

    border-radius: 16px;

    text-align: justify;

    width: 50%;
  }
  .Principal
{
  color: darkslateblue;
  font-family: fantasy;
  text-align: center;

}

.TexteP
{
  display : block;

  font-size: 4vw;
  text-align: center;
  align-content: center;
}

.centre 
{
  font-size: 4vw;
}


li {
  width: 100%;
}
#videoH {
align-content: center;

}
.menu 
  {
    display: flex;
   
    align-items: center;
    justify-content: center;
    width: 100%;
    
   
    display: inline-block;

  }

  nav ul li a {
    font-size: 4vw;
    flex-direction: column;
    align-content: center;
    width: 100%;
  }

  .image {
    width:  70%;
    border-radius: 20px;
  align-content: center;
  }


  #image1 {
  width: 40%;
  border-radius: 20px;

}

#image2 {
  border-radius: 20px;
  align-content: center;
  width: 80vw;
}




}
.autre {
  color: darkslateblue;
}



