
/* FONTS */
@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/FuturaStdLight.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'CustomFont', sans-serif;
    color: #02046f;
}

h1, h4{
    color: #02046f;
}

/* MOBILE MENU ICON */
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%2303046c' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


a.instagram {
    color: #02046f !important;
    text-decoration: none;
}
.email{
    color: #02046f !important;
}

.nav-link {
    color: #02046f !important;
}

a.text-decoration-none:hover {
    text-decoration: underline !important;
}

/* CONTAINER */
.container {
    max-width: 1200px;
}
.container-contact {
    max-width: 1200px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* NAVBAR */
.navbar {
    background-color: #ffffff !important;
    padding:0
}

.background-shadow {
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.image-container {
    aspect-ratio: 12 / 16;
}

.image-container img{
    width: 100%;
    height: 100%;
    /* height: auto; */
    object-fit: cover;
}
.image-column {
    padding-left: 4.5rem;
    padding-right: 4.5rem;
}

.img-contact {
    height: 75vh;
    width: 100%;
    object-fit: cover;
}

.carousel-control-prev{
    color: red;
}

/* .image-content-carousel {
    height: 80vh;
    display: flex;
    justify-content: center;
}
.image-carousel {
    object-fit: cover;
    aspect-ratio: 9/16;
    height: auto;
    width: auto;
} */

.image-content-carousel {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center; /* Centre l'image verticalement */
    overflow: hidden; /* Empêche tout dépassement */
}

.image-carousel {
    object-fit: contain; /* Assure que l'image est entièrement contenue dans le conteneur */
    /* aspect-ratio: 9/16; */
    max-height: 80vh; /* La hauteur maximale est égale à la hauteur de la fenêtre */
    max-width: 100vw; /* La largeur maximale est égale à la largeur de la fenêtre */
    height: auto;
    width: auto;
}



.contact-info {
    width: 20rem;
}


.row-diary {
    display: flex;
    flex-wrap: wrap; /* Pour permettre le wrapping si nécessaire */
}
.content-image {
    display: flex; /* Flexbox sur chaque div contenant l'image */
    align-items: stretch;
}

/* DIARY  */
.image-diary{
    height: 100%;
    width: 100%;
    /* height: auto; */
    object-fit: cover;
}

@media (max-width: 767px) {
    .image-column {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .image-carousel{
        aspect-ratio: 9/16;
    }
    .image-diary{
        height: auto;
        object-fit: cover;
        margin: 1px
    }
  }

.logo {
    width: 8rem;
}
.logo_rond {
    width: 5.1rem;
}

/* Button */
.btn-primary {
    color: #02046f;
    background: none;
    border-color: #02046f;
}
/* Button */
.btn-secondary {
    color: #ffffff;
    background: #02046f;
    border-color: #02046f;
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 2px;
    letter-spacing: 2px;
    transition: 0.2s;
}
.btn-secondary:hover {
    background: #01023e;
}

h1 {
    text-align: center;
}

.text-faded {
    color: #02046fb3 !important;
}

/* IMAGE GALLERY */
.gallery {
    width: 500px;
    text-align: center;
    background-color: #F4F4F2;
    padding: 1rem;
  }
  
  .main-image-container img {
    width: 27rem;
    height: auto;
    border-radius: 8px;
  }
  
  .thumbnails {
    display: flex;
    justify-content: space-between;
  }
  
  .thumbnail {
    width: 100px;
    height: auto;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border-radius: 8px;
  }
  
  .thumbnail:hover,
  .thumbnail.active {
    opacity: 1;
  }

/* ISOTOPE MASONRY */
/* ---- grid ---- */

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Crée des colonnes flexibles */
    grid-gap: 16px; /* Espace entre les éléments */
  }
  
  .masonry-item {
    overflow: hidden;
    break-inside: avoid; /* Évite que les éléments se cassent entre les colonnes */
  }
  
  .image-container-masonry img {
    width: 100%;
    display: block;
    height: auto;
  }
  .image-container-masonry {
    height: auto;
  }
  
  
  .img-masonry {
    border-radius: 8px; /* Arrondir les coins des images */
    transition: transform 0.3s ease-in-out;
    height: auto;
  }
  
  .img-masonry:hover {
    transform: scale(1.05); /* Effet de zoom au survol */
  }
  
  /* end -- ISOTOPE MASONRY */

.mySwiper{
    background-color: #ffffff;
}

/* @media (max-width: 768px) {
    video {
        max-height: none !important;
        height: 40vh !important;
        object-fit: cover !important;
    }
} */

/* VIDEO 16:9 RATIO */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .video-container {
        height: 80vh !important;
    }
}

.video-container video {
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

  
/* end -- VIDEO 16:9 RATIO */

/* BOUTON EPUISE */
.btn-epuise {
    background-color: #f8f9fa; /* gris très pâle */
    border: 1px solid #ced4da; /* gris clair */
    color: #6c757d; /* gris moyen pour le texte */
    cursor: not-allowed;
    opacity: 1;
    font-weight: 400;
    padding: 0.75rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-epuise:hover {
    background-color: #f1f3f5; /* un peu plus foncé au survol, mais toujours désactivé */
}

/* end -- BOUTON EPUISE */