@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Playfair+Display:ital,wght@1,600&display=swap');
body{
	margin: 0;
	padding: 0;
	font-family: "Montserrat";
}

nav{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	border-bottom: 5px solid #6f6f6f;
	background-color: rgba(192, 192, 192, 0.3);

}
h1{
	font-family: 'Playfair Display';

}

nav h1{
	color: #818181;
	font-family: 'Playfair Display';
	font-size: 30 px;
}
nav .onglets{
	margin-top: 3px;
	margin-left: 200px;
}


nav .onglets a{
	transition: 0.5s;
	text-decoration: none;
	color: black;
	margin-right: 10px;
	border-bottom: 1px solid black;
	padding-bottom: 5px;
}
nav .onglets a:hover{
	transition: 0.5s;
	background-color: rgba(150, 150, 150, 0.3);
	border-radius: 10px;
	border: none;
	padding: 5px;
	font-size: 130%;
	color: #90B187;
}

header{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-size: cover;
	color: white;
	padding: 40px;
}

header h1{
	font-family: 'Playfair Display';
	font-size: 50px;
	color: black;

}
header h4{
	margin-top: -20px;
	font-size: 20px;
	text-align: center;
	border-bottom: 1px solid white;
	color: black;
}

header button{
	padding: 10px 20px;
	background-color: white;
	color: green;
	border: none;
	font-size: 20px;
	font-family: 'Playfair Display';
	outline: none;
	cursor: pointer;

}
h3{
	margin-left:3% ;
}
h2{
	margin-left: 2%;
}
h1{
	margin-left: 1%;
}

iframe{
	margin-left: 32%;

}

section{
	margin-left: 5%;
}

article{
	margin-left: 5%;
	font-size: 115%;
}

.btnHome{
	transition: 0.5s;
	text-decoration: none;
	color: #818181;
	cursor: pointer;
	padding: 5px;
}

.btnHome:hover{
	transition: 0.5s;
	text-decoration: none;
	color: #90B187;
}

.center{
	margin-left: 15%;
}


.BoiteCode{
	background-color: rgb(50, 50, 50);
	color: white;
	width: 80%;
	margin: 5px;
	padding: 5px;
	border-radius: 8px;
	font-family: monospace;
	line-height: 20px;
}

.buttonCode{
	transition: 0.5s;
	background-color: white;
	margin: 5px 0px 0px 20%;
	font-size: 195%;
	width: 50%;
	text-align: left;
	border: none;
	border-bottom: 1px solid lightgrey;
	border-radius: 3px;
	cursor: pointer;
	/*font-family: cursive;*/
}

.btnCodeFlch{
	font-size: 100%;
	font-weight: bold;
}
.flchR{
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

.buttonCode:hover{
	transition: 0.5s;
	background-color: lightgrey;
	padding: 5px;
	font-size: 215%;
}

.exemple{
	font-weight: bold;
}

.del{
	display: none;
}

/*Partie Python */

.opperateurPy{
	color: rgb(150, 150, 150);
}

.nbrePy{
	color:  rgb(58, 142, 186);
}
.strPy{
	color: rgb(86, 130, 3);
}

.boolPy{
	color: orange;
}

.nmFonctPy{
	color: yellow;
}

.contenuFonctPy{
	margin-left: 30px;
}

.balisePy{
	color: red ;
}
button{
	font-family: 'Playfair Display';
}
.mrgAutoPy{
	margin-top: 100px;
	font-size: 150%;
}

.comPy{
	color: rgb(100, 100, 100);
}
/*Partie Python */



footer{
	margin-top: 40px;
	border-top: 5px solid #6f6f6f;
	background-color: green;
	color: white;
	padding: 30px 100px;
}

footer h1{
	font-family: 'Playfair Display';
	border-bottom: 1px solid white;
	width: 20%;
	padding-bottom: 5px;
}

footer .services{
	margin-top: -10px;
	display: flex;
	flex-wrap: wrap;

}

footer .services .service{
	margin-right: 30px;
	padding: 10px;

}

footer .services .service p{
	max-width: 300px;
}

footer #contact{
	color: black;

}

section{
	font-family: 'Playfair Display' ;
}

@media screen and (max-width: 680px){
	nav .onglets{
		margin-left: 0px;
		margin-bottom: 20px;
	}
	.main .card{
		margin: 10px;

	}
	h1 h2 h3{
		font-size: 20px;
	}
	footer{
		padding: 30px;
	}

}
