@font-face {
    font-family: 'OwnersWide-Regular';
    src: url('ressources/owners/OwnersWide-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OwnersWide-Medium';
    src: url('ressources/owners/OwnersWide-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OwnersXWide-Regular';
    src: url('ressources/owners/OwnersXWide-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OwnersXWide-Medium';
    src: url('ressources/owners/OwnersXWide-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OwnersXWide-Bold';
    src: url('ressources/owners/OwnersXWide-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'OwnersWide-Regular' , sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F9F9F9;
    font-size: 16px;
    letter-spacing: 1px; /* Ajustez la valeur pour augmenter ou diminuer l'espacement */
    cursor: none;

}

#smooth-content {
    padding-bottom: 120px; /* Ajuste selon la hauteur réelle du footer */
}

.container-fluid{
    --bs-gutter-x:none;
}

main{
    margin-top: 4.5%;
    width: 100%;
    padding: 0.8% 4% 0% 4%;
    }
    

h1{
    text-align: center; 
    font-family: 'OwnersXWide-Bold';
    font-size: 1.4rem;
    color: #2E294E;
    background-color: #D1D3FF; 
    display: inline-block;
    line-height: 0.1; 
    padding-bottom: 1rem ;
    padding-left: 2%;
    padding-right: 2%;
    word-wrap:break-word;
}


.section-title{
    font-family: 'OwnersXWide-Medium';
    color:#2E294E;
    text-transform: uppercase; 
    font-size: 1.5rem;
    text-align: left;  /* Assurez-vous que le titre soit aligné à gauche */
    margin-top: 2%;
    margin-bottom: 2%;
}



#projectSlider {
    max-width: 90%; /* Largeur adaptable */
    margin: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(46, 41, 78, 0.2);

}

#projectSlider .carousel-item img {
    width: 100%;
    height: 80vh;  /* 50% de la hauteur de l'écran */
    object-fit: contain; /* L'image garde son ratio sans être coupée */
    border-radius: 8px; /* Arrondit les bords des images */

}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: contain;
    transition: filter 0.1s ease; /* Animation fluide pour le hover */

}

/* Flèche gauche */
.carousel-control-prev-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 2L4 8l6 6" stroke="%23909cdb" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.carousel-control-prev {
    left: 0;
    justify-content: flex-start;
}

/* Flèche droite */
.carousel-control-next-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 2l6 6-6 6" stroke="%23909cdb" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.carousel-control-next {
    right: 0;
    justify-content: flex-end;
}

/* Hover : change la couleur en #2E294E */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) saturate(100%) invert(15%) sepia(20%) saturate(500%) hue-rotate(200deg); /* Transforme en #2E294E */
}


a{
    font-style: normal;
    color: #909cdb;
}

.credits p{
    font-size: 0.80rem;
    margin-top: 0;
}




/* Footer */
#footer {
    background: rgba(249, 249, 249, 0.75);
    box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.25);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
#footer .container{
    margin-left: auto;
    margin-left: auto;

}
.footer-icon {
  width:40%; /* Ajuste la taille des icônes */
}

.footer-credits {
  font-family: 'OwnersWide-Regular';
  font-size: 0.6rem;
  color: #2E294E;
  margin: 0;
}


/* Pour les écrans plus petits que 768px */
@media (max-width: 767px) {

    main{
    margin-top: 3vh;
    }
    a.btn{
        opacity:0;
    }
    h1 {
        font-size: 1.2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    #projectSlider .carousel-item img {
        height: 30vh;
    }

    .credits p {
        font-size: 0.75rem;
    }

    .footer-icon {
        width: 50%;
    }
}
