
/*rajouter header titre ou jsp*/

img{
    width: 30%;}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

 
 
.double-r a { 
display: flex; 
justify-content: center; 
font-size: 100px; 
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-align: center; 
transition: 0.5s; 
margin-top: 90px; 
text-decoration: none; 
color: currentColor; 
} 
 
 
.double-r a:hover { 
-webkit-text-stroke: 3px #f87001; 
color: transparent; 
} 

h2 {
    text-align: center;
    text-decoration: none;
    text-decoration-line: none;
}

nav{ 
    display: flex;
    justify-content: space-between;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
 

 .slider-container{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: rgb(255, 255, 255);

}

.bas{
    width: 50%;
    height: 50%;
}

.slider-images{
    display: flex;
    align-items: center;
    gap:5px;
}

.slider-images .bas {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 6px;

}

.slider-img{
    width: 90px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: 0.7s ease; 
}

.slider-images .slider-img:first-child, .slider-images .slider-img:last-child{
    height: 400px;
}

.slider-images .slider-img:nth-child(1), .slider-images .slider-img:nth-child(5)
{    height: 480px;
}

.slider-images .slider-img:nth-child(2), .slider-images .slider-img:nth-child(3), .slider-images .slider-img:nth-child(4){
    height: 605px;
}

.nom{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(18, 0, 0);
    position: absolute;
    top: 45%;
    left: -20%;
    transform: rotate(270deg);
    transition: 0.7s ease;
}

.details{
    bottom: 43px;
    left: 43px;
    text-align: center;
}

.details .nom{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    line-height: 44px;
    text-align: left;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    transition: 0.7s ease;
    display: none;

}

.details p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    line-height: 33px;
    text-align: center;
    color: rgb(255, 255, 255);
    transition: 0.7s ease;
    display: none;
}

.slider-img.active{
    width: 766px !important;
    height: 750px !important;
}

.slider-img.active .nom{
    display: none;
}

.slider-img.active .details p, .slider-img.slider-img.active .details .nom{
    display: block;
}

body{
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
    position: relative;
    line-height: 1.45;
}

section {
    color: gold;
    width: 100%;
    margin-bottom: 50px;
    transform: translateY(50%);
    transition: 0.5s;
}

section:first-child {
    transform: translateY(0);
}

section.active{
    transform: translateY(0);

}

 .ok{
    text-decoration: none;
    color: rgb(0, 0, 0);
    text-align: center;
}

.ok:hover{
    font-size: larger;
    transition: 0.3s;
}

a{
    text-decoration: none;
}
