* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}



:root{
    --entete-text-color: #000;
    --nav-bg-after-link: #1D24CA;
    --hero-h1-bg-span: #98ABEE;
    --footer-text-color: #1D24CA;
    --figcaption-bg-color: #1D24CA;
}



/* En-tête */
header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Unbounded", sans-serif;
    background-color: rgb(255 255 255 / 30%);
    backdrop-filter: blur(4px);
    padding: 5px 20px;
}
#entete{    
}
#entete a{
    display: flex;
    text-decoration: none;
    color: black;
    align-items: center;
} 
#entete p{
    font-family: "Unbounded", sans-serif;
    color: var(--entete-text-color);
}
#img-logo{
    width: 40px;
    margin-right: 15px;
}





main {
    position: relative;
    top: 60px;
    margin: 0 5px 76px 5px;
}
.hero{
    display: flex;
    justify-content: space-evenly;
}
.text-hero{
    display: flex;
    flex-direction: column;
    margin: auto 0;
    position: relative;
}
.text-hero h1, .text-hero-integration h1{
    font-family: "Unbounded", sans-serif;
    margin-left: 5px;
    margin-bottom: 15px;
    z-index: 3;
    position: relative;
}
.text-hero span, .text-hero-integration span{
    position: absolute;
    width: 427px;
    height: 25px;
    background: var(--hero-h1-bg-span);
    top: 20px;
}
.text-hero h2{
    font-weight: 500;
    margin-bottom: 10px;
}


  

/* navigation */
nav ul{
    display: flex;
    gap: 20px;
    list-style: none;
}
nav ul li a {
    font-family: "Unbounded", sans-serif;
    text-decoration: none;
    color: #000;
    font-size: 15px;
}
nav ul li a::after{
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--nav-bg-after-link);
    transition: width .3s;
}
nav ul li a:hover::after {
    width: 100%;
}
nav ul li a:active::after{
    width: 100%;;
}



/* integration */
.hero-integration{
    display: flex;
    align-items: center;
    margin: 40px 10px 30px;
}
/* .hero-integration img{
    border-radius: 50%;
    width: 70px;
    height: 70px;
    object-fit: cover;
} */
.text-hero-integration{
    position: relative;
    margin-left: 32%;
}
section{
    padding: 10px;
    margin-bottom: 70px;
}
section h2{
    font-weight: 500;
}
.gallery{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}
.gallery article{
    position: relative;
    width: 300px;
    height: 285px;
}
.gallery h3{
    -webkit-text-stroke: 1px black;
    color: #fff;
    font-size: 220px;
    position: absolute;
}
.gallery a{
    text-decoration: none;
    color: black;
}
.gallery figure img{
    width: 200px;
    height: 200px;
    object-fit: cover;
    position: absolute;
    bottom: 15px;
    right: 15px;
    filter: grayscale(1);
    border-radius: 50%;
    transition: border-radius 1s;
}
.gallery figure img:hover{
    filter: grayscale(0.6);
    width: 100%;
    height: auto;
    top: 41px;
    left: 0;
    border-radius: 0;
}
.gallery figcaption{
    position: relative;
}
.gallery figcaption p{
    text-align: center;
    padding:10px;
    font-weight: bold;
    position: absolute;
    background-color: var(--figcaption-bg-color);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    width: 100%;
}
.gallery figure:hover p{
    opacity: 1;
}





/* Projets universitaires */





/* Pied de page */
footer {
    padding: 30px 0 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer p{
    font-family: "Unbounded", sans-serif;
    color: var(--footer-text-color);
    margin-left: 20px;
}
footer img{
    border-radius: 50%;
    object-fit: cover;
    width: 50px;
    height: 50px;
}