/* @import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600&display=swap"); */

:root {
    --header-height: 3rem;
    --nav-width: 219px;
    --hue-color: 213;
    --first-color: hsl(var(--hue-color), 38%, 40%);
    --first-color-light: hsl(var(--hue-color), 50%, 81%);
    --title-color: hsl(var(--hue-color), 24%, 17%);
    --text-color: hsl(var(--hue-color), 14%, 32%);
    --text-color-light: hsl(var(--hue-color), 38%, 60%);
    --text-color-footer: hsl(var(--hue-color), 88%, 88%);
    --body-color: hsl(var(--hue-color), 100%, 98%);
    --container-color: hsl(var(--hue-color), 68%, 98%);
    /* --body-color:hsl(31, 84%, 68%);
    --container-color: hsl(173,95%,46)*/
    --white-color: hsl(var(--hue-color), 100%, 100%);
    --black-color: hsl(var(--hue-color), 0%, 0%);
    --red-color: hsl(0, 38%, 63%);
    /* --body-font: "Sora", sans-serif; */
    --biggest-font-size: 2.5rem;
    --big-title-font-size: 2.25rem;
    --big-font-size: 1.75rem;
    --title-font-size: 1.25rem;
    --subtitle-font-size: 1.2rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.75rem;
    --smaller-font-size: 0.75rem;
    --font-medium: 500;
    --font-semi-bold: 600;
    --z-tooltip: 10;
    --z-fixed: 100;
    --header-height: 3rem;
    --font-medium: 500;
    /*communication*/
    --communication-first-color: hsl(31, 84%, 68%);
    --communication-dark-color: hsl(31, 84%, 68%);
    /*design*/
    --design-first-color: hsl(266, 36%, 72%);
    --design-dark-color: hsl(266, 36%, 72%);
    /*immobilier*/
    --immobilier-first-color: hsl(128, 52%, 68%);
    --immobilier-dark-color: hsl(128, 52%, 68%);
    /*innovation*/
    --innovation-first-color: hsl(41, 88%, 71%);
    --innovation-new-color: hsl(41.18, 88.41%, 70.59%);
    --innovation-dark-color: hsl(52, 92%, 58%);
    --innovation-color: hsl(0, 0%, 100%);
    /*metier*/
    --metier-first-color: hsl(214, 68%, 68%);
    --metier-dark-color: hsl(214, 68%, 68%);
    /*savoir*/
    --savoir-first-color: hsl(0, 83%, 70%);
    --savoir-dark-color: hsl(0, 83%, 70%);
    /*condition*/
    --condition-first-color: hsl(188, 17%, 63%);
    --condition-dark-color: hsl(188, 17%, 63%);
    /*partenaire*/
    --partenaire-first-color: hsl(75, 17%, 66%);
    --partenaire-dark-color: hsl(75, 17%, 66%);
    --white-color: hsl(240, 100%, 99%);
    --text-color: hsl(193, 6%, 44%);
    --body-font: "Sora", sans-serif;
    --big-font-size: 4.25rem;
    --h2-font-size: 1.25rem;
    --pole-font-size: 1.1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --z-fixed: 100;
}
/** ********************** RESETS ********************** */
*
{
    overflow-wrap: anywhere;
}

img
{
    width: 100%;
}

html, body {
    height: 100%;
    margin: 0;
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
}


/**  ====================== GENERAL ====================== */

.container-custom-bg {
    background-color: var(--background-color);
}

.custom-bg {
    background-color: var(--background-color);
    color: var(--text-color);
}


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

.text-justify {
    text-align: justify;
}

.content-bg {
    background-color: var(--background-color);
    padding: 1rem;
    border-radius: 0.5rem;
}

.discover__container {
    max-width: 800px;
    margin: 0 auto;
}

.discover__container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

.text
{
    color: white;
    text-align: center;
    font-size: 30px;
    text-shadow: 1px 1px 2px black;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    /* background-color: var(--communication-first-color); */
}
.main-content
{
    padding-top: calc(var(--header-height) + 1.5rem);
}

/*********************** HEADER ***********************/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(22, 8, 43, 0.1);
    /* padding: 0 1rem; */
    z-index: var(--z-fixed);
    transition: transform 0.3s ease-in-out;
    /* background-color: var(--communication-first-color); */
}

header.hide {
    transform: translateY(-100%);
}
.header__container {
    height: calc(var(--header-height) + 1.5rem);
    display: flex;
    justify-content: space-between;
    padding: 0 10rem;
    align-items: center;
}



