*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color:#2B2E32;
  --secondary-color: #fbca36;
  --white-color: #ffffff;
  --dark-color: #212122;
  --gray-color: #888888;
  --second-bg: #fbf7f7;
  --menu-bg: #117A65;
  --container-width: 1300px;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-family: 'PT Sans', sans-serif;
  color: var(--dark-color);
  background: var(--white-color);
  scroll-behavior: smooth;
}
h1,h2,h3,h4 {
  color: var(--primary-color);
  font-family: 'PT Sans', sans-serif;
}
p {
  font-size: 2rem;
}

section h2 {
  text-transform: uppercase;
  font-size: 4rem;
}
.container {
  display: block;
  max-width: var(--container-width);
  margin: 0 auto;
}

.block {
  display: block;
}
.bold {
  font-weight: 600;
}
.colored {
  color: var(--primary-color);
}

.second-colored {
  color: var(--secondary-color);
}

.text-center {
  text-align: center;
}
.text-justify {
  text-align: justify;
}

.btn {
  background: var(--secondary-color);
  border: none;
  padding: 1rem 2rem;
  font-size: 2rem;
  text-transform: uppercase;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
}

.section-padding {
  padding: 2rem;
}

.heading-section {
  background: url('../images/1.jpg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

.stripe-header {
  padding: 2rem 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  text-align: center;
  color: var(--white-color);
}

.stripe-header h1 {
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--white-color);
}

.Typewriter__cursor {
  color: var(--secondary-color);
}

.second-bg {
  background-color: var(--second-bg);
}

.heading-underlined {
  position: relative;
  font-size: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 1rem;

}

.heading-underlined::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);

  height: 5px;
  width: 30%;
  background: var(--secondary-color);
}

.why-us p {
  margin: 3rem 0;
}

.services h3 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
}


.colored-section {
  padding: 5rem 0;
}
.colored-section h3 {
  color: var(--white-color);
}
.colored-section:not(.inverse-colors) {
  background-color: var(--primary-color);
}

.colored-section.inverse-colors {
  background-color: var(--secondary-color);
}


.colored-section:not(.inverse-colors) .tile h4, 
.colored-section:not(.inverse-colors) .tile i{

  color: var(--secondary-color);
}

.colored-section.inverse-colors .tile h4, 
.colored-section.inverse-colors .tile i{

  color: var(--primary-color);
}

.colored-section.inverse-colors .heading-underlined::after {
  background-color: var(--primary-color);
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
  padding: 0 2rem;
}

.tile {
  display: grid;
  grid-template-rows: 80px 70px auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;

padding: 1rem;
text-align: center;
}

.tile h3, .tile p {
  text-align: center;
}
.tile h4 {
  text-transform: uppercase;
  font-size: 2rem;
}

.tile p {
  align-self: flex-start;
  color: var(--white-color);
}

.tile i {
  font-size: 8rem;
  margin: 2rem 0;
  color: var(--secondary-color);
  
}

#contact p {
  margin: 3rem 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
}


.contact-form input,
.contact-form textarea {
  background: none;
  border: none;
  width: 100%;
  margin: 1rem 0;
  padding: 1rem;
  border-bottom: 1px solid var(--primary-color);
}

.contact-form textarea {
 resize: none;
 min-height: 300px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: none;
  outline: none;
  border-bottom: 1px solid var(--secondary-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-family: 'PT Sans', sans-serif;
  font-size: 1.6rem;
}

.contact-form .btn {
  margin-top: 2rem;
}

.footer {
  background: var(--primary-color);
  padding: 3rem 2rem;
}

.footer i {
  color: var(--secondary-color);
}

.footer .localisation {
  color: var(--white-color);
}

.footer h4 {
  color: var(--white-color);
  margin: 2rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 9fr;
}
.grid-2 .fa-home {
  margin-top: 4px;
}

ul.underlined-list {
  list-style: none;
}

ul.underlined-list a {
 color: var(--white-color);
 text-decoration: none;

}
ul.underlined-list li {
  padding: .5rem;
}

ul.underlined-list li:not(:last-child) {
  border-bottom: 1px solid #555;
}

.job {
  padding: 3rem 2rem;
}





a.slide-link {
  display: block;
  height: 100%;
  width: 100%;
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  display: grid;
  grid-template-rows: 5fr 1fr;
}

.splide__pagination {
  display: none !important;
}

.splide .splide__slide:hover  {
  cursor: pointer;
}



.job-offer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

.slide-city {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2rem;
  font-size: 2.4rem;
  width: 100%;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-weight: 700;
}

.splide__arrow {
  background: transparent !important;
  color: var(--dark-color);
}
.after-email {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: #01c532;
  border-radius: 999999px;
  color: var(--white-color);
  text-align: center;
}
.floating-alert {
  display: none;
  -moz-animation: floatingAlert ease-in 5s forwards;
  -webkit-animation: floatingAlert ease-in 5s forwards;
  -o-animation: floatingAlert ease-in 5s forwards;
  animation: floatingAlert ease-in 5s forwards;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.floating-alert.active {
  display: block;
}

@keyframes floatingAlert {
  0% {
      opacity: 0;
      visibility: hidden;
      transform: translateX(-50%) scale(1.2);
  }

  9% {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) scale(1);
  }

  91% {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) scale(1);
  }

  100% {
      opacity: 0;
      visibility: hidden;
      transform: translateX(-50%) scale(1.2);
  }
}

@-webkit-keyframes floatingAlert {
  0% {
      opacity: 0;
      visibility: hidden;
      transform: translateX(-50%) scale(1.2);
  }

  9% {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) scale(1);
  }

  91% {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) scale(1);
  }

  100% {
      opacity: 0;
      visibility: hidden;
      transform: translateX(-50%) scale(1.2);
  }
}

@media(min-width: 768px) {
  .stripe-header h1 {
    font-size: 4rem;
  }
  .tiles {
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
  }

  .contact-form {
    width: 600px;
    margin: 1rem auto;
  }

  .grid-lg-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem;
  }

  .grid-2 {
    grid-template-columns: 1fr 14fr;
  }


  .tiles.tiles3 {
    grid-template-columns: repeat(3, 1fr);
    width: 75%;
    margin: auto;
  }

  .job {
    width: 65%;
    margin: 0 auto;
  }
}



