@font-face {
  font-family: chasing_cars;
  src: url(../fonts/kg_chasing_cars/KGChasingCars.ttf);
}
@font-face {
  font-family: love;
  src: url(../fonts/lovheart-font/LovheartPersonalUseItalic-Yz0x4.ttf);
}
.accueil_introduction{
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    gap: 40px;
    margin-top: 20px;
    padding: 80px;
    align-items: flex-stacert;
    margin: auto;
}
.accueil_introduction img{
  /* Copy code to element you want to animate */
  animation: customAnimLeft 2s ease-in-out 300ms 1 normal none;
}
/* Copy this code after the above code */
@keyframes customAnimLeft {
  0% {
	animation-timing-function: ease-in;
	opacity: 1;
	transform: translateX(48px);
  }

  24% {
	opacity: 1;
  }

  40% {
	animation-timing-function: ease-in;
	transform: translateX(26px);
  }

  65% {
	animation-timing-function: ease-in;
	transform: translateX(13px);
  }

  82% {
	animation-timing-function: ease-in;
	transform: translateX(6.5px);
  }

  93% {
	animation-timing-function: ease-in;
	transform: translateX(4px);
  }

  25%,
  55%,
  75%,
  87%,
  98% {
	animation-timing-function: ease-out;
	transform: translateX(0px);
  }

  100% {
	animation-timing-function: ease-out;
	opacity: 1;
	transform: translateX(0px);
  }
}

.intro {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 50%;
    /* Copy code to element you want to animate */
  animation: customAnimRight 2s ease-in-out 300ms 1 normal none;
}
/* Copy this code after the above code */
@keyframes customAnimRight {
  0% {
	animation-timing-function: ease-in;
	opacity: 1;
	transform: translateX(-48px);
  }

  24% {
	opacity: 1;
  }

  40% {
	animation-timing-function: ease-in;
	transform: translateX(-26px);
  }

  65% {
	animation-timing-function: ease-in;
	transform: translateX(-13px);
  }

  82% {
	animation-timing-function: ease-in;
	transform: translateX(-6.5px);
  }

  93% {
	animation-timing-function: ease-in;
	transform: translateX(-4px);
  }

  25%,
  55%,
  75%,
  87%,
  98% {
	animation-timing-function: ease-out;
	transform: translateX(0px);
  }

  100% {
	animation-timing-function: ease-out;
	opacity: 1;
	transform: translateX(0px);
  }
}

.intro h1{
    color: #a5b4fc;
    font-size: 3.5em;
    margin-bottom: 30px;
    font-weight: bold;
}
.intro p{
  text-align: justify;
  font-size: 1.2em;
}

.accueil_follow{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    background-color: white;
    color:black;
    padding: 30px;
    transition: all 1000ms;
}
/*.accueil_follow:hover{
  transform: scale(1.05);
}*/
.accueil_follow a{
  text-decoration: none;
  
}
.accueil_follow h3{
  font-size: 2.5em;
  font-style: normal;
  font-family: love, fantasy,'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: normal;
}
.accueil_follow a:hover{
  font-style: italic;
  color: red;
}
.follow{
    display: flex;
    flex-direction: row;
    gap: 55px;
    justify-content: center;
    padding: 20px 150px;
    margin-bottom: 50px;
}
.follow img{
    width: 30%;
    height: 200px;
    -webkit-box-shadow: 2px 38px 56px -21px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 38px 56px -21px rgba(0,0,0,0.75);
    box-shadow: 2px 38px 56px -21px rgba(0,0,0,0.75);
}
.follow img:hover{
  transform: scale(1.05);
/* Copy code to element you want to animate 
animation: customAni 2s ease-in-out 0s infinite normal none;*/
}
/* Copy this code after the above code */
@keyframes customAni {
    0% {
      transform: translate(0);
    }
  
    10% {
      transform: translate(-2px, -2px);
    }
  
    20% {
      transform: translate(2px, -2px);
    }
  
    30% {
      transform: translate(-2px, 2px);
    }
  
    40% {
      transform: translate(2px, 2px);
    }
  
    50% {
      transform: translate(-2px, -2px);
    }
  
    60% {
      transform: translate(2px, -2px);
    }
  
    70% {
      transform: translate(-2px, 2px);
    }
  
    80% {
      transform: translate(-2px, -2px);
    }
  
    90% {
      transform: translate(2px, -2px);
    }
  
    100% {
      transform: translate(0);
    }
  }
.accueil_follow a img{
  display: inline;
}
.link{
  display: flex;
  flex-direction: row;
  gap: 50px;
  width: 200px;
  padding: 10px 15px;
}
.link a{
   width: 40%;
   align-items: center;
}
#insta_accueil{
    width: 100px;
    height: 100px;
    align-items: center;
    bottom: 10px;
    
}
#tiktok_accueil {
  width: 100px;
  height: 100px;
  position: relative;
  bottom: 10px;
  
  
}
.frmContact {
    display: flex;
    flex-direction: column;
    padding: 20px 150px;
    margin: auto;
    
}
.frmContact h2{
    text-align: center;
    padding: 20px 50px;
}
.frmContact p{
    text-align:left;
    margin-top: 30px;
    font-size: 1.25em;
}
.frmContact a{
  text-decoration: underline;
  color: yellow;
}
.frmContact a:hover {
  font-style: italic;
}
.divisionForm{
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
}
.leftForm, .rightForm{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: auto;
    margin-top: 50px;
    gap: 20px;
}

form input {
    height: 50px;
    border-radius: 5px;
    border: none;
    width: 500px;
}
form textarea{
    height: 250px;
}
.rdvDate{
  display: inline-block;
}
.rdvDate input{
  width: 30%;
}
#condition {
  height: auto;
  width: auto;
  margin: 10px;
}
main form .msg {
  font-size: .8em;
  color: rgb(88, 1, 1);
  margin-left: 20px;
}
main form input.invalid, main form textarea.invalid {
  border: 1px solid red;
}
main form input:valid, main form textarea:valid {
  border: 1px solid green;
}
@media screen and (max-width:1220px) {
  .divisionForm{
    flex-direction: column;
  }   
  .divisionForm input{
    width: 100%;
  }
}
@media screen and (max-width:996px) {
    .accueil_introduction{
        flex-direction: column;
        align-items: center;
        margin: auto;
        max-width: 600px;
    }
    .accueil_follow{
        flex-direction: column;
        transition: none;
    }
    .accueil_follow:hover{
      transform: none;
    }
    .accueil_follow h3{
      font-size: 2.1em;
    }
    .intro{
        align-items: center;
    }
    .intro{
      width: 100%;
    }
    .follow{
        flex-direction: column;
        align-items: center;
    }
    .follow img{
        width: 200px;
        min-width: 100px;
        height: 200px;
        min-height: 100px;

    }
    
    .frmContact{
        padding: 20px 20px;
    }
    form {
        width: 100%;
    }
    .divisionForm{
      flex-direction: column;
    }
    .divisionForm{
      flex-direction: column;
  }
  .divisionForm inpu{
    width: 100%;
  }
    form input{
      width: 100%;
    }
}
@media screen and (max-width:480px) {
  body{
    width: 500px;
  }
  
}