* {
    font : 'arial', sans-serif;
    margin: 0;
    padding: 0;
}

#navbarNav .nav-item.text {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
}

#headerPhoto {
    background-image: url('https://citybikelaval.fr/vigeant2025/assets/800-400.jpg');
    background-size: contain;
    aspect-ratio: 800/400;
}
@media screen and (min-width:800px) {
    #headerPhoto {
        background-image: url('https://citybikelaval.fr/vigeant2025/assets/1920-400.jpg');
        aspect-ratio: 1920/400;
    }
    
}


h1 {
    text-align: center;
    text-transform: uppercase;
    margin: 1em;
}

.portfolio-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
}

@media screen and (min-width:768px) {
    .portfolio-menu .list-group {
        width: 46.5%;
    }
}


.portfolio-item {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 0;
    justify-content: space-evenly;
    align-items: center;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.portfolio-item img:hover {
    transform: scale(1.05);
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.fullscreen img {
    max-width: 90%;
    max-height: 80%;
}

.fullscreen.visible {
    visibility: visible;
    opacity: 1;
}

.download-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.pagination-photo {
    justify-content: center;
    margin-top: 20px;
}

.contact-option {
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-option h5 {
    color: #dc3545; /* Couleur rouge similaire au bouton "Envoyer" de votre formulaire */
}


/* HTML: <div class="loader"></div> */
.loader_container {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgb(0 0 0 / 65%);
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    animation: fadeout 1s linear 1s forwards;
    pointer-events: none;
}
@keyframes fadeout {
    0% {opacity:1}
    100% {opacity: 0;}
}
/* HTML: <div class="loader"></div> */
.loader {
    width: 80px;
    height: 70px;
    border: 5px solid #000;
    padding: 0 8px;
    box-sizing: border-box;
    background:
      linear-gradient(#fff 0 0) 0    0/8px 20px,
      linear-gradient(#fff 0 0) 100% 0/8px 20px,
      radial-gradient(farthest-side,#fff 90%,#0000) 0 5px/8px 8px content-box,
      #000;
    background-repeat: no-repeat; 
    animation: l3 2s infinite linear;
}
@keyframes l3{
    25% {background-position: 0 0   ,100% 100%,100% calc(100% - 5px)}
    50% {background-position: 0 100%,100% 100%,0    calc(100% - 5px)}
    75% {background-position: 0 100%,100%    0,100% 5px}
}

.from-left-and-back {
    background-image: linear-gradient(to right, #ff1028 45%, #000000 55%);
    background-size: 220% 100%;
    background-position: 100% 50%;
    cursor: pointer;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-repeat: no-repeat;
    transition: 0.5s ease-out;
}
.from-left-and-back:hover {
    background-position: 0% 50%;
    color: transparent;
}