*{
    overflow-wrap: normal !important;
}
.h1{
    font-size: calc(1rem + 1.5vw) !important;
}
#contentcenter{
    font-style: var(--font-semi-bold);
    align-items: center;
    text-align: center;
    transition: 0.5s;
}
.header{
    background-color: #84c6ed;
}
.header--rvlf .li:hover {
    background-color: #9dd3f3 ;
}
.main-content{
    background-color: aliceblue;
}
.futur--communication{
    background-color: #f3bf87;
}
.futur--metier{
    background-color: #76a6e5;
}
.futur--savoir{
    background-color: #ff5356;
}
.futur--immobilier{
    background-color: #83d88e;
}
.futur--design{
    background-color: #b49ed1;
}
.futur--innovation{
    background-color: #f6cd72;
}
.texte-futur{
    color: black;
    transition: 0.5s;
}
.div-arrow{
    border-radius: 50px;
    background-color: transparent;
    transition: 0.2s;
    cursor: pointer;
    margin: 0 0 5rem 0;
}
.div-arrow:hover{
    scale: 1.1;
}
#boxcenter{
    padding: 0 2rem 0 2rem;
    display: grid;
    grid-auto-rows: minmax(10vh, auto);
    flex-direction: column;
}
#card{
    display: flex;
    justify-content: center;
    margin-bottom: 5vh;
}
#flex_image{
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
}
#card div img{
    min-width: 30vh;
    max-width: 30%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1/1;
}
#arrows{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 2rem;
}
.arrow{
    max-width: 7vw;
    min-width: 60px;

}
#arrows > :first-child{
    transform: rotate(180deg);
    margin-left: 5%;
}
#arrows > :last-child{
    margin-right: 5%;
}

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

#contentcenter.dark {
    background-color: #1b2023;
}
.texte-futur.dark{
    color: white;
}
.div-arrow.dark{
    background-color: white;
}

/**************************** formulaire futur ****************************/
.formulaire-rvlf{
    background-color: rgb(227, 240, 250);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}
#titrervlf{
    text-align: center;
    padding: 3rem 0;
}
.div_image{
    position: relative;
}
.texte_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.7rem 2rem;
    width: max-content;
    font-size: 17px;
    background-color: #000000ba;
    font-weight: bold;
    border-radius: 20px;
    transition: 200ms;
    cursor: pointer;
    color: white;
    text-shadow: 0 0 2px black;
    box-shadow: 0 0 2px #0000005c;
}
.texte_center:hover{
    font-size: 19px;
}
.newForm{
    max-width: 1000px;
    min-width: 70%;
}
.image-rvlf {
    border-radius: 10px;
    aspect-ratio: 16/9;
    object-fit: cover;
    box-shadow: 0 0 2px gray;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
#retour_vers_le_futur_imgRetourVersLeFuturs{
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: max-content;
}
#retour_vers_le_futur_imgRetourVersLeFuturs > fieldset{
    width: 48%;
}
#retour_vers_le_futur_imgRetourVersLeFuturs > fieldset{
    width: 100%;
    height: 100% !important ;
}
#retour_vers_le_futur_imgRetourVersLeFuturs > fieldset > div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.retour_vers_le_futur_imgRetourVersLeFuturs > fieldset{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#imgRetourVersLeFuturs > div > fieldset > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
#imgRetourVersLeFuturs{
    display: flex;
    justify-content: space-between;
}
.retour_vers_le_futur_imgRetourVersLeFuturs{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 48%;   
}
#retour_vers_le_futur_valider{
    background-color: #3385b6;
}
/**************************** formulaire futur dark mode ****************************/

.form-label.dark{
    color: white;
}