.dropdown-toggler-menu {
    margin-top: 0;
    margin-bottom: 0;
}

li.nav-item:hover
{
    background-color: #b48ed1;
}

#imgLogo {
    height: 3rem;
    width: auto;
}
.header__mode {
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    cursor: pointer;
}
.div-titre-pole{
    max-height: 100; 
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem; 
    white-space: nowrap; 
    text-overflow: ellipsis;
}
h1 {
    font-size: 20px;
    margin: 0;
    color: white;
    text-shadow: 0px 0px 2px rgb(0, 0, 0);
    text-align: center;
}
h2 {
    color: white;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}
.menus {
    display: flex;
}
.burger-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}
.burger-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 30px;
}
#div-menu-pole {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: max-content;
}
.pole-icone {
    height: 50px;
    width: 50px;
    margin-right: 10px;
}
.menu-fleche{
    width: 16px;
    height: 30px;
    transition: transform 0.1s ease-in-out;
}
.menu-fleche.bas {
    transform: rotate(90deg);
}
.access-fleche{
    margin-left: 0.5rem;
    width: 10px;
    height: 20px;
    transition: transform 0.2s ease;
}
.access-fleche.bas {
    transform: rotate(90deg);
}
.bar {
    width: 100%;
    height: 5px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.4s;
}

.menu {
    display: none;
}
/* .fleche {
    width: 20rem;
} */

.menu.active {
    /* min-width: 19rem;
    max-width: 20rem; */
    display: block;
    position: absolute;
    right: 0;
    top: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.menu ul {
    /* list-style-type: none; */
    width: max-content;
    padding: 0;
    margin: 0;
}

.menu li {
    padding: 10px;
    /* text-align: center; */
    text-wrap: nowrap;
    transition: 100ms;
    width: 100%;
    height: max-content;
}
.menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    padding: 0 1rem;
    transition: 100ms;
}
.menu a:hover{
    scale: 1.05;
}
.burger-img-close {
    margin-top: 0.5rem;
    margin-right: 1rem;
    transition: 100ms;
}
.burger-img-close:hover{
    scale: 1.05;
}
.pole-img{
    width: 30px;
}
.burger-img {
    height: 25px;
}
.div-titres-burger-close{
    display: flex;
    justify-content: end;
}
.div-titres-burger {
    padding-left: 1rem;
    /* flex: 1; */
}
#menu-dys-dal{
    cursor: pointer;
}
.menu li.li-dys-dal{
    cursor: pointer;
    max-height: 0;
    padding: 0px;
    overflow: hidden;
    transition: 0.3s;
}
.menu li.li-dys-dal.show {
    max-height: 200px ; 
    padding: 10px ;
}
.menu li.li-dys-dal.chosen{
    background-color: #9beb9e;
}
.menu li.li-dys-dal.chosen:hover{
    background-color: #7ddd80;
}
.mode-dyslexie-daltonien{
    display: flex;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    padding: 0 1rem;
    transition: 100ms;
}
.li-dys-dal.hide{
    display: none;
}
.titre_pole{
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}
.main-content {
    flex: 1;
}

/*& Changements de couleurs pour chaque pôle en ajoutant une unique classe */
/*~ Pôle par défaut (sans pôle) */
.header--default
{
    background-color: #ff6e00;
}

.header--default .li:hover {
    background-color: #ff7400;
}

/*~ Pôle "Savoir" */
.header--savoir
{
    background-color: #ff4956;
}

.header--savoir .li:hover {
    background-color: #ff5864;

}

/*~ Pôle "Savoir" */
.header--communication
{
    background-color: #f7bf87;
}

.header--communication .li:hover {
    background-color: #ffd092;
}

/*~ Pôle "immobilier" */
.header--immobilier
{
    background-color: #63d88e;
}

.header--immobilier .li:hover {
    background-color: #83d88e;
}

/*~ Pôle "métiers" */
.header--metiers
{
    background-color: #70a1e1;
}

.header--metiers .li:hover {
    background-color: #70a1e1;
}

/*~ Pôle "design" */
.header--design
{
    background-color: #b48ed1;
}

.header--design .li:hover {
    background-color: #b48ed1;
}

/*~ Pôle "innovation" */
.header--innovation
{
    background-color: #f6cd66;
}

.header--innovation .li:hover {
    background-color: #f6cd72;
}


