* 
{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: 2300px;
    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;
    font-weight: bold;
}
.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: absolute;
    top: 20%;
    left: 30%;
    display: flex;
    flex-direction: column;
  
}
.link-gallery{
    display: block;
    max-width:  550px;
    margin: 3px;
    max-height: 850px;
    object-fit: cover;
    border: solid;
    border-color: black;
    border-radius: 15px;
    }
.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: 60%;
    max-height: 70%;
    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;
}
#precedent:hover{
    scale: 1.3;
    transition: 0.5s ease;
}




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

body {
    height: 2800px;
}

p {
    top: 10%;
    left: 20%;
    max-width: 400px;
}

.gallery{
    left: 20%;
}
#lightbox img{
    max-width: 70%;
    max-height: 70%;
    object-fit: cover;
}
.exit .material-icons{
    font-size: 60px;
}
#precedent, #suivant {
    top: 47%;
    opacity: 0.7;
}
#precedent{
left: 40px;
}
#suivant{
right: 40px;
}

}
@media screen and (max-width: 750px){
.gallery{
    left: 1%;
    top: 25%;
}

}