

/* --- general --- */
body {
    background-color:#F2F2F2;
    min-width: 1000px;
}
@media screen and (max-width: 500px) {
    body {
        min-width: 0px;
    }
}


@media screen and (max-width: 500px) {
    p {
        font-size: 0.75em;
    }

    h1 {
        font-size: 1.5em;
    }

    a {
        font-size: 0.75em;
    }
}
/* --- Logo Canvas--- */

/* --- Header sous canvas --- */
.titleMain {
    background-color: #3A3A4E;
    padding: 2rem 1rem 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  
  .titleMain .container {
    max-width: 1000px;
    margin: 0 5px;
  }
  
  .titleMain h1 {
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 0;
    min-width: 1000px;
  }
  
  .titleMain p {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  
  .btn-easyqbd-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #FFD6A5;
    color: #3A3A4E;
    font-size: 2rem;
    font-weight: 1000;
    padding: 0.5rem 1.8rem;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 214, 165, 0.3);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  
  .btn-easyqbd-login:hover {
    background-color: #ffc48a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 214, 165, 0.4);
  }
  
  .btn-easyqbd-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 214, 165, 0.5);
  }
  
  .btn-easyqbd-login:focus {
    outline: 2px solid #f2b370;
    outline-offset: 3px;
  }
  
  .by-text {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    font-family: 'Fredoka', sans-serif;
  }
  
  .logo-header {
    height: 110px;
    object-fit: contain;
    display: block;
    padding-right: 8px;
  }
  
  .logo-header2 {
    height: 90px;
    object-fit: contain;
    padding-right: 8px;
    border: none;
    margin-top: 2px;
    display: block; 
  }
  
  .logo-separator {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    margin-right: 12px;
    line-height: 1;
    vertical-align: middle;
  }
  
  .textHome{
    font-family: 'Fredoka', sans-serif;
    color: #fff !important;
    padding-top: 0;
    vertical-align: middle;
    font-size: 3rem;
    font-weight: 300;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    border: none;
  }
  
  .logo-separator {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: white;
    font-weight: 500;
    margin-right: 0;
  }

/* --- Section text image row --- */
.qbd-section {
    padding: 2rem 2rem;
    background-color: #f9fafc;
  }
  
  .qbd-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    gap: 2rem;
    margin-bottom: 4rem;
    transition: transform 0.3s ease;
    padding-left: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .qbd-section:nth-of-type(even) {
    background-color: rgba(var(--bs-CustomWhite-rgb), var(--bs-bg-opacity));
  }
  
  
  .qbd-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .qbd-card:hover .qbd-image img {
    transform: scale(1.03) rotate(1deg);
  }
  
  .qbd-content {
    flex: 1 1 450px;
  }
  
  .qbd-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #3A3A4E;
    margin-bottom: 0.2rem !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600 ;
  }
  
  .qbd-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .qbd-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3A3A4E ;
    color: #FFD6A5;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 214, 165, 0.4);
    transition: all 0.3s ease-in-out;
  }
  
  .qbd-link:hover {
    color: #3A3A4E;
    background-color: #FFD6A5;
    border: #3A3A4E solid 3px;
    transform: translateY(-3px);
  }
  
  .highlighted-title {
    font-size: 2.5rem !important;
    font-weight: 900;
    line-height: 1.4;
    color: #2d2d3a;
  }
  
  .highlighted-title span {
    position: relative;
    z-index: 1;
  }
  
  .highlighted-title span::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2em; 
    width: 100%;
    height: 0.7em;
    background-color: #4AE2CB;
    opacity: 0.80;
    z-index: -1;
  }
  
  .highlighted-titleReverse {
    font-size: 2.5rem !important;
    font-weight: 900;
    line-height: 1.4;
    color: #2d2d3a;
  }
  
  .highlighted-titleReverse span {
    position: relative;
    z-index: 1;
  }
  
  .highlighted-titleReverse span::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2em; 
    width: 100%;
    height: 0.7em;
    background-color: #4AE2CB;
    opacity: 0.80;
    z-index: -1;
  }
  
  .qbd-paragraph {
    max-width: 800px;
    margin: 2rem auto;
    padding-right: 1.5rem;
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
    color: black;
    /* animation */
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    transition-delay: 0.2s;
  }
  
  .qbd-paragraph strong {
    font-weight: 700;
    color: #3A3A4E;
  }
  .scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.6s ease-out, transform 1.2s ease-out;
  }
  .scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
  }

/* --- Section text image reverse rw--- */
.qbd-card.reverse {
    flex-direction: row-reverse;
  }

  /* --- Section partner--- */
  .partner {
    text-align: center;
    padding: 1rem 1rem;
    background-color: #f9fafc;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .partner-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    color: #3A3A4E;
    margin-bottom: 2rem;
    font-weight: 500;
  }
  
  .partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
  }
  
  .partner-logos img {
    height: 100px;
    max-width: 160px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: grayscale(40%);
  }
  
  .partner-logos img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    opacity: 1;
  }
  

@media screen and (max-width: 500px) {
    .partTextLeft {
        width: auto;
        height: auto;
        padding-right: 0em;
        margin-bottom: 0em;
        padding-top: 0em;
        margin-bottom: 3em;
    }
    .partTextRight {
        width: auto;
        height: auto;
        padding-left: 0em;
        margin-bottom: 3em;
        padding-top: 0em;
        margin-left: 0em;
        padding-right: 0em;
    }
}
/* TEST CANVAS */
canvas {
    width: 100%;
    max-width: 1060px;
    height: auto;
    display: block;
    margin: auto;
  }
  
  .logo img {
    width: 10%;
    min-width: 60px;
    max-width: 120px;
    height: auto;
    display: block;
    margin: 1rem auto;
  }
  
@media screen and (max-width: 500px) {
    canvas{
        display: none;
    }
}

/* ENTETE */
header {
    display: flex;
    justify-content:center;

}

@media screen and (max-width: 500px) {
    header img {
        padding-right: 4em;
    }
}


/* AUTRE */
.picture {
    filter: drop-shadow(0px 15px 35px rgba(39, 44, 47, 0.4));
}
@media screen and (max-width: 500px) {
    .picture {        
        width: -moz-available;
        padding-top: 1em;
        filter: drop-shadow(0px 5px 15px rgba(39, 44, 47, 0.2));
    }    
}

.logo {
    display: none;
}

.logo > * {
    width: 12em;
}
@media screen and (max-width: 500px) {
    .logo{
        display: flex;
        justify-content: center;        
        padding-top: 3em;
    }
}

ul {
    margin-left: -1.5em;
   color: black;
}

/* PARTNER */
.partnerLogo {
    display: flex;
    justify-content: center;
}
@media screen and (max-width: 500px) {
    .partnerLogo{
        display: none;
    }
}

.partnerLogo img {
    padding: 2em;
}

.partner h1 {
    text-align: center;
    max-width: 20em;
    margin: auto;
    margin-bottom: 20px;
    padding-bottom: 0.2em;
}


/* Logo partner en largeur telephone */
.partner .image {
    display: none;
}
@media screen and (max-width: 500px) {
    .partner .image {
        display: flex;
        justify-content: center;
        margin-top: 5em;
        margin-bottom: 1em;
    }
}