/*-commun--------------------------------------------------------------*/
@media screen and (max-width:600px) {

    /*permet de changer la mise en page du site*/

    img {

        flex-direction: column;
    }

    .demfil {
        columns: 1;
    }

    nav {
        flex-direction: column;
    }

    .demfil {
        columns: 1;
    }


}

/*adapte les imagess et le menu de navigation pouir les telephones*/
.btn {
    display: inline-block;
    cursor: pointer;
}

.btn-navbar {
    float: right;
    padding: 12px 15px;
    margin-right: 5px;
    margin-left: 5px;
}

.icon-bar {
    display: block;
    width: 18px;
    height: 3px;
    background-color: #CECECE;
    -webkit-border-radius: 1px;
    /* Ce sont des préfixes, pour que les navigateurs */
    -moz-border-radius: 1px;
    /* prennent en charge les nouvelles propriétés. */
    border-radius: 1px;
}

.icon-bar+.icon-bar {
    /* Le + permet de sélectionner l'élément qui suit                  immédiatement le premier sélecteur */
    margin-top: 3px;
}

.nav {
    display: none;
}



nav ul {

    list-style: none;

    margin: 0;

    padding: 0;

    display: flex;

    flex-direction: column;

}



nav li {

    min-width: 33%;

    padding-top: 1em;

    padding-bottom: 1em;

    text-align: center;

    background-color: lightblue;

}



nav li:hover {

    background-color: azure;

}

#container1 {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 50%;
}

#image {
    width: 10%;
}

#titre1 {

    margin: auto;
    margin-left: 0;
}

h1 {
    text-align: center;
    font-size: 600%;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: left;
}

section {
    display: flex;
    justify-content: center;

}

.blanc {
    background-color: rgb(189, 189, 189);
    height: 920px;
    width: 70%;
    z-index: 1;
    position: absolute;
    display: flex;
    margin: 0px;
    margin-top: 150px;
}

.font {
    background-color: rgb(189, 189, 189);
}

.font2 {
    background-color: red;
}

.btn {
    border: none;
    outline: none;
    padding: 10px 16px;
    background-color: #5c5b5b;
    cursor: pointer;
    width: 100%;
}

.myDiv {
    background-color: #5c5b5b;
    width: 100%;
}

.text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 170%;
    margin: right;

}

#paragraph1 {
    padding: 10px;
}

* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    box-sizing: border-box;
}

.menu {

    display: flex;
    width: 100%;
    background: #5c5b5b;
}

.menu>li {


    /*float: left;*/
    color: white;
    width: 25%;
    height: 60px;
    line-height: 150%;
    background: #5c5b5b;
    cursor: pointer;
    /* font-size: 115%;*/
    margin-right: 1%;
    margin-left: 1%;
}





.sub-menu li {
    font-size: 16px;
    background: rgba(0, 0, 0, 0.8);
    padding: 100px;
    color: white;
    border-bottom: 0px solid rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transform-origin: top center;
    transition: all 400ms ease-in-out;
    line-height: 20px;
    padding-top: 15px;
    padding-bottom: 10px;
    z-index: 1200;
}

.sub-menu li:last-child {
    border-bottom: 0;
}

.sub-menu li:hover {
    background: black;
}

.menu>li:hover .sub-menu li {
    transform: scale(1);
}

.menu>li:hover .sub-menu {
    transform: scale(1);
}

.button {
    height: 40px;
    position: absolute;
    top: 8px;
    right: 130px;
}

.whit {
    color: white;
}

.imga {
    float: right;
}

.Déb {
    width: 50%;
    height: 50%;
}

.tete {
    z-index: 1200;
}

* {
    box-sizing: border-box
}

img {

    max-width: 100%;
}

/*-Accueil----------------------------------------------------------*/
.image {
    z-index: -1000;
    position: absolute;
    background-repeat: repeat;
}

footer {
    background-color: #5c5b5b;
}

tr {
    width: 100%;
    color: black;
}

/*-Owerworld--------------------------------------------------------*/
.btn {
    border: none;
    outline: none;
    padding: 10px 16px;
    background-color: #5c5b5b;
    cursor: pointer;
    width: 100%;
}

.slider-scroll {

    width: 400px;
    max-width: 100%;
    max-height: 398px;
    margin: 2rem auto;
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.slider-scroll img {
    scroll-snap-align: center;
    min-width: 50%;
    border-radius: 5px;

}

.ancre {

    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

.ancre li {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 75px;
    height: 75px;
    background: #404040;
    border-radius: 50%;
    text-decoration: none;
}

.ancre li a {
    color: rgb(255, 255, 255)
}

.ancre li:not(:last-child) {
    margin-right: 30px;
    text-decoration: none;

}

.ancre li a:hover {
    opacity: 0.5;
}

.txt {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    font-style: oblique;
}

/*-Nether--------------------------------------------------------*/
.nether {
    color: rgb(192, 86, 0);
}
/*-end--------------------------------------------------------*/
.img2{
    margin: auto;
}
/*-Les blocs cachés--------------------------------------------------------*/
.black {
    background-color: rgb(85, 85, 85);
    height: 92px;
    width: 70%;
    z-index: -2;
    position: absolute;
    display: flex;
    margin: 1%;
    margin-top: 10px;
}

.centre {
    margin-top: 30px;
}

/*-biome--------------------------------------------------------------------*/
.barière {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffffb6;
    border-style: solid;
    border-color: gainsboro;
    border-radius: 1cm;
    border-width: 0.25cm;
}

/*-outil--------------------------------------------------------------------*/
.diapo2 {
    column-count: 3;
    display: block;
    display: center;
    margin-left: 4cm;
    margin-right: 4cm;
    margin-top: 16cm;




}

.shadow {
    box-shadow: 10px 10px 5px darkgray;
}

.diapo {
    column-count: 3;
    display: block;
    display: center;
    margin-left: 4cm;
    margin-right: 4cm;
    margin-top: 3cm;
}


/*-cimetière-(code mort)-(code qui n'est plus que utilisé pour exemple a copier/coler)-*/
/*.myDiv {
    background-color: #5c5b5b;
    width: 100%;
}*/
/*.navi {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}*/
/*nav {
    text-align: center;
    margin: 0px;
    display: flex;
    background: #5c5b5b;
}*/
/*.active,
.btn:hover {
    background-color: #029bf3;
    color: black;
}*/
/*.shadow {
    box-shadow: 10px 10px 5px darkgray;
}*/
/*.target {

    display: none
}*/
/* englobe le slider */
/*.cadre_diapo {

    max-width: 600px;
    margin: 2rem auto;
    overflow: hidden;

}*/
/*@media {}*/