/**************************** page de gestion des rvlf ****************************/
.div_choix_nouveau{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0rem 0rem 0rem;
}
.div_flex{
    display: flex;
    flex-direction: column;
    width: max-content;
}
.div_noueau_rvlf{
    display: flex;
    justify-content: end;
    margin: 1rem 0rem 0rem 0rem;
    width: 100%;
}
#nouveau_rvlf{
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 0 2px rgb(122, 122, 122);
    background-color: #fffafa;
    color: rgb(85, 85, 85);
    transition: 150ms;
}
#nouveau_rvlf:hover{
    scale: 1.1;
}
.pole-select{
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    color: rgb(85, 85, 85);
    border-radius: 15px;
    border: none;
    box-shadow: 0 0 2px rgb(97, 97, 97);
    padding: 0.6rem 1.2rem;
    background-color: white;
}
.les_rvlf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem; 
    padding: 5rem;  
    justify-items: center;
    transition: ease-in-out 0.2s;
}
.rvlf{
    width: 100%;
    max-width: 24rem;
    padding: 2rem 2.5rem;
    height: 100%;
    border-radius: 35px;
    box-shadow: 0 0 2px gray;
    transition: 200ms;
    background-color: white;
}
.rvlf:hover{
    scale: 1.05;
}
.div_texte_rvlf{
    overflow: hidden;
    white-space: nowrap; 
}
/* .rvlf > div:first-child > p {
    text-align: start;
}

.rvlf > div:nth-child(3) > p{
    text-align: end;
} */
.div_images_rvlf{
    display: flex;
    justify-content: space-around;
    margin: 0 0 1rem 0;
}
.image_rvlf{
    border-radius: 10px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 0 2px gray;
    width: 45%;
}
.div_bouton{
    display: flex;
    justify-content: center;
}
.bouton{
    padding: 0.3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 0 2px rgb(140, 140, 140);
    border: none;
    transition: 200ms;
}
.bouton_edit_rvlf{
    background-color: #53b2e5 ;
    color: white;
    font-weight: bold;
    font-size: large;
    text-shadow: 0 0px 2px rgb(84, 82, 82);
    text-decoration: none;
    height: 100%;
}
.bouton_edit_rvlf:hover{
    background-color: #6ec3f0;
    font-size: 19px;
}
.editer{
    margin: 0;
}
.texte-futur{
    font-size: 16px;
}
.texte_futur_important{
    font-size: 18px !important;
}
.bouton_delete_rvlf{
    margin-left: 1rem;
    background-color: rgb(215, 80, 80);
    padding: 0.5rem 0.6rem;
}
.bouton_delete_rvlf:hover{
    .icone_delete{
        scale: 1.2;
    }
}
.icone_delete{
    height: 25px;
    width: auto;
    transition: 200ms;
}
.div_voir_plus{
    display: flex;
    justify-content: center;
}
#bouton_plus_rvlf{
    border: none;
    background-color: transparent;
    margin-bottom: 3rem;
    transition: 200ms;
}
#bouton_plus_rvlf:hover{
    scale: 1.2;
}
.icone_plus_rvlf{
    height: 60px;
}
.end_resultat{
    margin-bottom: 2rem;
    font-size: 20px;
    font-weight: bold;
    transition: 1.1;
}
#bouton_plus_rvlf:hover{
    scale: 1.1;
}
.hide{
    display: none;
}
@media screen and (max-width: 800px ) {

    #boxcenter{
        padding: 0 1rem;
        grid-auto-rows: minmax(7vh, auto);
    }
    #titrervlf{
        padding: 3rem 0 2rem 0;
        font-weight: bolder;
    }
    #div-texte-futur{
        height: min-content;
    }
    .div-arrow{
        margin: 0 0 4rem 0;
    }
    #card{
        margin-top: 2vh;
        margin-bottom: 2rem;
    }
    #card div img{
        width: 47%;
        height: auto;
        min-width: 46%;
        max-width: none;
    }
    .les_rvlf{
        padding: 3rem;
    }
    .rvlf{
        padding: 1.5rem 2rem;
    }
    .rvlf:hover{
        scale: 1.02;
    }
    .div_images_rvlf{
        margin: 0 0 1rem 0;
    }
    #bouton_plus_rvlf{
        margin: 1.5rem 0;
    }
    .texte_center {
        font-size: 15px;
        padding: 0.7rem 2rem;
    }
    #arrows{
        padding: 0;
    }
}

@media screen and (max-width: 600px) {
    .div_choix_nouveau{
        padding: 0 1rem;
        margin: 2rem 0rem 0rem 0rem;
    }
    #imgRetourVersLeFuturs{
        display: flex;
        flex-direction: column;
    }
    .retour_vers_le_futur_imgRetourVersLeFuturs{
        width: 100% !important ;
    }
    .pole-select{
        font-size: 12px;
        padding: 0.6rem 0.8rem;
        width: 100%;
        max-width: 25rem;
    }
    .les_rvlf{
        padding: 2rem 1rem;
        grid-template-columns: repeat(auto-fit, minmax(16.8rem, 1fr));
        gap: 2rem;
    }
    .rvlf{
        padding: 1.2rem 1.7rem;
    }
    .texte_center {
        font-size: 15px;
        padding: 0.7rem 1rem;
    }
    .texte_center:hover{
        font-size: 17px;
    }
}
