/* =====================================================
STYLE.CSS - THÈME BIEN RANDONNER
Noir / Gris anthracite / Doré
===================================================== */

/* RESET */

*{
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
margin:0;
background:#2f2f2f;
color:#f0f0f0;
font-family:Verdana, Arial, sans-serif;
}

/* =====================================================
TITRES
===================================================== */

h1,h2,h3{
color:#c8a85a;
font-weight:normal;
}

h2{
border-bottom:1px solid #666;
padding-bottom:5px;
}

/* =====================================================
HEADER
===================================================== */

header{
background:#1f1f1f;
border-bottom:2px solid #c8a85a;
border-radius:0 0 20px 20px;
padding:25px;
text-align:center;
box-shadow:0 4px 12px rgba(0,0,0,.4);
}

header h1{
margin:0;
font-size:40px;
}

header p{
color:#d5d5d5;
}

/* =====================================================
CONTENEUR PRINCIPAL
===================================================== */

.contenu{
max-width:1200px;
margin:20px auto;
padding:25px;
background:#3b3b3b;
border:1px solid #555;
border-radius:15px;
box-shadow:0 3px 8px rgba(0,0,0,.35);
}

/* =====================================================
BLOCS
===================================================== */

.bloc{
background:#3b3b3b;
border:1px solid #555;
border-radius:15px;
padding:20px;
margin-bottom:25px;
box-shadow:0 3px 8px rgba(0,0,0,.35);
}

.encadre{
background:#444;
border-left:4px solid #c8a85a;
border-radius:10px;
padding:15px;
margin:20px 0;
}

/* =====================================================
TEXTE
===================================================== */

p{
line-height:1.8;
}

a{
color:#d9b96d;
}

a:not(.bouton):not(.hautpage):hover{
color:#f0d48a;
text-shadow:
  1px 1px 2px red,
  0 0 1em blue,
  0 0 0.2em blue;
}

/* =====================================================
PIED DE PAGE
===================================================== */

footer{
    text-align:center;
    color:#aaa;
    padding:25px;
    margin-top:30px;
    }

/* =====================================================
BOUTONS
===================================================== */

.boutons{
    position:fixed;
    left:20px;
    bottom:20px;
    }

/* =====================================================
HAUT DE PAGE
===================================================== */

.hautpage{
    position:fixed;
    right:20px;
    bottom:20px;
    }

/* =====================================================
BOUTON ET HAUT DE PAGE
===================================================== */

.bouton,
.hautpage{
    display:inline-block;
    background:#444;
    color:#f1d18a;
    text-decoration:none;
    border:1px solid #c8a85a;
    border-radius:30px;
    padding:12px 18px;
    box-shadow:0 3px 8px rgba(0,0,0,.4);
    transition:background .3s,color .3s,box-shadow .35s;
    z-index:999;
}

.bouton:hover,
.hautpage:hover{
    background:#666;
    color:#fff;
    text-decoration:none;
    text-shadow:none;
    box-shadow:0 0 15px rgba(218,165,32,.5);
}

/* =====================================================
SCROLLBAR
===================================================== */

::-webkit-scrollbar{
width:10px;
height:10px;
}

::-webkit-scrollbar-thumb{
background:#c8a85a;
border-radius:10px;
}

::-webkit-scrollbar-track{
background:#333;
}

/* ===========================================
                 - DIAPORAMA - 
   =========================================== */

   .card-image{
    width:30%;
    display:flex;
    justify-content:center;
    margin:40px auto;
}

.card-image:hover .premium-slider{
    border:1px solid #C8A85A;
    box-shadow:
        0 0 50px 15px rgba(200,168,90,.30),
        0 0 110px 40px rgba(200,168,90,.18),
        0 0 200px 75px rgba(200,168,90,.08);
}

.premium-slider{
    width:100%;
    aspect-ratio:3/4;
    overflow:hidden;
    border-radius:16px;
    border:3px solid #8f7440;
    box-shadow:0 8px 20px rgba(0,0,0,.5);
    transition:all .35s ease;
}

.slider{
    display:flex;
    width:700%;
    height:100%;
    transition:transform .8s ease-in-out;
}

.slider figure{
    width:14.285714%;
    height:100%;
    flex-shrink:0;
    margin:0;
    position:relative;
}

.slider img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
}

.slider figcaption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:12px;
    background:rgba(0,0,0,.7);
    color:#fff;
    text-align:center;
}

@media (max-width:768px){

    .card-image{
        width:100%;
    }

    .premium-slider{
        max-width:100%;
    }

}

