
body {
    height:100%;
    margin: 0;
    background-color: black;
    color: white;
    position: relative;
    overflow-x: hidden;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'DM Sans', sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 0px;
    transition: padding-top 0.3s;
}

.container.modal-displayed {
    padding-top: 0;
}

.link-container {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.link {
    text-decoration: none;
    color: white;
    margin: 15px;
    cursor: pointer;
    font-size: 20px;
    position: relative;
}

.link:hover {
    text-decoration: underline;
}

.link.hovered {
    text-decoration:underline;
}

.link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.link:hover::before {
    opacity: 1;
}

.description {
    font-size: 12px;
    margin-top: 5px;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: none;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.instagram-link {
    position:fixed; 
    bottom:5px;
    left:20px;

}

.instagram-link img {
    width: 40px; /* Adjust the width as needed */
    height: auto;
    cursor: pointer;

}

.linkplusplus{
    text-decoration: none;
    color: white;
    margin: 15px;
    cursor: pointer;
    font-size: 20px;
    position: relative;
}


.contact-link {
    position: fixed;
    bottom:6px;
    right: 20px;
}

.contact-link img {
    height:auto;
    width:40px;
    cursor:pointer;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height:5%;
    text-align: center;
    padding: 10px;
    z-index: 3; /* Place the footer above the modal overlay */
    background-color:black;
    display:flex;
    justify-content:center;
    align-items:center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
}

/* La Borne à Photo Link Styles */

.bottom-link {
    position: fixed;
    bottom: 20px; /* Adjust the distance from the bottom as needed */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2; /* Place the link above the modal overlay */
}
.laborneaphoto-link {
    text-decoration:none;
    color: white;
    font-size: 16px;
    position:relative;
    display: inline-block;
}



/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .link {
        font-size: 18px;
    }

    .description {
        font-size: 12px;
    }

    .modal-content {
        width: 90%;
    }
}


/* Tablet Styles */
@media screen and (max-width: 768px) {
    body {
        background-color:black;
        background-image:none !important;
        overflow-y:scroll;
    }

    .link {
        font-size: 16px;
        margin: 10px;
    }

    .description {
        font-size: 10px;
    }

    .footer {
        flex-direction:column;
    }

    .footer-container {
        margin-top:10px;
    }

    .contact-link {
        bottom: 7px;
        right: 80px;
    }

    .instagram-link {
        /*bottom: -5px;*/
        left: 80px;
    }

    .bottom-link {
       /*bottom:5px; /* Adjust the distance from the bottom as needed */
        left:50%;
        transform: translateX(-50%);    
    }

    .laborneaphoto-link {
        /*bottom:5px; /* Adjust the distance from the bottom as needed */
        left: 50%;
        transform: translateX(-50%);
    }

}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    .link {
        font-size: 14px;
        margin: 5px;
    }

    .container {
        min-height:calc(100vh + 50%);
    }

    .description {
        font-size: 8px;
    }

    .instagram-link {
        bottom: 10px;
        left: 50px;
    }

}


/* Hide desktop links on mobile */
.link-container {
    display: block;
}

.mobile-images {
    display: none;
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black; /* You can adjust the background color */
}

/* Landscape Styles for Mobile Devices */
@media screen and (max-width: 480px) {

    .link-container {
        text-align:center;
        margin-bottom:20px;
        position:relative;
    }

    .scroll-spacer {
        height:20vh;
        background-color:black;
    }

    .link {
        font-size: 14px;
        margin: 5px;
    }

    .description {
        font-size: 8px;
    }

    .contact-link {
        bottom:5px;
        right:50px;
    }

    .contact-link, .instagram-link {
        margin-top:20px;
    }

    .instagram-link img {
        width:40px;
        height:auto;
        cursor:pointer;
        display:block;
        margin:0 auto;
    }

    .mobile-images {
        top: 60px; /* Adjust the margin as needed */
    }

    .mobile-images img {
        max-width: 100%; /* Adjust the max-width as needed */
        height: auto;
        margin-bottom: 5px; /* Adjust the margin as needed */
    }

    .modal-content {
        width: 90%;
        max-width: 100%; /* Adjust the max-width as needed */
        max-height: 90vh; /* Adjust the max-height as needed */
        overflow: auto;
        padding: 10px; /* Adjust the padding as needed */
    }
}


/* Mobile Styles Tablet */
@media screen and (max-width: 768px) {

    body, html {
        overflow:hidden;
    }

    .link-container {
        display: none;
    }

    .mobile-images {
        display: block;
        margin-top: 20px;
        overflow-y:auto;
    }

    .mobile-images img {
        width: 100%;
        max-width: 300px; /* Adjust the max-width as needed */
        height: auto;
        margin-bottom: 20px;
    }

    .modal-content {
        width: 90%;
    }
}

/* Computer Styles */
@media screen and (min-width: 769px) {
    footer {
        background-color: transparent; /* Set the background color to transparent for computers */
    }
}



