/*
@font-face {
  font-family: "Cormorant Garamond", serif;
  src: url('js/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
*/

@font-face {
  font-family: "Rubik", sans-serif;
  src: url('js/Rubik-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body
{
	/*
	margin: 5px auto;
	padding: 10px;
	*/
	background-color: #123c59;
	color: #00304b;
	background-attachment: scroll;
	font-family: 'Rubik', sans-serif;
	font-size: 16px;
	/*background-image: url('../img/fond1.jpg');*/
	background-repeat: repeat;
	background-position: top left;
	
}
*{
        margin:0;
        padding:0;
        box-sizing:border-box;
		font-family: 'Rubik', sans-serif;
        /*
		font-family: Arial, Helvetica, sans-serif;
		*/
    }




.topbar{
	height:71px;
	background:#00304b;
	color:#f6f4f4;
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:0 20px;
	
	border-bottom: solid #cba554 1px;
}

.logo{
	font-size:52px;
	font-weight:bold;
	letter-spacing:1px;
}

.logo span{
	font-weight:normal;
	font-family: Georgia, serif;
}

.top-right{
	display:flex;
	align-items:center;
	gap:20px;
	font-size:14px;
}

.timer{
	background:#f6f4f4;
	color:#102b4a;
	padding:8px 18px;
	border-radius:20px;
	font-weight:bold;
}

.layout{
	display:flex;
	min-height:calc(100vh - 90px);
	/* background:#123c59; */
	padding:30px;
	gap:25px;
}

.sidebar{
	width:220px;
}




/* radios */
.btn {
	font-family: 'Rubik', sans-serif;
	background-color: #00304b;
	color: #f6f4f4;
	border-radius:20px;
	border:solid #cba554 1px;
	transition:0.3s;
}

.btn:hover {
	color: #f6f4f4;
	background-color: #cba554;
}

.btn-check:checked + .btn {
	background-color: #cba554;
	color: #f6f4f4;
}






.menu-btn{
	width:100%;
	margin-bottom:14px;
	padding:16px;
	border:solid #cba554 1px;
	border-radius:30px;
	color:#f6f4f4; 
	background-color:#00304b; 
	font-family: 'Rubik', sans-serif;	
	font-size:18px;
	cursor:pointer;
	transition:0.3s;
}

.menu-btn:hover,
.menu-btn.active{

	background-color:#cba554; 

	/*transform:translateX(5px);*/
}

.content{
	flex:1;
	display:flex;
	justify-content:center;
}

.card_invisible{
	width:760px;
}

.card_titre{
	width:760px;
	color:#00304b;
	background:#cba554;
	border-radius:28px 28px 0 0;
	padding:10px 40px;
	box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.card_titre_autonome{
	width:760px;
	color:#cba554;
	padding:10px 40px;
	font-weight:bold;
	font-size:30px;
	text-align:center;

	
}

.card_corps{
	width:760px;
	color:#f6f4f4;
	background:#00304b;
	/* border-radius:0 0 28px 28px; */
	border-radius:28px;
	padding:0px 40px 5px;
	box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

h2{
	margin-bottom:25px;
	color:#1d1d1d;
}

.form-group{
	display:flex;
	align-items:center;
	margin-bottom:18px;
	gap:15px;
}

.form-group label{
	width:140px;
	font-weight:bold;
	color:#222;
}

input {
	color: #00304b;
	font-weight: bold;
}

a{
	color: #f6f4f4;
}

.celluleTableauClick
{
	cursor: pointer;
}

select, textarea /*, input[type="file"]*/
{
	color: #00304b;
	flex:1;
	border:none;
	border-radius:20px;
	padding:12px 16px;
	font-size:16px;
	outline:none;
	font-weight: bold;
}

input[type="file"]{
	color: #f6f4f4;
	flex:1;
	border:solid #cba554 1px;
	border-radius:20px;
	padding:12px 16px;
	font-size:16px;
	outline:none;
	font-weight: bold;
}

textarea{
	min-height:130px;
	resize:vertical;
	border-radius:18px;
	font-weight: bold;
}

.urgency{
	display:flex;
	gap:15px;
	margin-top:10px;
}

.urgency button{
	padding:10px 18px;
	border:none;
	border-radius:20px;
	cursor:pointer;
	background:#f6f4f4;
	color:#222;
	transition:0.3s;
}

.urgency button.selected{
	background:#5a678f;
	color:#f6f4f4;
}

.actions{
	display:flex;
	justify-content:space-between;
	margin-top:30px;
}

.actions button{
	padding:12px 24px;
	border:none;
	border-radius:25px;
	cursor:pointer;
	font-size:15px;
	transition:0.3s;
}

.primary{
	background:#44557a;
	color:#f6f4f4;
	padding:12px 24px;
	border:none;
	border-radius:25px;
	cursor:pointer;
	font-size:15px;
}

.secondary{
	background:#ececec;
	color:#222;
	padding:12px 24px;
	border:none;
	border-radius:25px;
	cursor:pointer;
	font-size:15px;
}

.primary:hover{
	opacity:0.9;
	transform:scale(1.03);
}

.secondary:hover{
	background:#dcdcdc;
}

.message{
	margin-top:20px;
	padding:14px;
	border-radius:12px;
	display:none;
	font-weight:bold;
}

.success{
	background:#d6f5dd;
	color:#126629;
}

td,th {
	padding:5px;
	color:#f6f4f4;
}

.bouton_blanc_jaune {
	
	color:#f6f4f4; 
	background-color:#cba554; 
	padding:20px; 
	border-radius: 30px; 
	border:solid #cba554;
	font-family: 'Rubik', sans-serif;
	transition:0.3s;
}

.bouton_bleu_jaune 
{
	color:#f6f4f4; 
	background-color:#cba554; 
	padding:10px; 
	border-radius: 30px; 
	border:none;/*solid #cba554;*/
	font-family: 'Rubik', sans-serif;
	transition:0.3s;
}

.bouton_bleu_jaune:hover
{
	/* background-color:#f6f4f4; */
}

.bouton_blanc 
{
	/*
	color:#00304b; 
	background-color:#f6f4f4; 
	border: none;
	*/
	color:#f6f4f4; 
	background-color:#00304b; 
	border: solid #cba554 1px;
	padding:10px; 
	border-radius: 30px; 
	font-family: 'Rubik', sans-serif;
	transition:0.3s;
}

.bouton_blanc:hover
{
	background-color:#cba554; 
	text-decoration:none;
}


@media(max-width: 980px){
	.layout{
		flex-direction:column;
	}

	.sidebar{
		width:100%;
		display:grid;
		grid-template-columns:1fr 1fr;
		gap:10px;
	}

	.menu-btn{
		margin:0;
	}

	.card_titre{
		width:100%;
	}
	.card_corps{
		width:100%;
	}
	

	.form-group{
		flex-direction:column;
		align-items:flex-start;
	}

	.form-group label{
		width:auto;
	}

	select, textarea{
		width:100%;
	}
}