/**  ********************** CONTENT (du pôle) ********************** */
.pole
{
    background-color: #f3bf87;
}

/*& Pôle "savoir" */
.pole--savoir
{
    background-color: #ff5356;
}

.pole--savoir .photo
{
    border-color: #ff5356;
}

.pole--savoir .banner
{
    background: center / cover url("/assets/img/pole/savoir/fond.jpg");
}

.pole--savoir .discoverCard--faith
{
    background-image: url("/assets/img/pole/savoir/discovery2.jpg");
}

.pole--savoir .discoverCard--calling
{
    background-image: url("/assets/img/pole/savoir/discovery4.jpg");
}

/*& Pôle "immobilier" */
.pole--immobilier
{
    background-color: #83d88e;
}

.pole--immobilier .photo
{
    border-color: #83d88e;
}

.pole--immobilier .banner
{
    background: center / cover url("/assets/img/pole/immobilier/fond.jpg");
}

.pole--immobilier .discoverCard--faith
{
    background-image: url("/assets/img/pole/immobilier/discovery1.jpg");
}

.pole--immobilier .discoverCard--calling
{
    background-image: url("/assets/img/pole/immobilier/discovery2.jpg");
}

/*& Pôle "métiers" */
.pole--metiers
{
    background-color: #76a6e5;
}

.pole--metiers .photo
{
    border-color: #76a6e5;
}

.pole--metiers .banner
{
    background: center / cover url("/assets/img/pole/metier/fond.jpg");
}

.pole--metiers .discoverCard--faith
{
    background-image: url("/assets/img/pole/metier/discovery3.jpg");
}

.pole--metiers .discoverCard--calling
{
    background-image: url("/assets/img/pole/metier/discovery2.jpg");
}

/*& Pôle "design" */
.pole--design
{
    background-color: #b49ed1;
}

.pole--design .photo
{
    border-color: #b49ed1;
}

.pole--design .banner
{
    background: center / cover url("/assets/img/pole/design/fond.jpg");
}

.pole--design .discoverCard--faith
{
    background-image: url("/assets/img/pole/design/discovery6.jpg");
}

.pole--design .discoverCard--calling
{
    background-image: url("/assets/img/pole/design/discovery4.jpg");
}

/*& Pôle "innovation" */
.pole--innovation
{
    background-color: #f6cd72;
}

.pole--innovation .photo
{
    border-color: #f6cd72;
}

.pole--innovation .banner
{
    background: center / cover url("/assets/img/pole/innovation/fond.jpg");
}

.pole--innovation .discoverCard--faith
{
    background-image: url("/assets/img/pole/innovation/discovery2.jpg");
}

.pole--innovation .discoverCard--calling
{
    background-image: url("/assets/img/pole/innovation/discovery1.jpg");
}

/*& Darkmode */
.pole--darkMode
{
    background-color: #272B30;
}

.pole--darkMode .contactMeSection__email
{
    color: white;
}

/*& General */
.pole--noScroll
{
    overflow: hidden;
}

.text
{
    color: white;
    text-align: center;
    font-size: 22px;
}

.text--big
{
    font-size: 30px;
}

/** ********************** POLE TITLE ********************** */
.poleTitle
{
    padding: 35px 50px;

    color: white;
    box-shadow: 10px 10px 10px 0px hsba(0, 0%, 0%, 0.25);

    font-family: sans-serif; /*^ Le text-stroke rend un truc très moche avec la police Sora qu'on est censés avoir. En attendant, je mets sans-serif */
    font-size: 65px;
    font-weight: 700;
    letter-spacing: 0em;
    text-align: center;
    -webkit-text-stroke: black 1px;
}

/** ********************** BANNER ********************** */
.h1
{
    color: white;
    font-family: Sora, sans-serif;
    font-size: 55px;
    font-weight: 700;
    letter-spacing: 0em;
    text-align: center;
}

.h2
{
    color: white;
    font-size: 28px;
    text-align: center;
}

.photo
{
    max-width: 100%;
    width: 250px;
    height: auto;
    max-height: 250px;
    overflow: hidden;

    border-radius: 50%;
    border: 3px solid #f3bf87;
}

.profile
{
    max-width: 100%;

    display: flex;
    /* flex-wrap: wrap; */
    gap: 40px;
    justify-content: center;
    align-items: center;
}
.profile > *
{
    min-width: 0;
}

.profile__photo
{
    flex-shrink: 0;
}

