@import url("https://fonts.googleapis.com/css2?family=Love+Ya+Like+A+Sister&display=swap");

@media (min-width: 1200px) {
  body {
    background: url(./images/Fond.jpg);
  }
}

/*body{
  background-image: 
  linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
  url("images/Cerveau.jpg");
  background-size: cover;
  background-color: transparent;
  background-position: right;
  background-repeat: no-repeat;
}
  */
/* **************** MODE DARK ********************* */

@media (prefers-color-scheme: light) {
  .main {
    background-color: #f5f5f5 !important;
  }

  .texte1 {
    color: rgb(0, 52, 111);
  }

  .logo2,
  .phone {
    display: block;
  }

  .logo2blanc,
  .phonedark {
    display: none;
  }

  .container-xl {
    background-color: #ececec !important;
  }
  .navbar-light .navbar-toggler-icon {
    background-image: url("images/Bouton.png");
    display: block;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler:hover {
    border: 1px solid rgb(0, 52, 111) !important;
  }
  li::before {
    content: "\25B8";
    color: rgb(0, 52, 111) !important;
    font-size: 1.7em;
    position: absolute;
    transform: translateY(-6px);
  }

  .navbar .nav-link {
    color: rgb(0, 52, 111) !important;
  }
  .ASB {
    background-color: #ececec;
    color: rgb(0, 52, 111) !important;
  }
  .tel,
  tel.hover {
    color: rgb(0, 52, 111) !important;
    text-decoration: none;
  }

  .mail-cliquable {
    color: rgb(0, 52, 111);
  }

  .mail-cliquable:hover {
    color: rgb(0, 52, 111);
  }

  #Haut {
    color: rgb(0, 52, 111);
  }
}

@media (prefers-color-scheme: dark) {
  .main {
    background-color: rgb(0, 52, 111) !important;
  }

  .texte1 {
    color: rgb(254, 208, 70);
  }

  .texte2 {
    color: rgb(0, 52, 111);
  }

  .logo2,
  .phone {
    display: none;
  }

  .logo2blanc,
  .phonedark {
    display: block;
  }

  .container-xl,
  .menu-deroulant {
    background-color: #666666 !important;
  }

  .navbar-light .navbar-toggler-icon {
    background-image: url("images/BoutonDark.png");
    display: block;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler:hover {
    border: 1px solid #f5f5f5 !important;
  }

  li::before {
    content: "\25B8";
    color: #f5f5f5 !important;
    font-size: 1.7em;
    position: absolute;
    transform: translateY(-6px);
  }

  .navbar .nav-link {
    color: #f5f5f5 !important;
  }
  
  .ASB {
    background-color: #666666;
    color: #f5f5f5 !important;
  }
  .tel,
  tel.hover {
    color: #f5f5f5 !important;
    text-decoration: none;
  }

  .teldark {
    color: rgb(254, 208, 70) !important;
  }

  .mail-cliquable {
    color: rgb(254, 208, 70) !important;
    text-decoration: none;
  }

  .mail-cliquable:hover {
    color: rgb(254, 208, 70) important!;
    text-decoration: none;
  }

  .legend {
    color: rgb(254, 208, 70);
    background-color: rgb(0, 52, 111);
    border-radius: 12px;
    padding-bottom: 3px;
  }

  #Haut {
    color: #f5f5f5;
  }
}

/* **************** NAVBAR ********************* */
.navbar-toggler {
  border: 1px solid rgb(254, 208, 70) !important;
}

@media (max-width: 370px) {
  .logo {
    width: 80px;
    height: auto;
  }
  .logo2,
  .logo2blanc {
    width: 130px;
    height: auto;
    left: 38%;
  }
}
.phone,
.phonedark {
  width: 5px;
}

@media (min-width: 371px) {
  .logo {
    width: 110px;
    height: auto;
  }
  .logo2,
  .logo2blanc {
    width: 150px;
    height: auto;
    top: 26px;
    left: 36%;
  }
}

@media (min-width: 400px) {
  .logo2,
  .logo2blanc {
    left: 38%;
  }
}

@media (min-width: 441px) {
  .logo2,
  .logo2blanc {
    left: 40%;
  }
}

@media (min-width: 500px) {
  .logo {
    width: 125px;
    height: auto;
  }
  .logo2,
  .logo2blanc {
    width: 200px;
    height: auto;
    top: 20px;
    left: 35%;
  }
}

.phone,
.phonedark {
  width: 25px;
  height: auto;
}

@media (min-width: 600px) {
  .logo2,
  .logo2blanc {
    left: 38%;
  }
}

@media (min-width: 850px) {
  .logo2,
  .logo2blanc {
    left: 40%;
  }
}

@media (min-width: 900px) {
  .logo2,
  .logo2blanc {
    left: 43%;
  }
}

