html {
    scroll-behavior: smooth;
}

body {
    background-image: url("images/fond.JPG");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed ;
    margin : 0;

}


.zonefloue {
    width: 90%;
    margin: 20px auto; 
    padding: 20px 20px 10px 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    color: white;
}
.garde {
    margin-top: 0;   
    padding: 0 20px;
}


.garde p {
    font-family: "Orbitron";
    color: white;
    text-align: left;
    line-height: 1;
    margin: 0;
    white-space: pre-line;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 5px;
    
    font-size: clamp(30px, 10vw, 180px); 
    max-width: calc(100% - 40px);        
    box-sizing: border-box;
    word-wrap: break-word;               
}
.overlay-blanc { 
    min-height: 100vh;  
    width: 96%; 
    margin: 0 auto; 
    background: rgba(255, 255, 255, 0.15); 
    border-radius: 40px; 
    position: relative; 
    transform: translateY(70px); 
    margin-top: 120px; 
    padding: 40px;  
    box-sizing: border-box;
    backdrop-filter: blur(20px);       
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.orbitron-tipo {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.rock-salt-regular {
  font-family: "Rock Salt", cursive;
  font-weight: 400;
  font-style: normal;
}


h1{
    font-family: "Orbitron";
    color: white;
    text-align: center;
    font-size: 15px;

}

h2 {
    text-align: center;
    font-family: "Orbitron";
    font-size: 60px;
    margin-bottom: 40px;
    margin-top: 0;
    color: white;   
}

h3 {
    font-family: "Orbitron";
    color: white;
    font-size: 80px;          
    margin-top: 40px;         
    margin-left: 40px;        
    margin-bottom: 40px;
    text-align: left;
}

h4 {
    font-family: "Orbitron";
    color: white;
    font-size: 25px;           
    margin-left: 40px;         
    margin-top: 120px;         
    margin-bottom: 40px;
    line-height: 1.4;          
    max-width: 40%;            
}

h5 {
    font-family: "Orbitron";
    color: rgb(0, 0, 0);
    font-size: 80px;          
    margin-top: 40px;         
    margin-left: 40px;        
    margin-bottom: 40px;
    text-align: left;
}

h6 {
    font-family: "Orbitron";
    color: rgb(0, 0, 0);
    font-size: 25px;           
    margin-left: 40px;         
    margin-top: 120px;         
    margin-bottom: 40px;
    line-height: 1.4;          
    max-width: 40%;            
}

.bande-defilante {
  width: 100%;
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;     
  background-color: rgba(255,255,255,0.1);
  margin: 0;   
  border-radius: 50px;       
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);         
  border: 1.5px solid rgba(255, 255, 255, 0.7);   
}

.defile {
  display: inline-block;
  white-space: nowrap;
  font-family: "Orbitron";
  font-size: 20px;
  color: white;
  animation: defilement 10s linear infinite;
}

@keyframes defilement {
  0%   { transform: translateX(100vw); }   
  100% { transform: translateX(-100%); }   
}

.item {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
}

.item-link .label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; 
    color: white; 
    font-family: "Orbitron";
    font-size: 24px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}


.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}


.item-link:hover img {
    transform: scale(1.05);
    filter: blur(4px);
}


.item-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1; 
}


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


.item-link:hover .label {
    opacity: 1;
}

.item-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.grid-images {
    display: grid;
    grid-template-columns: 1fr 1fr;  
    gap: 30px;                       
    width: 90%;
    margin: 50px auto;
}

.grid-images .item {
    width: 100%;
    height: 420px;       
    overflow: hidden;
    overflow: hidden;      
    border-radius: 40px;
}

.grid-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;   
    display: block;
    transition: transform 0.4s ease;
    
}

.grid-images img:hover {
    transform: scale(1.05);
   
}

.fleche-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.fleche-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.fleche-link {
    display: inline-block;
    cursor: pointer;
    padding: 0;
}

.fleche {
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-arrow 1.8s ease forwards, bounce 1.6s ease-in-out infinite 2s;
}

.fleche-link:hover .fleche {
    stroke: rgba(255,255,255,0.8);
}


@keyframes draw-arrow {
    to {
        stroke-dashoffset: 0;
    }
}


@keyframes bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(8px); }
    100% { transform: translateY(0); }
}




body.fauteuil {
    background-image: url("images/moine.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}

body.autoportrait {
    background-image: url("images/autoportrait2.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}
body.stromae {
    background-image: url("images/marionb.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}
body.cera {
    background-image: url("images/bonhommes.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}
body.viny {
    background-image: url("images/couvpomme.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}
body.sky {
    background-image: url("images/jt.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}
body.it {
    background-image: url("images/ititi.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
}
.overlay-page {
    position: fixed;
    top: 20px;           
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    height: calc(100vh - 40px);  
    margin: 0;
    padding: 40px;       
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    overflow: hidden; 
}


.slider {
  width: 700px;
  height: 600px;
  position: absolute;  
  top: 50%;            
  left: 75%;           
  transform: translate(-50%, -50%); 
  overflow: hidden;
  border-radius: 10px;
}

.slides {
  width: 300%;
  height: 100%;
  display: flex;
  transition: transform 0.6s ease;
}

.slides .img {
  width: calc(100% / 3);
  flex-shrink: 0;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

input[type="radio"] {
  display: none;
}


#slide1:checked ~ .slides { transform: translateX(0); }
#slide2:checked ~ .slides { transform: translateX(-33.3333%); }
#slide3:checked ~ .slides { transform: translateX(-66.6666%); }


.navigation {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.navigation label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}

#slide1:checked ~ .navigation label:nth-child(1),
#slide2:checked ~ .navigation label:nth-child(2),
#slide3:checked ~ .navigation label:nth-child(3) {
  background: #333;
}





