* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(0, 0, 0);
    color: white;
}

.montserrat-700 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.baskervville-uniquifier {
    font-family: "Baskervville", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

a {
    color: currentColor;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    text-decoration: none;
}

p {
    font-family: "Baskervville", serif;
    font-size: 20px;
}

.header-nav a { 
    text-decoration: none;
    transition: transform 0.50s ease;
}

.header-nav:hover {
    transform: scale(1.05);
}

h3 {
    font-family: "Baskervville", serif;
    font-size: 20px;
    line-height: 2;
}

.item {
    background-color: black;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.item:hover img {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.item p {
    color: rgb(255, 255, 255);
    font-size: 2em;
    opacity: 0;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.item img {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

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

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

.top-bar {
    position: sticky;
    top: 0;
    padding: 15px;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    font-size: 50px;
    font-weight: 600;
    background: transparent;
}

.top-bar2 {
    position: sticky;
    top: 0;
    padding: 15px;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    font-weight: 600;
    font-weight: normal;
    background: transparent;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    justify-items: stretch;
    align-items: stretch;
    justify-content: center;
    background: #fff;
}

@media (min-width: 320px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

.grid2 {
    gap: 2px;
    background: #fff;
    gap: 2px;
    border-bottom: 2px solid white;
    border-top: 2px solid white;
    display: grid;
    align-items: stretch;
}

@media (min-width: 320px) {
    .grid2 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .grid2 {
        grid-template-columns: 840px 630px;
    }
}

.grid3 {
    grid-template-columns: 630px 840px;
    gap: 2px;
    background: #fff;
    gap: 2px;
    border-bottom: 2px solid white;
    display: grid;
    align-items: stretch;
    
}

@media (min-width: 320px) {
    .grid3 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .grid3 {
        grid-template-columns: 630px 840px;
    }
}

.grid4 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    background: #fff;
    gap: 2px;
    border-bottom: 2px solid white;
    display: grid;
    align-items: stretch;
}

@media (min-width: 320px) {
    .grid4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .grid4 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.grid5 {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #fff;
    gap: 2px;
    border-bottom: 2px solid white;
    border-top: 2px solid white;
    display: grid;
    align-items: stretch;

}

@media (min-width: 320px) {
    .grid5 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .grid5 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid6{
    background: #000;
    display: grid;
    gap: 2px;
    border-bottom: 2px solid white;
}

.video {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.video video {
    width: 100%;
    height: auto;           
    display: block; 
    border-bottom: 2px solid white;        
}


@media (min-width: 320px) {
    .video {
        max-width: 480px;
    }
}


@media (min-width: 1024px) {
    .video {
        max-width: 1470px;
    }
}

.button {
    border: 3px solid white;
    border-radius: 23px;
    padding: 3px 15px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 18px;
    color: white;
    background-color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.15s ease;
}

.button:hover {
    transform: scale(1.05);
}

.infos {
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
    max-width: 650px;
}

.hero {
    position: fixed;
    inset: 0;
    background-image: url('img/fond.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.grid-container {
    position: relative;
    z-index: 1;
    margin-top: 100vh;
}

.top-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
    background: transparent;
}

.grid {
    position: relative;
    z-index: 1;
    background: #fff;
}

.top-bar.on-hero {
    background: rgb(0, 0, 0);
    border-bottom: 2px solid white;
}


body {
    display: grid;
}

.bgbar {
    background-color: white;
    z-index: -1;
    position: fixed;
    top: 89px;
    width: 100%;
    height: 2px;
}

.main {
    background: #000;
    display: grid;
    gap: 2px;
    border-bottom: 2px solid white;
    border-top: 2px solid white;
}


.fiche {
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: justify;
    background-color: rgb(0, 0, 0);
}

@media (min-width: 320px) {
    .fiche {
        margin: 20px;
    }
}

@media (min-width: 1024px) {
    .fiche {
        margin: 0 auto;
    }
}

.fiche td {
    vertical-align: top;
    padding: 4px 8px;
    margin-top: 20px;
    margin: 0 0 20px 0; 
}

.remarques {
    margin-top: 20px;
    text-align: justify;
    padding-bottom: 30px; 
}

.fiche td.label {
    width: 150px;
    color: #999;
    font-weight: normal;
    
}

.fiche td.value p {
    margin: 0;
}

.fiche td{
    padding-bottom: 10px; 
    border-bottom: 1px solid #ffffff; 
    max-width: 800px;
}

 .fiche table {
    margin-top: 30px;
    width: 100%;
    border-collapse: collapse;
    }