.sec3 {
    clip-path: polygon(0 0,100% 0,100% calc(100% - 50px),0 100%);
    clip-path: polygon(0 50px,100% 0,100% 100%,0 100%);
    margin-top: 0px;
    background-color: #4d89c9;
    overflow: auto;
	min-height: 90vh;
}
.sec3 h1 {
    text-align: center;
    margin-top: 6.1415926535%;
    margin-bottom: 3.2%;
    font-size: 4em;
    color: white;
    font-family: 'Roboto', sans-serif;
}
.sec3 h2 {
    text-align: center;
    color: white;
    font-size: 1.8em;
}
.sec3 .project-box-year {
    font-size: 1.60em;
    color: rgb(209, 143, 21)
}
.sec3 .project {
    display: flex;
    flex-direction: row;
    text-align: center;
    position: relative;
    justify-content: center;
    margin-bottom: 120px;
}
.sec3 video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 50px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.4);
}
.sec3 video {
    width: 494px;
}
.sec3 .p1 .video {
    order: 2;
    margin-left: 0;
    position: relative;
}
.sec3 .p1 .project-box {
    order: 1;
}

.sec3 .p2 .video {
    order: 1;
}
.sec3 .p2 .project-box {
    order: 2;
}
.sec3 video:hover {
    transition: 0.4s ease;
    box-shadow: 0px 0px 7px black;
}   
.sec3 .project-box {
    margin-top: 50px;
    align-items: center;
    order: 1;
}
.sec3 .project-box-text {
    padding: 10px 30px;
    background-color: #4d89c9; 
    color: white;
    box-shadow: 0px 2px 3px black;
    overflow: auto;
	min-height: 3vh;
    width: 40vw;
    border: solid;
    font-size: 1.60em;
    border-color: #4d89c9;
    border-radius: 15px;
    border-width: 2px;
    text-align: center;
    align-items: center;
    transition: 0.15s ease;
}
.sec3 .project-box-text:hover {
    transition: 0.4s ease;
    box-shadow: 0px 0px 7px black;
}   
.sec3 img {
    display: none;
}
.sec3 .project-image {
    display: none;
}

@media screen and (min-width:1200px) {
    /*
    .sec3 .project-box-text {
        margin-right: 30px;
        margin-left: 30px;
    }
    */
    .sec3 .p1 .project-box {
        position: relative;
        left: 10px;
        bottom: 10px;
        z-index: 1;
    }
    .sec3 .p1 video {
        position: relative;
        right: 20px;
    }
    .sec3 .p1 .project-box {
        position: relative;
        left: 10px;
        bottom: 10px;
        z-index: 1;
    }
    .sec3 .p1 video {
        position: relative;
        right: 20px;
    }

    .sec3 .p2 .project-box {
        position: relative;
        right: 10px;
        bottom: 10px;
        z-index: 1;
    }
    .sec3 .p2 video {
        position: relative;
        left: 20px;
    }
}


@media screen and (max-width:1200px) and (min-width: 700px) {
    .sec3 .project {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    .sec3 .project-box-text {
        align-items: center;
        text-justify:justify;
    }
    .sec3 .project-box {
        order: 2;
    }
    .sec3 .p2 .project-box {
        margin-top: 0;
    }
    .sec3 img {
        display: none;
    }
    .sec3 video {
        margin-left: 0px;
        margin-top: 30px;
        order: 1;
    }



    .sec3 .p1 .video {
        order: 2;
        margin-left: 0;
        position: relative;
    }
    .sec3 .p1 .project-box {
        order: 1;
    }
    .sec3 .p2 .video {
        order: 2;
    }
    .sec3 .p2 .project-box {
        order: 1;
    }
}

@media screen and (max-width: 700px){
    .sec3 video {
        display: none;
    }
    .sec3 h1 {
        margin-top: 80px;
    }
    .sec3 .project {
        align-items: center;
        text-align: center;
        margin-bottom: 70px;
    }
    .sec3 .project-box-text {
        align-items: center;
        margin: auto;
        border: 0;
        font-size: 1em;
        text-align:center;
        min-height: 45vh;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        text-align: justify;
    }
    #portefolio {
        background: url("/content/img/background-site.PNG");
        background-size: cover;
        background-position: center center;
    }
    #chrome_extension {
        background: url("/content/img/background-ChessAI.png");
        background-size: cover;
        background-position: center center;
    }
    .sec3 .project-box {
        align-items: center;
        text-align: center;
        margin-top:0px;
    }
    /* DOUTEUX     */
    .sec3 .project-image {
        display: flex;
        padding: 10px 30px;
        background-color: #467ebb; 
        color: white;
        box-shadow: 0px 0px 3px black;
        width: 40vw;
        height: 10vh;
        text-align: center;
        transition: 0.15s ease-in;
        margin-top: 40px;
        z-index: 2;
    }
    .sec3 img {
        z-index: 1;
        height: 200px;
        width: 400px;
        display: inline ;
        filter: opacity(0.70);
        filter: blur(4px);
        box-shadow: 0px 10px 23px black;;
    }
}