/* ==========================================================================
   Fichier CSS RESET
   ========================================================================== */
   
/*supprime toutes marges*/
*,
body.site {
padding: 0;
margin: 0;
}

/* supprime toutes bordures */
fieldset,img { border : 0; }

/* supprime les déco des liens */
a:link, a:visited {
text-decoration: none;
}

/* Remove the default outline */
:focus {
  outline: none;
}

/* Add an outline only when it should be visible */
:focus-ring {
  outline: 2px solid blue;
}

body {
  font-size: 100%;
  text-align: left;
  font-weight: 400;
  font-style: normal;
  line-height: 1.58;
  letter-spacing: -.003em;
}

@media print {
    body {
      background-color: transparent !important;
    }
    .header {
        position: static;
  }
    nav {
        display: none;
  }
    /* Affiche les liens a l'impression */
    a[href^="https"]:not([href*="agences19.fr"])::after {
        content: " (" attr(href) ")";
  }
}

/* Permet de cacher des elements aux lecteurs mais pas aux navigateurs */
.visually-hidden {
/* Remove the item from normal flow */
    position: absolute;
/* Workaround for falsely pronounced, smushed text */
    white-space: nowrap;
/* Set it to the smallest possible size (some screen readers ignore elements with zero height and width) */
    width: 1px;
    height: 1px;
/* Hide overflowing content after resizing */
    overflow: hidden;
/* Reset any property that may change the elements size */
    border: 0;
    padding: 0;
/* Clipping defines what part of an element should be displayed. */
/* Deprecated clip property for older browsers */
    clip: rect(0 0 0 0);
/* clip-path for newer browsers. inset(50%) defines an inset rectangle that makes the content disappear.  */
    clip-path: inset(50%);
}

@keyframes bounceIn {
	0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
	40% {
    transform: translateY(-30px);
  }
	60% {
    transform: translateY(-15px);
  }
}

/* ==========================================================================
   Style Base
   ========================================================================== */
  
 html, body {
	height: 100%;
 } 
  
body {
    font-family: "Pinyon Script", cursive;
    font-optical-sizing: auto;
    font-size: 1rem;
	line-height: 1.2rem;
    color: #FFF;
}

body {    
	background: #191e28;
	position: relative;
}

header {
    margin: 10% auto !important;
}
header, div.wrapper, footer {
    display: block;
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
}

::-webkit-selection { 
    color: #191e28;  
    background: #FFF; 
}
::-moz-selection { 
    color: #191e28;  
    background: #FFF; 
}
::selection { 
    color: #191e28;  
    background: #FFF; 
} 

.small {
    font-size: 1rem;
    font-weight: 200;
}

a, a:hover, a:focus {
	font-weight: 400;
    color: #FFF;
}
a.underline {
	color: #FFF;
	text-decoration: underline;
}

header p {
    display: block;
    margin: 1rem auto;
    text-align: center;
    font-weight: 300;
}
header p img {
	width: 10%;
}

h1, h2, h3, h4 {
    color: #FFF;
}
h1 {
    font-size: 3.6rem;
    line-height: 3.2rem;
    text-align: center;
    font-weight: normal;

}
h2 {
    font-family: "Lato", sans-serif;
    line-height: 2.4rem;
    display: block;
    text-align: center;
    font-weight: 200;
}
h4 {
    font-size: 2.2rem;
    line-height: 2.2rem;
    display: block;
    text-align: center;
    font-weight: normal;
}
.hidden {
	position: absolute;
	text-indent: -999px;
}

article {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 2rem 0;
}

section {
    flex: 1 1 0;
    margin-right: 16px;
    margin-bottom: 16px;
    text-align: center;
}

p {
    font-family: "Lato", sans-serif;
    font-weight: 300;
}

button {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: 1em;
    color: white;
    background : transparent;
    padding: 0.4em;
    display: flex;
    align-items: center;
    margin: 0 auto;
    border: none;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

button span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

button svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

button:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

button:hover span {
    transform: translateX(5em);
}

button:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}


footer {
    display: block;
    margin: 20px auto;
    bottom: 0;
    text-align: center;
    font-size: 0.8rem;
}

.card {
  padding: 1rem 2rem;
  border-radius: 1.25rem;
}
.loader {
    color: rgb(124, 124, 124);
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 25px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 40px;
    padding: 10px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;

}

.words {
  overflow: hidden;
  position: relative;
}
.words::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    var(--bg-color) 10%,
    transparent 30%,
    transparent 70%,
    var(--bg-color) 90%
  );
  z-index: 20;
}

.word {
  display: block;
  height: 100%;
  padding-left: 6px;
  color: #FFF;
  animation: spin_4991 4s infinite;
}

@keyframes spin_4991 {
  10% {
    -webkit-transform: translateY(-102%);
    transform: translateY(-102%);
  }

  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  35% {
    -webkit-transform: translateY(-202%);
    transform: translateY(-202%);
  }

  50% {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }

  60% {
    -webkit-transform: translateY(-302%);
    transform: translateY(-302%);
  }

  75% {
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
  }

  85% {
    -webkit-transform: translateY(-402%);
    transform: translateY(-402%);
  }

  100% {
    -webkit-transform: translateY(-400%);
    transform: translateY(-400%);
  }
}


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


@media (max-width: 768px) {
  
    header {
        margin: 30% auto 10% !important;
    }  
    
    header p img {
        width: 20%;
    }

    article {
        display: block;
    }

	header, div.wrapper, footer {
		width: auto;
	}
    
}
