/**
 * nav interne
 */

body, html {
    padding: 0 0 0 0;
}

#fondrectangle{
    height:90px;
    background-image:url("../images/FondRectangle.svg");
    background-position: top;
    background-size:cover;
    position:relative;
    z-index:0;
    
}

#fondnav2,
#fondnav2 path {
    width: 100%;
    margin-top: -0.4px;
}

#navtest {
    top: 0;
    width: 100%;
    position: absolute;
    margin-top: 90px;
    z-index: 1;
}

#navtest li {
    padding-top: 3%;
    float: right;
    list-style: none;
    text-transform: uppercase;
    margin-right: 3%;
}

#navtest li:first-of-type {
    margin-right: 13%;
}

#navtest a {
    font-size: 18px;
    text-transform: uppercase;

    color: rgb(var(--coconut));
    text-decoration: none;

    border-bottom: 5px solid rgba(var(--coconut), 0);
    transition-duration: 0.1s;
    font-family: "JosefinSans-SemiBold";

}

#navtest a:hover {
    /* text-decoration: underline; */
    border-bottom: 4px solid rgb(var(--coconut));
}

#navtest a:visited {
    color: rgb(var(--coconut));
}

/**
 * fond
 */
div#fond {
    position: absolute;
    width:100%;
    right: 0;
    z-index:0;
}

div#fond img{
    width:50%;
    position:absolute;
    right:0;
}

/* ----------------------------------------------------------- */

.media {
    margin-left: 5%;
    margin-top:-5%;
    display: flex;
}

.media>div>h1{
    margin-bottom:5%;
}

.media > * {
    flex: 0 1 50%;
}

.media > #fbTL {
    flex: 0 1 40%;
    float:left;
}

#feedfb {
    margin-left:2%;
}


.media .galerie {
    margin: 15% auto 10% auto;
}

.media .galerie #mosa  {
    display: flex;
    align-content: start;
    justify-content: space-evenly;

    flex-wrap: wrap;

    margin: 15px auto 10px auto;
}

.media .galerie .h1V2  {
    margin-left: 3%;
}

.media .galerie #slider {
    flex: 0 1 100%;
}

.media .galerie #slider #screen{
    display: flex;
    justify-content: center;
    width: 44vw;
    height: calc(9/16 * 44vw);
    margin: 0 auto 0 auto;
}


#screen img {
    display: none;
    /**
     * width et height gerer en js
     */
}

#slider #defilement {
    display: flex;
    justify-content: space-evenly;

    margin: 10px 0 0 0;
}
#slider #defilement button {
    font-family: "Material Icons";
    font-size: 2em;
    line-height: 1em;
    height: 50px;
    width: 50px;
    border: none;
    border-radius: 50px;
    background-color: rgb(var(--coconut));
    box-shadow: 5px 5px 8px lightgray;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;


}

#slider #defilement button:active {
    transform: scale(0.9, 0.9);
    -webkit-transform: scale(0.9, 0.9);
    -moz-transform: scale(0.9, 0.9);
    -ms-transform: scale(0.9, 0.9);
    -o-transform: scale(0.9, 0.9);
}

#slider #defilement button:nth-child(1) {
    content: "\e5cb";
}

#slider #defilement button:nth-child(2) {
    content: "\e5cc";
}

.media .galerie .img {
    margin-bottom: 15px;
    height: 22vw;
    width: 22vw;
    overflow: hidden;
    transition-duration: 0.3s;
}

.media .galerie .img:hover {
    box-shadow: 5px 5px 10px rgb(207, 207, 207);
}

.media .galerie .img img {
    height: 100%;
    width: auto;
    margin: 0;
    transform: translateX(-15%);
    -webkit-transform: translateX(-15%);
    -moz-transform: translateX(-15%);
    -ms-transform: translateX(-15%);
    -o-transform: translateX(-15%);
}

@media only screen AND (max-width: 1030px) {
    .media .galerie {
        margin: 5% auto 10% auto;
    }

    #feedfb {
        display: flex;
        justify-content: center;
    }

    .media {
        flex-direction: column;
        width:95%;
        margin:auto;
    }

    .media > * {
        flex: 1 1 90%;
    }

    .media .galerie {
        order: -1;
    }

    .media .galerie .img {
        width: calc(19vw - 15px);
        height: calc(19vw - 15px);
    }

    .media .galerie #slider #screen{
        width: 90vw;
        height: calc(9/16 * 90vw);
    }

    div.media div.galerie div#mosa {
        display: none;
    }

    #fondrectangle{
        height:70px;
    }

    #navtest li:first-of-type{
        margin-right:9%;
    }

    #navtest{
        margin-top:50px;
    }

}