@charset "UTF-8";
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    height: 100vh;
    position: relative;
    background-color: black; 
    
   

   
}


.body2 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    height: 100vh;
    position: relative;
    background-color: #AD0C0C; 
    cursor: auto;
  
    

   
}

/* Page de chargement */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    background-image:url("img_final/renegade.png"); background-repeat: repeat; 

    

}

.spinner {
    height: 160px;
    animation: spin 2s linear infinite ;
 }

.hidden {
    display: none;
}


.container-fluid {
    position: relative;
}

        /* Masquer img */
        .hover-image {
            display: none;
            position: fixed; /*  centrer img affiché */
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Centre l'image exactement au milieu de l'écran */
            width: 200px; 
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border-radius: 4px;
            z-index: 10; /* image apparaît au-dessus */
        }

        /* survol du home img */
        .projects:hover .hover-image {
            display: block;
            border: none; 
            box-shadow: none; 
        }

        /* Style du bouton */
        .projects {
            background-color: #007bff;
            color: #fff;
            border: none;
            padding: 10px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

/* Bouton stylisé */
.projects {
    padding: 10px 20px;
    border: 1px solid #000000;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
      
}

.projects:hover {
    text-shadow: 0 0 20px #f00, 0 0 30px #f00, 0 0 40px #f00, 0 0 30px #f00, 0 0 50px #f00;
     animation: glow 1s ease-in-out infinite alternate;
}


.glow-text, h4 {
    font-size: 60px;
    font-family: "Inter Tight", sans-serif;;
    color: #000000;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 10px;
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #AD0C0C, 0 0 30px #AD0C0C, 0 0 40px #AD0C0C, 0 0 50px #AD0C0C, 0 0 60px #AD0C0C, 0 0 70px #AD0C0C;
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #FF0004, 0 0 40px #FF0004, 0 0 50px #FF0004, 0 0 60px #FF0004, 0 0 70px #FF0004, 0 0 80px #FF0004;
    }
}

.email-link {
    position: relative;
    text-decoration: none;
}

.email-link:hover::after {
    content: " click to contact me!";
    position: static;
    left: 100%; 
    top: 0;
    background-color: none;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    white-space: nowrap;
    transform: translateX(5px);
    font-size: 0.3em;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-style: normal;
    
}

.email-link:hover::after {
    opacity: 1;
}


















.container-fluid {
    position: relative;
     box-shadow: none;
    border-box: none,
}

/* Bouton stylisé */
.projects {
    padding: 10px 20px;
    background-color: #000000 ;
    cursor: pointer;
    transition: background-color 0.3s;
}




.inter-tight-weight {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-style: bolder;
}

nav {
    position: fixed;
    display: flex;
    gap: 10px;
    font-family: "Inter Tight", sans-serif;
    font-weight: bolder; 
    font-size: 40px ; 
    text-transform: uppercase; 
    z-index: 999; 
}

.top-left {
    top: 10px;
    left: 10px;
}

.top-right {
    top: 10px;
    right: 10px;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
}

/* Styles pour les liens de navigation */
nav a {
    text-decoration: none;
    padding: 10px 15px;
    background-color:none; 
    border-radius: 10px; 
   color:white; 
    animation-duration: background-color 0.2s;
 

}

nav a:hover 
    {background-color: none;
           animation: glow 1s ease-in-out infinite alternate;
}


a
{ text-decoration-line: none; 
}

.projects
{background-color:#AD0C0C; 
  
text-decoration: none; 
border-radius: 10px; 
align-content: center;
align-items: center;
box-decoration-break: clone;}

.projects:hover
{background-color: black; 
}

h2
{ font-weight: 600; 
margin-bottom: 0em;
text-transform: uppercase; }

h3 
{ font-weight: 800; 
margin-bottom: 0em;
text-transform: uppercase; 
}

p
{ font-weight: 600; 
margin-bottom: 0em;
 }

h4
{ font-weight: 800; 
margin-bottom: 0em;
text-transform: uppercase; 
    color:white; 
}

/* Responsivité */
@media (max-width: auto) {
    nav {
        flex-direction: column;
    }
}



.gallery img {
  
    cursor: pointer;

}

/* Style de la lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 80%;
    
        
    
}

.slides {
    display: flex;
    justify-content: center;
  
}

.lightbox img {
    /* width: 50%; */
    max-height: 100vh;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #AD0C0C;
    font-size: 35px;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color:  #AD0C0C;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}




 ::after, ::before {
  box-sizing: inherit;
}

@media (max-width: 768px) {
    .lightbox-content, .lightbox {
        display: none !important;
    }
}










