.zoom-image {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.zoom-image:hover {
    transform: scale(1.2);
}

.banner {
    width: 100%;
    height: 300px;
    background-image: url(/assets/img/back.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.banner h1 {
    color: white;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.item {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.item img {
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.text-content {
    flex: 1.2em;
    font-size: 1.25em;
    margin-left: 30px;
}

@media (max-width: 960px) {
    .item {
        flex-direction: column;
        text-align: center;
    }

    .item img {
        width: 100%;
        max-width: 300px;
    }
}

a {
    color: darkblue;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* État au survol */
a:hover {
    color: red;
    text-decoration: none;
}

/* État visité */
a:visited {
    color: #b66242;
}

/* État actif (clic) */
a:active {
    color: #871466;
}

/* Style pour liens externes */
a[target="_blank"]::after {
    content: " ↗️";
    font-size: 0.8em;
}

.containerf {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.25em;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1.1em;
}

textarea {
    height: 120px;
    resize: none;
}

button {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: auto;
    width: 100%;
    font-size: 1.5em;
}

button:hover {
    background-color: blue;
}

.topnav {
    background-color: #488299;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    color: white;
    font-weight: bolder;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

@media screen and (max-width: 960px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 960px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

#barre {
    border-left-style: solid;
    border-left-color: red;
    border-left-width: 8px;
}

