  @font-face {
  font-family: "Open_Sans";
  src: url("../fonts/Raleway.ttf") format("woff2");
  font-weight: 300;
  font-style: normal;}

@font-face {
  font-family: "Phosphor";
  src: url("../fonts/Phosphor.ttf") format("woff2");
  font-weight: 300;
  font-style: normal;}  

@font-face {
  font-family: "Song";
  src: url("../fonts/Please_write_me_a_song.ttf") format("woff2");
  font-weight: 300;
  font-style: normal;}
  
body {
  font-family: Open_Sans;
  font-size: clamp(12px, 1.8vw, 24px);
  text-align:justify;
  text-indent:3ch;
  background-color:#FFFFF0;
}

#grille_ressources {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 0.1vh;
	align-items: center;
	}

#menu_ressources{
	display:flex;
	flex-direction:row;
	justify-content:space-around;
	background-color: #FFFFF0;
	align-items:center;
	border-radius: 6px;
}

.introduction_portrait{display:none;}
.introduction_portrait, .introduction_paysage{color:brown;font-weight: 600;}

.lien_ressources{display:flex;flex-direction: column;align-items: center;color:#0B3F62;font-size: clamp(12px, 2vw, 24px); margin-bottom:5vh;}
.lien_ressources:hover{cursor:pointer;color:#D00;font-weight: 600;}
.affiche_actuellement{display:flex;flex-direction: column;align-items: center;color:red;font-size: clamp(13px, 2vw, 24px); margin-bottom:5vh;}
.affiche_actuellement::before {content:'👁'; color: blue;}

[id^="contenant_"]
{
	display:none;
	flex-direction:column;
	justify-content:space-around;
	justify-content:center;
	align-items:center;
	height:100%;
}

.contenant_ressource{display: grid;	grid-template-columns: repeat(7, 1fr);	gap: 0.2vh;	align-items: center; margin:2vh; width: 98%;}
.entete_ressource{grid-column:1/8;grid-row:1;text-align:center;color:#909;font-size: clamp(15px, 1.5vw, 32px); font-weight: 600;}
.image_ressource{grid-column:1/2;grid-row:2;width:10vw; min-width:80px; max-width:150px; height: auto;}
.texte_ressource{grid-column:2/8;grid-row:2;}


/*---------------------------- VIDEO ------------------*/
#lien_video{display:flex;flex-direction:column;justify-content:start;}

a{display:flex;font-weight: 400;text-decoration: none;margin-top:5vh;  text-decoration: none;  content: "✓";}
a:hover{cursor:pointer;color:#D00;font-weight: 600;}
 
/*---------------------------- ressources activités -------------------------*/ 
h1{font-family: Phosphor;color: #99A;}
h5{font-weight: 300; text-indent: 2ch; margin: 1vh 12vw 1vh 12vw;}
p{text-align:justify;text-indent:3ch; margin: 2vh 5vw 2vh 5vw;}
.introduction{color:brown;font-weight: 600;}
.proverbe{font-family:Song; text-align:right;text-indent:0ch; color:blue; margin: 1vh 7vw 1vh 7vw;}

/*---------------------------- bienvenue.html -------------------------*/

#IMC{display: grid;	grid-template-columns: repeat(4, 1fr);align-items: center;  width: 60vw;margin:auto;margin-top:10vh;gap:4vh;}
#titre_IMC{grid-column:1/5;grid-row:1;text-align:center;color:#909;font-size: clamp(20px, 1.5vw, 32px); font-weight: 600;}
#taille{grid-column:1/3;grid-row:2;text-align:right;}
#poids{grid-column:3/5;grid-row:2;text-align:left;}
#affichage_IMC{grid-column:1/5;grid-row:3;text-align:center;}
#resultat{font-size: 1.5em;}
#affichage_smiley{grid-column:1/5;grid-row:4;text-align:center;font-size: 2em;}
#IMC>div>input{
	
	font-family: Consolas, monospace;
    padding: 7px; /* Espacement intérieur */
    border: 1px solid #99c; /* Bordure */
    border-radius: 4px; /* Coins arrondis */
    box-sizing: border-box; /* Box sizing */
	font-size: clamp(12px, 1.5vw, 24px);
	color:#1B4F72;
}

#IMC>div>input:focus {
    border-color: #00D; /* Couleur de bordure au focus */
	box-shadow: 2px 2px 10px #009;
}
/*---------------------------- contact.html -------------------------*/

#image_prendre_RDV{display:block; height:75vh;max-width:500px; max-height:500px; margin:auto;}

@media screen and (orientation: portrait) {

h1{font-size:1.3em;}
#IMC{display:none;}
.introduction_paysage{display:none;}
.introduction_portrait{display:block;}
}

 @media (max-width: 768px) {
            #IMC {
                display: none;
            }
        }