/* Style de base */
h1,p,a{
	color: black;
	font-family: 'Arial';
}
h1{
	font-size: 30px;
}
h3{
	color: red;
	font-size: 15px;
}
p{
	font-size: 20px;
}
a{
	font-size: 18px;
}
body {
transition: background-color 1s ease;
}
.aCadreEpais a {
	font-size: 16px;
}

@media screen and (max-width:700px){
	h1{
		font-size: 20px;
	}
	p{
		font-size: 15px;
	}
	a{
		font-size: 11px;
	}
	.aCadreEpais a{
		font-size: 11px;
	}
}






.aCadre { 
    position: relative; 
    display: inline-block;
    background-color: white; 
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
	margin: 10px;
}



.aCadreEpais { 
    position: relative; 
    display: inline-block;
    background-color: rgb(35,90,140); 
    border: 5px solid black;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
	margin-bottom: 10px;
	padding: 5px;
	font-weight: bold;
	color: rgb(35,90,140);
}

.aCadrePointille {
	position: relative;
	display: inline-block;
	border: 1px dashed #ccc; 
	width: 140px; 
	height: 85px; 
	text-align: center;
}
.aCadreNoir {
	border: 1px solid #000; 
	padding: 10px;
	display: inline-block;
	text-align: center;
}


.aa { 
    position: relative; 
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: white; 
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    overflow: hidden; 
    transition: color 0.3s ease; 
}

.aa:hover {
     border: 3px solid rgb(35,90,140);
}

.aa > * {
    position: top;
    z-index: 2; 
}



.topTest{ 
	background: rgb(35,90,140);
	padding-bottom:8px;
	margin-bottom:8px;
}

.grille6colonnesTOP img {
    width: 80px;
    height: 80px;
}
.grille7colonnesTOP img {
    width: 80px;
    height: 80px;
}
@media screen and (max-width:400px){
	#ImgDisplayNone{
		display: none;
	}
}



#paraSon {
  display: none;
}

#modalContainer {
  display: none; /* hide the modal by default */
  position: fixed;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Style the modal window content */
#modalContent {
  text-align: center;
  position: relative;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

@media screen and (max-width: 800px) {
  #paraSon {
    display: block;
	cursor: pointer; 
  }
  #rateSlider {
    display: none;
  }
  #rateSliderTitre {
    display: none;
  }
  #paraSon:active + #modalContent {
    display: block;
  }
  #imgConnect{
	display: none;
  }
}

