:root {
    --site-gap: 20px;
    --site-padding: 16px;
    --hero-overlay: 0.45
}

* {
    box-sizing: border-box;
}

.bloc-lien {
    background-color: #e0e0e0;
    padding: 20px;
    text-decoration: none;
    color: black;
    display: inline-block;
    border-radius: 8px;
}

.bloc-lien:hover {
    background-color: #d5d5d5;
}

html,body{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: var(--site-padding);
    background: #d1d1d1;
    font-family: Chillax, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
}

h1 {
    margin: 0
}

img {
    max-width: 100%;
    display: block
}

/* Header */
.header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--site-gap);
    padding: var(--site-padding) 0;
    position: relative;
    z-index: 9999
    
}

.header a {
    text-decoration: none;
    color: currentColor;
}

.header-nav {
    display: flex;
    gap: 16px;
    justify-self: end;
    align-items: center
}

.header-nav a {
    text-decoration: underline;
    font-weight: normal
}

/* Summary column */
.summary-column {
    position: fixed;
    left: var(--site-padding);
    top: calc(110px + var(--site-padding));
    width: 160px;
    background: #bfbfbf;
    padding: 14px;
    border-radius: 6px;
    color: #000;
    z-index: 50
}

.summary-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.summary-column a {
    text-decoration: none;
    color: inherit;
    font-weight: 600
}

/* Hero */
.navB {
    position: relative;
    width: 100%
}

.navB img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: var(--site-gap)
}

.navB::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--hero-overlay));
    pointer-events: none;
    z-index: 10
}

.hero-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 700;
    font-size: clamp(28px, 6vw, 64px);
    text-align: center;
    z-index: 30
}

/* Thumbnails */
.nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--site-gap);
    padding: var(--site-padding)
}

.item {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center
}

/*img page acceuil*/
.item img,
.item object {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter .25s, transform .25s
}

.desc {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .6);
    font-size: 1.6rem
}

.item:hover img,
.item:hover object {
    filter: brightness(.45);
    transform: scale(1.01)
}

.item:hover .desc {
    opacity: 1;
    z-index: 999
}

/* Projects */
.projet,
body.projet {
    background: #000;
    color: #fff;
    min-height: 100vh
}

.projet a {
    color: #fff
}

.project-header {
    padding: calc(var(--site-padding)*1.25) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.project-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--site-padding)
}

.project-feature {
    max-width: 1100px;
    margin: calc(var(--site-gap)*1.2) auto;
    padding: 0 var(--site-padding);
    position: relative;
    overflow: hidden;
    height: auto
}

/*img pres projet*/
.project-feature img,
.project-feature object {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.project-gallery .grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--site-padding);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--site-gap)
}

/*img projet*/
.project-gallery figure {
    margin: 0;
}

.project-gallery img,
.project-gallery {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

@media(max-width:900px) {
    .project-gallery .grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .project-gallery .grid {
        grid-template-columns: 1fr
    }

    .project-header-inner {
        padding: 0 10px
    }
}


#about{
    min-height: 30vh;
    padding-left: 15px;
    padding-bottom: 15px;
    padding-top: 15px;
    padding-right: 15px;
    background: rgb(255, 254, 254);
    border-radius: 15px;
}


