/* bloc pour portable - à enlever quand le site mobile sera prêt - faire les autres pages sur mobile */

.portable{
      display: none;
    }

 /* S'affiche sur écrans ≤ 960px */
    @media (max-width: 960px) {
      .portable{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        object-fit: cover; /* pour remplir l’écran proprement */
        z-index: 3000;       /* dessus le contenu */
      }
	}

/*fin du bloc portable*/

/* --- RESET / BASE --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', Georgia, serif;
    background-color: #eaeaea;
}

#bandeautitre {
    background-image: url("marbrenoir.jpg");
    border-bottom: 2px solid #c2c2c2;
    width: 100%;
    position: relative;
    text-align: center;
    padding: 6px 0;
}

.logo {
    position: absolute;
    left: 1%;
    top: 50%;
    transform: translateY(-50%);
}

.titre {
    margin: 1px;
    color: white;
    font-weight: bold;
    font-size: 2.5rem;
    text-shadow: 0 0 2px black;
}

.soustitre {
    font-family: 'Dancing Script', cursive;
    color: #c2c2c2;
    font-weight: lighter;
    font-style: oblique;
    font-size: 1.6rem;
    text-shadow: 0 0 1px grey;
    margin-top: 10px;
	margin-bottom: 5px; 
}

/* --- Couv --- */
.couv {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    width: 55px;
	height: auto; 
    border: 2px solid white;
    opacity: 0.6;
}

/* --- MENU --- */
.menu {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu li {
    position: relative;
    flex: 1;
    text-align: center;
    border: 1px solid #cdcdcd;
    border-bottom: 2px solid #d3d3d3;
    background-image: url("marbre.jpg");
}

.menu a {
    display: block;
    padding: 3px 0;
    font-weight: bold;
    font-size: 1.1rem;
    color: #262D37;
    text-decoration: none;
}

.sousmenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-image: url("marbre.jpg");
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.sousmenu li {
    border-bottom: 1px solid #DBDBDB;
}

.menu li:hover .sousmenu {
    display: block;
}

.sousmenu a {
    padding: 3px 0;
    font-style: oblique;
	font-weight: normal;
}

.menu a:hover, .sousmenu a:hover {
    background-color: #262D37;
    color: #e7e7e7;
    font-weight: bold;
}

/*--Fin de la partie commune--*/


/* --- TITRE ET PARAGRAPHE --- */
.titre1 {
    font-family: 'Dancing Script', cursive;
    text-align: center;
    font-size: 1.7rem;
    text-decoration: underline;
    margin-top: 20px;
	margin-bottom: -45px;
}

.paragrapheaccueil1, .paragrapheaccueil2 {
    max-width: 80%;
    margin: 20px auto;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- VIDEO ET IMAGES ENCADRANTES --- */

.video {
    display: block;
    border: 1px solid grey;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    z-index: 10;
    position: relative;
	margin-left: 25%;
	margin-top: 10px; 
	margin-bottom: 40px;
	position: relative;
    max-width: 1240px;
	width: 50%;
}

.imagegauche, .imagedroite {
    position: absolute;
    margin-top: 5%;
    width: 110%;
    max-width: 400px;
    border: 1px solid grey;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    opacity: 0.7;
    z-index: 5;
	padding: 1px;
	background-color: white;
}

.imagegauche{
	margin-left: 10%;
}

.imagedroite{
	margin-left: 60%;
}

/* --- BANDEAU DU BAS --- */
.retour {
    position: relative;
	margin-top: 50px;
	margin-bottom: 0px;
    bottom: 0;
    width: 100%; 
	height: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url("marbrenoir.jpg");
    border-top: 2px solid black;
    text-align: center;
    padding: 2px 0;
    z-index: 200;
}

.retour a {
    color: #eeeeee;
    text-decoration: underline;
    font-weight: bold;
}

@media screen and (max-width: 920px) { /*suppression des gros elements quand la fenetre se réduit*/
	.retour, .imagegauche, .imagedroite, .video{
		display: none;
	}


/* --- RESPONSIVE --- */
@media screen and (max-width: 1024px) {
    .video-container {
        width: 80%;
    }
    .imagegauche, .imagedroite {
        width: 30%;
        max-width: 150px;
    }
}

@media screen and (max-width: 768px) {
    #bandeautitre {
        padding: 10px 0;
    }
    .titre {
        font-size: 2rem;
    }
    .soustitre {
        font-size: 1.2rem;
    }
    .menu li {
        flex: 100%;
    }
    .video-container {
        width: 100%;
    }
    .imagegauche, .imagedroite {
        display: none;
    }
    .retour {
        width: 90%;
        font-size: 0.9rem;
    }
}
