/* Reset some basic styles */
html, body {
  height: 100%;
}

a {
 color: black;
  text-decoration: none;
}

.h1, h1 {
  font-size: 1.8rem;
}

.h2, h2 {
  font-size: 1.2rem;
}

body {
  display: flex;
  flex-direction: column;
}

/* Main content should fill the available space */
.flex-fill {
  flex: 1;
}

.logo {
  width: 170px;
}

nav {
  background-color: #dbe3f0;
}

.container-fluid {
  padding-left:50px
}

button.btn.btn-primary {
  background-color:#dbe3f0;
  border-color: transparent;
  color: black;
  padding: 12px;
  &:hover {
    background-color:#a0a7b1;
  }

}

.btn-form {
  border-radius: 16px;
  font-size:1.2rem;
}

/* CSS homepage */

.cta-wrapper {
  overflow: hidden;
  position: relative;
  height: 80vh;
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta-bg {
  opacity: 0.4;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.cta-content {
  position: relative;
  align-self: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 70%;
}

.cta-content button {
  width: fit-content;
  align-self: center;
}

.cta-wrapper h1,
.cta-wrapper h2 {
  padding: 1%;
  width: 100%;
}

.cta-wrapper h1 {
  color: #000000;
  margin-bottom: 2%;
  font-size: xxx-large;
  font-family: cursive;
}

.cta-wrapper h2 {
  color: #5e637c;
  font-size: 1.8rem;
  margin-bottom: 2%;
  text-transform: none;
  line-height: 1.5;
  text-shadow: 1px 1px #171414;
}

.carousel-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
  flex-direction: column;
  align-items: center;
  background-color: #EBDDB0;
  padding:30px;
}

.carousel-container h4 {
  margin-bottom: 30px;
  font-size:30px;
}

#carouselExampleSlidesOnly {
  width:30%;

}

.comments-container h5 {
  font-size: 30px;
  text-align: center;
}

.content-slider {
  width: 100%;
  padding:20px;
}

.slider {
  width: 680px;
  margin: 40px auto 0;
  overflow: visible;
  position: relative;
}

.mask {
  overflow: hidden;
  height: 340px;
}

.slider ul {
  margin: 0;
  padding: 0;
  position: relative;
}

.slider li {
  width: 680px;
  height: 340px;
  position: absolute;
  top: -325px;
  list-style: none;
}

.slider .quote {
  font-size: 40px;
  font-style: italic;
}

.slider .source {
  font-size: 20px;
  text-align: right;
}

.slider li.anim1 {
  animation: cycle 15s linear infinite;
}

.slider li.anim2 {
  animation: cycle2 15s linear infinite;
}

.slider li.anim3 {
  animation: cycle3 15s linear infinite;
}

.slider li.anim4 {
  animation: cycle4 15s linear infinite;
}

.slider li.anim5 {
  animation: cycle5 15s linear infinite;
}

.slider:hover li {
  animation-play-state: paused;
}

@keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  50% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}

.carousel-control-next {
  width: 0% !important;
}

.services-container h3 {
  margin-top: 30px;
  text-align: center;
  font-size:30px;
}

.homepage-card {
  box-shadow: 0 0 15px #0000001a;
  border: bisque;
}

.service-cta {
  display: flex;
  justify-content: center;
}

.container-presentation  {
  display: flex;
  padding: 50px;
}

.presentation-texte {
  margin-left:30px;
}

h3 {
  margin-bottom: 30px;
}

.presentation-fill {
  width:500px
}

.img-presentation  {
  width: 30%;
  border-radius: 20px;
}

footer {
  text-align: center;
  padding: 10px 0;
}

.footer {
  background: #DBE3F1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 0px 50px;
  color: rgba(0,0,0,0.3);
}

.footer-links {
  ul {
    padding: 0;
    font-size: 2em;

  li {

    transition: all 0.15s ease-in-out;
    display: inline-block;
    width: 1.2em;
  }
  li:hover {
    transform: scale(1.2);
  }
   a {
    color:#000000;
    text-decoration: none;
    font-size: 24px;
    padding: 0px 10px;

  }
}
}

.container-contact {
  margin-bottom: 48px;
}

.bg-color-perso {
  background-color: #dbe3f0;
}

.bg-color-form {
  background-color: #EBDDB0;
  height: 100%;
}

.bg-white {
  border-radius: 15px 15px 15px 15px; /* Exemple : ajustez comme nécessaire pour les coins arrondis */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Ombre globale */
  position: relative;
  overflow: hidden; /* Assure que les coins arrondis et l'ombre sont appliqués correctement */
  padding-left: 0px;
}

.bg-banner {
  width: 100%;
  height: 400px; /* Adjust height as needed */
  background-color: #EBDDB0;
  display: flex;
  position: relative;
}

/* Overlay style */
.overlay {
  width:50%;
  display: flex;
  overflow: hidden; /* Ensure image does not overflow the container */
  justify-content: center;
}

/* Style for the image */
.overlay img {
  max-height: 100%;
  object-fit: cover; /* Ensure image covers the container */
  width: 54.12%;
}

.overlay-text {
  display: flex;
  flex-direction: column;
  width:50%;
  justify-content: center;
  padding: 80px 80px 80px 80px;
}

.phone {
  width:20px;
  margin-right: 8px;

}

.bg-text {
  padding:20px;
  text-align: center;
}

#liveAlert {
  width: 100%; /* Full width */
  margin-top: 1rem; /* Adjust as needed */
}

/*Gestion du responsive */

@media only screen and (max-width: 768px) {
  /*Téléphone */
  .cta-wrapper {
    height: 100%;
  }
  .cta-wrapper h1 {
    font-size: xx-large;
  }
  .cta-content {
    width:100%;
  }

  .overlay {
    width: 100%;
  }

  .overlay img {
    width:100%;
  }

  .bg-banner {
    flex-direction: column;
  }

  .overlay-text {
    width:100%;
    padding: 10px 10px 10px 10px;
  }

  .carousel-item img {
    height:100% !important;
  }

  .slider {
    width:100%;
  }

  .slider li {
    width: 100%;
  }

  .slider .quote {
    font-size:25px;
  }
}

@media only screen and (min-width: 600px) {

  /* Tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (max-width: 1400px) {
  .container-presentation {
    flex-direction: column;
  }

  .img-presentation {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Nos biens */

.card {
  transition: transform 0.2s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.bg-color-card {
  background-color: #EBDDB0;
}

/* Nos services */
.service-card {
  border: none;
  background-color: #ABBFED;
}

.service-card .card-body {
  padding: 15px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.service-description {
  font-size: 0.9rem;
  color: black;
}

.icon-container {
  font-size: 3rem;
  font-weight: bold;
  color: #EBDDB0;
  margin-bottom: 15px;
}

.band {
  height: 200px; /* Adjust the height of the band as needed */
  background-color: #EBDDB0; /* Adjust the background color of the band */
}

.title-services {
  font-size: 24px;
}

@media (max-width: 768px) {
  .title-services {
    font-size: 0.9rem;
    padding-left: 15px;
    padding-right: 15px;
    word-wrap: break-word; /* Ensure long words are wrapped */
  }
}

.card-title {
  font-size: 20px;
  font-weight: 600;
}
