* 
{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: 3050px;
    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;
    left: 20px;
    top: 100px;
    height: 60px;
    
}
.retour:hover {
    scale: 1.5;
  transition: 1s;
}
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;}
.nav-links ul {
    display: flex;
}
.nav-links ul li {
    font-size: 10px;
    margin: 0 50px;
}
.navbar2 .menu-hamburger {
    width: 50px;
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
}
.mobile-menu {
    margin-left: 0;
}
.insta{
  position: absolute;
  top: 11px;
  left: 250px;
}
.gallery{
    position: relative;
    top: 10%;
    left: 1%;
    display: grid;
    grid-template-columns: 720px 710px 720px;
    grid-template-rows: 485px 930px 1000px;
    width: 2150px;
}
.link-gallery{
    display: block;
    max-width:  705px;
    margin: 3px;
    max-height: 1400px;
    object-fit: cover;
    border: solid;
    border-color: black;
    border-radius: 15px;
    }
    #joyl{
        width: 693px;
        height: 467px;
    }
    #joy{
        width: 805px;
        height: 910px;
    }
    #bandit{
        width: 693px;
        height: 910px;
    } 
     #banditc{
        height: 467px;
    } 
     #naikab{
        width: 930px;
        height: 467px;
    }
    #naikal{
        height: 920px;
        width: 720px;
    }
    #naikap{
        width: 710px;   
        height: 1000px; 
    }
    #plume{
        width: 693px;
        height: 1300px;     
    }
    #bandith{
        width: 700px; 
        height: 1100px;  
    }
.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{
    max-width: 100%;
    max-height: 90%;
    object-fit: cover;
}
#lightbox.active{
    display: flex;
}
.exit {
    text-decoration: none;
    color: aliceblue;
    position: absolute;
    top: 8%;
    right: 5%;
    
}
.exit .material-icons{
    font-size: 100px;
}
.exit .material-icons:hover{
     scale: 1.5;
  transition: 1s ease;
}
#precedent, #suivant {
    position: absolute;
    font-size: 150px;
    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: 120px;
}
#suivant{
right: 120px;
}
#lightbox:hover #precedent, #lightbox:hover #suivant {
    opacity: 1;
}
#suivant:hover{
    scale: 1.3;
    transition: 0.5s ease;
}
#precedent:hover{
    scale: 1.3;
    transition: 0.5s ease;
}




@media screen and (max-width: 1000px) {

body {
    background-size: 2800px;
}
#lightbox img{
    max-width: 80%;
    max-height: 80%;
    object-fit: cover;
}
#precedent{
left: 20px;
}
#suivant{
right: 20px;
}
.gallery{
    
    display: grid;
    grid-template-columns: 520px 510px 520px;
    grid-template-rows: 355px 730px 800px;
    width: 1700px;
}
  #joyl{
        width: 493px;
        height: 350px;
    }
    #joy{
        width: 605px;
        height: 720px;
    }
    #bandit{
        width: 500px;
        height: 720px;
    } 
     #banditc{
        height: 350px;
        width: 600px;
    } 
     #naikab{
        width: 510px;
        height: 350px;
    }
    #naikal{
        height: 720px;
        width: 510px;
    }
    #naikap{
        width: 510px;   
        height: 700px; 
    }
    #plume{
        width: 500px;
        height: 1100px;     
    }
    #bandith{
        width: 610px; 
        height: 960px;  
    }
.exit {
 
    top: 8%;
    right: 5%;
    
}
#precedent, #suivant {
    opacity: 0.6;
 
}
.exit .material-icons{
    font-size: 150px;
}
}


