/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*  MEDIA QUERIES START - Mobile First Approach  */
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Default (XS) styles */
.box {
    height: 75px;
}

#btnConnectTemplate,
#btnDeconnectTemplate {
    right: 110px;
    top: 15px;
}

/* Small (sm) */
@media (min-width: 576px) {
    .box {
        height: clamp(75px, 15vw, 120px);
    }
}

/* Medium (md) */
@media (min-width: 768px) {
    #containercarousel {
        padding-bottom: 100px;
    }
    
    .box {
        height: clamp(120px, 18vw, 150px);
    }

    #btnConnectTemplate,
    #btnDeconnectTemplate {
        right: 70px;
    }
}

/* Large (lg) */
@media (min-width: 992px) {
    .box {
        height: clamp(150px, 20vw, 175px);
    }

    #blogContainer {
        margin: 20px;
    }
}

/* X-Large (xl) */
@media (min-width: 1200px) {
    .box {
        height: clamp(175px, 22vw, 200px);
    }

    #btnConnectTemplate,
    #btnDeconnectTemplate {
        right: 20px;
    }
}

/* XX-Large (xxl) */
@media (min-width: 1400px) {
    .box {
        height: clamp(200px, 25vw, 250px);
    }
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*  MAX-WIDTH OVERRIDES  */
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
@media (max-width: 767.98px) {
    #containercarousel {
        padding-bottom: 320px;
    }

    #rowAdminPannelBlog {
        height: 145px;
    }

    #div1vueBlog,
    #ajouterContenu,
    #contenujouter {
        margin-top: 100px;
    }
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*  LAYOUT STRUCTURE  */
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
#header,
#footer,
#content {
    position: absolute;
    right: 0;
    left: 0;
}

#header {
    position: relative;
    z-index: 10;
    height: 75px;
    top: 0;
}

#footer {
    height: 90px;
    bottom: 0;
}

#content {
    top: 75px;
    bottom: 90px;
    background-color: transparent;
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*  COMPONENT STYLES  */
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.navbar-collapse {
    text-align: left;
    z-index: 1;
    background-color: transparent;
}

.carousel-control-prev {
    z-index: 2;
}

button,
#btnSupprimerBlog {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    min-width: 44px;
    min-height: 44px;
}

button:focus-visible {
    outline: 2px solid #32435c;
}

.navbar-nav > li {
    padding-left: 10px;
    padding-right: 10px;
}

/* Bio Section */
.photoBio {
    width: 200px;
    height: 200px;
    background-size: cover;
    float: left;
    margin: 20px;
    aspect-ratio: 1/1;
}

/* Events Section */
.photoEvent {
    width: 100%;
    height: auto;
    background-size: cover;
    float: left;
    margin: 20px;
    aspect-ratio: 16/9;
}

/* Gallery Section */
.min {
    display: inline-block;
    float: left;
    margin: 0 1px 1px 0;
    position: relative;
    height: 224px;
    width: 300px;
    margin-left: 8px;
}

.min img {
    height: 75%;
    padding-top: 7px;
    width: 100%;
    object-fit: cover;
}

img.img-fluid {
    max-width: 100%;
    height: auto;
   /* display: block; */
    object-fit: cover;
}

.couverture-livre {
  height: 340px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.infos-livre {
  text-align: center;
  color: #32435c;
  font-size: 16px;
}


@media (max-width: 767px) {
  .row > div {
    margin-bottom: 20px;
  }
}

/* Calendar Section */
.calandar__table {
    width: 35%;
    height: 128px;
}

.calandar__table td {
    padding: 10px;
    border: 1px solid white;
    vertical-align: top;
    width: 14.29%;
}

.calandar__table--6weeks td {
    height: 153.6px;
}

.calandar__weekday {
    font-weight: bold;
    color: white;
    font-size: 1.2em;
}

.calandar__day {
    color: white;
    font-size: 1.3em;
}

.calendar__othermonth .calandar__day {
    opacity: 0.3;
}

/* Shopping Cart */
.toggler {
    width: 500px;
    height: 120px;
    display: none;
    position: fixed;
    top: 40%;
    left: 40%;
    z-index: 1;
}

#effect {
    width: 240px;
    height: 120px;
    padding: 0.4em;
    position: relative;
}

#roman-bg {
  position: relative;
  top: 75px;
  bottom: 90px;
  /*left: 0;*/
  width: 100%;
  /*height: 100%;*/
  z-index: -1;
  /*background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;*/
  opacity: 0.3; /* Ajustable selon la lisibilité */
  filter: brightness(0.9); /* Adoucit les contrastes */
}

#pageInvite {
  position: relative;
  z-index: 1;
}

#menu {
  position: relative;
  z-index: 10;
}

.voile-texte {
  background-color: rgba(255, 255, 255, 0.50); /* voile blanc doux */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 1;
  position: relative;
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*  MEDIA QUERIES END  */
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/