
/* SLIDER  */

#slider-show{
    position: relative;

    height: 480px;
    width: 100%; 

    overflow: hidden;  
    scroll-behavior: smooth;

    
}

#slides{
    display: flex;
  
    width: 500%;
    height: 100%;
    
}

.slide{
    position: relative;
    width: 100%;
    height: 100%;  
   
}

.slide img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;

}


/*DESCRIPTION*/
.s-desc{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: fit-content;
    height: fit-content;
    
    margin: 100px 50px 0 15%;

    color: white;

    
    z-index: 2;


}
.s-desc h2{

    border-bottom: 4px solid #c04542;
    color: white;
}
.s-desc p{
    width: fit-content;
    
    font-weight: 500;
    font-size: 1em;
    line-height: 1.42;

    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #fff;
}
.s-desc a{
    margin-top: 10px;
    font-size: .9em;

}



/* NAVIGATION  */
.s-nav{
    position: absolute;
    top: 35%;
    width: 500%;

   
    
}
.s-btns{
    position: sticky;
    left: 0px;
    width: calc(100% / 5 );

    display: flex;
    justify-content: space-between;  
    
}

.s-nav-btn{
    
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 150px;

    color: white;
    background-color: rgba(0, 0, 0, 0.507);

    font-size: 2em;
   

    cursor: pointer;
    text-decoration: none;

    transition: all .25s ease-in-out;
}


/* survole souris btn nav */
.s-nav .s-nav-btn:hover{
    background-color: #222222;
    border: none;
    color: rgb(255, 255, 255);

    transform: scale(1.1);
    transition: all .25s ease-in-out;
}

#s-nav-btns-rad{
    display: flex;
    position: sticky;
    bottom: 10px;
    left: 0;
    right: 0;
    justify-content: center;
}

#s-nav-btns-rad a{
    width: 13px;
    height: 13px;
    background-color: rgba(0,0,0,0.5);
    margin: 5px;
   
    border-radius: 50%;
}


/* etat par défaut btn nav slider et du aside quand rien est ciblé */
#s-nav2,#s-nav3,#s-nav4,#s-nav5
{
    visibility: hidden;
}
    
    
/* etat par défaut btn nav*/
#s-un:target ~ .s-btns,#s-deux:target ~ .s-nav,#s-trois:target ~ .s-nav,
#s-quatre:target ~ .s-nav,#s-cinq:target ~ .s-nav

{
    visibility: hidden;
}

/* etat lors d'un ciblage  */
#s-un:target ~ #s-nav1,#s-deux:target ~ #s-nav2,#s-trois:target ~ #s-nav3,
#s-quatre:target ~ #s-nav4,#s-cinq:target ~ #s-nav5

{
    visibility: visible;
}


@media screen and (max-width: 460px) {

    .s-desc{
        margin-top: 50px;
    }
}