@import url(./colors.css);
@import url(./mobile_screen_adapt.css);
@import url(./fonts.css);
* {
    box-sizing:border-box;
    margin:0
}
/* fontes à utiliser*/
/* tout ce qui concerne le header */
/* nouveau logo*/
main {
    background-color: bisque;
}
.headText {
    display: flex;
    flex-direction: column;
    color: white;
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28139, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") ! important;
}
.navbar-light .navbar-toggler {
border : 2px solid darkred ! important;
}
.leftcol {
    text-align:left;
}
.nav-link {
    color :darkred ! important;
}
.dropdown-menu {
    
    background-color: var(--green) !important;
}
.dropdown-item {
    color : darkred ! important;
}
.logoheader {
    width : 90px;
    height : 90px;
    padding : 8px;
    border-radius: 25%;
}
#headleft {
    margin-top: auto;
    margin-bottom: auto;
    padding-left: 4px;
    padding-right: 4px;
    background-color: var(--green);
    border-radius: 5px;
}
header {
    display:flex;
    flex-direction: row ;
    justify-content: space-between;
    height : auto;
    overflow:visible;
    background-color: bisque;
    height :fit-content;
}
#headleft h1 {
    color: white;
}


header figure, header div {
    margin: 0px;
}
.menuNL {
    display: flex;
    flex-direction: column;
}
@media screen and (min-width:768px) {
    .menuNL button {
        width: 120px;
        height: 60px;
        background-color: var(--green);
        color: white;
        gap: 30px;
        border:0;
        margin-top: 5px;
    }


        .menuNL {
            font-size: 25px;
        }

}
@media screen and (min-width:1024px) {
    .menuNL button {
        width: 140px;
        height: 80px;
        background-color: var(--green);
        color: white;
        gap: 30px;
        border:0;
        margin-top: 5px;
    }


        .menuNL {
            font-size: 30px;
        }

}


#titre {
    display:flex;
    flex-direction: column;
    width:auto;
}


/* Fin de ce qui concerne le header */
/* Tout ce qui concerne le body */
body {
    position:relative;
    background-color: bisque ;
}



.photos {
    display: flex;
    flex-direction: row;

    flex-wrap: wrap;
    gap: 10px; /* espace entre vignettes */
    align-items: stretch;
}
.photos figure {
    flex: 1 1 250px; /* base 250px, peut s'adapter */
    min-width: 140px;
    max-width: 320px;
    margin: 8px;
    display: flex;
    flex-direction: column;
}
.photos img {
    width: 100%;
    height: auto; /* conserve proportions, évite ruptures de ligne */
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
section {
    margin-bottom: 4px;
}
h2 {
    text-align:left;
}
#gallery {
    height: 200px;
}

/* tout ce qui concerne le footer */

footer {
    display : flex;
    flex-direction: row;
    font-family: raleway;
    font-style:italic;
    font-size: 12px;
    position:sticky;
    line-height: 30px;
    text-align: center;
    bottom:0;
    left:0;
    }
footer a {
    padding-left: 5px;
}
main {
    background-color: bisque;
}
/* fin de ce qui concerne le footer */



figcaption {
    font-family: raleway;
    text-align: center;
}

#event0 figure {
    width:50%;
}

#event0 p, #event1 p,#event2 p,#event3 p
    {hyphens: auto;}
#event0 p {
    text-align:center ;
}
#event0 {
    margin-top: 0px;
}

/* Debug helpers -- temporary: visualise .photos layout and force a test flex-basis */
.photos.debug {
    outline: 3px dashed rgba(255,0,0,0.35);
    background: rgba(255,255,0,0.03);
}
.photos.debug > figure {
    outline: 2px dashed rgba(0,0,255,0.25);
    background: rgba(0,255,255,0.02);
    flex: 0 0 200px; /* force 200px boxes to test line wrapping */
}

/* Quick force: if you want to force layout now, add class "debug" to the .photos container in HTML */