.banner
{
    padding: 100px 50px;

    background: center / cover url("/assets/img/pole/communication/fond.jpg");

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.banner__profile
{
    padding: 0 110px;
}

.banner__h1, .banner__h2
{
    align-self: start;
}

.banner__h2--center
{
    align-self: center;
}

/** ********************** MAIN SECTION ********************** */
.mainSection
{
    padding: 30px 50px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

/** ********************** SOCIAL MEDIA BUTTONS ********************** */
.about__social
{
    margin-top: 0; /*^ Annuler code des precedents devs */

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 45px;
}

.about__social a
{
    font-size: 40px;
}

/** ********************** KNOW MORE LINK ********************** */
.knowMoreLink
{
    color: white;
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.knowMoreLink__a
{
    color: white;
    text-align: center;
    font-weight: bold;
}

/** ********************** DISCOVER SECTION ********************** */
.discoverSection
{
    max-width: 100%;

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.discoverCards
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.discoverCard
{
    width: 400px;
    height: 300px;
    max-width: 100%;
    padding: 70px 40px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 70px;
    cursor: pointer;
    background: center / cover url("/assets/img/logo.png");
}

.discoverCard--faith
{
    background-image: url("/assets/img/pole/communication/discovery6.jpg");
}

.discoverCard--calling
{
    background-image: url("/assets/img/pole/communication/discovery2.jpg");
}

.discoverCard__title
{
    color: white;
    font-family: sans-serif;
    font-size: 28px;
    text-align: center;
    -webkit-text-stroke: black 1px;
    text-transform: uppercase;
    font-weight: bold;

    transition-duration: 500ms;
}

.discoverCard:hover .discoverCard__title
{
    transform: scale(1.2);
}

/* -------------------------------NAVBAR DECOUVERTE-------------------------------------------------- */
.nav-link {

    margin-left: 40px;
    margin-right: 40px;
    max-height: 60px;
    overflow: hidden;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        z-index: 1000;
        transform: translateX(-35%);
        border: 1px solid black;
        background-color: white;
        border-radius: 5%;

    }
   
    .navbar-nav .dropdown-menu{
        position: absolute;
        transform: translateX(30%);
    }
   
    
}

/* ************************DECOUVERTE DESIGN************************ */



.poleTitleDesign
{
    padding: 35px 50px;

    color: white;
    box-shadow: 10px 10px 10px 0px hsba(0, 0%, 0%, 0.25);

    font-family: sans-serif; /*^ Le text-stroke rend un truc très moche avec la police Sora qu'on est censés avoir. En attendant, je mets sans-serif */
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 0em;
    text-align: center;
    -webkit-text-stroke: black 1px;
}

.principes1 {
    text-align: justify;
    background-color: rgb(180, 142, 209);

}

.principes2 {
    text-align: justify;
    background-color: rgb(176, 111, 225);
}
.principes > img {
    border-right: none;
}
.principes.px-5 {
    border-left: none;
}

.logo-design {
    position: relative; top: 10px;
  float: left;
  margin-right: 10px;
}

/* -------------------------------------------FORMATIONS-------------------------------------------- */

.containerUD {
    width: 100%;
    height: 300px;
    background-color: rgb(176, 111, 225);

}

.UniversalDesign {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    text-align: justify;
    
}

/* *********************** PRODUITS DESIGN************************** */

.produit-designheader{
    background-color:  rgb(176, 111, 225);    
}

.produit-designbody{
    background-color:  rgb(180, 142, 209);  
    border-bottom:1px solid rgb(145, 91, 185);  
}
.cardhover:hover{
    transform: scale(1.1);

}
.cardhover {
    transition-duration: 500ms;

}

.popup--design--produit {
    position: center;
    width: 100%;
    height: 100%;
    background-color: #b49ed1;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: zoomPopup 0.5s ease-in-out forwards;
}
.popup--design--produit .img {
    max-width: 25%;

}

.popup--design--produit .popup__title {
    text-align: center;
    margin-bottom: 20px;
}

.popup--design--produit .popup__paragraphText {
    text-align: center;
}

@keyframes zoomPopup {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomPopupReverse {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0);
    }
}
.popup--design--produit.active {
    z-index: 9999;
}

.popup--design--produit.inactive {
    animation: zoomPopupReverse 0.5s ease-in-out forwards;
}

/* ---------------------------------DECOUVERTE FORMATIONS------------------------------------------- */
  
.imageformations-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    
}

.text-left,
.text-right {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    padding: 20px;
    max-width: calc(30% - 40px);
    overflow-wrap: break-word;
    box-sizing: border-box;
    text-align: justify;
    color: white;
    background-color: rgb(180, 142, 209);
}

.text-left {
    left: 20px;
}

.text-right {
    right: 20px;
}

.cardFormations {
    position: relative;
    width: 300px;
    height: 250px;
     cursor: pointer;
    margin-right: -100px;
    
}

.cardFormations img {
    width: 100%;
    height: auto;
}

.cardFormations:hover {  
    z-index: 1;
    transform: rotate(0deg) scale(1.2);
}

#card1, #card2 {
    transition: transform 0.5s ease;
}

