/* DEBUG */

/* .row {
  outline: 2px dashed red;
}

.container {
  outline: 2px dashed blue;
} */


/* GENERAL */

body {
  font-family: "Rambla", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #580648;
}

.principal {
  background-color: rgb(255, 255, 255);
  text-align: justify;
}

a:hover {
  background-color: #fd7e14;
  color: black;
}


/* TYPOGRAPHIE */

.rambla-bold {
  font-family: "Rambla", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.rambla-regular-italic {
  font-family: "Rambla", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.rambla-bold-italic {
  font-family: "Rambla", sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* Titres principaux */
h1,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 1em;
  margin-top: 1em;
}

h1, h3, h5 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.smallcaps {
  font-variant: small-caps;
}

.underline {
  /* text-decoration: underline; */
  font-size: x-large;
  text-align: center;
}

.bold {
  font-weight: bold;
}

/* MISE EN PAGE */

/*CSS pour le texte de la side bar*/

.textsidebar {
  color: rgb(255, 255, 255);
  margin-left: -6rem;
  padding-left: 0;
}

.textsidebar p {
  color: white;
  letter-spacing: 1px;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.textsidebar h6 {
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
  margin-top: 2em;
  font-size: 18px;
}

.card {

  background-color: transparent;
  background-image: linear-gradient(125deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2) 70%);
  backdrop-filter: blur(5px);
  border: none;
  box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2), inset -1px -1px rgba(255, 255, 255, 0.1), 1px 3px 24px -1px rgba(0, 0, 0, 0.15);
  border: none;
}

hr {
  font-size: 40px;
  margin-left: -2rem;
  width: 70%;
  border: 3px solid #fd7e14;
  border-radius: 20px;
  opacity: 1;
 
}


/* CLASSES SPECIALES */

.bouton-liens, .accordion-button:not(.collapsed) {
  background-color: #580648;
  color: white;
}

.accordion-button {
  height: 40px;
  }

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
  }

.formation {
  background-color: #ffba58;
  padding-top: 1em;
  padding-left: 3em;
  padding-bottom: 1em;
  border-radius: 4em;
}


/* VAGUE */

/*CSS de moi pour intégrer la vague comme je veux */

.waves-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 98%;
  width: 80%;
  background-color: white;
  z-index: -1;
  transform: rotate(90deg);
}

.inner-header {
  height: 65vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: #580648;
}


/* MEDIA QUERIES */

@media (max-width: 1140px) {
  .textsidebar {
    margin-left: 2rem;
  }
}

/* Shrinking for mobile*/
/* @media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }

  h1 {
    font-size: 24px;
  }
} */

/* Ecrans intermédiaires */
@media (min-width: 1400px) and (max-width: 1870px) {
  .textsidebar {
    padding-left: 60px;
  }
}

@media (max-width: 1870px) {
  .textsidebar {
    word-break: break-word;
  }
}

/* Pour mobile, tablette */
@media (max-width: 1140px) {
  .waves-container {
    display: none;
  }
   .principal {
    order: 1;
  }
  .sidebar {
    order: 2;
    background-color: #580648;
  }
  .accordion-button {
    height: 60px !important;
  }
  .formation {
    padding-left: 1rem;
  
  }
 
}

@media (min-width: 1141px) and (max-width: 1399px) {
  .textsidebar {
    margin-left: -3em;
  }
}