/**/
/*Menu*/
/**/
/*Become a Hover and don't need to click on the button to show the menu Dropdown*/
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* remove the gap so it doesn't close*/
}

header nav a {
  font-size: 25px;
  font-family: 'Lobster Two', sans-serif;
}

/*For all Pages******************************************/
h1 {
  font-family: 'Lobster Two', Times, serif;
  font-size: 50px;
}

p {
  font-size: 25px;
}

/********************************************************/
/*page of the charte*************************************/
/********************************************************/

/*Title of the page charte*/
.charte-title {
  text-align: center;
}

/*Text of the intro*/
.charte-text p strong {
  font-size: 40px;
}

.charte strong {
  font-family: 'Lobster Two', sans-serif;
  font-size: 20px;
}

.charte p {
  font-weight: 40px;
}

/******************************************************/
/*page of the Timeline Intro***************************/
/******************************************************/

.timeline-intro {
  background-image: url(img/pexels-chris-czermak-1280625-2444429.jpg);
  /* Center and scale the image nicely */
  background-repeat: no-repeat;
  background-size: cover;
}

.timeline-intro .intro {
  color: #fff;
  text-shadow: 2px 2px 1px #000000, 3px 3px 5px #000000;
  background-color: #97b7ca9f;
  border-radius: 35px;
  box-shadow: 2px 2px 10px #000;
}

/******************************************************/
/*page of the full Timeline****************************/
/******************************************************/

/*body timeline all the page*/
.timeline {
  background-image: url(img/pexels-chris-czermak-1280625-2444429.jpg);
  /* Center and scale the image nicely */
  background-repeat: no-repeat;
  background-size: cover;
}

/*box-container fo the title of the time line*/
.title-timeline {
  background-image: url(img/sky-clouds-cinematic-clouds-wallpaper-7.jpg);
  background-size: cover;
}

/*Title of the time line*/
.timeline .home-title {
  font-size: 70px;
  padding-bottom: 5%;
  text-align: center;
  text-shadow: 0px 0px 15px #000000, 1px 2px 2px #000000;
  color: #fff;
}

/*Menu 2*/

/*link in the menu*/
.timeline-menu nav {
  background-color: #ffffff85;
  box-shadow: 3px 7px 10px #000;
}

/**/
.timeline-menu nav li {
  border-bottom: 3px solid #ffffff00;
}
/**/
.timeline-menu nav li:hover {
  border-bottom: 3px solid #ffffff;
}

/**/
.timeline-menu nav li a {
  font-size: 25px;
  font-family: 'Lobster Two', sans-serif;
  color: #ffffff;
  text-shadow: 3px 3px 7px #000000, 3px 3px 0px #000000;
}

.timeline-menu nav li a:hover {
  color: #312f2f;
  text-shadow: 2px 3px 5px #ffffff, 3px 3px 3px #ffffff;
}

/*section of the timeline but only for the one at the top*/
.timeline .top p {
  color: #fff;
  text-align: center;
  font-size: 35px;
  text-shadow: 2px 3px 10px #000000, 3px 3px 3px #000000;
}

/*section of the timeline (1/2/3...)*/
.timeline .partie {
  text-align: center;
  background-image: url(img/sky-clouds-cinematic-clouds-wallpaper-7.jpg);
  background-size: cover;
  border-bottom: 2px solid #000;
}

.timeline .partie p {
  color: #fff;
  font-size: 35px;
  text-shadow: 2px 3px 10px #000000, 3px 3px 3px #000000;
}

/*Title of the timeline*/
.timeline-title {
  text-align: center;
}

/*Date of the timeline*/
.timeline .date {
  color: #ffffff;
  text-align: end;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  background-image: url(img/5.jpg);
  background-size: cover;
}

/*timeline text of the date*/
.timeline .date p {
  text-shadow: 1px 1px #000;
  border: 0px 3px 0px 3px solid #000;
  border-radius: 50px;
  text-align: center;
  margin-top: 10%;
  background-color: #0000007a;
  text-shadow: 1px 1px 1px #ffffff, 2px 2px 5px #000000;
  box-shadow: 3px 7px 10px #000, 6px 14px 10px #00000062;
}

/*For the background of the date*/
.timeline .date1 {
  background-color: #495057d3;
}

/*Size of the date*/
.timeline .date1 p {
  font-size: 30px;
}

/*Border at the bottom of text*/
.timeline .text {
  border-bottom: 3px solid #000;
  box-shadow: 0px 2px 5px #fff;
  color: #fff;
  text-shadow: 1px 2px 0px #000000, 3px 2px 5px #000000;
}

/*.timeline .text1 {
  background-color: #ffffff70;
}

.timeline .date2 {
  background-color: #93b2b470;
}*/

.timeline .date2 p {
  font-size: 30px;
}

.timeline .underline {
  text-decoration: underline;
  font-size: 30px;
}

/*party réflexions*/
.timeline ol {
  font-size: 30px;
}

.timeline .reflexion {
  border-bottom: 2px solid #000;
}

.normal {
  text-transform: uppercase;
  font-size: large;
}

/*Make the page go to the top (button)*/
#go-to-top-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2a4fd2;
  color: #fff;
  opacity: 0.5;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#go-to-top-button:hover {
  opacity: 1;
}
.hidden {
  display: none;
}

/*************************************************************/
/*page of the Recommandations*********************************/
/*************************************************************/

.reco-title {
  text-align: center;
}

/*Pour les fautes.*/
.corriger {
  background-color: red;
}

/*Pour les fautes.*/
.ask {
  background-color: rgb(0, 255, 21);
}

/******************************************************/
/*page of learn*********************************/
/******************************************************/
.title-gras {
  font-weight: 800;
}

/******************************************************/
/*page of Joke*********************************/
/******************************************************/

/*Every joke in a box*/
.joke {
  border: 3px solid #242323d3;
  border-radius: 10px;
  box-shadow: 1px 4px 10px;
  padding: 15px;
  margin-top: 20px;
  text-shadow: 1px 1px 1px rgb(190, 185, 185);
}

.joke h2 {
  text-decoration: underline;
}

.un {
  background-color: #6a717965;
}

.deux {
  background-color: #93b2b433;
}

/*Break for phone user*/
@media only screen and (max-width: 600px) {
  /*Recadre la position de la boxe date*/
  .timeline .date {
    padding-left: 4px;
  }
  /*Recadre la position de la boxe date (2)*/
  .timeline .date p {
    margin: 10% 0% 10% 0%;
    text-decoration: none !important;
    border: 3px 0px 3px 0px solid #000;
  }

  /*underline removed*/
  .timeline .date p strong {
    text-decoration: none !important;
  }

  /*make the word at the vertical*/
  .timeline .date p:last-of-type {
    writing-mode: vertical-lr;
    text-orientation: upright;
  }
}
