*{
    margin: 0;
  }

h1 h2 h3{
  font-family: 'Poppins', sans-serif;
}

p, li, label{
  font-family: 'Poppins', sans-serif;
}

em{
    font-family:'Roboto', sans-serif;
    font-style: normal;
    font-weight: bold;
}

.conteneur-affichage{
  display: flex;
  justify-content: center;
  /*align-items: center;*/
  border: 0px blue solid;
  width: 100%;
  margin-top: 60px;
  /*min-width: 1100px;*/
}

.conteneur-description-cours{
  display:flex;
  flex-direction: column;
  /*justify-content: center;
  align-items: center;*/
  border: 0px grey solid;
  width:40%;
  min-width: 440px;
  height: 650px;
  overflow: auto;
}

/* Center the avatar image inside this container */
.imgcontainer {
    display: flex;
    align-items: center;
    margin: 0px;
    border:0px solid blue;
    height: 65px;
    margin-left: 10px;
    margin-bottom: 10px;
}

.imgcontainer h2{
    padding-left: 7px;
    /*font-weight: bold;
    font-size: 22px;*/
}

/* Avatar image */
img.avatar {
    width: 65px;
    border-radius: 50%;
    border:0px green solid;
}

.time-where-price{
    display: flex;
    align-items: center;
    margin: 0px;
    border:0px solid blue;
    height: 32px;
    margin-left: 25px;
    padding: 5px;
}

.time-where-price img{
    width: 20px;
    /*border-radius: 50%;*/
    border:0px green solid;
}

.time-where-price p{
    padding-left: 7px;
    font-weight: bold;
    color: dimgrey;
    font-size: 14px;
}

#title-cours{
    font-weight: bold;
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 20px;
}

.frame-cours{
    width: 100%;
    display: flex;
    justify-content: center;
    border:0px orange solid;
    align-items: center;
    flex-direction: column;
}

.bouton-cours{
    width: 80%;
    border:1px #6565e0 solid;
    border-radius: 5px;
    text-align: center;
    padding-bottom: 5px;
    margin: 5px;
}

.button-course-disable{
    width: 80%;
    border:1px #6565e0 solid;
    border-radius: 5px;
    text-align: center;
    padding-bottom: 5px;
    margin: 5px;
    opacity: 0.5; /* Rend l'élément semi-transparent */
    pointer-events: none; /* Désactive les interactions utilisateur */
    cursor: not-allowed; /* Change le curseur pour indiquer que l'élément est désactivé */
}

.bouton-cours p{
    padding: 10px;
}

/*Affichage infos produit*/

.conteneur-cours{
  display: flex;
  flex-direction: column;
  border: 0px greenyellow solid;
  width:40%;
  height: 650px;/*Pour faire fonctionner l'overflow*/
  overflow: auto;
  min-width: 440px;
}

/*affichage des breadcrumbs*/
/* Style the list */

.conteneur-breadcrumb{
    padding-top: 15px;
    padding-bottom: 40px;
}

ul.breadcrumb {
  /*padding: 10px 16px;*/
  list-style: none;
  padding-left: 0; 
}
  
/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;  
}
  
  /* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 10px;
  color:  #242424;
  content: "/\00a0";
}

input{
    height:34px;
    width: 30px;
    text-align: center;
    font-size: 26px;
    border:none;
    display: inline-block;
    vertical-align: middle;
}

.conteneur-textes{
    border: 0px greenyellow solid;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
}

/*Bouton ajouter au panier*/
.ajouter-au-panier{
    background-color: #f7f7f7;
    color: black;
    border-radius: 25px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-family:'Poppins', sans-serif;
    line-height: 1;
    text-align: center;
    text-decoration: none #0d172a solid;
    text-decoration-thickness: auto;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    font-size: 1rem;
    padding: 0.5rem 2rem;
    border: 1px solid black;
}

.ajouter-au-panier:hover {
    background-color: #002256;
    color: white;
    border: 1px solid black;
}


/*Description produit, Infos complémentaires et avis*/
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color:white;
  color:black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-family:'Poppins', sans-serif;
  font-size: 15px;
  
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: none;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.accordion:after {
  content: '\002B'; /* Unicode character for "plus" sign (+) */
  font-size: 20px;
  color:black;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212"; /* Unicode character for "minus" sign (-) */
}

/*Bouton continuer */
.bouton-continuer{
    background-color: #002256;
    color:white;
    border-radius: 25px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-family:'Poppins', sans-serif;
    line-height: 1;
    text-align: center;
    text-decoration: none #0d172a solid;
    text-decoration-thickness: auto;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    font-size: 1rem;
    padding: 0.5rem 2rem;
    border: 1px solid black;
}

.bouton-continuer:hover {
    background-color: #002256;
    color:white;
    /*background-color: #f7f7f7;
    color: black;*/
    border: 1px solid black;
}

.continuer-achat{
    transform: translateY(-10%);
    animation: fly-in 1s; /* ajoute l'animation "fly-in" ease-out forwards*/
    opacity: 1; /* masque le titre */
}

@keyframes fly-in{
    0% {
        transform: translateY(-45%);
        opacity: 0; /* masque le titre */
    }
    100% {
        transform: translateY(-10%);
        opacity: 1; /* affiche le titre */
    }
}



/* for mobile phone */
@media all and (max-width: 955px){

    .conteneur-affichage{
        min-width: unset;
        flex-direction: column;
        align-items: center;
        margin-top: 64px;
    }

    /*Affichage du caroussel d'images*/

    .conteneur-description-cours{
        min-width: unset;
        height: unset;
        width: 90%;
    }

    .conteneur-cours{
        min-width: unset;
        width: 90%;
        height: unset;
    }

    .conteneur-breadcrumb{
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #title-cours{
        padding-top: 20px;
    }

    .bouton-continuer{
        min-width: 270px;
        padding: 1rem 2rem;
        border-radius: 50px;
        background-color: #002256;
        color: #fff;
    }

    .bouton-continuer:hover {
        background-color: #002256;
        color: #fff;
        font-size: 1.125rem;
        padding: 1rem 2rem;
    }

    .continuer-achat {
        transform: translateY(-10%);
        animation: fly-in 1s;
        opacity: 1;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    @keyframes fly-in{
        0% {
            transform: translateY(-45%);
            opacity: 0; /* masque le titre */
        }
        100% {
            transform: translateY(-10%);
            opacity: 1; /* affiche le titre */
        }
    }

}
			