:root {
    --fond: #fffafa;
    --footer: #707B7C;
    --blanc: #F0EFE7;
    --noir: #000;
    --apricot: #FFD5C2;
    --chinese_violet: #827191;
    --burn_orange: #BA5624;
    --olive: #849324;
    --caribbean_current: #15616D;
}

@font-face {
  font-family: 'honeySalt';
    src: url('/assets/fonts/honey_salt.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'poppins';
  src: url('/assets/fonts/poppins.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  height: auto; 
  min-height: 100vh;
  font-size: large;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--fond);
    box-sizing: border-box;
    font-family: honeySalt, Arial;
} 

main {
    flex: 1;
}


/* PAGE ERREUR */
.page_error {
    background: var(--olive);
    border-radius: 25px;
    -webkit-box-shadow: 8px 9px 8px -7px rgba(255, 9, 9, 0.8);
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.5);
    color: var(--noir);
}

.a_white {
    color: var(--blanc);
}

.a_white:hover {
    font-size: 20pt;
}

/* SCROLL */
.scroll {
  opacity: 0;
  transition: opacity 1.2s ease-in-out; /* Durée allongée pour plus de douceur */
}

/* Quand la carte devient visible */
.scroll.visible {
  opacity: 1;
}


/* LES COULEURS */
/*COULEUR NOIR SUR LES LIENS*/
a.text-decoration-none {
    color: var(--noir);
}

/*COULEUR BLEU CARIBBEAN */
.caribbean,
a.caribbean {
  color: var(--caribbean_current);
}

/* COULEUR VERT OLIVE*/
.olive {
  color: var(--olive);
}

/* COULEUR ORANGE / OCRE */
.burn_orange{
  color: var(--burn_orange);
}

/* HOME */
/*EFFET MACHINE A ECRIRE*/
.cursor {
  border-right: 3px solid var(--caribbean_current);
  animation: cursor 0.8s step-end infinite;
  margin-left: 0.5%;
}

/* TAILLE DE 15PT SUR LES TEXTE DE LA PAGE D4ACCUEIL (QUI SUIS_JE ET QUIZ) */
.size {
  font-size: 15pt;
}

/* TAILLE DE L'IFRAME */
iframe.quiz{
  height: 600px;
}

/* EEFTE REBOND DES FLECHES SUR LA PAGE D'ACCUEIL*/
span.transition_move {
  display: inline-block; /* nécessaire pour les transformations */
  animation: move 1s ease infinite alternate;
}

/* ABOUT */
.contact_hover:hover {
    font-size: 20pt;
}

/* VALUES */
.presentation {
  background-color: var(--olive);
  color: var(--blanc);
  border-radius: 10px;
  box-shadow: 8px 5px 6px 2px rgba(0,0,0,0.60);
  margin: 0 2%;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 25rem;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: var(--noir);
}

.flip-card-back {
  background-color: var(--burn_orange);
  color: var(--blanc);
  transform: rotateY(180deg);
}

/* OMBRE SUR LES IMAGES*/
.img_vic,
.img_potfolio {
  box-shadow: 8px 5px 6px 2px rgba(0,0,0,0.61);
}

/* LOGO */
.logo {
  overflow: hidden;
}

.wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 15rem;

  justify-items: stretch;
}

.wrapper {
  animation: logo 20s linear infinite;
}

/* ACCORDION */
.accordion-button:not(.collapsed) {
    color: var(--blanc);
    background: rgba(21, 97, 109, 0.9);
}

/* FOOTER */
footer {
    background-color: var(--footer);
}

.footer_informations {
    color: var(--apricot);
}

a.a_footer_informations {
    color: var(--apricot);
    text-decoration: none;
}

ul.ul_footer_plan_mentions {
    list-style-type: none;
}

a.a_footer_plan_du_site_mentions {
    color: var(--apricot);
    text-decoration: none;
}

/* BUTTON TO TOP */
.go_top {
  padding: 1vh;
  display: none;
  position: fixed;
  bottom: 15vh;
  right: 3vw;
  width: 12vw;
  border-radius: 50%;
  background-color: var(--chinese_violet);
  z-index: 20;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}
.go_top_img {
  width: 100%;
  height: auto;
}
@media (min-width: 600px) and (max-width: 1023px) {
  .go_top {
    bottom: 10vh;
    right: 3vw;
    width: 8vw;
  }
}
@media (min-width: 1024px) {
  .go_top {
    bottom: 10vh;
    right: 3vw;
    width: 4vw;
  }
}

@keyframes cursor {
  0%{opacity: 0;}
  50%{opacity: 1;}
  100%{opacity: 0;}
  
}

@keyframes move {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(60deg);
  }
}

@keyframes logo {
  to {
    translate: calc(-10 * 15rem);
  }
}



