:root {
    --fond: #E5E7E9;
    --footer: #707B7C;
    --white: #FFF;
    --black: #000;
    --navbar : #0066cc;
    --blue: #13274d;
    --grey: #706f7e;
    --banderole: #f9f7f6;
}

/*  FONTS */
@font-face {
  font-family: 'meidium';
    src: url('/assets/fonts/walbau-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'boldItalic';
  src: url('/assets/fonts/Walbaum-Bold-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'heavyRegular';
  src: url('/assets/fonts/Walbaum-Display-Heavy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

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

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

@font-face {
  font-family: 'roman';
    src: url('/assets/fonts/Walbaum-Small-Caps-Oldstyle-Roman.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

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

@font-face {
  font-family: 'poppins';
  src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
  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: 14px;
  overflow-x: hidden;
  overflow-y: auto;
}

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

main {
    flex: 1;
}

.error-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page_error {
    background: var(--white);
    max-width: 600px;
    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(--blue);
}

a.a_blue {
  color: var(--blue);
}

.blue {
  color: var(--blue);
}

.grey {
  color: var(--grey);
}

.delimitation {
  background-color: var(--delimitation);
}

/* TITRE */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: heavyRegular, Arial;
}

.walbum {
  font-family: regular, poppins, Arial;
}

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

.ctaserenia {
    background: var(--navbar);
    border-radius: 8px !important;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    border: 2px solid var(--blue);
}

a.ctaserenia:hover {
  color: var(--white);
}

/* SCROLL */
/* Effet de fondu doux */
.scroll {
  opacity: 0;
  /*transition: opacity 0.2s ease-in-out;*/ /* Durée allongée pour plus de douceur */
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);

}

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

/*BLOG*/
.text-justify {
  text-align: justify;
}

.badge-blog {
    display: inline-block;       
    padding: 6px 14px;
    border-radius: 20px;         
    font-size: 0.85rem;
    font-weight: 700;             
    color: #fff;                 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;         
    align-self: flex-start; 
}

.badge-blog {
    margin-top: 10px;
    margin-left: 10px;
}

.date-blog {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    margin-right: 10px;
}

.img_blog {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

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

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

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

.toggle-eye {
  position: absolute;
  right: 15px;
  top: 40px;
  cursor: pointer;
  color: #555;
}

.toggle-eye:hover {
  color: #000;
}

.compte {
    background: var(--white);
    border-radius: 25px;
    box-shadow: 5px 5px 13px 5px rgba(0, 0, 0, 0.8);
}

.informations {
    background: var(--white);
    width: fit-content;
    border-radius: 25px;
    box-shadow: 5px 5px 13px 5px rgba(0, 0, 0, 0.8);
}

/*CONNEXION*/
.login {
    background: var(--white);
    border-radius: 20px;
    width: 30em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.noir {
  color: var(--black);
}

@media (min-width: 700px) 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;}
  
}
