@font-face {
    font-family: "Public-sansM";
    src: url("../font/index-new2/PublicSans-Medium.woff") format("woff");
}

@font-face {
    font-family: "Public-sansB";
    src: url("../font/index-new2/PublicSans-Bold.woff") format("woff");
}

:root{
    --font-size:12px;
    --sans-serif:'Public-sansM';
    --serif:"'Times New Roman', Times, serif",
}
body{
    font-family: var(--sans-serif);
    font-size: 12px;
    line-height: 1.4;
}
/* //// global */

#container{
    margin:10px;
    display: flex;
    column-gap: 10px;
    flex-direction: column;
}

#container > section{
    flex:1;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    width: calc(100% - 20px);
}

.text-indent{
    text-indent: 30px;
}


/* //// presentation */

#presentation{position: fixed;}

#presentation > div{
    position: relative;
    display: flex;
    justify-content: space-between;
    column-gap: 10px;
}

#presentation > div > span{
    min-width: 300px;
}

/* //// projets */

#projets{margin-top: 20%;}

.wrapper-projet {display: flex;}
.wrapper-projet > *{
    flex:1;
}



/* //// carousel */

.carousel{
    max-width: 60%;
    display: flex;
    justify-content: center;
    column-gap: var(--gap);
    flex-direction: column;
    margin-top: 10px;
}
.carousel-wrapper{
    width: calc(50% - 10px);
}
.carousel-wrapper a, #presentation a{
    text-decoration: none;
    color:blue
}

.carousel > div{
    flex:1;
    /* margin: 0 10px; */
}
.carousel-img{
    margin-top:8px;
}

/* //// swiper */


.swiper {
    width: 100%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    opacity: 0;
}


/* //// image */

.lazyload{
    filter: blur(10px);
}

video{
    width: 100%;
    height: 100%;
    filter: drop-shadow( 0px 0px 2px rgba(0, 0, 0, .2));   
}

.swiper:not(.no-shadow){
    filter: drop-shadow( 0px 0px 2px rgba(0, 0, 0, .2));   
}

.name-projet-wrapper{
    display: flex;
    width: 60%;
    justify-content: initial;
    column-gap: 50%;
}

@media screen and (max-width: 768px) {
    .name-projet-wrapper{
        width: 100%;
        justify-content: space-between;
        column-gap: normal;
    }
    #presentation > div:first-child{
        display: none
    }
    .mobile{
        display: block !important;
    }
    #projets{
        margin-top: 100vh;
    }
    .annee{
        display: none;
    }
    .carousel-wrapper, .carousel{
        max-width: calc(100%) !important;
    }
    #presentation{
        position: relative;
        flex: 0;
    }
    #presentation > div{
        flex-wrap: wrap;
        flex-direction: row !important;
    }
    #container > section{
        row-gap: 60px;
        width: 100% !important;
    }
}


