* {
    box-sizing: border-box;
    cursor: url('logo_site.png'),auto;
}

body{
    background-color: rgb(254, 254, 254);
    font-family: sans-serif;
    line-height: 1.5;
    font-family: "Red Rose", serif;
    font-optical-sizing: auto;
    font-style: normal;

 }   

h1{
    margin: 5px;
    font-size: 50px;
    align-items: center;
    color: blue;
}

img{
    max-width: 100%;
    height: auto;
    display: auto;
}

p{
    max-width: 600px;
}


header{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.filet{
    border: 0.5px solid color(blue);
}

header nav ul{
    display: flex;
    list-style: none;
}

header nav ul li{
    margin: 0 15px;
    font-size: 25px;
}

header nav ul li a{
    color: blue;
    text-decoration: none;
}

header nav ul li a:hover{
    text-decoration: none;
}

.nav a span{
    display: block;
    padding: 12px;
    text-align: center;
}

.projet{
    background: rgb(255, 255, 255);
}

.projet h1{
    font-size: 16px;
}

.grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px;
}

.grid img{
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bloc{
    width:40% ;
    height:300px ;
    display: flex;
    align-items: top;
    padding-left: 30px;
    font-size: 18px;
    column-count: 1;
    column-gap: 22px;
    box-sizing: border-box;
}

.hover-img{
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.hover-img img{
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
    opacity: 1;
}

.hover-img span{
    position: absolute;
    top: 50%; 
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgb(244, 241, 241, 0.9);
    color: blue;
    opacity: 0;
    transition: 0.3s;
    font-size: 50px;
}

.hover-img:hover span{
    opacity: 1;
}

.ligne{
    margin-left: auto;
    margin-right: auto;
    width:1070px ;
    height: 100px;
}

nav ul{
    display: flex;
    list-style: none;
}

nav ul li{
    margin:0.15px;
    font-size: 25px;
}

nav ul li a{
    color: blue;
    text-decoration: none;
}

nav ul li a:hover{
    text-decoration: none;
}

a{
    color: blue;
    text-decoration: none;
        font-size: 25px;
}