@import url("variables.css");

body {
  font-family: "Poppins", sans-serif;
  text-align: center; /* Centrer tout le texte du body */
  background-color: #ecfbff;
}

.nav-link{
  color: var(--bluecomm);
}

.nav-link:hover{
  color: var(--pinkcomm);
}

.nav-link.active{
  color: var(--pinkcomm) !important;
}

.section-heading {
  text-transform: uppercase;
  color: var(--bluecomm);
  text-align: left;
}

table#test tbody tr th{
  color: var(--bluecomm) !important;
}


/* LES MESSAGES D'ERREUR */
.error-message {
  color: red;
  font-style: italic;
  font-size: 14px;
}

.error-message ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* LA PAGINATION */
.pagination li a{
  color: var(--bluecomm) !important;
}

.pagination li.active span{
  background-color: var(--pinkcomm) !important;
  border-color: lightgrey !important;
}


/* LES BOUTONS SHOW, EDIT, DELETE */
.action {
  display: block;
  width: fit-content;
  margin: 0 auto;
  border: 1px solid black;
}

.action.show {
  background-color: rgb(138, 157, 219) !important;
}

.action.show:hover {
  border: 1px solid black;
  background-color: rgb(162, 181, 243) !important;
}

.edit{
  background-color: rgb(83, 83, 161) !important;
}

.edit:hover{
  border: 1px solid black;
  background-color: rgb(107, 107, 185) !important;
}

.action.mail{
  background-color: rgb(216, 187, 23) !important;
  padding: 3px 7px;
}

.action.mail:hover{
  border: 1px solid black;
  background-color: rgb(233, 204, 41) !important;
}

.action.delete{
  background-color: rgb(182, 65, 90) !important;
}

.action.delete:hover{
  border: 1px solid black;
  background-color: rgb(206, 79, 106) !important;
}

.action.activate{
  border: 1px solid black;
  background-color: rgb(91, 211, 117) !important;
}

.action.activate:hover{
  border: 1px solid black;
  background-color: rgb(107, 226, 133) !important;
}

.preview:hover{
  cursor: help !important;
}

.delete-image:hover{
  cursor: pointer !important;
}

.action.add{
  float: right;
}

.iframe-link svg{
  color: var(--pinkcomm);
  height: 100px;
  width: 100px;
}

.files a{
  color: transparent;
}

/* Pour rendre le bouton incliquable  */
a.unavailable{
  background-color: darkred !important;
  pointer-events: none !important;
}

.aa{
  background: url('{{ asset("img/bg1.jpg") }}');
}

/* les classes liées aux couleurs  */

/* le rose incomm */
.bg-pinkcomm {
  background-color: var(--pinkcomm);
}
.text-pinkcomm {
  color: var(--pinkcomm);
}
.btn-pinkcomm {
  background-color: var(--pinkcomm);
  color: white;
}
.btn-pinkcomm:hover {
  background-color: var(--pinkcomm-light);
  color: white;
}

/* le bleu incomm */

.bg-bluecomm {
  background-color: var(--bluecomm);
}
.text-bluecomm {
  color: var(--bluecomm);
}
.btn-bluecomm {
  background-color: var(--bluecomm);
  color: white;
}
.btn-bluecomm:hover {
  background-color: var(--bluecomm-light);
  color: white;
}
.btn-rose {
  background-color: var(--pinkcomm-light);
  color: white;
}
.btn-rose:hover {
  background-color: var(--pinkcomm-light);
  color: white;
}
/* l'animation pour le Inflotte en page d'accueil */

div.anim .main {
  position: relative;
  text-align: center; /* Assure que tout le contenu dans .main est centré */
}

div.anim h1,
div.anim h2 {
  text-align: center; /* Centrer les titres */
}

div.anim h1 {
  position: relative;
  font-size: 50px;
}

div.anim h2 {
  font-size: 250px;
  position: absolute;
  transform: translate(-50%, -50%);
  margin: 0;
  left: 50%;
  text-align: center; /* S'assurer que le texte dans h2 est centré */
}

 .first {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px var(--pinkcomm);
  position: absolute;
  left: 8px;
  z-index: 1;
} 

.second {
  font-style: italic;
  color: var(--pinkcomm);
  -webkit-text-stroke: 2px var(--pinkcomm);
  position: absolute;
  left: 8px;
  z-index: 2; /* Placer devant */
  animation: waves 4s ease-in-out infinite;
}
.page-link.first {
  position: static;
  font-style: normal;
  color: inherit;
  -webkit-text-stroke: 0;
}

.active > .page-link, .page-link.active {
  background-color: #6B6BB9;
  border-color: #6B6BB9;
  
}
label[for="dt-length-0"] {
  display: inline;
  white-space: nowrap;
}

label[for="dt-length-0"] select.form-select {
  display: inline-block;
  vertical-align: middle;
}
.table-responsive {
  overflow-x: hidden !important;
}


/* .table {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
}

.table th, .table td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
} */

@keyframes waves {
  0%,
  100% {
    clip-path: polygon(
      0% 45%,
      16% 44%,
      33% 50%,
      54% 60%,
      70% 61%,
      84% 59%,
      100% 52%,
      100% 100%,
      0% 100%
    );
  }

  50% {
    clip-path: polygon(
      0% 60%,
      15% 65%,
      34% 66%,
      51% 62%,
      67% 50%,
      84% 45%,
      100% 46%,
      100% 100%,
      0% 100%
    );
  }
}
.w-12{
  width: 12% !important;
}
.w-10{
  width: 10% !important;
}