@font-face {
    font-family: 'Play';
    src: url('../fonts/Play/Play-Regular.ttf');
}

.play{
    font-family: 'Play';
}

html{
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('../fonts/Fira_Sans/FiraSans-Regular.ttf');
}

.firasans{
    font-family: 'Fira Sans';
}

h1, h2, h3, h4, h5{
    font-family: 'Play';
}

p{
    font-family: 'Fira Sans';
}

.color1{
    color: #2C377A;
}

.color2{
    color: #F45170;
}

.bg1{
    background-image: url('../images/grand-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.cta2{
    background-color: white;
    color: #2C377A;
    padding: 10px 20px;
    font-size: 25px;
    font-family: 'Play';
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.cta2:hover{
    color: #F45170;
}

.cta3{
    background-color: white;
    color: #2C377A;
    padding: 5px 10px;
    font-size: 12px;
    font-family: 'Play';
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: absolute;
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
}


.bg2{
    background-image: url('../images/bg-salledeclasse.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.lignetitre1{
    position: absolute;
    top: -3px;
    right: 0;
    width: 50px;
    background-color: white;
    height:3px;
}

.lignetitre2{
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    background-color: white;
    height:3px;
}
.lignetitre3{
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    background-color: white;
    height:2px;
}

.lignetitre5{
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    background-color: #2C377A;
    height:2px;
}
.lignetitre4{
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    background-color: white;
    height:1px;
}

.bg3{
    background-color: rgba(44, 55, 122, 0.5); /* Ajoutez de la transparence à la couleur de fond */
    backdrop-filter: blur(10px);
}

.position1{
    position: absolute;
    top: 20px;
    left: 0;
    z-index: -1;
}

.bg4{
    background-color: #E9ECFF;
}

.bg5{
    background-color: #3A4696;
}

.style-sections{
    background-color: inherit;
    border: white 2px solid;
    padding: 30px 30px;
    transition: background-color 0.3s ease;
}

.style-sections:hover{
    background-color: #5561b5;
}

.ligne-titre{
    background-color: #2C377A;
    width: 120px;
    height: 4px;
}



.liste-question{
    background-color: #2C377A;
    color: white;
    width: fit-content;
    font-family: 'Play';
    padding: 5px 15px;
    transition: background-color 0.3s ease;
}

.liste-question:hover{
    background-color: #4552a7;
}

.dimensions-image{
    width: 300px;
    height: 200px
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* Ajustez la hauteur pour s'adapter à votre mise en page */
    background: linear-gradient(to top, rgba(81, 92, 162, 0.7) 0%, rgba(81, 92, 162, 0.7) 30%, rgba(81, 92, 162, 0.7) 100%), url('../images/test.png');
    background-position: center; /* Centre l'image de fond */
    background-repeat: no-repeat; /* Empêche l'image de se répéter */
    background-size: cover;
    transition: background-size 0.5s ease; /* Transition plus lente pour plus de fluidité */
}

.image-container:hover {
    background-size: 120%; /* Ajustez selon l'effet de zoom désiré */
}

.positionh3{
    position: absolute;
    top:20px;
    left: 20px;
}

.positiontexteh3{
    position: absolute;
    bottom:0px;
    left: 20px;
    font-weight: 100;
}

.bg1-métier{
    background-color: #2C377A;
}

.border-bottom{
    border-bottom: #2C377A 1px solid;
}

.hover2{
    color: inherit;
    font-weight: inherit;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.hover2:hover{
    font-weight: bold;
}

.psticky{
    position: sticky;
    top: 0;
    background-color: white;
}

.essentiel{
    background-color: #E9ECFF;
    padding: 30px 50px;

}

.style-lettres{
    background-color: inherit;
    padding:5px 10px;
    box-sizing: border-box;
    color: inherit;
    border-radius:100%;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .style-lettres:hover{
    background-color: #2C377A;
    color: white;
    border-radius:100%;
  }

  .style-lettres.active{
    background-color: #2C377A;
    color: white;
    border-radius:100%;
  }



.bg-artisanat {
    background-image: url('../images/test.png'); /* Assurez-vous de mettre le bon chemin vers votre image *//* Autres styles de texte que vous pourriez vouloir ajouter */
  }

  .propriétés-image-métier{
    position: relative;
    width: 15vw; /* La largeur de votre image */
    height:20vh; /* La hauteur de votre image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center; /* Centre le texte verticalement */
    justify-content: center; /* Centre le texte horizontalement */
    color: white; /* Couleur de votre texte */
    font-size: 25px;
    overflow: hidden; /* Taille de votre texte */
    transition: transform 0.3s ease;


}

.propriétés-image-métier::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4); /* Noir semi-transparent */
    z-index: 1;
  }
  
  .propriétés-image-métier > div {
    position: relative;
    z-index: 2; /* S'assure que le texte est au-dessus de l'effet d'assombrissement */
  }
  .bg-side{
    background-color: #2C377A;
    color: white;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.5);
    border-end-end-radius: 10px;
    border-bottom-left-radius: 10px;
    width:15vw;


 }

 .shadow2{
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.5);
 }

 .analyse-synthèse {
    position: absolute;
    top: 100%;
    left: -60px;
    right: 0;
    transition: max-height 1.5s ease, opacity 0.0001s ease;
    max-height: 0;
    overflow: hidden;
    height: auto;
    opacity: 0; /* Ajouté pour la transition d'opacité */
    z-index: 10;
}

.analyse-synthèse.visible {
    max-height: 500px; /* Mettez ici la hauteur maximale estimée de l'élément */
    opacity: 1; /* L'élément est maintenant complètement visible */
}

.ligne-lettre{
    background-color: #3A4696;
    height:2px;
}
.position-recherches{
    position: absolute;
    top:0;
    right: 0;
}

.hover:hover{
    text-decoration: underline;
}
.lettres-sticky{
    position:sticky;
    top:0px;
    z-index: 1000;
}

.style-sous-sections-métiers{
    background-color: #2C377A;
    transition: background-color 0.3s ease;
    padding: 10px 20px;
    color: white;
    font-style: 'Play';
    text-align: center;
    width: fit-content;
}

.style-sous-sections-métiers:hover{
    background-color: #414FA3;
}