body{
   overflow-y:hidden;
}
.hidden_div{
   display:none !important;
}
#safari_warning
{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #e72e2e;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px 50px 18px 50px;
}

#safari_warning p
{
	fon-weight:bold;
	font-size: 16px;
	color: white;
	text-align: center;
	line-height: 22px;
}

.img {
  border-radius: 20px;
    box-shadow: 10px 10px 1px rgb(1 1 1);
}
.inp_border{
    border: solid 3px;
    border-radius: 30px;
    width: max-content;
    padding-left: 15px;
}
.center{
    display:flex;
    justify-content:center;
    width:100%;
}
.hover_pointer:hover{
    cursor:pointer;
}	
.header--cta2{
position:absolute;
top:-5%;
left:50%;
-webkit-transform:translate(-50%, -50%);
transform:translate(-50%, -50%);
padding:0 20px;line-height:30px;
text-decoration:none;color:#fff;
font-weight:700;
text-transform:uppercase;
background-color:#0f33ff;
border:none;
opacity:0;
visibility:hidden;
-webkit-transition:opacity .4s ease-in-out,visibility 0s;
transition:opacity .4s ease-in-out,visibility 0s .4s;
}
.header--cta2:focus{outline:none}
.header--cta2.is-active{opacity:1;visibility:visible;-webkit-transition:opacity .4s ease-in-out .4s;transition:opacity .4s ease-in-out .4s}
@media (max-width: 767px){.header--cta2{display:none}}

@media (max-width: 765px){
    .work-request--options {
        -webkit-flex-direction: row !important;
    }
}
@media (min-width: 765px){
    .option-c{
    display:none !important;
    }
}

.cv_download:hover{
   background-color : #0722bd;
}
.next:hover{
   background-color: #514d4d !important;
}
.prev:hover{
   background-color: #514d4d !important;
}

.gallery {
    height: 80vh;
    width: 100%;
    display: flex;
    margin: 0% auto 0;
    box-sizing: border-box;
}

.leaning{
    top:auto !important;
    height:auto !important;
}

@media (max-width: 1180px) {

   @supports (-webkit-touch-callout: none) {
  
   }



  .gallery {
    
    width: 100%;
    display: flex;
    margin: 0% auto 0;
    box-sizing: border-box;
    flex-direction:column;
  }
  .image-box {
    margin: 5px !important;
  }
  .work{
    height:fit-content;
  }
}
.image-box {
    margin: 0 1%;
    flex-grow: 1;
    flex-basis: 0;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: black 5px 5px 5px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

.image-box:hover {
    cursor:pointer;
}

.gallery:hover .active {
    flex-basis: 0;
}


.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    color: #fff;
    transition: opacity 0.5s ease;
}

.description {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    opacity:0;
}
.image-box:hover .description .project-name {
    opacity: 1;
}

.category, .project-name, .description {
    text-align: center;
}

.category {
    font-size: 12px;
    color: #ffa700;
    font-weight: bold;
    word-wrap: break-word;
}
.project-name {
    font-size: 14px;
    word-wrap: break-word;
}
.btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin: 0 auto;
    opacity: 0;
}

/* Optional: Add a hover effect for the button */
.btn:hover {
    background-color: #0056b3;
}

.btn_modal {
    background-color: #4b5866;
    border-radius: 5px;
    border: none;
}
.btn_modal:hover {
    background-color: #6b7886;
    border-radius: 5px;
    border: none;
}

.modal_project {
    display: none; /* Par défaut, le modal est caché */
    position: fixed; /* Position fixe pour qu'il soit centré sur l'écran */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    background-color: #171a3b;
    padding: 20px;
    z-index: 1000; /* Assure que le modal soit au-dessus de tout le contenu */

}

/* Style pour le fond gris qui s'affiche lorsque le modal est ouvert */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fond gris semi-transparent */
    z-index: 999; /* Assure que l'overlay soit derrière le modal mais devant le contenu */
}
p {
    font-size: calc(0.2vw + 0.3vh + 1vmin);
}

* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.footer{
    display:flex;
    justify-content:flex-end;
    margin-top:2%;
}