/*Définition du format de page : fond, font, marges, largeur, ...*/
html {
	overflow-y:scroll; /* Force l'ascenceur en permanence */
}

body {
    margin: 0;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    color: #FFFFFF;
    background: url("../images/fondpage.png");
    font-family: Dayrom, Arial, sans-serif;
    font-size: 1.2em;
}

/*Définition de la grid*/
.container {
    display: grid;
    grid-template-rows: 80px 620px 10px 70px;
    gap: 0px;
}

/*Définition zone Logo, texte et menu*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px;
    border-radius: 10px;
    color: #CC6600;
}

/*Début texte RicCoDev*/
.logo-text {
    display: flex;
    align-items: center;
}

.brand-name {
    font-family: 'CalligraffitiRegular', cursive;
    font-size: 2em;
    margin-left: 25px;
}
/*Fin texte RicCoDev*/

/*Début logo RicCoDev*/
.logo {
    max-width: 50px;
    max-height: 50px;
}
/*Fin logo RicCoDev*/

/*Début menu entête*/
.menu {
	height: 30px;
	justify-content: flex-end;    	/* Alignements des liens dans le menu */
    font-size: 0.8em;				/* Taille du texte menu */
	float: right;
    text-align: center;
    margin-right: 90px;
    font-size: 0.9em;
}

.menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 10px;
    margin: 12px; /* Espacement entre les éléments */
}

.menu a {
    text-decoration: none;
    font-size: 1.em;
    color: #CC6600;
}

.menu a:hover
{
    color: #91c0f0;
    border-bottom: 2px solid red;
}

menu a:visited {
    color:#CC6600; /* Couleur au survol */
}
/*Fin menu entête*/


.slideshow-container {
    max-width: 900px;
    position: relative;
    margin: 20px auto;
    overflow: hidden;
    background-color: #07000002;
    /*padding-bottom: 60px; /* Espace pour la légende */
    /*border: 1px solid red;*/
}


.slide {
    display: none;
    animation: fade 0.2s ease;
}

.slide img {
    width: 600px;
    height: 100%;
    display: block;
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-family: Calibri, sans-serif;
    font-size: 18px;
    min-height: 60px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 45%; /* Ajusté pour tenir compte de la légende */
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-size: 18px;
    background-color: rgba(0,0,0,0.5);
    border: none;
    user-select: none;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.next {
    right: 0;
}

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

/**/
.dots-container {
    text-align: center;
    height: 20px;
    padding: 5px;
    /*background-color: #f5f5f533;*/
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.active, .dot:hover {
    background-color: #742222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 30px;
    margin-top: 5px;
    color: #c60;
    border-top: 3px solid #ffffff46;
}

.last-modified {
    font-size: 10px;
    color: #fff;
    max-height: 0.4em;
    margin-bottom: 10px;
}
.copyright {
    font-size: 1.2empx;
}

.icons img {
    max-width: 45px;
    margin: 0 5px;
}

.author {
    font-size: 1.2empx;
    margin-right:0px;
}


@keyframes fade {
    from {
        opacity: 0.4;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Style pour le compteur de slides */
.slide-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000000b3;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    z-index: 2;
}