* 
{margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    
}
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: black;
    background-image: url(images/fondlanpadaire.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 4600px;
    object-fit: cover;
   
} 
p {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    max-width: 560px;
    position: absolute;
    left: 30%;
    top: 180px;
    margin: 40px;
    padding: 20px;
    font-weight: bold;
    background-color: rgb(228, 217, 206);
    border-radius: 15px;

    

}
.navbar2 {
    position: absolute;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    align-items: center;
   
}
.retour {
    position: absolute;
    display: hidden;
    left: 20px;
    top: 100px;
    height: 60px;
    
}
.retour:hover {
    scale: 1.5;
  transition: 1s ease;
}
h2 {
    position: absolute;
    top: 115px;
    left: 80px;
    color: beige;
}
.navbar2 a {
    color: beige;
    font-size: 2em;
    font-weight: bold;
}
.navbar2 .logo {
    font-size: 3em;
    color: beige;
    font-weight: bold;
}
.insta{
  position: absolute;
  top: 11px;
  left: 250px;
}
.insta:hover {
    scale: 1.5;
  transition: 1s ease;
}
.gallery{
    position: absolute;
    top: 20%;
    left: 10%;
    display: flex;
    flex-wrap: wrap;
  
}
.link-gallery{
    display: block;
    width: 530px;
    margin: 3px;
    height: 700px;
    object-fit: cover;
    border: solid;
    border-color: black;
    }
.link-gallery img {
    width: 100%;  
    
}
.link-gallery:hover{
    scale: 1.2;
  transition: 1s ease;
}

#lightbox{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0, 0, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
#lightbox img{
    width: 35%;
    object-fit: cover;
}
#lightbox.active{
    display: flex;
}
.exit {
    text-decoration: none;
    color: aliceblue;
    position: absolute;
    top: 10%;
    right: 20%;
    
}
.exit .material-icons{
    font-size: 50px;
}
.exit .material-icons:hover{
     scale: 1.5;
  transition: 1s ease;
}
#precedent, #suivant {
    position: absolute;
    font-size: 100px;
    color: rgb(255, 255, 255);
    top: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#precedent{
left: 70px;
}
#suivant{
right: 70px;
}
#lightbox:hover #precedent, #lightbox:hover #suivant {
    opacity: 1;
}
#suivant:hover{
    scale: 1.3;
    transition: 0.5s ease;
}

@media screen and (max-width: 1169px){
.gallery{
    position: absolute;
    top: 15%;
    left: 25%;
    display: flex;
    flex-wrap: wrap;
}
body {
    height: 7000px;
}
#lightbox img{
    width: 62%;
    object-fit: cover;
}
.exit .material-icons{
    font-size: 65px;
}
.exit {
    text-decoration: none;
    color: aliceblue;
    position: absolute;
    top: 7%;
    right: 10%;
    
}
#precedent, #suivant {
    opacity: 0.6;
}
}
@media screen and (max-width: 750px){
    body {
        height: 4000px;
} 
.gallery{
    top: 25%;
    left: 10%;
}
.link-gallery{
    width: 300px;
    height: 400px;
    }
    #lightbox img{
    width: 90%;
    object-fit: cover;
}
.exit .material-icons{
    font-size: 60px;
}
.exit {
    text-decoration: none;
    color: aliceblue;
    position: absolute;
    top: 7%;
    right: 10%; 
}
#precedent{
left: 5px;
}
#suivant{
right: 5px;
}
#precedent, #suivant {
    font-size: 50px;
}}