#card1 {
    transform: rotate(-10deg);
}

#card2 {
    transform: rotate(10deg);
}

#card1:hover, #card2:hover {
    transform: rotate(0deg);
}



 .fullscreen-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    margin: auto;
    z-index: 9999;
    
}

#fullscreenImageContainer.show {
    display: flex;
}

#fullscreenImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) ;
    z-index: 9999;
    transition: transform 0.5s ease;  
}

  

/** ********************** CONTACT ME SECTION ********************** */
.contactMeSection__email
{
    color: black;
    font-weight: bold;
    text-align: center;
}

.contactMeSection__a
{
    color: black;
}

/***************************** FOOTER *****************************/

.footer {
    background-color: var(--first-color);
    padding: 4rem;
}
.footer__actuality {
    display: flex;
    justify-content: center;
}
.footer__container {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 25px;
}

.footer__data
{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__data ul li {
    margin: 0.5rem 0;
}

.footer__title {
    font-size: var(--subtitle-font-size);
    color: var(--white-color);
    text-transform: uppercase;
}

.footer__text {
    padding: 0.25rem 0.5rem;
}
.footer__link {
    padding: 0.25rem 0;
    color: var(--container-color);
}

.footer__link:hover,
.footer__social:hover {
    color: var(--text-color-footer);
}

.footer__social {
    font-size: 1.4rem;
    margin-right: var(--mb-1);
    color: var(--container-color);
    padding: 0.25rem 0.5rem;
}

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

.grid{
    display: grid;
}
ul {
    padding: 0;
    list-style: none;
}
li > a {
    text-decoration: none;
}
.bxs-moon,
.bxs-sun {
    margin-right: 9px;
}

/********************** POPUPS **********************/
.popup
{
    display: flex;
    flex-direction: column;
    gap: 45px;

    width: 100%;
    height: 100%;
    padding: 50px;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow: auto;

    background-color: #f3bf87;

    animation: popupAppears 1s;
}

.popup--savoir
{
    background-color: #ff5356;
}

.popup--immobilier
{
    background-color: #83d88e;
}

.popup--metiers
{
    background-color: #76a6e5;
}

.popup--design
{
    background-color: #b49ed1;
}



.popup--innovation
{
    background-color: #f6cd72;
}

/*& Animation d'arrivée du popup */
@keyframes popupAppears
{
    0%
    {
        opacity: 0;
    }

    100%
    {
        opacity: 1
    }
}

.popup--hide
{
    display: none;
}

.popup__closeCross
{
    align-self: flex-end;

    display: block;
    max-width: 100%;
    width: 50px;

    cursor: pointer;

    transition-duration: 300ms;
}
.popup__closeCross:hover
{
    transform: scale(1.2);
}

.popup__title
{
    font-size: 45px;
    color: white;
    font-weight: bold;
    text-align: center;
}

.popup__sides
{
    max-width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

.popup__paragraphs
{
    max-width: 100%;
    width: 600px;

    color: white;
    font-size: 20px;
    text-align: justify;
    font-weight: bold;

    display: flex;
    flex-direction: column;
    gap: 35px;
}

.popup__paragraph
{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.popup__paragraphTitle
{
    font-size: 24px;
}

.popup__paragraphText
{
    font-size: 16px;
}

/**************************** Variables Dark theme ****************************/

/* .body.dark-theme {
    --first-color-light: hsl(var(--hue-color), 18%, 38%);
    --title-color: hsl(var(--hue-color), 8%, 95%);
    --text-color: hsl(var(--hue-color), 15%, 80%);
    --body-color: hsl(var(--hue-color), 12%, 15%) ;
    background-color: #1b2023;
    color: white;
} */
.body,#pole,#main-header,#footer, label{
    transition: 500ms;
}
.menu-fleche.dark, .icone_plus_rvlf.dark{
    filter: contrast(0%);
}
#main-header.dark{
    background-color: #2d3538;
}
.rvlf.dark{
    background-color: rgb(161, 161, 161);
}
.bar.dark {
    background-color: white;
}
.contactMeSection__a.dark {
    color: white;
}
#pole.dark, #detailsPopup.dark, #convictionsPopup.dark, #vocationPopup.dark{
    background-color: #1b2023;
}
#footer.dark{
    background-color: #153446;
}

