body {
    font-family: Fredoka, Arial, sans-serif;
    background-color: rgb(224, 210, 210);}

/* HEADER */
.navbar {
    margin: auto;
    background-color: rgb(180, 0, 0);
    border-radius: 2vh;
    display: flex;
    justify-content: center;
}

.navbar ul {
    display: flex;
    list-style: none;
    padding: 4vh 10vh;
}

.navbar li {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size:1.2em;
    padding:6vh;  
    display: block;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: rgb(0, 0, 0);
}

/* Rectangle surligné */
.navbar a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 3vh;
    width: 0;
    height: 3px;
    background-color: rgb(0, 0, 0);
    transition: width 0.3s ease;
}

.navbar a:hover::before {
    width: 100%;
}

.logo{
    height: 140px;
    width: auto;
    padding-top: 2vh;
    padding-bottom: 2vh;
}


.h1 {
    text-align: center;
    font-size: x-large;
    padding-top: 20px;  
    display: block;
    height: 25px;
}

/*CORPS*/


.article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 70px;
}

.section ,.section2, .section4, .section5{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    overflow: hidden;
    padding: 10px;
}

.section.reverse {
    flex-direction: row-reverse;
}

.text {
    text-align: center;
    font-size: 1.3rem;
    color: #555;
}

/*MODAL 1*/

.image_1{
    height: 300px;
    width: auto;
    margin: 20px 60px 0px 30px;
    transition: transform 0.3s ease;
}

.image_cycliste{
    width: auto;
    height: 300px;
    border-radius: 5%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image_1:hover {
    transform: scale(1.05);
    filter: brightness(70%);
}

.loupe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    pointer-events: none;
    display: none; /* Caché par défaut */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    filter: brightness(100%);
}

.loupe img{
    width:70%;
    height: 70%;
}

.image_1:hover .loupe{
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.modal:target {
    display: flex;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
}

/*MODAL 2*/

.image_2{
    height: 350px;
    width: auto;
    margin: 10px 60px 0px 80px;
    transition: transform 0.3s ease;
}

.image_television{
    width: auto;
    height: 350px;
    border-radius: 5%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image_2:hover {
    transform: scale(1.05);
    filter: brightness(70%);
}

.image_2:hover .loupe{
    display: block;
}

.modal2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal2-content img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.modal2:target {
    display: flex;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
}

/*MODAL 3*/

.image_3{
    height: 450px;
    width: auto;
    margin: 0px 80px 10px 80px;
    transition: transform 0.3s ease;
}

.image_verchuren{
    width: auto;
    height: 450px;
    border-radius: 5%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image_3:hover {
    transform: scale(1.05);
    filter: brightness(70%);
}

.image_3:hover .loupe{
    display: block;
}

.modal3 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal3-content img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.modal3:target {
    display: flex;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
}



/* Third section styles */
.section.bottom {
    flex-direction: column;
    text-align: center;
}

.section.bottom img.image-large {
    width: 60%; 
    height: auto;
    margin-top: 10px;
    object-fit: cover;
}

.section.bottom .text {
    padding: 0px 20px 20px 20px;
}





/*MODAL 4*/

.image_4 {
    height: auto;
    width: auto;
    margin: 10px 60px 0px 80px;
    transition: transform 0.3s ease, filter 0.3s ease;;
}

.image_bal_de_la_rose{
    width: auto;
    height: 450px;
    border-radius: 5%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image_4:hover {
    transform: scale(1.05);
    filter: brightness(70%);
}

.image_4:hover .loupe{
    display: block;
}

.modal4 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal4:target {
    display: flex;
}

.modalimage4{
    width: auto;
    height:80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
}

/*MODAL 5*/


.image_5 {
    height: auto;
    width: auto;
    margin: 10px 60px 0px 80px;
    transition: transform 0.3s ease, filter 0.3s ease;;
}
.image_trompetiste_pruvost{
    width: auto;
    height: 250px;
    border-radius: 5%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image_5:hover {
    transform: scale(1.05);
    filter: brightness(70%);
}

.image_5:hover .loupe{
    display: block;
}

.modal5 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal5:target {
    display: flex;
}

.modalimage5{
    width: auto;
    height:80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
}








/* Responsive design */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .section img.image,
    .section.bottom img.image-large {
        width: 100%; /* Images prennent toute la largeur sur mobile */
    }

    .section .text {
        width: 100%;
        text-align: center;
    }
}




/* FOOTER */

.article_biographie{
    flex: 1; /* Pour pousser le footer en bas de la page */
}

.texte_footer{
    padding-bottom: 3vh;
    color: #ffffff;
    position: relative;
    left:350px;
    top: 110px;
}

.footer-container {
    background-color: rgb(180, 0, 0);
    border-radius: 2vh;
}

.menu_bas{
    display: flex;
    padding: 30px;
}

.logo_bottom{
    padding: 1vh 1vh;
    height: 120px;
    width: auto;
}

.footer-links {
    list-style: none;
    padding-left: 160px;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #000000;
}