.navbar .nav-link {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:active {
  font-weight: 700;
}

.dropdown-item:active {
  color: rgb(0, 52, 111);
  text-decoration: none;
  background-color: #dae0e5;
}

button:focus {
  outline: none;
}

.navbar {
  height: 100px;
  position: fixed;
}

.menu-deroulant {
  position: absolute;
  top: 100%;
  right: 0;
  width: 150px;
  background-color: #ececec;
  padding-left: 16px;
  padding-bottom: 10px;
}

/* **************** Anim Elec **************** */

.logo-animation{
  display: grid;
}

.logo-animation .logo{
  grid-area: 1 / 1;
}

.elec1,
.elec2,
.elec3,
.elec4,
.elec5,
.elec6
 {
  grid-area: 1 / 1;
  opacity: 0;
  animation-name: apparition;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

.elec1 { animation-delay: 0s; }
.elec2 { animation-delay: 0.2s; }
.elec3 { animation-delay: 0.4s; }
.elec4 { animation-delay: 0.6s; }
.elec5 { animation-delay: 0.8s; }
.elec6 { animation-delay: 1.2s; }


@keyframes apparition {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  45% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* **************** Bandeau ASB **************** */

.ligne {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 20 px;
  text-align: center;
}

@media (max-width: 346px) {
  .phone {
    visibility: hidden;
  }
}

@media (min-width: 346px) {
  .ligne {
    grid-template-columns: 55% 45%;
  }
}

@media (min-width: 391px) {
  .ligne {
    grid-template-columns: 60% 40%;
  }
}

.tel,
.tel:hover {
  text-decoration: none;
}

.gras {
  font-size: 25px;
  font-weight: 700;
}

.texte-carrousel {
  width: 100%;
  overflow: hidden;
}

.carrousel {
  display: flex;
  width: 400%;
  animation: defilement 10s ease-in-out infinite;
  will-change: transform;
}

.carrousel div {
  width: 25%;
  flex-shrink: 0;
  text-align: center;
  white-space: nowrap;
}

@keyframes defilement {
  0%,
  18% {
    transform: translate3d(0, 0, 0);
  }

  25%,
  43% {
    transform: translate3d(-25%, 0, 0);
  }

  50%,
  68% {
    transform: translate3d(-50%, 0, 0);
  }

  75%,
  93% {
    transform: translate3d(-75%, 0, 0);
  }

  100% {
    transform: translate3d(-75%, 0, 0);
  }
}

.ASB {
  position: fixed;
  left: 0;
  top: 98px;
  width: 100%;
  height: 32px;
  z-index: 1000;
  font-weight: 600;
}

#Bandeau {
  transition: transform 0.3s ease;
}

#Bandeau.hidden {
  transform: translateY(-100%);
}

.phone {
  margin-left: -18%;
}

.phonedark {
  margin-left: -18%;
}

/* **************** GENERAL ******************* */

.marges {
  margin-left: 3%;
  margin-right: 3%;
}

.main {
  background: none;
  font-size: 1.02rem;
  padding-top: 35px;
}

.texte1 {
  font-family: calibri, sans-serif;
  font-size: 1.02rem;
  hyphens: none;
}

.anim-titre {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 2s ease,
    transform 2s ease;
  animation: textExpand 4s ease-in-out infinite;
}

.anim-titre.visible {
  opacity: 1;
  transform: translateY(0px);
}

@keyframes textExpand {
  35%,
  65% {
    text-shadow:
      -2px -2px 0.5px rgba(254, 208, 70, 0.1),
      0px -2px 0.5px rgba(254, 208, 70, 0.1),
      2px -2px 0.5px rgba(254, 208, 70, 0.1),
      -2px 0px 0.5px rgba(254, 208, 70, 0.1),
      2px 0px 0.5px rgba(254, 208, 70, 0.1),
      -2px 2px 0.5px rgba(254, 208, 70, 0.1),
      0px 2px 0.5px rgba(254, 208, 70, 0.1),
      2px 2px 0.5px rgba(254, 208, 70, 0.1);
  }

  0%,
  100% {
    text-shadow:
      -2px -2px 0.5px rgba(254, 208, 70, 1),
      0px -2px 0.5px rgba(254, 208, 70, 1),
      2px -2px 0.5px rgba(254, 208, 70, 1),
      -2px 0px 0.5px rgba(254, 208, 70, 1),
      2px 0px 0.5px rgba(254, 208, 70, 1),
      -2px 2px 0.5px rgba(254, 208, 70, 1),
      0px 2px 0.5px rgba(254, 208, 70, 1),
      2px 2px 0.5px rgba(254, 208, 70, 1);
  }
}

.anim-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.anim-scroll.visible {
  opacity: 1;
  transform: translateY(0px);
}

.anim-photo {
  opacity: 0;
  transform: translateY(200px);
  transition:
    opacity 3s ease,
    transform 3s ease;
}

.anim-photo.visible {
  opacity: 1;
  transform: translateY(0px);
}

.conteneur {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.encadre1 {
  border-radius: 12px;
  background-color: rgb(254, 208, 70, 1);
  padding-bottom: 0px;
}

.encadre2 {
  border-radius: 12px;
  border: 1px solid rgb(254, 208, 70);
  padding-bottom: 0px;
}

.brh {
  border-radius: 12px 12px 0 0;
}

.brb {
  border-radius: 0 0 12px 12px;
}

.grostitre {
  font-family: "Love Ya Like A Sister", cursive;
  font-weight: 600;
  color: rgb(0, 52, 111);
  font-size: 1.4rem;
  hyphens: none;
}

.grostitre2 {
  color: white;
  font-size: 8px;
  padding-bottom: 75px;
  hyphens: none;
}

h2 {
  font-weight: 600;
  color: rgb(0, 52, 111);
  font-size: 1.02rem;
  margin-bottom: 0px;
}

.basdepage {
  font-family: "Love Ya Like A Sister", cursive;
  font-weight: 500;
  color: rgb(0, 52, 111);
  text-shadow:
    -2px -2px 0.5px rgba(254, 208, 70, 1),
    0px -2px 0.5px rgba(254, 208, 70, 1),
    2px -2px 0.5px rgba(254, 208, 70, 1),
    -2px 0px 0.5px rgba(254, 208, 70, 1),
    2px 0px 0.5px rgba(254, 208, 70, 1),
    -2px 2px 0.5px rgba(254, 208, 70, 1),
    0px 2px 0.5px rgba(254, 208, 70, 1),
    2px 2px 0.5px rgba(254, 208, 70, 1);
  font-size: 1.1rem;
  hyphens: none;
}

.surligne {
  color: rgb(0, 52, 111);
  background-color: rgb(254, 208, 70);
  font-weight: bold;
}

.photoAS {
  padding-top: 20px;
  width: 120px;
  position: fixed;
  top: 130px;
}

.photos {
  width: 100%;
  border-radius: 12px;
}

@media (max-width: 500px) {
  .Cygnet {
    width: 50%;
  }
}

.textephoto {
  margin-top: -20px;
}

.btn {
  color: #f5f5f5;
  max-width: 150px;
  background: rgb(0, 52, 111);
  border: 1px solid rgb(0, 52, 111);
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.btn:hover btn:active {
  color: rgb(0, 52, 111);
  background: #f5f5f5;
  border: 1px solid rgb(0, 52, 111);
}

.btn:focus {
  box-shadow: none;
}

.btn2 {
  color: rgb(0, 52, 111);
  max-width: 150px;
  background: #f5f5f5;
  border: 1px solid rgb(0, 52, 111);
  margin-left: auto;
  margin-right: auto;
}

.btn2:hover {
  color: #f5f5f5;
  background: rgb(0, 52, 111);
}

.btn2:focus {
  box-shadow: none;
}

#Haut {
  position: absolute;
  border: none;
  background: none;
  padding-top: 3px;
  right: 15px;
  cursor: pointer;
}

/* ******************* NOUS CONTACTER *************** */
@media (min-width: 576px) {
  .marge-bouton {
    margin-bottom: -30px;
  }
}

.w-90 {
  width: 93% !important;
}

.fieldset {
  border: 1px solid rgb(254, 208, 70);
  border-radius: 12px;
  padding-left: 3px;
  background-color: #f8f9fa;
}

.ligneformulaire {
  margin-left: 1%;
  margin-right: 0px;
}

.legend {
  font-style: italic;
  font-size: 1em;
  padding-left: 8px;
  padding-right: 12px;
  text-shadow: 0px 0.5px 0.5px rgba(254, 208, 70, 0.8);
  width: auto;
}

.form-group {
  color: rgb(0, 52, 111);
  margin-bottom: 0.6rem;
}

.form-control {
  border-radius: 8px;
}

.form-control::placeholder {
  color: lightgray;
  font-style: italic;
  opacity: 0.8;
}

.form-control:focus {
  border-color: rgb(0, 52, 111);
  box-shadow: none;
}

.textarea {
  resize: none;
}

@media (min-width: 576px) {
  #message {
    height: 281px;
  }
}

/* ****************** FOOTER ********************* */
.footer {
  color: #f5f5f5;
  background: rgb(0, 52, 111);
  border: 1px solid rgb(0, 52, 111);
  font-size: 90%;
  border-top: 1px solid rgb(254, 208, 70);
}
.telmel,
.telmel:hover {
  color: #f5f5f5;
  text-decoration: none;
}
@media (max-width: 210px) {
  .nonvisible1 {
    visibility: hidden;
  }
}

@media (max-width: 772px) {
  .nonvisible2 {
    visibility: hidden;
  }
}

@media (min-width: 773px) {
  .nonvisible3 {
    display: none;
  }
}