/**************************** Variables Dyslexique theme ****************************/

@font-face {
    font-family: "OpenDyslexic";
    src: url("https://dl.dropboxusercontent.com/s/qfpakpjedhsrdb9/OpenDyslexicAlta-Regular.ttf");
}
*.dyslexie-theme, .poleTitle.dyslexie-theme, h2.dyslexie-theme, .discoverCard__title.dyslexie-theme, label.dyslexie-theme, .h1.dyslexie-theme, input[type="file"].dyslexie-theme {
    font-family: OpenDyslexic !important;
}

  /**************************** Variables Daltonie theme ****************************/

body.daltonie-theme {
    background-color: white;
    color: black;
    font-weight: bold !important;
}
body.daltonie-theme.dark {
    background-color: black;
    color: white;
    font-weight: bold !important;
}

/* * ====================== MEDIA QUERIES ======================
body.dark {
    background-color: #2a3034;
    --first-color: hsl(var(--hue-color), 38%, 56%);
    --first-color-light: hsl(var(--hue-color), 18%, 38%);
    --title-color: hsl(var(--hue-color), 8%, 95%);
    --text-color: hsl(var(--hue-color), 15%, 80%);
    --body-color: hsl(var(--hue-color), 12%, 15%) !important;
    --container-color: hsl(var(--hue-color), 10%, 17%);
} */

/** ********************** MEDIA QUERIES ********************** */
@media all and (max-width: 1200px)
{
    /** BANNER */
    .banner__profile
    {
        padding: 0 0;
    }
}

@media all and (max-width: 920px)
{    
    /** HEADER */
    .header__container {
        padding: 0 5rem;
    }
    /** GENERAL */
    .text--big, .knowMoreLink
    {
        font-size: 25px;
    }
    /** PROFILE */
    .profile
    {
        flex-direction: column;
    }
    /** BANNER */
    .h1
    {
        font-size: 40px;
    }
    /** FOOTER */
    .footer__actuality {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 750px) {

    header {
        position: relative;
    }
    .header__container {
        padding: 0 1rem;
    }
    .div-titre-pole {
        visibility: hidden;

        opacity: 0;
    }
    .footer__actuality {
        display: flex;
        flex-direction: column;
    }
    .footer__container {
        display: flex;
        flex-direction: column;
    }
    .footer_data {
        margin-bottom: 1rem;
    }
    .menu-fleche {
        display: none;
    }
    #imgLogo {
        height: 2rem;
    }
    .menu-mobile{
        position: absolute;
        width: 70px;
        left: 50%;
        transform: translate(-50%,0);
        margin: 0;
    }
    .pole-icone{
        margin: 0;
    }
    .fleche {
        right: 50%;
        left: 50%;
        transform: translateX(-50%);
    }
    .titre_pole {
        padding: 0 0.5rem;
    }
    h2 {
        text-align: center;
    }
    ul {
        text-align: center;
    }
}
@media all and (max-width: 630px)
{
    /** GENERAL */
    .text, .text--big, .knowMoreLink
    {
        font-size: 18px;
    }

    .h1
    {
        font-size: 30px;
    }

    .h2
    {
        font-size: 23px;
    }

    /** POLE TITLE */
    .poleTitle
    {
        padding: 30px 20px;
        font-size: 30px;
    }

    /** BANNER */
    .photo
    {
        width: 150px;
        max-height: 150px;
    }

    .banner
    {
        padding: 100px 20px;
    }

    /** MAIN SECTION */
    .mainSection
    {
        padding-left: 20px;
        padding-right: 20px;
    }

    /** DISCOVER CARDS */
    .discoverCard__title
    {
        font-size: 25px;
    }

    /** POPUPS */
    .popup
    {
        padding: 40px 20px;
    }

    .popup__title
    {
        font-size: 30px;
    }
}
