@font-face {
  font-family: "Gfont";
  src: url("../fonts/gfont.otf");
}

:root
{
  --my-blue: #3A6688;
  --button-bg: #3A6688;
  --button-text-color: #fff;
  --baby-blue: #f8faff;
  --facebook-color: #4867aa;
  --insta-color: #ff005d;
  --linkedin-color: #027bb6;
  
}


*
{
    box-sizing: border-box;
}

body
{
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  /* font-family: 'Raleway', sans-serif; */
  font-family: 'Helvetica', sans-serif;
  font-weight: 300;
  /* font-family: 'Poppins', sans-serif; */
  width: 100%;

}

.page
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: initial;

  scroll-behavior: smooth;
  overflow-x: hidden; 
  
}


h2
{
  font-family: "GFont", sans-serif;
  margin: 0;
  font-weight: 400;
  /* font-size: 70px; */
  color: #000;
}



.about-container
{
  
  /* margin: 80px 0; */
  margin-bottom: 80px;
  width: 100%;
  padding: 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.about-container .me-description
{
  position: relative;
  /* top: -210px;
  left: 0; */
  width: 95%;
  max-width: 700px;
  height: 100%;
  display: grid;
  /* grid-template-rows: 250px auto 1fr 50px; */
  justify-items: center;
  margin: 0 25px;
  /* font-weight: 300; */
  /* background-color: #fff; */
}

.about-container .me-description h2
{
  /* text-decoration: underline; */

  margin: 0;
  margin-top: 30px;
  /* font-style: italic; */
  font-weight: 400;
  justify-self: flex-start;
  /* font-family: "Poppins", sans-serif; */
  font-family: "GFont", sans-serif;
  /* font-size: 2em; */
  font-size: 70px;
  color: #000;
  /* text-shadow: 1px 1.5px 1px rgba(0, 0, 0, 0.4); */
}

/* .about-container .me-description h2:nth-child(n+1)
{
  
  justify-self: flex-start;
} */

.about-container .me-description p
{
  text-align: justify;
  line-height: 25px;
}



section.tarifs
{
  position: relative;
  z-index: 10;
  width: 100%;
  background-color: var(--my-blue);

  font-size: 16px;

}

.tarifs-title
{
  margin-bottom: 80px;
}

.tarifs-title h2
{
  text-align: center;
  font-size: 5em;
  color: #fff;
  text-shadow: 1px 1.5px #000000;
  /* text-shadow: 1px 1px 1px rgba(128, 128, 128, 0.70); */
}

.tarifs-tables
{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;

  margin-bottom: 80px;

  padding: 0 100px;
}

.table
{
  position: relative;
  margin: 30px;
  transition: .4s;
}

.table:hover
{
  transform: translateY(-15px);
}

.table:hover .table-back
{
  transform: rotateZ(7deg);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.table:hover .table-front
{
  border: 2px solid goldenrod;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.price span
{
  transition: .5s;
}

.table:hover .price span
{
  color: var(--my-blue);
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.table:hover p.duree i
{
  color: var(--my-blue);
  animation: myRotate 7s linear infinite;
}

@keyframes myRotate
{
  0%
  {
    transform: rotateZ(0deg);
  }
  100%
  {
    transform: rotateZ(359deg);
  }
}

.table-back
{
  position: absolute;
  z-index: 102;
  top: 0;
  left: 0;
  height: 400px;
  width: 230px;
  border-radius: 18px;
  /* background-color: var(--my-blue); */
  background-color: #fff;
  /* background-color: #4980aa; */

  /* box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4); */

  /* transform: rotateZ(7deg); */
  transition: .4s;
}

.table-front
{
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; */
  position: relative;
  z-index: 103;
  display: grid;
  justify-items: center;
  /* align-items: center; */
  grid-template-columns: 1fr;
  grid-template-rows: 80px repeat(4, 1fr);
  height: 400px;
  width: 230px;

  padding: 16px;

  font-weight: bold;

  border-radius: 18px;
  border: 2px solid var(--my-blue);

  background-color: rgba(255, 255, 255, .8);

  /* box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); */

  /* transition: .4s; */
}

.table-title
{
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.table-title h3
{
  margin: 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

/* .table-title p
{
  text-align: center;
  margin: 0;
} */

.sub-title,
.sub-price
{
  color: #A8A8A8;
  text-align: center;
  margin: 0;
}

.price span:first-child
{
  font-size: 40px;
}

.price span:nth-child(2)
{
  font-size: 60px;
}

.price span:nth-child(3)
{
  font-size: 20px;
}

p.duree
{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: italic;
}

p.duree i
{
  font-size: 30px;
  margin-right: 8px;
  transition: .3s;
}

.myButton {
  font-family: "Poppins", sans-serif;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  text-align: center;

	box-shadow:inset 0px 0px 15px 3px #23395e;
	/* background:linear-gradient(to bottom, #2e466e 5%, #415989 100%); */
	/* background-color:#2e466e; */
	background-color: var(--my-blue);
	border-radius:42px;
	border:4px solid #ffffff;
	/* display:inline-block; */
	cursor:pointer;
	color:#ffffff;
	/* font-family:Arial; */
	font-size:20px;
  font-weight: bold;
	padding:10px 43px;
	text-decoration:none;
	text-shadow: 1px 1px #000000;
  box-shadow: 3px 3px 3px rgba(0,0,0,.4);
  transition: .4s;
}
.myButton:hover {
	/* background:linear-gradient(to bottom, #5674af 5%, #3d619e 100%); */
	/* background-color:#96b9ff; */
	background-color: #4980aa;
  
  /* border-color: var(--button-bg); */
}

.myButton:hover i{
  color: rgb(255, 59, 59);
	transform: rotate(20deg);
  transition: .2s;
}
.myButton:active {
  /* transform: translateY(4px); */
  transform: scale(0.93);
  box-shadow: none;
	/* position:relative;
	top:3px; */
}


.tarif-bouton
{
  grid-row: 6;
}


.tarif-bouton .myButton
{
  padding: 8px 20px;
  font-size: 16px;
}

.tarif-bouton .myButton i
{
  position: relative;
  top: 1px;
  font-size: 22px;
  margin-left: 5px;
  transition: .4s;
}


.savoir-plus
{
  /* font-size: max(16px, 1.4vw); */
  font-family: "Poppins";
  font-size: 18px;
  font-style: italic;
  font-weight: bold;
  color: var(--my-blue);
}

.savoir-plus i
{
  transition: .4s;
}

.savoir-plus:hover i
{
  transform: translateX(5px);
}

p.program
{
  margin: 0;
}


.reduction 
{
  
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 50px;
}

.reduction p
{
  width: 95%;
  max-width: 850px;
  line-height: 25px;
  text-align: justify;
  font-style: italic;
  color: #fff;
  text-shadow: 1px 1px #000000;
}

.reduction p a
{
  font-weight: bold;
  color: #fff;
}

.reduction p span.warning_text
{
  font-weight: bold;
}











@media (min-width: 1300px) {
  
  .tarifs-title h2
  {
    font-size: 6em;
  }
}


@media (max-width: 1000px) {
  
  .about-container .photo-right
  {
    display: none;
  }
}




@media (max-width: 880px) {

  
}




@media (max-width: 800px) {
  
}

@media (max-width: 700px) {

}


@media (max-width: 650px) {
  
  
}


@media (max-width: 600px) {

  .about-container
  {
    padding: 0;
  }

  .about-container .me-description h2
  {
    font-size: 3.5em;
    text-align: center;
    justify-self: unset;
  }

  .reduction
  {
    padding: 0;
  }

}


@media (max-width: 500px) {

  
}