

.lien-retour{
    margin: 1rem;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}
.lien-retour img{
    display: block;
    height: 1.2rem;
    width: auto;
    top: .5rem;
    margin-right: .5rem;
}
.lien-retour a{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 200;
    color:  rgb(7, 7, 7);
}
.page-projet{
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 3.5rem;
    color: rgb(7, 7, 7);
    background-color: #FEFEFF;
}
.page-projet h1{
    font-family: 'Oswald', sans-serif;
    margin-bottom: 5%;
    margin-left: 5%;
    white-space: nowrap;
    text-decoration: none;
    font-size: 1.5rem;  
}
.bloc-image{   
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bloc-image img{
    width: 100%;
}
.content .texte{
    font-family: 'IBM Plex Sans', sans-serif;
    margin: 10%; 
    margin-top: 1%;
    margin-bottom: 20%;
    display: flex;
    flex-wrap: wrap;
    
}
.lien-projets{
    display: flex;
    flex-direction: column;
    align-items: center;
}

figure{
    position: relative;
    margin:.5rem;
}

figure img{
    position: relative;
    object-fit: cover;
    height: 14rem;
    width: 22rem;
    border-radius: 10px 10px 10px 10px;
}
figcaption{  
    position: absolute;
    top: 0;
    left: 0;
    height: 14rem;
    width: 22rem;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    color:#FEFEFF;
    background-color: rgba(7, 7, 7, 0.85);
    opacity: 1;
    transition: opacity .5s ease-in-out;
    justify-content: space-around;
    border-radius: 10px 10px 10px 10px;
}
h4{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    margin: 0;
    margin: 1%;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: .5rem;
    color: #FEFEFF;
    font-weight: 200;
    letter-spacing: 0.5rem;
}

figcaption h4,
figcaption p {
            flex-basis: 100%;
            text-align: center;
        }
        

        @media screen and (min-width: 768px) {
            html {
                font-size: 100%;
            }
            h4{
                font-size: 1.5rem;
            }
            figure img{
                height: 24rem;
                width: 38rem;
            }
            figcaption{  
                height: 24rem;
                width: 38rem;
            }
            .content .texte{
                margin-bottom: 10%;
            }
            figure figcaption{
                display: flex;
                justify-content: center;
            }
            .lien-projets a{
                display: flex;
                justify-content: center;
            }
        }



        @media screen and (min-width: 1124px) {
            body{
                overflow: hidden; 
            }

            .bloc_texte_image{
                display: flex;
                flex-wrap: nowrap;
            }
            .bloc-image{
                flex-basis: 100%;
            }

            .content{
                margin:2%;
                display: flex;
                flex-direction: column;
                width: 50%;
                
            }
            .content .texte{
                margin-top: 2%;
                margin-right: 10%;
                font-size: 1rem;
                margin-bottom:30%;
            }

            .lien-retour a{
                font-size: 1rem;
            }

            .content h1{
                margin-top: 15%;
                font-size: 1.5rem;
            }
            .lien-retour img{
                height: .8rem;
            }

            figure{
                margin:0;
            }
            figure h4{
                font-size: 1rem;
            }
            figcaption{
                height: 7rem;
                width: 12rem;
                padding:1rem;
                display: flex;
                flex-wrap: wrap;
                align-content: center;
                color:#FEFEFF;
                background-color: rgba(7, 7, 7, 0.85);
                transition: opacity .5s ease-in-out;
            }
            figcaption p{
                font-size: .7rem;
            }

            .lien-projets{
                flex-direction: row;
                flex: 1;
                justify-content: space-between;
 
            }
    
            figure img{
                height: 7rem;
                width: 12rem;
            }
    
            figure figcaption {
                align-items: center;
                opacity: 0.3;
            }
    
            figure:hover figcaption{
                opacity: 1;
                transition: 1.5s;
            }
    
            .left{
                display: block;
                background-image: url("../icons/left-arrow.png");
                background-size:contain;
                height: 1rem;
                width: 1rem;

            }

            .right{
                display: block;
                background-image: url("../icons/right-arrow.png");
                background-size:contain;
                height: 1rem;
                width: 1rem;
            }
        
        }
        
