
/* ------------------------------
   RESET + BASE
--------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Tahoma, Geneva, sans-serif;
    background: #f5f5f5;
    color: #222;
}

body {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* ------------------------------
   TITRES
--------------------------------*/
h1, h2, h3, h4 {
    margin-bottom: 10px;
    font-family: Arial, Tahoma, sans-serif;
}

h2 {
    color: brown;
}

mark {
    background: #fcffa4; /* pour modifier la couleur du surlignage */
}

/* ------------------------------
   LIENS
--------------------------------*/
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ------------------------------
   FLEXBOX
--------------------------------*/
.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ------------------------------
   IMAGES
--------------------------------*/
img {
    display: block;
    border-radius: 4px;
}

.premier {
    width:200; /*125px;*/
    height: auto;
}

/* ------------------------------
   CARTES / BLOCS AVEC OMBRE
--------------------------------*/
.ombre {
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    padding: 15px;
    background: white;
    border-radius: 6px;
    margin: 20px 0;
}

.rectangle {
    width: 100%;
    max-width: 700px;
    margin: auto;
}

/* ------------------------------
   PARAGRAPHES
--------------------------------*/
p {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* ------------------------------
   IFRAMES (vidéos)
--------------------------------*/
iframe {
    border: none;
    border-radius: 6px;
    margin-top: 10px;
}

/* ------------------------------
   RESPONSIVE DESIGN
--------------------------------*/
@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    .flex-row {
        flex-direction: column;
        align-items: center;
    }

    .premier {
        width: 180px;
    }

    iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {

    h1, h2 {
        font-size: 1.4rem;
    }

   
	
	premier { 
	width: 280px; /* plus lisible */ 
	height: auto; 
	object-fit: cover; /* évite les déformations */ 
	}

    iframe {
        height: 180px;
    }
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.flex-row img {
    margin: 0 10px;
}

.premier {
    width:180px;
    height:180 px; 
    object-fit: cover;
    border-radius: 4px;
}





