:root {
    --fond: #fffafa;
    --footer: #707B7C;
    --blanc: #FFF;
    --noir: #000;
    --navbar : #4C90D9;
    --delimitation: rgba(240, 243, 247, 0.65);
    --radius: 20px;
    --transformHover: scale(1.05);
}

* {
  margin: 0;
  padding: 0;
}

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

/* POPPINS */
@font-face {
  font-family: 'poppins';
  src: url('/assets/fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* MONTSERRAT */
@font-face {
  font-family: 'montserratRegular';
  src: url('/assets/fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'montserratSemiBold';
  src: url('/assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'montserratBold';
  src: url('/assets/fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


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;
  background-color: var(--delimitation);
}

body {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: poppins, Arial;
} 

main {
    flex: 1;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
  font-family: 'montserratSemiBold', sans-serif;
}

/* PAGE ERREUR*/
.error-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page_error {
    background: var(--blanc);
    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);
}

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

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

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

/* BUTTON TO TOP */
.go_top {
  padding: 1vh;
  display: none;
  position: fixed;
  bottom: 15vh;
  right: 3vw;
  width: 12vw;
  border-radius: 50%;
  background-color: var(--blanc);
  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;
  }
}