.modalContainer {
  display: none; /* hide the modal by default */
  position: fixed;
  top: 10px;
  left: 10px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Style the modal window content */
.modalContent {
  text-align: center;
  position: relative;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  z-index: 1000;
}




@media screen and (max-width:800px){
	.grille6colonnesTOP img {
		width: 60px;
		height: 60px;
	}
	.grille7colonnesTOP img {
		width: 60px;
		height: 60px;
	}
	.grille6colonnesTOP p {
		display: none;
	}
	.grille7colonnesTOP p {
		display: none;
	}
	.grille6colonnesTOP h4 {
		display: none;
	}
	.grille7colonnesTOP h4 {
		display: none;
	}
}

.grille7colonnesTOP{
	text-align: right;
	display: grid;
	grid-template-columns: 80px 80px 150px 50px 1fr 180px 50px 160px;
}

.grille6colonnesTOP{
	text-align: right;
	display: grid;
	grid-template-columns: 80px 100px 1fr 180px 50px 160px;
}
@media screen and (max-width:800px){
	.grille7colonnesTOP{
		grid-template-columns: 60px 60px 50px 1fr 1fr 0px 1fr 100px;
	}
	.grille6colonnesTOP{
		grid-template-columns: 60px 50px 1fr 0px 1fr 100px;
	}
}
.centre{
	text-align: center;
}

.grille3colonnesTOP{
	display: grid;
	text-align: center;
	grid-template-columns:1fr 1fr 1fr ;
}
.grille3colonnesTOP2{
	display: none;
}
@media screen and (max-width:800px){
	.grille3colonnesTOP{
		display: none ;
	}
	.grille3colonnesTOP2{
		display: grid;
		text-align: center;
		grid-template-columns:1fr 1fr 1fr ;
	}
}


/* Index et MenusJeux */
.grille3colonnes{
	padding-top: 20px;
	display: grid;
	text-align: center;
	grid-template-columns: 1fr 1fr 1fr ;
}
@media screen and (max-width:900px){
	.grille3colonnes{
		grid-template-columns:1fr 1fr;
	}
}
@media screen and (max-width:600px){
	.grille3colonnes{
		grid-template-columns: 1fr;
	}
}

/* MenusOrtho */
.grille3colonnesOrtho{
	padding-top: 20px;
	display: grid;
	text-align: center;
	grid-template-columns: 1fr 1fr 1fr ;
}
@media screen and (max-width:1250px){
	.grille3colonnesOrtho{
		grid-template-columns:1fr 1fr;
	}
}
@media screen and (max-width:850px){
	.grille3colonnesOrtho{
		grid-template-columns: 1fr;
	}
}

.grille3colonnesOrtho .aCadre .aa img{
	width: 340px;
	height: 170px;
}

@media screen and (max-width:500px){
	.grille3colonnesOrtho .aCadre .aa img{
		width: 260px;
		height: 130px;
	}
}

/* MenusTalk */
.grille4colonnesTalk{
	padding-top: 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
}


.grille4colonnes{
	padding-top: 20px;
	display: grid;
	text-align: center;
	grid-template-columns: 1fr 1fr 1fr 1fr ;
}
@media screen and (max-width:900px){
	.grille4colonnes{
		grid-template-columns:1fr 1fr;
	}
}
@media screen and (max-width:600px){
	.grille4colonnes{
		grid-template-columns: 1fr;
	}
}

.grille4colonnesAM{
	padding-top: 20px;
	display: grid;
	text-align: center;
	grid-template-columns: 1fr 1fr 1fr 1fr ;
}
.grille4colonnesAM img{
	width: 100px; 
	height: 100px;
}

@media screen and (max-width:900px){
	.grille4colonnesAM{
		grid-template-columns:1fr 1fr;
	}
	.grille4colonnesAM img{
	width: 100px; 
	height: 100px;
}

}
@media screen and (max-width:600px){
	.grille4colonnesAM{
		grid-template-columns:1fr 1fr;
	}
	.grille4colonnesAM img{
	width: 60px; 
	height: 60px;
}

}






.grille2colonnes{
	display: flex;
}

.aCadreTalk { 
    position: relative; 
    display: inline-block;
    background-color: white; 
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
	margin: 3px;
	width: 250px;
    height: 290px;
}

.aaTalk { 
    position: relative; 
    display: inline-block;
    padding: 10px 20px;
    margin: 3px;
    background-color: white; 
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden; 
    transition: color 0.3s ease;
	width: 200px;
    height: 200px;	
}

.aaTalk:hover {
     border: 3px solid rgb(35,90,140);
}

.aaTalk > * {
    position: top;
    z-index: 2; 
}
.nomCom{
	text-align: center;
	flex:3;
}
.sonCom{
	text-align: right;
	flex:1;
}


/* Exercice ortho (ortho1, ortho2, ortho3) */
.button{
	font-size:25px;
	background: white;
	border: none;
}
button{
	font-size:25px;
	background: white;
	border: none;
}

.topTest .button {
	font-size:25px;
	background: rgb(35,90,140);
	margin-top:10px;
	margin-left:10px;
	border: 2px solid black;
    border-radius: 5px;
}

.topTest button {
	font-size:25px;
	background: rgb(35,90,140);
	margin-top:10px;
	margin-left:10px;
	border: 2px solid black;
    border-radius: 5px;
}

@media screen and (max-width:600px){
	.button{
		font-size:15px;
	}
	button{
		font-size:15px;
	}
	.topTest .button{
		font-size:15px;
	}
	.topTest button{
		font-size:15px;
	}
}

.question{
	text-align: center;
	font-size: 25px;
}

.réponse{ 
	text-align: center;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
}

@media screen and (max-width:600px){
	.réponse{
		grid-template-columns: 1fr;
	}
}


.won {
	background-color: green; 
}
.lose {
	background-color: red; 
}


/* Ortho3 */
.consigneOrtho3{
	display: grid;
	grid-template-columns: 1fr 1fr ;
}


.JeuPendu{
	text-align: center;
}

.grid-container3 {
	display: flex;
	grid-gap: 10px;
}

.grid-item3 {
	flex:1;
	text-align: center;
}

@media screen and (max-width:600px){
	.grid-container3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	}
}

.gros-texte {
	font-size: 2em; 
	font-weight: bold;
}
.commentaire-jeu{
	font-size: 20px; 
	font-family: 'Lobster', cursive;
}



/* Talk */

.grid-container {
	padding-top: 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
}

@media screen and (max-width:900px){
	.grid-container{
		grid-template-columns: repeat(3, 250px);
		grid-gap: 3px;
	}
}

@media screen and (max-width:600px){
	.grid-container{
		grid-template-columns: repeat(2, 250px);
		grid-gap: 3px;
	}
}

@media screen and (max-width:500px){
	.grid-container{
		grid-template-columns: 1fr;
	}
}

.grid-item {
	width: 100%; 
	text-align: center;
}
.grid-item img {
	max-width: 100%;
	height: auto;
}

.talk{
	display: grid;
	grid-template-columns: 1fr 60px;
	gap: 5px;
}



/* Espace membre */
.top1{ 
	background: rgb(35,90,140);
	text-align: center;
	display: grid;
	grid-template-columns: 80px 1fr 150px;
	gap:5px
}

.categorie2{
	padding-top: 20px;
	padding-right: 10px;
	margin-right: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr ;
}

@media screen and (max-width:1000px){
	.categorie2{
		grid-template-columns: repeat(2, 400px);
		grid-gap: 3px;
	}
}

@media screen and (max-width:700px){
	.categorie2{
		grid-template-columns: 1fr;
	}
}
